From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW4Mw-0004zj-Dr for qemu-devel@nongnu.org; Fri, 04 Apr 2014 09:41:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WW4Mo-00071A-E2 for qemu-devel@nongnu.org; Fri, 04 Apr 2014 09:41:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW4Mo-00070v-4z for qemu-devel@nongnu.org; Fri, 04 Apr 2014 09:41:10 -0400 From: Igor Mammedov Date: Fri, 4 Apr 2014 15:36:54 +0200 Message-Id: <1396618620-27823-30-git-send-email-imammedo@redhat.com> In-Reply-To: <1396618620-27823-1-git-send-email-imammedo@redhat.com> References: <1396618620-27823-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 29/35] pc: ACPI BIOS: punch holes in PCI0._CRS for memory hotplug IO region List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, mst@redhat.com, aik@ozlabs.ru, hutao@cn.fujitsu.com, mjt@tls.msk.ru, lcapitulino@redhat.com, kraxel@redhat.com, akong@redhat.com, quintela@redhat.com, armbru@redhat.com, aliguori@amazon.com, jan.kiszka@siemens.com, lersek@redhat.com, ehabkost@redhat.com, marcel.a@redhat.com, stefanha@redhat.com, chegu_vinod@hp.com, rth@twiddle.net, kwolf@redhat.com, s.priebe@profihost.ag, mreitz@redhat.com, vasilis.liaskovitis@profitbricks.com, pbonzini@redhat.com, afaerber@suse.de ... to make sure that IO range used by memory hotlug won't be used by PCI devices. Signed-off-by: Igor Mammedov --- hw/i386/acpi-dsdt.dsl | 10 +++++++++- hw/i386/q35-acpi-dsdt.dsl | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt.dsl index f93353f..b846195 100644 --- a/hw/i386/acpi-dsdt.dsl +++ b/hw/i386/acpi-dsdt.dsl @@ -39,9 +39,17 @@ DefinitionBlock ( WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, \ 0x0000, \ 0x0000, \ + 0x09FF, \ + 0x0000, \ + 0x0A00, \ + ,, , TypeStatic) \ + /* 0xa00-0xa17 hole for memory hotplug, include/hw/acpi/memory_hotplug.h:ACPI_MEMORY_HOTPLUG_BASE */ \ + WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, \ + 0x0000, \ + 0x0A18, \ 0x0CF7, \ 0x0000, \ - 0x0CF8, \ + 0x02E0, \ ,, , TypeStatic) \ WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, \ 0x0000, \ diff --git a/hw/i386/q35-acpi-dsdt.dsl b/hw/i386/q35-acpi-dsdt.dsl index 3838fc7..766e96d 100644 --- a/hw/i386/q35-acpi-dsdt.dsl +++ b/hw/i386/q35-acpi-dsdt.dsl @@ -52,9 +52,17 @@ DefinitionBlock ( WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, \ 0x0000, \ 0x0000, \ + 0x09FF, \ + 0x0000, \ + 0x0A00, \ + ,, , TypeStatic) \ + /* 0xa00-0xa17 hole for memory hotplug, include/hw/acpi/memory_hotplug.h:ACPI_MEMORY_HOTPLUG_BASE */ \ + WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, \ + 0x0000, \ + 0x0A18, \ 0x0CD7, \ 0x0000, \ - 0x0CD8, \ + 0x02C0, \ ,, , TypeStatic) \ /* 0xcd8-0xcf7 hole for CPU hotplug, hw/acpi/ich9.c:ICH9_PROC_BASE */ \ WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, \ -- 1.9.0