From: lauraa@codeaurora.org (Laura Abbott)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv7 0/2] Better page protections for arm64
Date: Wed, 14 Jan 2015 14:59:52 -0800 [thread overview]
Message-ID: <1421276394-20402-1-git-send-email-lauraa@codeaurora.org> (raw)
Happy New Year!
This is v7 of the series to add stricter page protections for arm64.
The goal is to have text be RO/X and everything else be RW/NX.
Most of the dependent patches have now merged. This series is based
on top of Ard's series[1] to have stable UEFI virtual mappings
for kexec.
This has been tested before and not much has changed so I've kept
Kees' Tested-by. I think this should be approaching a point
where it could be merged if it got a few more Tested-by but Catalin
had a few more questions about the approach so I don't think it will
make it this time.
[1]http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/314431.html
v7: Dropped the ioremap_exec addition because it's no longer needed
with Ard's series.
Laura Abbott (2):
arm64: use fixmap for text patching when text is RO
arm64: add better page protections to arm64
arch/arm64/Kconfig.debug | 23 ++++
arch/arm64/include/asm/cacheflush.h | 5 +
arch/arm64/include/asm/fixmap.h | 1 +
arch/arm64/kernel/insn.c | 50 ++++++++-
arch/arm64/kernel/vmlinux.lds.S | 17 ++-
arch/arm64/mm/init.c | 1 +
arch/arm64/mm/mm.h | 2 +
arch/arm64/mm/mmu.c | 211 ++++++++++++++++++++++++++++++++----
8 files changed, 283 insertions(+), 27 deletions(-)
--
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
next reply other threads:[~2015-01-14 22:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 22:59 Laura Abbott [this message]
2015-01-14 22:59 ` [PATCHv7 1/2] arm64: use fixmap for text patching Laura Abbott
2015-01-15 11:21 ` Mark Rutland
2015-01-14 22:59 ` [PATCHv7 2/2] arm64: add better page protections to arm64 Laura Abbott
2015-01-15 9:44 ` Ard Biesheuvel
2015-01-15 16:36 ` Kees Cook
2015-01-17 0:26 ` Laura Abbott
2015-01-20 18:14 ` Catalin Marinas
2015-01-20 18:19 ` Kees Cook
2015-01-20 18:40 ` Catalin Marinas
2015-01-20 19:38 ` Laura Abbott
2015-01-21 15:44 ` Catalin Marinas
2015-01-20 19:46 ` Laura Abbott
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=1421276394-20402-1-git-send-email-lauraa@codeaurora.org \
--to=lauraa@codeaurora.org \
--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).