[PATCH 0/3] Clean up svc mode register state
Russell King - ARM Linux
linux at armlinux.org.uk
Fri May 13 03:48:02 PDT 2016
Three patches to clean up the saved register state for SW PAN:
* get rid of S_FRAME_SIZE, replacing it with PT_REGS_SIZE (which
is what all cases of this constant actually was describing).
* provide svc_pt_regs to describe the SVC mode stack layout, which
may contain the additional DACR register above the pt_regs.
* get rid of the horrid saved DACR access in __show_regs
arch/arm/include/asm/assembler.h | 4 ++--
arch/arm/include/asm/ptrace.h | 10 ++++++++++
arch/arm/kernel/asm-offsets.c | 4 +++-
arch/arm/kernel/entry-armv.S | 12 ++++++------
arch/arm/kernel/entry-common.S | 2 +-
arch/arm/kernel/entry-header.S | 8 ++++----
arch/arm/kernel/entry-v7m.S | 2 +-
arch/arm/kernel/process.c | 2 +-
8 files changed, 28 insertions(+), 16 deletions(-)
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list