On Thu, 3 Apr 2025 13:33:15 -0500
Terry Bowman <[email protected]> wrote:

> From: Nathan Fontenot <[email protected]>
> 
> The dax hmem device initialization will consume any iomem
> SOFT RESERVE resources prior to CXL region creation. To allow
> for the CXL driver to complete region creation and trim any
> SOFT RESERVE resources before the dax driver consumes them
> we need to delay the dax driver's search for SOFT RESERVEs.
> 
> To do this the dax driver hmem device initialization code
> skips the walk of the iomem resource tree if the CXL ACPI
> driver is enabled. This allows the CXL driver to complete
> region creation and trim any SOFT RESERVES. Once the CXL
> driver completes this, the CXL driver then registers any
> remaining SOFT RESERVE resources with the dax hmem driver.
> 
> Signed-off-by: Nathan Fontenot <[email protected]>
> Signed-off-by: Terry Bowman <[email protected]>
Looks fine to me, but I'm not feeling confident enough of
this area of the kernel to give a tag.

Jonathan



Reply via email to