Re: [PATCH v8 11/26] efi: Let architectures decide the flags that should be saved/restored

2019-01-18 Thread Catalin Marinas
On Tue, Jan 08, 2019 at 02:07:29PM +, Julien Thierry wrote: > Currently, irqflags are saved before calling runtime services and > checked for mismatch on return. > > Provide a pair of overridable macros to save and restore (if needed) the > state that need to be preserved on return from a

[PATCH v8 11/26] efi: Let architectures decide the flags that should be saved/restored

2019-01-08 Thread Julien Thierry
Currently, irqflags are saved before calling runtime services and checked for mismatch on return. Provide a pair of overridable macros to save and restore (if needed) the state that need to be preserved on return from a runtime service. This allows to check for flags that are not necesarly