android_kernel_oneplus_msm8998/drivers/scsi/aacraid
Raghava Aditya Renukunta e468298bd4 aacraid: Set correct msix count for EEH recovery
commit ecc479e00db8eb110b200afe1effcb3df20ca7ae upstream.

During EEH recovery number of online CPU's might change thereby changing
the number of MSIx vectors. Since each fib is allocated to a vector,
changes in the number of vectors causes fib to be sent thru invalid
vectors.In addition the correct number of MSIx vectors is not updated in
the INIT struct sent to the controller, when it is reinitialized.

Fixed by reassigning vectors to fibs based on the updated number of MSIx
vectors and updating the INIT structure before sending to controller.

Fixes: MSI-X vector calculation for suspend/resume
Signed-off-by: Raghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
Reviewed-by: Shane Seymour <shane.seymour@hpe.com>
Reviewed-by: Johannes Thumshirn <jthushirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-12 09:08:38 -07:00
..
aachba.c aacraid: Tune response path if IsFastPath bit set 2015-11-09 16:02:57 -08:00
aacraid.h aacraid: Fix RRQ overload 2016-04-12 09:08:38 -07:00
commctrl.c aacraid: IOCTL pass-through command fix 2015-04-09 16:44:49 -07:00
comminit.c aacraid: Use pci_enable_msix_range() 2015-11-09 16:12:13 -08:00
commsup.c aacraid: Fix memory leak in aac_fib_map_free 2016-04-12 09:08:38 -07:00
dpcsup.c aacraid: performance improvement changes 2015-04-09 16:55:21 -07:00
linit.c aacraid: Set correct msix count for EEH recovery 2016-04-12 09:08:38 -07:00
Makefile
nark.c [SCSI] aacraid: Use resource_size_t for IO mem pointers and offsets 2012-07-20 08:58:43 +01:00
rkt.c [SCSI] aacraid: Use resource_size_t for IO mem pointers and offsets 2012-07-20 08:58:43 +01:00
rx.c aacraid: Add Power Management support 2015-11-09 15:59:18 -08:00
sa.c aacraid: Add Power Management support 2015-11-09 15:59:18 -08:00
src.c aacraid: Fix RRQ overload 2016-04-12 09:08:38 -07:00
TODO