summary refs log tree commit diff stats
path: root/hw/display/vhost-user-gpu.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-08-20 19:42:33 +0100
committerSong Gao <gaosong@loongson.cn>2024-08-21 11:01:09 +0800
commitd4f5e5af86d2e28edb578e556b307e3ad01ebf08 (patch)
tree466ef5c027f2424c2325813f652002feecb242d7 /hw/display/vhost-user-gpu.c
parent4220ebde107c44412755d593fb46e168eeaed936 (diff)
downloadfocaccia-qemu-d4f5e5af86d2e28edb578e556b307e3ad01ebf08.tar.gz
focaccia-qemu-d4f5e5af86d2e28edb578e556b307e3ad01ebf08.zip
hw/loongarch: Fix length for lowram in ACPI SRAT
The size of lowram should be "gap" instead of the whole node.

This is failing kernel's sanity check:

[    0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0xffffffff]
[    0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x80000000-0x16fffffff]
[    0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x170000000-0x26fffffff]
[    0.000000] Warning: node 0 [mem 0x00000000-0xffffffff] overlaps with itself [mem 0x80000000-0x16fffffff]

Fixes: fc100011f38d ("hw/loongarch: Refine acpi srat table for numa memory")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw/display/vhost-user-gpu.c')
0 files changed, 0 insertions, 0 deletions