[v2 PATCH 4/4] powernv: Recover correct PACA on wakeup from a stop on P9 DD1

Nicholas Piggin npiggin at gmail.com
Wed Mar 22 14:29:34 AEDT 2017


On Tue, 21 Mar 2017 02:59:46 +1000
Nicholas Piggin <npiggin at gmail.com> wrote:

> On Mon, 20 Mar 2017 21:24:18 +0530

> This is quite neat now you've moved it to its own function. Nice.
> It will be only a trivial clash with my patches now, I think.
> 
> Reviewed-by: Nicholas Piggin <npiggin at gmail.com>

Hmm... This won't actually work for machine check wakeups either.

We're doing the low level machine check before checking for wakeup,
which complicates things a little bit.

Simplest way to handle that might be to just always immediately
call the restore paca function at machine check entry, and then
just always mark machine checks as not-recoverable for DD1.

Thanks,
Nick



More information about the Linuxppc-dev mailing list