adacc814f5
This commit enables each CXL Type-3 device to contain one volatile memory region and one persistent region. Two new properties have been added to cxl-type3 device initialization: [volatile-memdev] and [persistent-memdev] The existing [memdev] property has been deprecated and will default the memory region to a persistent memory region (although a user may assign the region to a ram or file backed region). It cannot be used in combination with the new [persistent-memdev] property. Partitioning volatile memory from persistent memory is not yet supported. Volatile memory is mapped at DPA(0x0), while Persistent memory is mapped at DPA(vmem->size), per CXL Spec 8.2.9.8.2.0 - Get Partition Info. Signed-off-by: Gregory Price <gregory.price@memverge.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Fan Ni <fan.ni@samsung.com> Tested-by: Fan Ni <fan.ni@samsung.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20230421160827.2227-4-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
arm | ||
devices | ||
i386 | ||
loongarch | ||
openrisc | ||
ppc | ||
riscv | ||
s390x | ||
authz.rst | ||
barrier.rst | ||
bootindex.rst | ||
confidential-guest-support.rst | ||
cpu-hotplug.rst | ||
cpu-models-mips.rst.inc | ||
cpu-models-x86-abi.csv | ||
cpu-models-x86.rst.inc | ||
device-emulation.rst | ||
device-url-syntax.rst.inc | ||
gdb.rst | ||
generic-loader.rst | ||
guest-loader.rst | ||
images.rst | ||
index.rst | ||
introduction.rst | ||
invocation.rst | ||
keys.rst | ||
keys.rst.inc | ||
linuxboot.rst | ||
managed-startup.rst | ||
monitor.rst | ||
multi-process.rst | ||
mux-chardev.rst | ||
mux-chardev.rst.inc | ||
pr-manager.rst | ||
qemu-block-drivers.rst | ||
qemu-block-drivers.rst.inc | ||
qemu-cpu-models.rst | ||
qemu-manpage.rst | ||
replay.rst | ||
secrets.rst | ||
security.rst | ||
target-arm.rst | ||
target-avr.rst | ||
target-i386-desc.rst.inc | ||
target-i386.rst | ||
target-m68k.rst | ||
target-mips.rst | ||
target-openrisc.rst | ||
target-ppc.rst | ||
target-riscv.rst | ||
target-rx.rst | ||
target-s390x.rst | ||
target-sparc64.rst | ||
target-sparc.rst | ||
target-xtensa.rst | ||
targets.rst | ||
tls.rst | ||
virtio-net-failover.rst | ||
vnc-security.rst |