Received: from eggs.gnu.org ([208.118.235.92]:41592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOP5n-0003sz-MY for qemu-devel@nongnu.org; Sat, 06 Apr 2013 05:07:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOP5j-0005It-SO for qemu-devel@nongnu.org; Sat, 06 Apr 2013 05:07:23 -0400 References: <1365007213-27603-1-git-send-email-chouteau@adacore.com> <1365007213-27603-4-git-send-email-chouteau@adacore.com> <7C0E04C3-1FDF-460E-8F78-1E24E5759C93@suse.de> <515D3BDE.20400@adacore.com> <8FE7E3AF-D822-4DBF-8A7E-BD0EA80AD07A@suse.de> <515D69B8.9040007@suse.de> <1365202829.17535.15@snotra> Mime-Version: 1.0 (1.0) In-Reply-To: <1365202829.17535.15@snotra> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <7DE52476-7B80-40E3-8B9B-F2ABEFE0268B@suse.de> From: Alexander Graf Date: Sat, 6 Apr 2013 11:07:18 +0200 Subject: Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: Peter Maydell , qemu-devel , Fabien Chouteau , "" , =?utf-8?Q?Herv=C3=A9_Poussineau?= , =?utf-8?Q?Andreas_F=C3=A4rber?= , Artyom Tarasenko Am 06.04.2013 um 01:00 schrieb Scott Wood : > On 04/04/2013 06:59:24 AM, Alexander Graf wrote: >> On 04.04.2013, at 13:53, Andreas F=C3=A4rber wrote: >> > For PReP, Fabien has not stated what his use case actually is (in >> > particular which hardware?), so it's hard for me to comment on what the= >> > hardware actually does and I thus won't accept random changes just >> > because they happen to be in Leon3 code. There's nothing conceptually >> > wrong with loading ELF code so I'm positive we will find a solution to >> > accommodate all use cases in some way. :) >> I think it makes a lot of sense to support loading -kernel as an ELF bina= ry. I don't think it's a good idea to allow -kernel without any BIOS. We do t= hat on the e500 machines and so far it's mostly hurt us. >=20 > If by "mostly hurt us" you mean allowed things to work without having to d= o a bunch of hacking to create a paravirt U-Boot and/or implement a bunch of= emulation that we don't really need otherwise. Also, as soon as ARM moves to uEFI, Linux won't run bare metal the way it wo= uld with formware either. We went through that argument very leghthly on x86. It used to do direct -ke= rnel without involving firmware. Then came SMP tables that were missing, ACP= I tables that were missing, etc. Suddenly your -kernel booted system couldn'= t do hotplug for example. It ran through different code paths, causing testa= bility pain. What if Linux adds a callback into uboot tomorrow that it uses to do early p= rintk? Suddenly we lack that. On ARM, look at highbank. Because we're not running we're lacking a monitor m= ode blob that provides sys calls for flushing caches. Thus today the highban= k machine doesn't boot anymore with Linux. If we ran firmware like the real b= oard, that would provide for the sys call. Alex