From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOsDh-0004k6-KD for qemu-devel@nongnu.org; Fri, 20 Feb 2015 13:22:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOsDb-0000c0-9O for qemu-devel@nongnu.org; Fri, 20 Feb 2015 13:22:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOsDb-0000bb-2W for qemu-devel@nongnu.org; Fri, 20 Feb 2015 13:22:27 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1KIMQoT016154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 20 Feb 2015 13:22:26 -0500 From: Igor Mammedov Date: Fri, 20 Feb 2015 18:22:06 +0000 Message-Id: <1424456540-27854-3-git-send-email-imammedo@redhat.com> In-Reply-To: <1424456540-27854-1-git-send-email-imammedo@redhat.com> References: <1424456540-27854-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v5 02/16] 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: marcel@redhat.com, mst@redhat.com 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 --- 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, -- 1.8.3.1