From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmNBz-0007Dq-Jj for qemu-devel@nongnu.org; Thu, 06 Nov 2014 08:33:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmNBu-0003p9-56 for qemu-devel@nongnu.org; Thu, 06 Nov 2014 08:33:39 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:51341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmNBt-0003oE-Sm for qemu-devel@nongnu.org; Thu, 06 Nov 2014 08:33:34 -0500 From: Arnd Bergmann Date: Thu, 06 Nov 2014 14:33:16 +0100 Message-ID: <4768655.ip33B0y0L1@wuerfel> In-Reply-To: <20141106133001.GC23706@leverpostej> References: <1414691045-4793-1-git-send-email-a.spyridakis@virtualopensystems.com> <545B1ACF.4090600@linaro.org> <20141106133001.GC23706@leverpostej> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [Qemu-devel] [Linaro-acpi] [RFC PATCH 0/7] hw/arm/virt: Dynamic ACPI v5.1 table generation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: linaro-acpi@lists.linaro.org Cc: Mark Rutland , Peter Maydell , "tech@virtualopensystems.com" , Hanjun Guo , QEMU Developers On Thursday 06 November 2014 13:30:01 Mark Rutland wrote: > > There is no way of doing this with DT. There has been work into DT > fragments/overlays where portions can be added to the tree dynamically, > but that's controlled by the OS rather than the hypervisor, and there's > no standard for communicating what has been hotplugged to trigger > changes to the tree, so it's not quite the same. It really only works > for tightly coupled hw/kernel/userspace combinations (i.e. embedded). > > Depending on how you implement the hot-add/remove you might be able to > get away with an initial static configuration translated from DT. If you > need to describe what might be hotplugged from the start, then I suspect > you cannot get away with translating a DT in general. I believe IBM POWER 5/6/7 servers have an interface to update the DT from the hypervisor, but it's not a nice interface, so we may want to avoid duplicating that. Arnd