Subject: Re: [PATCH v9 23/27] cxl: add region flag for precluding a device memory to be used for dax

From: Jonathan Cameron <[email-masked]>
Date: Thu, 2 Jan 2025 15:24:03 +0000

On Mon, 30 Dec 2024 21:44:41 +0000
[email-masked] wrote:

> From: Alejandro Lucero <[email-masked]>
> 
> By definition a type2 cxl device will use the host managed memory for
> specific functionality, therefore it should not be available to other
> uses. However, a dax interface could be just good enough in some cases.
> 
> Add a flag to a cxl region for specifically state to not create a dax
> device. Allow a Type2 driver to set that flag at region creation time.
> 
> Signed-off-by: Alejandro Lucero <[email-masked]>
> Reviewed-by: Zhi Wang <[email-masked]>

To me this seems a little premature as it will always be set by known
usecases, but meh, if someone else wants it it is indeed harmless.

Reviewed-by: Jonathan Cameron <[email-masked]>