Skip to content

x86: sp0 fixes

Andy Lutomirski lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: Delay loading sp0 slightly on task switcharch/x86/kernel/process_32.c arch/x86/kernel/process_64.c+8 -80 replies
2/2x86: Replace this_cpu_sp0 with current_top_of_stack and fix it on x86_32arch/x86/include/asm/processor.h arch/x86/include/asm/thread_info.h arch/x86/kernel/cpu/common.c +3 more+33 -126 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/2] x86: sp0 fixes

I broke x86_32 and I made an inadvertent change to both bitnesses. Undo the inadvertent change and fix x86_32.

This isn't as pretty as I hoped. Sorry.

Andy Lutomirski (2):
x86: Delay loading sp0 slightly on task switch
x86: Replace this_cpu_sp0 with current_top_of_stack and fix it on

    x86_32
 arch/x86/include/asm/processor.h   | 11 ++++++++++-
 arch/x86/include/asm/thread_info.h |  4 +---
 arch/x86/kernel/cpu/common.c       | 13 +++++++++++--
 arch/x86/kernel/process_32.c       | 17 ++++++++++-------
 arch/x86/kernel/process_64.c       |  6 +++---
 arch/x86/kernel/smpboot.c          |  2 ++
 arch/x86/kernel/traps.c            |  4 ++--
 7 files changed, 39 insertions(+), 18 deletions(-)
Signature · 1 line
2.1.0