Re: [PATCH v1 11/29] cxl/region: Unfold cxl_find_root_decoder() into cxl_endpoint_initialize()

From: Gregory Price
Date: Tue Jan 07 2025 - 13:41:30 EST


On Tue, Jan 07, 2025 at 03:09:57PM +0100, Robert Richter wrote:
> To determine other endpoint parameters such as interleaving parameters
> during endpoint initialization, the iterator function in
> cxl_find_root_decoder() can be used. Unfold this function into
> cxl_endpoint_initialize() and make the iterator available there.
>
> Signed-off-by: Robert Richter <rrichter@xxxxxxx>

This makes sense in the context of the prior patch, so long as the
prior patch holds.

Reviewed-by: Gregory Price <gourry@xxxxxxxxxx>