]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: cxlflash: Support adapter context reading
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Tue, 23 Jan 2018 20:20:06 +0000 (14:20 -0600)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 27 Mar 2018 19:10:09 +0000 (14:10 -0500)
commitb935f647ee1c27fc5c6576095a9109d085ed5a26
treed6ea70bfddcfd22847deb152f928c0006da861e2
parent8a7a8f6a3b3edb338994cd0f1757980f46930d7d
UBUNTU: SAUCE: cxlflash: Support adapter context reading

BugLink: http://bugs.launchpad.net/bugs/1752672
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: Seth Forshee <seth.forshee@canonical.com>
drivers/scsi/cxlflash/ocxl_hw.c