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

From: Jonathan Cameron
Date: Fri Mar 14 2025 - 08:46:06 EST


On Tue, 18 Feb 2025 14:23:49 +0100
Robert Richter <rrichter@xxxxxxx> 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@xxxxxxx>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>