[Lguest] [PATCH 0/2] x86/entry/32: Get rid of paravirt_enabled in ESPFIX

Andy Lutomirski luto at kernel.org
Tue Mar 1 10:45:22 AEDT 2016


Hi Luis-

As promised, here are these patches.

Borislav, if you're okay with this (ab)use of the cpufeatures stuff
and if they survive review, I'd be okay with them joining your
series or going straight into tip:x86/asm.

Andy Lutomirski (2):
  x86/nmi/64: Giant debugging hack
  x86/entry/32: Introduce and use X86_BUG_ESPFIX instead of
    paravirt_enabled

 arch/x86/entry/entry_32.S          | 15 ++-------------
 arch/x86/entry/entry_64.S          | 34 ++++++++++++++++++++++++++++++----
 arch/x86/include/asm/cpufeatures.h |  8 ++++++++
 arch/x86/include/asm/segment.h     |  5 ++++-
 arch/x86/kernel/cpu/common.c       | 27 +++++++++++++++++++++++++++
 5 files changed, 71 insertions(+), 18 deletions(-)

-- 
2.5.0



More information about the Lguest mailing list