[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 6/8] target/ppc: allow ppc_cpu_do_system_reset to take an
Cédric Le Goater
Re: [PATCH v2 6/8] target/ppc: allow ppc_cpu_do_system_reset to take an alternate vector
Tue, 17 Mar 2020 11:47:32 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
On 3/17/20 12:34 AM, David Gibson wrote:
> On Tue, Mar 17, 2020 at 09:28:24AM +1000, Nicholas Piggin wrote:
>> Cédric Le Goater's on March 17, 2020 4:15 am:
>>> On 3/16/20 3:26 PM, Nicholas Piggin wrote:
>>>> Provide for an alternate delivery location, -1 defaults to the
>>>> architected address.
>>> I don't know what is the best approach, to override the vector addr
>>> computed by powerpc_excp() or use a machine class handler with
>> Yeah it's getting a bit ad hoc and inconsistent with machine check
>> etc, I just figured get something minimal in there now. The whole
>> exception delivery needs a spring clean though.
> Yeah, there's a huge amount of cruft in nearly all the softmmu code.
The MMU emulation is not that bad to read. However, the exception model
is hideous as one would say. powerpc_excp() is my favorite.
> It's such a big task that I don't really have any plans to tackle it
> specifically. Instead I've been cleaning up little pieces as they
> impinge on things I actually care about.
Maybe we should extract book3s to start with.
[PATCH v2 7/8] ppc/spapr: Implement FWNMI System Reset delivery, Nicholas Piggin, 2020/03/16
Re: [PATCH v2 7/8] ppc/spapr: Implement FWNMI System Reset delivery, David Gibson, 2020/03/16
[PATCH v2 8/8] ppc/spapr: Ignore common "ibm, nmi-interlock" Linux bug, Nicholas Piggin, 2020/03/16