Re: [PATCH 10/10] net/tg3: Avoid delay during MMIO access

2013-06-25 Thread Benjamin Herrenschmidt
On Tue, 2013-06-25 at 13:55 +0800, Gavin Shan wrote: When the driver is encountering EEH errors, which might be caused by frozen PCI host controller, the driver needn't keep reading on MMIO until timeout. For the case, 0xFF's should be returned from hardware. Otherwise, it possibly trigger

[PATCH 10/10] net/tg3: Avoid delay during MMIO access

2013-06-24 Thread Gavin Shan
When the driver is encountering EEH errors, which might be caused by frozen PCI host controller, the driver needn't keep reading on MMIO until timeout. For the case, 0xFF's should be returned from hardware. Otherwise, it possibly trigger soft-lockup. The patch adds more check on that by