[PATCH v3 1/1] ppc/crash: Reset spinlocks during crash

Paul Mackerras paulus at ozlabs.org
Thu Apr 9 10:27:26 AEST 2020


On Wed, Apr 08, 2020 at 10:21:29PM +1000, Michael Ellerman wrote:
> 
> We should be able to just allocate the rtas_args on the stack, it's only
> ~80 odd bytes. And then we can use rtas_call_unlocked() which doesn't
> take the global lock.

Do we instantiate a 64-bit RTAS these days, or is it still 32-bit?
In the old days we had to make sure the RTAS argument buffer was
below the 4GB point.  If that's still necessary then perhaps putting
rtas_args inside the PACA would be the way to go.

Paul.


More information about the Linuxppc-dev mailing list