Re: [PATCH v3 17/25] cxl/core: Return endpoint decoder information from region search
From: Li, Ming4
Date: Tue Sep 03 2024 - 03:13:18 EST
On 8/16/2024 10:44 PM, Ira Weiny 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: Li Ming <ming4.li@xxxxxxxxx>