]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: cxlflash: Hardware AFU for OCXL
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Tue, 24 Oct 2017 19:04:29 +0000 (14:04 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 27 Mar 2018 19:10:06 +0000 (14:10 -0500)
commitcb3557c4974d044a36c9fc941ee67a43d4380e78
tree5f62d7e6457e7a40267476a6a0a17a7db5e02511
parentd254f4dbd703e6a408a553ebb6d0e76271054450
UBUNTU: SAUCE: cxlflash: Hardware AFU for OCXL

BugLink: http://bugs.launchpad.net/bugs/1752672
When an adapter is initialized, transport specific configuration and MMIO
mapping details need to be saved. For CXL, this data is managed by the
underlying kernel module. To maintain a separation between the cxlflash
core and underlying transports, introduce a new structure to store data
specific to the OCXL AFU.

Initially only the pointers to underlying PCI and generic devices are
added to this new structure - it will be expanded further in future
commits. Services to create and destroy this hardware AFU are added and
integrated in the probe and exit paths of the driver.

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/backend.h
drivers/scsi/cxlflash/cxl_hw.c
drivers/scsi/cxlflash/main.c
drivers/scsi/cxlflash/ocxl_hw.c
drivers/scsi/cxlflash/ocxl_hw.h [new file with mode: 0644]