Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
cxl/pci: Store component register base in cxlds
The component register base address is enumerated and stored in the cxl_device_state structure for use by the endpoint driver. Component register base addresses are obtained through PCI mechanisms. As such it makes most sense for the cxl_pci driver to obtain that address. In order to reuse the port driver for enumerating decoder resources for an endpoint, it is desirable to be able to add the endpoint as a port. The endpoint does know of the cxlds and can pull the component register base from there and pass it along to port creation. Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
- Loading branch information