]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: cxlflash: Support adapter context reading
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Mon, 26 Mar 2018 16:34:12 +0000 (11:34 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:32:49 +0000 (19:32 -0400)
commit03aa9c519c1699e027bfa6ce76b999025d05f2c3
tree53681b83824fb48eb5fa3db07f92587b4ec2913f
parent56f1db1a2a0c1ba4da0b970f211154b7781c725a
scsi: cxlflash: Support adapter context reading

The cxlflash userspace API requires that users be able to read the adapter
context for any pending events or interrupts from the AFU. Support reading
various events by implementing the AFU read fop to copy out event data.

Signed-off-by: Uma Krishnan <ukrishn@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/ocxl_hw.c