Re: [PATCH] bnx2: Reset device during driver initialization

2016-09-13 Thread David Miller
From: Baoquan He Date: Fri, 9 Sep 2016 16:11:07 +0800 > When system enters into kdump kernel because of kernel panic, it won't > shutdown devices. On-flight DMA will continue transferring data until > device driver initializes. All devices are supposed to reset during > driver

Re: [PATCH] bnx2: Reset device during driver initialization

2016-09-09 Thread Baoquan He
On 09/09/16 at 04:11pm, Baoquan He wrote: > When system enters into kdump kernel because of kernel panic, it won't > shutdown devices. On-flight DMA will continue transferring data until > device driver initializes. All devices are supposed to reset during > driver initialization. And this

Re: [PATCH] bnx2: Reset device during driver initialization

2016-09-09 Thread Baoquan He
Hi Joerg, On 09/09/16 at 10:41am, Joerg Roedel wrote: > > Hi Baoquan, > > On Fri, Sep 09, 2016 at 04:22:25PM +0800, Baoquan He wrote: > > Recently I tried to fix the kdump failure in amd iommu system again, and > > now the latest code works, IO_PAGE_FAULT can't be seen any more. But on > >

Re: [PATCH] bnx2: Reset device during driver initialization

2016-09-09 Thread Baoquan He
On 09/09/16 at 10:41am, Joerg Roedel wrote: > > Hi Baoquan, > > On Fri, Sep 09, 2016 at 04:22:25PM +0800, Baoquan He wrote: > > Recently I tried to fix the kdump failure in amd iommu system again, and > > now the latest code works, IO_PAGE_FAULT can't be seen any more. But on > > several amd

Re: [PATCH] bnx2: Reset device during driver initialization

2016-09-09 Thread Joerg Roedel
Hi Baoquan, On Fri, Sep 09, 2016 at 04:22:25PM +0800, Baoquan He wrote: > Recently I tried to fix the kdump failure in amd iommu system again, and > now the latest code works, IO_PAGE_FAULT can't be seen any more. But on > several amd iommu system with bnx2 NIC, always IO_PAGE_FAULT will be >

Re: [PATCH] bnx2: Reset device during driver initialization

2016-09-09 Thread Baoquan He
Hi Joreg, Sorry, forget ccing to you. Recently I tried to fix the kdump failure in amd iommu system again, and now the latest code works, IO_PAGE_FAULT can't be seen any more. But on several amd iommu system with bnx2 NIC, always IO_PAGE_FAULT will be printed out. After investegating I found out

[PATCH] bnx2: Reset device during driver initialization

2016-09-09 Thread Baoquan He
When system enters into kdump kernel because of kernel panic, it won't shutdown devices. On-flight DMA will continue transferring data until device driver initializes. All devices are supposed to reset during driver initialization. And this property is used to fix the kdump failure in system with