[PATCH 0/3] x86: IOPL switching cleanups

From: Brian Gerst
Date: Wed Jun 14 2017 - 08:41:09 EST


Here are three cleanups to the IOPL switching code for x86.

[PATCH 1/3] x86: Remove native_set_iopl_mask()
[PATCH 2/3] x86-32: Simplify IOPL switch check
[PATCH 3/3] x86/xen: Move paravirt IOPL switching to slow the path

arch/x86/include/asm/paravirt.h | 6 ++++++
arch/x86/include/asm/processor.h | 22 ++--------------------
arch/x86/include/asm/thread_info.h | 5 ++++-
arch/x86/include/asm/xen/hypervisor.h | 2 --
arch/x86/kernel/ioport.c | 6 ++++++
arch/x86/kernel/paravirt.c | 2 +-
arch/x86/kernel/process.c | 8 ++++++++
arch/x86/kernel/process_32.c | 9 ---------
arch/x86/kernel/process_64.c | 11 -----------
arch/x86/xen/enlighten_pv.c | 6 ++++--
10 files changed, 31 insertions(+), 46 deletions(-)