Re: [PATCH v5 2/3] cxl/core/region: move dax region device logic into region_dax.c

From: Ira Weiny

Date: Fri Mar 27 2026 - 13:00:48 EST


Gregory Price wrote:
> core/region.c is overloaded with per-region control logic (pmem, dax,
> sysram, etc). Move the CXL DAX region device infrastructure from
> region.c into a new region_dax.c file.
>
> This will also allow us to add additional dax-driver integration paths
> that don't further dirty the core region.c logic.
>
> No functional changes.
>

Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>

> Signed-off-by: Gregory Price <gourry@xxxxxxxxxx>
> Co-developed-by: Ira Weiny <ira.weiny@xxxxxxxxx>
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>
> ---

[snip]