From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSO45-0003XO-FN for qemu-devel@nongnu.org; Mon, 02 Mar 2015 05:59:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSO40-0006Ix-D0 for qemu-devel@nongnu.org; Mon, 02 Mar 2015 05:59:09 -0500 Received: from mail.kernel.org ([198.145.29.136]:33114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSO40-0006Ip-2k for qemu-devel@nongnu.org; Mon, 02 Mar 2015 05:59:04 -0500 Date: Mon, 2 Mar 2015 11:58:58 +0100 From: "Michael S. Tsirkin" Message-ID: <1425293287-4426-9-git-send-email-mst@redhat.com> References: <1425293287-4426-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425293287-4426-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL v3 08/26] pc: acpi: drop manual hole punching for PCI hotplug resources List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Richard Henderson , Paolo Bonzini , Anthony Liguori , Igor Mammedov From: Igor Mammedov Drops manual hole punching in PCI0._CRS for PIIX4 machine type. Resources will be consumed by Device(PHPR) that cwis attached to PCI bus. The same way how it currently works for mem hotlpug. Manual hole in PIIX4 _CRS wasn't correct anyway since it was legacy size 0xF while current PCIHP MMIO region is of size 0x14. Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 355f9b7..02e2597 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -885,11 +885,7 @@ build_ssdt(GArray *table_data, GArray *linker, aml_append(crs, aml_word_io(aml_min_fixed, aml_max_fixed, aml_pos_decode, aml_entire_range, - 0x0000, 0x0D00, 0xADFF, 0x0000, 0xA100)); - aml_append(crs, - aml_word_io(aml_min_fixed, aml_max_fixed, - aml_pos_decode, aml_entire_range, - 0x0000, 0xAE0F, 0xAEFF, 0x0000, 0x00F1)); + 0x0000, 0x0D00, 0xAEFF, 0x0000, 0xA200)); aml_append(crs, aml_word_io(aml_min_fixed, aml_max_fixed, aml_pos_decode, aml_entire_range, -- MST