Received: from eggs.gnu.org ([2001:4830:134:3::10]:37877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b57Xz-0004d9-N5 for qemu-devel@nongnu.org; Tue, 24 May 2016 04:18:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b57Xw-00007I-Hr for qemu-devel@nongnu.org; Tue, 24 May 2016 04:18:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b57Xw-00005i-Bd for qemu-devel@nongnu.org; Tue, 24 May 2016 04:18:36 -0400 References: <1463856217-17969-1-git-send-email-ard.biesheuvel@linaro.org> From: Laszlo Ersek Message-ID: Date: Tue, 24 May 2016 10:18:32 +0200 MIME-Version: 1.0 In-Reply-To: <1463856217-17969-1-git-send-email-ard.biesheuvel@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/arm/virt: fix limit of 64-bit ACPI/ECAM PCI MMIO range List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ard Biesheuvel Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, p.fedin@samsung.com, Shannon Zhao On 05/21/16 20:43, Ard Biesheuvel wrote: > Set the MMIO range limit field to 'base + size - 1' as required. > > Signed-off-by: Ard Biesheuvel > --- > hw/arm/virt-acpi-build.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c > index f51fe396ce9c..60a70370dd96 100644 > --- a/hw/arm/virt-acpi-build.c > +++ b/hw/arm/virt-acpi-build.c > @@ -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" (supporter:ACPI/SMBIOS) Igor Mammedov (supporter:ACPI/SMBIOS) Shannon Zhao (maintainer:ARM ACPI Subsystem) Peter Maydell (maintainer:ARM) qemu-arm@nongnu.org (open list:ARM ACPI Subsystem) qemu-devel@nongnu.org (open list:All patches CC here) For this patch specifically, I'm CC'ing Shannon. Thanks Laszlo