Re: [PATCH v4 9/9] dax/hmem: Reintroduce Soft Reserved ranges back into the iomem tree

From: dan.j.williams

Date: Wed Dec 03 2025 - 19:55:02 EST


Smita Koralahalli wrote:
> Reworked from a patch by Alison Schofield <alison.schofield@xxxxxxxxx>
>
> Reintroduce Soft Reserved range into the iomem_resource tree for HMEM
> to consume.
>
> This restores visibility in /proc/iomem for ranges actively in use, while
> avoiding the early-boot conflicts that occurred when Soft Reserved was
> published into iomem before CXL window and region discovery.
>
> Link: https://lore.kernel.org/linux-cxl/29312c0765224ae76862d59a17748c8188fb95f1.1692638817.git.alison.schofield@xxxxxxxxx/
> Co-developed-by: Alison Schofield <alison.schofield@xxxxxxxxx>
> Signed-off-by: Alison Schofield <alison.schofield@xxxxxxxxx>
> Co-developed-by: Zhijian Li <lizhijian@xxxxxxxxxxx>
> Signed-off-by: Zhijian Li <lizhijian@xxxxxxxxxxx>
> Signed-off-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@xxxxxxx>
> Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>

Looks good to me:

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Thanks for all the work on this Smita, and Alison too, you have flushed
out many issues and helped me through my blind spots.