Re: [PATCH] cxl region: recalculate interleave pos during region probe

Gregory Price
2025-04-08T15:30:39Z

On Fri, Apr 04, 2025 at 10:35:20PM -0400, Gregory Price wrote:
> diff --git a/drivers/cxl/core/region.c b/drivers/cxl/core/region.c
> index 934dcb2daa15..5c9e2b747731 100644
> --- a/drivers/cxl/core/region.c
> +++ b/drivers/cxl/core/region.c
> @@ -1879,7 +1879,7 @@ static int cxl_calc_interleave_pos(struct cxl_endpoint_decoder *cxled)
> int pos = 0;
>
> ctx = (struct cxl_interleave_context) {
> - .hpa_range = &cxled->cxld.hpa_range,
> + .hpa_range = &cxled->spa_range,
> };
>

Realizing just now that this line belongs to the next patch.

~Gregory