qemu/hw/loongarch
Bibo Mao 6276ce6d70 hw/loongarch/virt: Fix big endian support with MCFG table
With API build_mcfg(), it is not necessary with parameter structure
AcpiMcfgInfo to convert to little endian since it is directly used
with host native endian.

Here remove endian conversion before calling function build_mcfg().
With this patch, bios-tables-test passes to run on big endian host
machine S390.

Fixes: 735143f10d ("hw/loongarch: Add acpi ged support")
Cc: qemu-stable@nongnu.org
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20250604065502.1114098-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
(cherry picked from commit 9c55c03c05)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-06-12 02:34:19 +03:00
..
boot.c hw/loader: Pass ELFDATA endian order argument to load_elf() 2025-01-31 19:36:44 +01:00
fw_cfg.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
fw_cfg.h hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState 2024-05-09 00:07:21 +02:00
Kconfig hw/loongarch/virt: Update the ACPI table for hotplug cpu 2025-03-05 09:39:18 +08:00
meson.build hw/loongarch/virt: Add separate file for fdt building 2025-02-12 09:52:26 +08:00
virt-acpi-build.c hw/loongarch/virt: Fix big endian support with MCFG table 2025-06-12 02:34:19 +03:00
virt-fdt-build.c hw: Centralize handling of -machine dumpdtb option 2025-02-24 15:03:42 +00:00
virt.c hw/loongarch/virt: Replace destination error with error_abort 2025-04-08 14:44:53 +08:00