summaryrefslogtreecommitdiff
path: root/drivers/cxl/cxlmem.h
diff options
context:
space:
mode:
authorRobert Richter <rrichter@amd.com>2023-10-18 20:17:00 +0300
committerDan Williams <dan.j.williams@intel.com>2023-10-28 06:13:37 +0300
commit8ce520fdea245c9e17ebc0659973984362bc1fde (patch)
treebb37fdc716e7beadf0177d6c6804ffa2effa7b19 /drivers/cxl/cxlmem.h
parent2dd18279202f6247904e6e23738c1ec6a86b24b1 (diff)
downloadlinux-8ce520fdea245c9e17ebc0659973984362bc1fde.tar.xz
cxl/hdm: Use stored Component Register mappings to map HDM decoder capability
Now, that the Component Register mappings are stored, use them to enable and map the HDM decoder capabilities. The Component Registers do not need to be probed again for this, remove probing code. The HDM capability applies to Endpoints, USPs and VH Host Bridges. The Endpoint's component register mappings are located in the cxlds and else in the port's structure. Duplicate the cxlds->reg_map in port->reg_map for endpoint ports. Signed-off-by: Terry Bowman <terry.bowman@amd.com> Signed-off-by: Robert Richter <rrichter@amd.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> [rework to drop cxl_port_get_comp_map()] Link: https://lore.kernel.org/r/20231018171713.1883517-8-rrichter@amd.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/cxlmem.h')
0 files changed, 0 insertions, 0 deletions