From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755463AbcDMTKQ (ORCPT ); Wed, 13 Apr 2016 15:10:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:34804 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753638AbcDMTKO (ORCPT ); Wed, 13 Apr 2016 15:10:14 -0400 Date: Wed, 13 Apr 2016 21:10:11 +0200 From: "Luis R. Rodriguez" To: Roger Pau =?iso-8859-1?Q?Monn=E9?= , Sebastian Andrzej Siewior Cc: "Luis R. Rodriguez" , George Dunlap , Matt Fleming , Michael Chang , Julien Grall , Jan Beulich , "H. Peter Anvin" , Daniel Kiper , the arch/x86 maintainers , =?utf-8?Q?Vojt=C4=9Bch_Pavl=C3=ADk?= , Gary Lin , xen-devel , Jeffrey Cheung , Charles Arndol , Stefano Stabellini , Jim Fehlig , joeyli , Borislav Petkov , Boris Ostrovsky , Juergen Gross , Andrew Cooper , Linux Kernel Mailing List , Andy Lutomirski , David Vrabel , Takashi Iwai , jeffm@suse.com, torvalds@linux-foundation.org, Julien Grall Subject: Re: [Xen-devel] HVMLite / PVHv2 - using x86 EFI boot entry Message-ID: <20160413191011.GZ1990@wotan.suse.de> References: <20160406024027.GX1990@wotan.suse.de> <20160407185148.GL1990@wotan.suse.de> <5707BD2E.20204@citrix.com> <20160408215854.GU1990@wotan.suse.de> <20160412221225.GN1990@wotan.suse.de> <20160413102156.b4qwhwbqvnnpmxgw@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160413102156.b4qwhwbqvnnpmxgw@mac> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2016 at 12:25:03PM +0200, Roger Pau Monné wrote: > On Wed, Apr 13, 2016 at 12:12:25AM +0200, Luis R. Rodriguez wrote: > [...] > > Also, x86 does have a history of short DT use. Just pointing that its there as > > an option as well. I'll Cc you on some thread about that. > > I don't see how this is relevant to the conversation that's going on: Its relevant as George brought up DT as a *reason* why ARM was able to cope with no custom entry point... > How many x86 hardware provide DT? One. CE4100. arch/x86/platform/ce4100/falconfalls.dt > I bet this is 0%. That's slightly more than 0%. > How many OSes can boot on x86 using DT? Linux maybe, certainly FreeBSD, > Windows or OpenBSD won't be able to boot at all when provided a DT on x86. You guys seem to be taking these things too personal. Let me repeat, my goal is to ensure we review things without a bias. The points you make here *now* are things I welcome to the discussion as reasons for ruling out DT as ways to fine tune further semantics, its however by no means something we should have discarded. > Is Xen going to craft a DT for x86 based on ACPI? No, because it can't parse > the DSDT or other dynamic tables that contain the information about the > devices in the system. Again, DT was brought up by George as reason why ARM was able to cope with no custom entry point. That's all. What you raise is a good point to highlight but it does not mean we can't use it if we wanted to for other things, for instance as an alternative to extending the x86 boot protocol with custom things which we may need to enhance semantics early in boot. If that is a stupid prospect lets highlight that and rule it out. > I would also like to point out that DT or not DT is not really the problem > here, the issue that George was trying to point out is that on x86 there's > some legacy hardware that's considered to be always there, so it's presence > is not signaled by ACPI, and HVMlite is _not_ emulating this hardware. It > doesn't matter if the hardware description comes from ACPI or DT, this > hardware is considered to be always present on PC compatible hardware. x86 Xen PV guests are not alone. I'm adding quirks we can use to address this in a clean way now which turns out to be very useful for other custom x86 platforms. Luis