Skip to content

x86: IOPL switching cleanups

Brian Gerst lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: Remove native_set_iopl_mask()arch/x86/include/asm/processor.h arch/x86/kernel/paravirt.c+2 -210 replies
2/3x86-32: Simplify IOPL switch checkarch/x86/kernel/process_32.c arch/x86/xen/enlighten_pv.c+4 -20 replies
3/3x86/xen: Move paravirt IOPL switching to slow the patharch/x86/include/asm/paravirt.h arch/x86/include/asm/processor.h arch/x86/include/asm/thread_info.h +6 more+26 -247 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86: IOPL switching cleanups

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(-)