diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-07 16:03:25 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-12 17:59:40 -0400 |
| commit | 2eb6672cfdaea7dacd8e9bb0523887f13b9f85ce (patch) | |
| tree | d17765e251de02316e2495fd4779e6531048028d /hw/cxl/cxl-component-utils.c | |
| parent | f7ada75b3f7dd1369b10bac7f8297831c3a80967 (diff) | |
| download | focaccia-qemu-2eb6672cfdaea7dacd8e9bb0523887f13b9f85ce.tar.gz focaccia-qemu-2eb6672cfdaea7dacd8e9bb0523887f13b9f85ce.zip | |
hmat acpi: Do not add Memory Proximity Domain Attributes Structure targetting non existent memory.
If qemu is started with a proximity node containing CPUs alone, it will provide one of these structures to say memory in this node is directly connected to itself. This description is arguably pointless even if there is memory in the node. If there is no memory present, and hence no SRAT entry it breaks Linux HMAT passing and the table is rejected. https://elixir.bootlin.com/linux/v6.7/source/drivers/acpi/numa/hmat.c#L444 Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20240307160326.31570-2-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/cxl/cxl-component-utils.c')
0 files changed, 0 insertions, 0 deletions