[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob
From: |
Aravinda Prasad |
Subject: |
Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob |
Date: |
Thu, 28 Aug 2014 23:50:13 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
On Thursday 28 August 2014 04:10 PM, Alexander Graf wrote:
>
>
> On 25.08.14 15:45, Aravinda Prasad wrote:
>> Extend rtas-blob to accommodate error log. Error log
>> structure is saved in rtas space upon a machine check
>> exception.
>>
>> Signed-off-by: Aravinda Prasad <address@hidden>
>
> I can't say I'm a big fan of this patch. Can we somehow separate that
> NMI page from the RTAS blob? Also I'd definitely prefer if we keep
> rtas_entry == rtas_addr - if nothing else for the sake of backwards
> compatibility.
>
> So how about we lay out the structure in memory like this:
>
> [ spapr-rtas.bin ]
> [ padding to 4k boundary or whatever sPAPR requires ]
> [ 4k NMI region ]
>
> Then the only thing we'd have to really change internally is the size
> information of the rtas blob.
Either we can have it like this or completely eliminate spapr-rtas.bin
(and spapr-rtas.S) by simply allocating required space in QEMU and then
patching the 5 instructions at rtas-entry as earlier discussed with David.
http://lists.nongnu.org/archive/html/qemu-ppc/2014-08/msg00251.html
Regards,
Aravinda
>
>
> Alex
>
--
Regards,
Aravinda
- [Qemu-ppc] [PATCH 0/5] target-ppc: Add FWNMI support in QEMU for powerKVM guests, Aravinda Prasad, 2014/08/25
- [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Aravinda Prasad, 2014/08/25
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Alexander Graf, 2014/08/28
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob,
Aravinda Prasad <=
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Alexander Graf, 2014/08/28
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Benjamin Herrenschmidt, 2014/08/28
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Alexander Graf, 2014/08/28
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Benjamin Herrenschmidt, 2014/08/28
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Alexander Graf, 2014/08/28
- Re: [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob, Benjamin Herrenschmidt, 2014/08/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 1/5] target-ppc: Extend rtas-blob, David Gibson, 2014/08/29
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 1/5] target-ppc: Extend rtas-blob, David Gibson, 2014/08/29
[Qemu-ppc] [PATCH 2/5] target-ppc: Register and handle HCALL to receive updated RTAS region, Aravinda Prasad, 2014/08/25