Re: [PATCH 2/2] qla2xxx: Add cleanup for PCI EEH recovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2019-05-06 at 13:52 -0700, Himanshu Madhani wrote:
> From: Quinn Tran <qutran@xxxxxxxxxxx>
> 
> During EEH error recovery testing, it  was discovered that
> driver's reset() callback partially frees resources used by driver,
> leaving some stale memory.  After reset() is done and when  resume()
> callback in driver uses old data which results into error leaving
> adapter disabled due to PCIe error.
> 
> This patch does cleanup for EEH recovery code path and prevents
> adapter from getting disabled.
> 
> Signed-off-by: Quinn Tran <qutran@xxxxxxxxxxx>
> Signed-off-by: Himanshu Madhani <hmadhani@xxxxxxxxxxx>
> ---
>  drivers/scsi/qla2xxx/qla_os.c | 221 ++++++++++++++++--------------------------
>  1 file changed, 82 insertions(+), 139 deletions(-)
> 
> 

Reviewed-by: Ewan D. Milne <emilne@xxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux