| Date | Fri, 9 Jun 2023 19:34:05 -0700 | From | Dan Williams <> | Subject | RE: [PATCH v5 15/26] cxl/hdm: Use stored Component Register mappings to map HDM decoder capability |
| |
Terry Bowman wrote: > From: Robert Richter <rrichter@amd.com> > > 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. Provide a helper function > cxl_port_get_comp_map() to locate the mappings depending on the > component's type. > > 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>
Looks good.
|