On 04/12/17 15:07, Thomas Gleixner wrote: > From: Boris Ostrovsky <[email protected]> > > Commit 1d3e53e8624a ("x86/entry/64: Refactor IRQ stacks and make them > NMI-safe") added DEBUG_ENTRY_ASSERT_IRQS_OFF macro that acceses eflags > using 'pushfq' instruction when testing for IF bit. On PV Xen guests > looking at IF flag directly will always see it set, resulting in 'ud2'. > > Introduce SAVE_FLAGS() macro that will use appropriate save_fl pv op when > running paravirt. > > Signed-off-by: Boris Ostrovsky <[email protected]> > Signed-off-by: Thomas Gleixner <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Link: > https://lkml.kernel.org/r/[email protected]
Reviewed-by: Juergen Gross <[email protected]> Juergen

