qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* CXL volatile memory is not listed
@ 2023-08-08 22:51 Maverickk 78
  2023-08-10 10:35 ` Jonathan Cameron via
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Maverickk 78 @ 2023-08-08 22:51 UTC (permalink / raw)
  To: Jonathan Cameron via, Jonathan Cameron

Hello,

I am running qemu-system-x86_64

qemu-system-x86_64 --version
QEMU emulator version 8.0.92 (v8.1.0-rc2-80-g0450cf0897)

qemu-system-x86_64 \
-m 2G,slots=4,maxmem=4G \
-smp 4 \
-machine type=q35,accel=kvm,cxl=on \
-enable-kvm \
-nographic \
-device pxb-cxl,id=cxl.0,bus=pcie.0,bus_nr=52 \
-device cxl-rp,id=rp0,bus=cxl.0,chassis=0,port=0,slot=0 \
-object memory-backend-file,id=mem0,mem-path=/tmp/mem0,size=1G,share=true \
-device cxl-type3,bus=rp0,volatile-memdev=mem0,id=cxl-mem0 \
-M cxl-fmw.0.targets.0=cxl.0,cxl-fmw.0.size=1G


I was expecting the CXL memory to be listed in "System Ram", the lsmem
shows only 2G memory which is System RAM, it's not listing the CXL
memory.

Do I need to pass any particular parameter in the kernel command line?

Is there any documentation available? I followed the inputs provided in

https://lore.kernel.org/linux-mm/Y+CSOeHVLKudN0A6@kroah.com/T/

Is there any documentation/blog listed?


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

end of thread, other threads:[~2023-08-23 17:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 22:51 CXL volatile memory is not listed Maverickk 78
2023-08-10 10:35 ` Jonathan Cameron via
2023-08-11  2:34   ` Maverickk 78
2023-08-11 13:54     ` Jonathan Cameron via
2023-08-18  5:18       ` Maverickk 78
2023-08-18 11:30         ` Shreyas Shah via
2023-08-23 16:59           ` Jonathan Cameron via
2023-08-23 17:02         ` Jonathan Cameron via
2023-08-10 10:59 ` Philippe Mathieu-Daudé
2023-08-10 11:18   ` David Hildenbrand
2023-08-11  2:42   ` Maverickk 78
2023-08-10 16:32 ` Fan Ni
2023-08-11  2:22   ` Maverickk 78
2023-08-11 16:48     ` Fan Ni
2023-08-18  5:05       ` Maverickk 78

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).