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

From: Catalin Marinas
Date: Fri Jan 18 2019 - 11:26:31 EST

On Tue, Jan 08, 2019 at 02:07:29PM +0000, 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 runtime service.
> This allows to check for flags that are not necesarly related to
> irqflags.
> Signed-off-by: Julien Thierry <julien.thierry@xxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>