linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv7 0/2] Better page protections for arm64
@ 2015-01-14 22:59 Laura Abbott
  2015-01-14 22:59 ` [PATCHv7 1/2] arm64: use fixmap for text patching Laura Abbott
  2015-01-14 22:59 ` [PATCHv7 2/2] arm64: add better page protections to arm64 Laura Abbott
  0 siblings, 2 replies; 13+ messages in thread
From: Laura Abbott @ 2015-01-14 22:59 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-01-21 15:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 22:59 [PATCHv7 0/2] Better page protections for arm64 Laura Abbott
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

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).