12286f39d2
- Include upstream patches designated as stable material and reviewed for applicability to include here. NOTE that the PIIX4 patch has migration implications: the change will also be applied to the SLE-15-SP2 qemu, and a live migration from that version to this SLE-15-SP3 qemu would require this patch to be applied for a successful migration if PIIX4 southbridge is used in the machine emulation (x86 i440fx) block-rbd-fix-memory-leak-in-qemu_rbd_co.patch block-rbd-Fix-memory-leak-in-qemu_rbd_co.patch cpu-core-Fix-help-of-CPU-core-device-typ.patch hw-arm-virt-acpi-build-Fix-GSIV-values-o.patch hw-block-fdc-Fix-fallback-property-on-sy.patch hw-isa-Kconfig-Add-missing-dependency-VI.patch hw-isa-piix4-Migrate-Reset-Control-Regis.patch hw-virtio-pci-Added-AER-capability.patch hw-virtio-pci-Added-counter-for-pcie-cap.patch s390x-css-report-errors-from-ccw_dstream.patch target-xtensa-fix-meson.build-rule-for-x.patch util-fix-use-after-free-in-module_load_o.patch virtio-pci-compat-page-aligned-ATS.patch OBS-URL: https://build.opensuse.org/request/show/885459 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=634
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From: Zenghui Yu <yuzenghui@huawei.com>
|
|
Date: Fri, 2 Apr 2021 16:47:31 +0800
|
|
Subject: hw/arm/virt-acpi-build: Fix GSIV values of the {GERR, Sync}
|
|
interrupts
|
|
|
|
Git-commit: 0c38f607836af40921ea2b58676b7c4a9fe33bef
|
|
|
|
The GSIV values in SMMUv3 IORT node are not correct as they don't match
|
|
the SMMUIrq enumeration, which describes the IRQ<->PIN mapping used by
|
|
our emulated vSMMU.
|
|
|
|
Fixes: a703b4f6c1ee ("hw/arm/virt-acpi-build: Add smmuv3 node in IORT table")
|
|
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
|
|
Acked-by: Eric Auger <eric.auger@redhat.com>
|
|
Message-id: 20210402084731.93-1-yuzenghui@huawei.com
|
|
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
---
|
|
hw/arm/virt-acpi-build.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
|
|
index 9747a6458f0bfd34a3c2b3fda96a..6cd17c58c5535ee7277292b7372f 100644
|
|
--- a/hw/arm/virt-acpi-build.c
|
|
+++ b/hw/arm/virt-acpi-build.c
|
|
@@ -287,8 +287,8 @@ build_iort(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms)
|
|
smmu->flags = cpu_to_le32(ACPI_IORT_SMMU_V3_COHACC_OVERRIDE);
|
|
smmu->event_gsiv = cpu_to_le32(irq);
|
|
smmu->pri_gsiv = cpu_to_le32(irq + 1);
|
|
- smmu->gerr_gsiv = cpu_to_le32(irq + 2);
|
|
- smmu->sync_gsiv = cpu_to_le32(irq + 3);
|
|
+ smmu->sync_gsiv = cpu_to_le32(irq + 2);
|
|
+ smmu->gerr_gsiv = cpu_to_le32(irq + 3);
|
|
|
|
/* Identity RID mapping covering the whole input RID range */
|
|
idmap = &smmu->id_mapping_array[0];
|