From: linux@armlinux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] Clean up svc mode register state
Date: Fri, 13 May 2016 11:48:02 +0100 [thread overview]
Message-ID: <20160513104802.GU19428@n2100.arm.linux.org.uk> (raw)
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.
next reply other threads:[~2016-05-13 10:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-13 10:48 Russell King - ARM Linux [this message]
2016-05-13 10:48 ` [PATCH 1/3] ARM: rename S_FRAME_SIZE to PT_REGS_SIZE Russell King
2016-05-13 10:49 ` [PATCH 2/3] ARM: introduce svc_pt_regs structure Russell King
2016-05-13 10:49 ` [PATCH 3/3] ARM: get rid of horrible *(unsigned int *)(regs + 1) Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160513104802.GU19428@n2100.arm.linux.org.uk \
--to=linux@armlinux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).