Linux CXL
 help / color / mirror / Atom feed
* dax behavior on CXL 1.1 hosts
@ 2025-05-15 22:50 Yiannis Nikolakopoulos
  2025-05-19 22:56 ` Dan Williams
  0 siblings, 1 reply; 4+ messages in thread
From: Yiannis Nikolakopoulos @ 2025-05-15 22:50 UTC (permalink / raw)
  To: linux-cxl; +Cc: yiannis, dan.j.williams

Hi,

I am trying to understand the dax behavior on CXL 1.1 hosts running
recent kernels and what is that I have probably misconfigured.
To my understanding this series [1] introduced some different
behavior, and I am trying to figure out what I am getting wrong here
(but of course I might as well be looking in a completely wrong
place).

System:
CXL 1.1 Host (x86) + CXL 2.0 Type 3 memory expander (FPGA).
CONFIG_EFI_SOFT_RESERVE is enabled.
The memory region appears correctly as soft reserved in the e820 tables.

When running with Kernel 6.2.16 (or older) the dax device appears as
expected, and I can either map it or configure it as system ram. No
issues there.

When running with 6.14.5 (and others e.g. 6.12-lts, 6.3), while the
soft reserved region is still there, neither the memory is brought
online, nor the dax device appears at all. I have tried what the
patchset suggested, `memhp_default_state=offline`, but there is no dax
device to reconfigure afterwards. Neither could I manually create
anything with daxctl as no dax regions are found. With online as
default, still nothing happens -- memory is not used and no dax device
appears.

I have dyndbg enabled for dax and hmem and the only entry I see is:
[   12.714566] dax_hmem:hmem_register_device:73: hmem_platform
hmem_platform.0: deferring range to CXL: [mem
0x2050000000-0x240fffffff flags 0x80000200]

What is it that I am missing here?

Thanks in advance.

Best regards,
Yiannis

[1] https://lore.kernel.org/linux-cxl/167601992097.1924368.18291887895351917895.stgit@dwillia2-xfh.jf.intel.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-21 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15 22:50 dax behavior on CXL 1.1 hosts Yiannis Nikolakopoulos
2025-05-19 22:56 ` Dan Williams
2025-05-21 21:22   ` Yiannis Nikolakopoulos
2025-05-21 21:57     ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox