Skip to content

xtensa: fix pt_regs to cover user exception frame

Max Filippov linux-hardening lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xtensa: rename PT_SIZE to PT_KERNEL_SIZEarch/xtensa/kernel/asm-offsets.c arch/xtensa/kernel/entry.S arch/xtensa/kernel/vectors.S+10 -101 reply
2/2xtensa: use XCHAL_NUM_AREGS as pt_regs::areg sizearch/xtensa/include/asm/ptrace.h arch/xtensa/kernel/process.c+3 -141 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKees Cook
1/2R-b
2/2R-b

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/2] xtensa: fix pt_regs to cover user exception frame

Hello,

this series updates xtensa struct pt_regs so that it covers the whole user exception frame fixing kernel build issue visible in the current linux-next.

Max Filippov (2):
xtensa: rename PT_SIZE to PT_KERNEL_SIZE
xtensa: use XCHAL_NUM_AREGS as pt_regs::areg size

 arch/xtensa/include/asm/ptrace.h |  7 +++----
 arch/xtensa/kernel/asm-offsets.c |  2 +-
 arch/xtensa/kernel/entry.S       | 14 +++++++-------
 arch/xtensa/kernel/process.c     | 10 ----------
 arch/xtensa/kernel/vectors.S     |  4 ++--
 5 files changed, 13 insertions(+), 24 deletions(-)
Signature · 1 line
2.30.2