[PATCH 13/34] x86/entry/32: Add PTI cr3 switches to NMI handler code

2018-03-05 Thread Joerg Roedel
From: Joerg Roedel The NMI handler is special, as it needs to leave with the same cr3 as it was entered with. We need to do this because we could enter the NMI handler from kernel code with user-cr3 already loaded. Signed-off-by: Joerg Roedel ---

[PATCH 13/34] x86/entry/32: Add PTI cr3 switches to NMI handler code

2018-03-05 Thread Joerg Roedel
From: Joerg Roedel The NMI handler is special, as it needs to leave with the same cr3 as it was entered with. We need to do this because we could enter the NMI handler from kernel code with user-cr3 already loaded. Signed-off-by: Joerg Roedel --- arch/x86/entry/entry_32.S | 52