From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [RFC] ARM VM System Sepcification Date: Wed, 26 Feb 2014 13:08:21 -0800 Message-ID: <20140226210821.GD16149__32413.3878610612$1393449027$gmane$org@cbox> References: <20140226183454.GA14639@cbox> <87k3chh9fi.fsf@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <87k3chh9fi.fsf@canonical.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Michael Hudson-Doyle Cc: Peter Maydell , Ian Campbell , "kvm@vger.kernel.org" , cross-distro@lists.linaro.org, "marc.zyngier@arm.com" , Michael Casadevall , Rob Herring , xen-devel@lists.xen.org, Stefano Stabellini , Grant Likely , "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" List-Id: xen-devel@lists.xenproject.org On Thu, Feb 27, 2014 at 10:05:05AM +1300, Michael Hudson-Doyle wrote: > Christoffer Dall writes: > > > Hardware Description > > -------------------- > > The Linux kernel's proper entry point always takes a pointer to an FDT, > > regardless of the boot mechanism, firmware, and hardware description > > method. Even on real hardware which only supports ACPI and UEFI, the kernel > > entry point will still receive a pointer to a simple FDT, generated by > > the Linux kernel UEFI stub, containing a pointer to the UEFI system > > table. The kernel can then discover ACPI from the system tables. The > > presence of ACPI vs. FDT is therefore always itself discoverable, > > through the FDT. > > > > Therefore, the VM implementation must provide through its UEFI > > implementation, either: > > > > a complete FDT which describes the entire VM system and will boot > > mainline kernels driven by device tree alone, or > > > > no FDT. In this case, the VM implementation must provide ACPI, and > > the OS must be able to locate the ACPI root pointer through the UEFI > > system table. > > Maybe I'm missing something, but should this last bit say "a trivial > FDT" instead of "no FDT"? If not, I don't understand the first > paragraph :-) > That trivial FDT would be generated by the EFI stub in the kernel - not provided by the VM implementation. -Christoffer