Skip to content

KPTI: get rid of cpu_entry_area mapping duplication

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Undo the split of setup_cpu_entry_areaarch/x86/kernel/smpboot.c arch/x86/kernel/traps.c+7 -14 replies
2/2x86/kpti: Reference all cpu_entry_area pagetables in the usermode tablesarch/x86/include/asm/fixmap.h arch/x86/include/asm/kpti.h arch/x86/kernel/cpu/common.c +1 more+64 -431 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] KPTI: get rid of cpu_entry_area mapping duplication

I like this variant much better. It might also fix the nasty bug tglx and peterz were chasing.

Andy Lutomirski (2):
Undo the split of setup_cpu_entry_area
x86/kpti: Reference all cpu_entry_area pagetables in the usermode
tables

 arch/x86/include/asm/fixmap.h | 14 +++++---
 arch/x86/include/asm/kpti.h   |  8 +++--
 arch/x86/kernel/cpu/common.c  |  3 --
 arch/x86/kernel/smpboot.c     |  2 ++
 arch/x86/kernel/traps.c       |  6 +++-
 arch/x86/mm/kpti.c            | 82 ++++++++++++++++++++++++++-----------------
 6 files changed, 71 insertions(+), 44 deletions(-)
Signature · 1 line
2.13.6