From: Gregory Price <gourry@gourry.net>
To: "Zhijian Li (Fujitsu)" <lizhijian@fujitsu.com>
Cc: Nathan Fontenot <nathan.fontenot@amd.com>,
"Koralahalli Channabasappa,
Smita" <Smita.KoralahalliChannabasappa@amd.com>,
"Bowman, Terry" <terry.bowman@amd.com>,
Alison Schofield <alison.schofield@intel.com>,
"linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
Jonathan Cameron <Jonathan.Cameron@huawei.com>,
"dan.j.williams@intel.com" <dan.j.williams@intel.com>,
"dave.jiang@intel.com" <dave.jiang@intel.com>,
"vishal.l.verma@intel.com" <vishal.l.verma@intel.com>,
Robert Richter <rrichter@amd.com>, Fan Ni <fan.ni@samsung.com>,
Davidlohr Bueso <dave@stgolabs.net>,
"Yasunori Gotou (Fujitsu)" <y-goto@fujitsu.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] CXL/ACPI: Remove overlapping Soft Reserved regions before adding CFMW resources
Date: Thu, 6 Nov 2025 13:24:12 -0500 [thread overview]
Message-ID: <aQznzIP6h5NibJM6@gourry-fedora-PF4VCD3F> (raw)
In-Reply-To: <e545b630-1a89-40b1-996c-c843a9e8fad7@fujitsu.com>
On Fri, Jul 11, 2025 at 05:34:27AM +0000, Zhijian Li (Fujitsu) wrote:
>
>
> On 11/07/2025 05:15, Nathan Fontenot wrote:
> In this case(with your V4 patch), we would see:
> ```
> 5d0000000-6cfffffff : CXL Window 0
> 5d0000000-6cfffffff : region0
> ```
> Actually, it cannot be consumed by the hmem/dax_hmem neither.
>
> This made me realize that my current idea ignores the case of CXL_ACPI=y && CXL_REGION=n. I quickly tested it(I will take a deeper look later):
>
> After the OS boots, we can see this resource. Can anyone tell me how to create the corresponding dax_region? Because I tried using dax create-device without success.
> ```
> 5d0000000-6cfffffff : CXL Window 0
> 5d0000000-6cfffffff : Soft Reserved
> ```
>
with CXL_REGION=n you cannot create the dax region.
region0 --creates-> dax_region0 --creates-> dax0
all you've done here by setting CXL_REGION=N is break the probe chain
but otherwise successfully attributed the memory to the CXL driver.
~Gregory
next prev parent reply other threads:[~2025-11-06 18:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-10 2:30 [RFC] CXL/ACPI: Remove overlapping Soft Reserved regions before adding CFMW resources Zhijian Li (Fujitsu)
2025-07-10 20:39 ` Koralahalli Channabasappa, Smita
2025-07-11 1:30 ` Zhijian Li (Fujitsu)
2025-07-10 21:15 ` Nathan Fontenot
2025-07-11 5:34 ` Zhijian Li (Fujitsu)
2025-11-06 18:24 ` Gregory Price [this message]
2025-11-06 18:25 ` Gregory Price
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aQznzIP6h5NibJM6@gourry-fedora-PF4VCD3F \
--to=gourry@gourry.net \
--cc=Jonathan.Cameron@huawei.com \
--cc=Smita.KoralahalliChannabasappa@amd.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=fan.ni@samsung.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizhijian@fujitsu.com \
--cc=nathan.fontenot@amd.com \
--cc=rrichter@amd.com \
--cc=terry.bowman@amd.com \
--cc=vishal.l.verma@intel.com \
--cc=y-goto@fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox