lkml.org 
[lkml]   [2013]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] net-tg3: Initialize REG_BASE_ADDR at PCI config offset 120 to 0
    From
    Date
    On Mon, 2013-12-09 at 10:43 -0800, Nat Gurumoorthy wrote: 
    > The new tg3 driver leaves REG_BASE_ADDR (PCI config offset 120)
    > uninitialized. From power on reset this register may have garbage in it. The
    > Register Base Address register defines the device local address of a
    > register. The data pointed to by this location is read or written using
    > the Register Data register (PCI config offset 128). When REG_BASE_ADDR has
    > garbage any read or write of Register Data Register (PCI 128) will cause the
    > PCI bus to lock up. The TCO watchdog will fire and bring down the system.
    >
    >
    Is this to prevent problem from other software that may be scanning the
    PCI config space? It won't help if this happens before the tg3 driver
    is loaded, right?

    Thanks.



    \
     
     \ /
      Last update: 2013-12-09 20:41    [W:3.357 / U:0.960 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site