qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/5] target-ppc: Register and handle HCALL to re


From: David Gibson
Subject: Re: [Qemu-devel] [PATCH 2/5] target-ppc: Register and handle HCALL to receive updated RTAS region
Date: Tue, 26 Aug 2014 15:39:52 +1000
User-agent: Mutt/1.5.23 (2014-03-12)

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.

-- 
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

Attachment: pgpMLHeDC4SOC.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]