Re: [PATCH v4 20/28] cxl/core: Return endpoint decoder information from region search

From: Jonathan Cameron
Date: Thu Oct 10 2024 - 11:08:17 EST


On Mon, 07 Oct 2024 18:16:26 -0500
Ira Weiny <ira.weiny@xxxxxxxxx> wrote:

> cxl_dpa_to_region() finds the region from a <DPA, device> tuple.
> The search involves finding the device endpoint decoder as well.
>
> Dynamic capacity extent processing uses the endpoint decoder HPA
> information to calculate the HPA offset. In addition, well behaved
> extents should be contained within an endpoint decoder.
>
> Return the endpoint decoder found to be used in subsequent DCD code.
>
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>