Re: [PATCH] ACPI: NUMA: Only parse CFMWS at boot when CXL_ACPI is on

From: Haifeng Xu

Date: Thu Mar 05 2026 - 06:26:41 EST




On 2026/3/5 18:25, Huang, Kai wrote:
>
>>
>> By the way, If insert real cxl memory but disable CXL_ACPI, how the kernel
>> initilaizes the cxl memory and assigns the numa node? can you provide the
>> related kernel souce code?
>
> Sorry I am a bit confused what you want to do.
>

" It only avoids detecting CFMWS, which doesn't provide any NUMA info actually -- that's why
kernel assigns a 'faked' NUMA node for each of them."

Sorry I misunderstand what you said above. I originally thought that the inserted cxl memory
was assigned to a 'faked' NUMA node if disable CXL_ACPI.


> If you have actual CXL memory installed, that means you want to use that?
>
> But if you want to use CXL memory, you cannot disable CXL_ACPI IIUC.
>
> If you don't want to use CXL memory in your deployment then you can either
> disable CXL memory in your BIOS or, with this patch, disable CXL_ACPI in
> your kernel.
>

I see.

Thanks!