linux/drivers/scsi/cxlflash
Matthew R. Ochs e2ef33fa59 scsi: cxlflash: Improve asynchronous interrupt processing
The method used to decode asynchronous interrupts involves unnecessary loops
to match up bits that are set with corresponding entries in the asynchronous
interrupt information table. This algorithm is wasteful and does not scale
well as new status bits are supported.

As an improvement, use the for_each_set_bit() service to iterate over the
asynchronous status bits and refactor the information table such that it can
be indexed by bit position.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-04-13 22:55:41 -04:00
..
common.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00
Kconfig
lunmgt.c scsi: cxlflash: Remove port configuration assumptions 2017-04-13 22:55:41 -04:00
main.c scsi: cxlflash: Improve asynchronous interrupt processing 2017-04-13 22:55:41 -04:00
main.h scsi: cxlflash: Support dynamic number of FC ports 2017-04-13 22:55:41 -04:00
Makefile cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00
sislite.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00
superpipe.c scsi: cxlflash: Fence EEH during probe 2017-04-13 22:55:41 -04:00
superpipe.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00
vlun.c scsi: cxlflash: Hide FC internals behind common access routine 2017-04-13 22:55:41 -04:00
vlun.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00