Re: [PATCH v6 06/13] arm64: kernel: Prepare for a DISR user

2018-01-16 Thread Suzuki K Poulose
On 15/01/18 19:38, James Morse wrote: KVM would like to consume any pending SError (or RAS error) after guest exit. Today it has to unmask SError and use dsb+isb to synchronise the CPU. With the RAS extensions we can use ESB to synchronise any pending SError. Add the necessary macros to allow

[PATCH v6 06/13] arm64: kernel: Prepare for a DISR user

2018-01-15 Thread James Morse
KVM would like to consume any pending SError (or RAS error) after guest exit. Today it has to unmask SError and use dsb+isb to synchronise the CPU. With the RAS extensions we can use ESB to synchronise any pending SError. Add the necessary macros to allow DISR to be read and converted to an ESR.