From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7nmd-0001uV-O9 for qemu-devel@nongnu.org; Tue, 31 May 2016 13:48:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7nmW-0005rn-Lc for qemu-devel@nongnu.org; Tue, 31 May 2016 13:48:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7nmW-0005rf-Fr for qemu-devel@nongnu.org; Tue, 31 May 2016 13:48:44 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0505F3B70B for ; Tue, 31 May 2016 17:48:44 +0000 (UTC) From: Marcel Apfelbaum Date: Tue, 31 May 2016 20:48:32 +0300 Message-Id: <1464716918-29689-2-git-send-email-marcel@redhat.com> In-Reply-To: <1464716918-29689-1-git-send-email-marcel@redhat.com> References: <1464716918-29689-1-git-send-email-marcel@redhat.com> Subject: [Qemu-devel] [PATCH RFC 1/7] hw/acpi: remove dead acpi code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marcel@redhat.com, mst@redhat.com, imammedo@redhat.com, pbonzini@redhat.com, ehabkost@redhat.com PCST and PCSB operation regions are not used by the Q35 machine. Signed-off-by: Marcel Apfelbaum --- hw/i386/acpi-build.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 279f0d7..9aef25d 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -2016,16 +2016,6 @@ build_dsdt(GArray *table_data, GArray *linker, build_piix4_pci0_int(dsdt); } else { sb_scope = aml_scope("_SB"); - aml_append(sb_scope, - aml_operation_region("PCST", AML_SYSTEM_IO, aml_int(0xae00), 0x0c)); - aml_append(sb_scope, - aml_operation_region("PCSB", AML_SYSTEM_IO, aml_int(0xae0c), 0x01)); - field = aml_field("PCSB", AML_ANY_ACC, AML_NOLOCK, AML_WRITE_AS_ZEROS); - aml_append(field, aml_named_field("PCIB", 8)); - aml_append(sb_scope, field); - aml_append(dsdt, sb_scope); - - sb_scope = aml_scope("_SB"); dev = aml_device("PCI0"); aml_append(dev, aml_name_decl("_HID", aml_eisaid("PNP0A08"))); aml_append(dev, aml_name_decl("_CID", aml_eisaid("PNP0A03"))); -- 2.4.3