cxlflash: Shutdown notify support for CXL Flash cards
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Wed, 15 Jun 2016 23:49:57 +0000 (18:49 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jul 2016 03:16:31 +0000 (23:16 -0400)
commit704c4b0ddc03fc8a6575086070a823d3ef6e5fc4
tree411adc1c784f5689aba5c12d8e288c081e6516a7
parent96e1b660faa44c958d19ccf064b939a00bed6c90
cxlflash: Shutdown notify support for CXL Flash cards

Some CXL Flash cards need notification of device shutdown in order to
flush pending I/Os.

A PCI notification hook for shutdown has been added where the driver
notifies the card and returns. When the device is removed in the PCI
remove path, notification code will wait for shutdown processing to
complete.

Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c
drivers/scsi/cxlflash/main.h
drivers/scsi/cxlflash/sislite.h