Skip to content

sp0, ss1, and sp1 docs and minor fixes

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: Create and use a TOP_OF_KERNEL_STACK_PADDING macroarch/x86/include/asm/processor.h arch/x86/include/asm/thread_info.h+32 -14 replies
2/3x86: Unify and fix init sp0arch/x86/include/asm/processor.h arch/x86/kernel/process.c+6 -31 reply
3/3x86_32: Document our abuse of ss1 and sp1arch/x86/include/asm/processor.h+18 -34 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] sp0, ss1, and sp1 docs and minor fixes

This documents things, clarifies the code, and fixes an apparently inconsequential bug that caused the init sp0 to be wrong.

(My earlier 32-bit bug was caused because I thought that the code I'm fixing was correct. Whoops.)

Andy Lutomirski (3):
x86: Create and use a TOP_OF_KERNEL_STACK_PADDING macro
x86: Unify and fix init sp0
x86_32: Document our abuse of ss1 and sp1

 arch/x86/include/asm/processor.h   | 31 +++++++++++++++++++++++++------
 arch/x86/include/asm/thread_info.h | 30 ++++++++++++++++++++++++++++++
 arch/x86/kernel/process.c          |  2 +-
 3 files changed, 56 insertions(+), 7 deletions(-)
Signature · 1 line
2.3.0