]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: cxlflash: Read host function configuration
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Tue, 31 Oct 2017 19:12:43 +0000 (14:12 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 27 Mar 2018 19:10:07 +0000 (14:10 -0500)
commita5f975fdfe6cbe6bd31e93260f58d081090da4c0
tree17455ba3503483359413d935f40a51b1fc143f4c
parentcb3557c4974d044a36c9fc941ee67a43d4380e78
UBUNTU: SAUCE: cxlflash: Read host function configuration

BugLink: http://bugs.launchpad.net/bugs/1752672
Per the OCXL specification, the underlying host can have multiple AFUs
per function with each function supporting its own configuration. The host
function configuration is read on the initialization path to evaluate the
number of functions present and identify the features and configuration of
the functions present. This data is cached for use in later configuration
steps. Note that for the OCXL hardware supported by the cxlflash driver,
only one AFU per function is expected.

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
drivers/scsi/cxlflash/ocxl_hw.h