From patchwork Mon Mar 2 10:58:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 445040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6CDE5140083 for ; Mon, 2 Mar 2015 22:02:03 +1100 (AEDT) Received: from localhost ([::1]:56196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSO6r-0008JP-As for incoming@patchwork.ozlabs.org; Mon, 02 Mar 2015 06:02:01 -0500 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 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 127E9201B9; Mon, 2 Mar 2015 10:59:03 +0000 (UTC) Received: from redhat.com (bzq-79-181-154-135.red.bezeqint.net [79.181.154.135]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CEEC2201F2; Mon, 2 Mar 2015 10:59:00 +0000 (UTC) Date: Mon, 2 Mar 2015 11:58:58 +0100 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org 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-Disposition: inline In-Reply-To: <1425293287-4426-1-git-send-email-mst@redhat.com> X-Mailer: git-send-email 2.0.0.545.gd9cabeb X-Mutt-Fcc: =sent X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 198.145.29.136 Cc: Peter Maydell , Richard Henderson , Paolo Bonzini , Anthony Liguori , Igor Mammedov Subject: [Qemu-devel] [PULL v3 08/26] pc: acpi: drop manual hole punching for PCI hotplug resources X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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,