Re: [PATCH 0/3] hw/loongarch: Fix virt MADT revision

Song Gao <[email protected]> Wed, 5 Aug 2026 17:18:03 +0800
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>
在 2026/8/4 上午11:30, Dongyan Qian 写道:
> The LoongArch virt machine emits interrupt controller structures
> introduced by ACPI 6.5 while advertising MADT revision 1.
>
> Set the MADT revision to 6, the minimum revision covering the emitted
> LoongArch structures, and update the corresponding ACPI test data.
>
> Patch 1 prepares the ACPI allowed-diff list, patch 2 fixes the table
> revision, and patch 3 updates the golden binaries and clears the
> allowed-diff entries.
>
> The generated APIC tables differ only in Header.Revision and Checksum.
> Their lengths and interrupt controller subtables remain unchanged.
>
> Tests:
> - LoongArch bios-tables-test: 5/5 passed
> - QEMU checkpatch: passed
> - git diff --check: passed
> - ACPI checksums verified
>
> Dongyan Qian (3):
>    tests/acpi: Allow LoongArch virt MADT changes
>    hw/loongarch/virt: Set MADT revision to 6
>    tests/acpi: Update LoongArch virt MADT
>
>   hw/loongarch/virt-acpi-build.c                 |   2 +-
>   tests/data/acpi/loongarch64/virt/APIC          | Bin 108 -> 108 bytes
>   tests/data/acpi/loongarch64/virt/APIC.topology | Bin 153 -> 153 bytes
>   3 files changed, 1 insertion(+), 1 deletion(-)
Reviewed-by:  Song Gao <[email protected]>

Thanks.
Song Gao