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

Dongyan Qian posted 3 patches 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260804033036.2614008-1-qiandongyan@loongson.cn
Maintainers: Song Gao <17746591750@163.com>, Bibo Mao <maobibo@loongson.cn>, Xianglai Li <lixianglai@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>
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(-)
[PATCH 0/3] hw/loongarch: Fix virt MADT revision
Posted by Dongyan Qian 3 weeks ago
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(-)

-- 
2.43.0
Re: [PATCH 0/3] hw/loongarch: Fix virt MADT revision
Posted by Song Gao 2 weeks, 6 days ago
在 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 <17746591750@163.com>

Thanks.
Song Gao