Re: [PATCH v2 08/15] cxl/region: Use the endpoint's SPA range to find a region

Jonathan Cameron
2025-03-14T12:45:58Z

On Tue, 18 Feb 2025 14:23:49 +0100
Robert Richter <rrichter@amd.com> wrote:

> To find the correct region and root port of an endpoint of a system
> needing address translation, the endpoint's HPA range must be
> translated to each of the parent port address ranges up to the root
> decoder.
>
> Use the calculated SPA range of an endpoint to find the endpoint's
> region.
>
> Signed-off-by: Robert Richter <rrichter@amd.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>