Received: from eggs.gnu.org ([2001:4830:134:3::10]:40491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDVKM-0001Cx-Lf for qemu-devel@nongnu.org; Tue, 20 Jan 2015 04:42:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDVKI-00008b-Hw for qemu-devel@nongnu.org; Tue, 20 Jan 2015 04:42:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDVKI-00008W-Ba for qemu-devel@nongnu.org; Tue, 20 Jan 2015 04:42:22 -0500 Date: Tue, 20 Jan 2015 10:42:14 +0100 From: Igor Mammedov Message-ID: <20150120104214.4f05be68@nial.brq.redhat.com> In-Reply-To: <20150119215537.GC11452@redhat.com> References: <1418954562-13716-1-git-send-email-imammedo@redhat.com> <1418954562-13716-42-git-send-email-imammedo@redhat.com> <54BCFBB1.60806@redhat.com> <20150119215537.GC11452@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC 41/47] pc: acpi-build: create PCI0._CRS dynamically List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Paolo Bonzini , drjones@redhat.com, claudio.fontana@huawei.com, qemu-devel@nongnu.org, Marcel Apfelbaum On Mon, 19 Jan 2015 23:55:37 +0200 "Michael S. Tsirkin" wrote: > On Mon, Jan 19, 2015 at 01:42:25PM +0100, Paolo Bonzini wrote: > >=20 > >=20 > > On 19/12/2014 03:02, Igor Mammedov wrote: > > > Replace template patching and runtime > > > calculation in _CRS() method with static _CRS > > > defined in SSDT. > > >=20 > > > It also drops manual hole patching for reserved > > > PCI/MEM/CPU hoptlug MMIO resources and utilizes > > > the fact that MMIO resources are reserved by > > > respective child /i.e. PHPR, MHPD, PRES/ containers. > > >=20 > > > Signed-off-by: Igor Mammedov > >=20 > > This is a good idea. It's simpler to just do this in the SSDT than to > > split it between DSDT and SSDT. The AML's purpose is just to build a > > static value anyway. > >=20 > > Paolo >=20 > I think Marcel has patches going in exactly the reverse > direction with this. =46rom my talk with him, he was doing/needs a similar thing. So this was simplifying his job. > Marcel?