mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 14:02:37 -04:00
cxl/port: Remove Component Register base address from struct cxl_dport
The Component Register base address @component_reg_phys is no longer used after the rework of the Component Register setup which now uses struct member @comp_map instead. Remove the base address. Signed-off-by: Robert Richter <rrichter@amd.com> Signed-off-by: Terry Bowman <terry.bowman@amd.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20230622205523.85375-11-terry.bowman@amd.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
committed by
Dan Williams
parent
d02034b402
commit
d8bffff201
@@ -960,7 +960,6 @@ __devm_cxl_add_dport(struct cxl_port *port, struct device *dport_dev,
|
||||
|
||||
dport->dport_dev = dport_dev;
|
||||
dport->port_id = port_id;
|
||||
dport->component_reg_phys = component_reg_phys;
|
||||
dport->port = port;
|
||||
|
||||
cond_cxl_root_lock(port);
|
||||
|
||||
@@ -594,7 +594,6 @@ struct cxl_rcrb_info {
|
||||
* struct cxl_dport - CXL downstream port
|
||||
* @dport_dev: PCI bridge or firmware device representing the downstream link
|
||||
* @port_id: unique hardware identifier for dport in decoder target list
|
||||
* @component_reg_phys: downstream port component registers
|
||||
* @rcrb: Data about the Root Complex Register Block layout
|
||||
* @rch: Indicate whether this dport was enumerated in RCH or VH mode
|
||||
* @port: reference to cxl_port that contains this downstream port
|
||||
@@ -602,7 +601,6 @@ struct cxl_rcrb_info {
|
||||
struct cxl_dport {
|
||||
struct device *dport_dev;
|
||||
int port_id;
|
||||
resource_size_t component_reg_phys;
|
||||
struct cxl_rcrb_info rcrb;
|
||||
bool rch;
|
||||
struct cxl_port *port;
|
||||
|
||||
Reference in New Issue
Block a user