| Date | Thu, 1 Jun 2023 14:11:15 +0100 | From | Jonathan Cameron <> | Subject | Re: [PATCH v4 13/23] cxl/hdm: Use stored Component Register mappings to map HDM decoder capability |
| |
On Tue, 23 May 2023 18:22:04 -0500 Terry Bowman <terry.bowman@amd.com> 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> Other than the static you already fixed this looks good to me. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|