hw/arm/virt: fix limit of 64-bit ACPI/ECAM PCI MMIO range
PATCH 1/1 hw/arm/virt: fix limit of 64-bit ACPI/ECAM PCI MMIO range
Set the MMIO range limit field to 'base + size - 1' as required.
--- hw/arm/virt-acpi-build.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hw/arm/virt-acpi-build.c +2 -1
@@ -230,7 +230,8 @@ static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap,aml_append (rbuf,aml_qword_memory (AML_POS_DECODE ,AML_MIN_FIXED ,AML_MAX_FIXED ,AML_NON_CACHEABLE ,AML_READ_WRITE ,0x0000 , - base_mmio_high, base_mmio_high,0x0000 , + base_mmio_high, + base_mmio_high + size_mmio_high -1 ,0x0000 , size_mmio_high)); }
Signature · 1 line
1.9.1
Quoted 13 lines · Ard Biesheuvel
Set the MMIO range limit field to 'base + size - 1' as required.
Signed-off-by Ard Biesheuvel <[email protected]>--- hw/arm/virt-acpi-build.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)hw/arm/virt-acpi-build.c +0
-0
hw/arm/virt-acpi-build.c static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap, · line 237
Quoted 9 lines
hw/arm/virt-acpi-build.c +2
-1@@ -230,7 +230,8 @@ static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap,aml_append (rbuf,aml_qword_memory (AML_POS_DECODE ,AML_MIN_FIXED ,AML_MAX_FIXED ,AML_NON_CACHEABLE ,AML_READ_WRITE ,0x0000 , - base_mmio_high, base_mmio_high,0x0000 , + base_mmio_high, + base_mmio_high + size_mmio_high -1 ,0x0000 , size_mmio_high)); }
$ scripts/get_maintainer.pl -f hw/arm/virt-acpi-build.c
"Michael S. Tsirkin" <[email protected]> (supporter:ACPI/SMBIOS) Igor Mammedov <[email protected]> (supporter:ACPI/SMBIOS) Shannon Zhao <[email protected]> (maintainer:ARM ACPI Subsystem) Peter Maydell <[email protected]> (maintainer:ARM) [email protected] (open list:ARM ACPI Subsystem) [email protected] (open list:All patches CC here)
For this patch specifically, I'm CC'ing Shannon.
Thanks
Laszlo
Shannon Zhao
Reviewed-byQuoted 4 lines · Laszlo Ersek
Quoted 3 lines · Ard Biesheuvel
Set the MMIO range limit field to 'base + size - 1' as required.
Signed-off-by Ard Biesheuvel <[email protected]>
Quoted 22 lines
Quoted 10 lines
--- hw/arm/virt-acpi-build.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)hw/arm/virt-acpi-build.c +0
-0hw/arm/virt-acpi-build.c static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap, · line 237
Quoted 9 lines
hw/arm/virt-acpi-build.c +2
-1@@ -230,7 +230,8 @@ static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap,aml_append (rbuf,aml_qword_memory (AML_POS_DECODE ,AML_MIN_FIXED ,AML_MAX_FIXED ,AML_NON_CACHEABLE ,AML_READ_WRITE ,0x0000 , - base_mmio_high, base_mmio_high,0x0000 , + base_mmio_high, + base_mmio_high + size_mmio_high -1 ,0x0000 , size_mmio_high)); }$ scripts/get_maintainer.pl -f hw/arm/virt-acpi-build.c
Quoted 9 lines
"Michael S. Tsirkin" <[email protected]> (supporter:ACPI/SMBIOS) Igor Mammedov <[email protected]> (supporter:ACPI/SMBIOS) Shannon Zhao <[email protected]> (maintainer:ARM ACPI Subsystem) Peter Maydell <[email protected]> (maintainer:ARM) [email protected] (open list:ARM ACPI Subsystem) [email protected] (open list:All patches CC here)
For this patch specifically, I'm CC'ing Shannon.
Thanks, Laszlo :)
Signature · 1 line
Shannon
Peter Maydell
AppliedQuoted 8 lines · Shannon Zhao
Quoted 4 lines · Laszlo Ersek
Quoted 3 lines · Ard Biesheuvel
Set the MMIO range limit field to 'base + size - 1' as required.
Signed-off-by Ard Biesheuvel <[email protected]>Reviewed-by Shannon Zhao <[email protected]>
Applied to target-arm.next, thanks.
-- PMM