You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/mem
Yao Xingtao 9ac2c42f43 mem/cxl_type3: support 3, 6, 12 and 16 interleave ways
Since the kernel does not check the interleave capability, a
3-way, 6-way, 12-way or 16-way region can be create normally.

Applications can access the memory of 16-way region normally because
qemu can convert hpa to dpa correctly for the power of 2 interleave
ways, after kernel implementing the check, this kind of region will
not be created any more.

For non power of 2 interleave ways, applications could not access the
memory normally and may occur some unexpected behaviors, such as
segmentation fault.

So implements this feature is needed.

Link: https://lore.kernel.org/linux-cxl/3e84b919-7631-d1db-3e1d-33000f3f3868@fujitsu.com/
Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20250203161908.145406-6-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 day ago
..
Kconfig hw/cxl/device: Add a memory device (8.2.8.5) 3 years ago
cxl_type3.c mem/cxl_type3: support 3, 6, 12 and 16 interleave ways 1 day ago
cxl_type3_stubs.c hw/cxl/events: Improve QMP interfaces and documentation for add/release dynamic capacity. 8 months ago
memory-device-stubs.c memory-device: move stubs out of stubs/ 10 months ago
memory-device.c include: Rename sysemu/ -> system/ 2 months ago
meson.build memory-device: move stubs out of stubs/ 10 months ago
npcm7xx_mc.c hw/*: Use type casting for SysBusDevice in NPCM7XX 4 years ago
nvdimm.c Accel & Exec patch queue 2 months ago
pc-dimm.c Accel & Exec patch queue 2 months ago
sparse-mem.c Accel & Exec patch queue 2 months ago
trace-events docs: fix references to docs/devel/tracing.rst 4 years ago
trace.h trace: switch position of headers to what Meson requires 5 years ago