[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/5] target-ppc: Register and handle
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/5] target-ppc: Register and handle HCALL to receive updated RTAS region |
Date: |
Tue, 26 Aug 2014 17:24:42 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Aug 26, 2014 at 04:15:40PM +1000, Benjamin Herrenschmidt wrote:
> On Tue, 2014-08-26 at 15:39 +1000, David Gibson wrote:
> > On Mon, Aug 25, 2014 at 07:15:26PM +0530, Aravinda Prasad wrote:
> > > Receive updates from SLOF about the updated rtas-base.
> > > A separate patch for SLOF [1] adds functionality to invoke a
> > > a private HCALL whenever OS issues instantiate-rtas with
> > > a new rtas-base.
> > >
> > > This is required as qemu needs to know the updated rtas-base
> > > as it allocates error reporting structure in RTAS space upon
> > > a machine check exception.
> >
> > This also seems really awkward. Specifically it seems like a rather
> > arbitrary and complex division of what qemu's responsible for and what
> > SLOF is responsible for.
> >
> > Instead I'd suggest that we add an H_INSTANTIATE_RTAS hcall, and we
> > move the loading of the spapr-rtas blob from normal reset to when that
> > hcall is invoked.
>
> Beware that SLOF needs to call RTAS for its own reasons...
>
> So it would be instanciated twice.
I don't see that that would cause a big problem, or am I missing
something?
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpvp35KoUSYM.pgp
Description: PGP signature
[Qemu-ppc] [PATCH 3/5] target-ppc: Build error log, Aravinda Prasad, 2014/08/25
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/5] target-ppc: Build error log, David Gibson, 2014/08/26
- Re: [Qemu-ppc] [PATCH 3/5] target-ppc: Build error log, Alexander Graf, 2014/08/27
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/5] target-ppc: Build error log, Aravinda Prasad, 2014/08/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/5] target-ppc: Build error log, Alexander Graf, 2014/08/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/5] target-ppc: Build error log, Benjamin Herrenschmidt, 2014/08/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/5] target-ppc: Build error log, Alexander Graf, 2014/08/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/5] target-ppc: Build error log, Benjamin Herrenschmidt, 2014/08/28