linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2]get rid of writable linear aliases of read-only vmalloc mappings
@ 2018-11-06 21:44 Ard Biesheuvel
  2018-11-06 21:44 ` [PATCH v3 1/2] arm64: mm: purge lazily unmapped vm regions before changing permissions Ard Biesheuvel
  2018-11-06 21:44 ` [PATCH v3 2/2] arm64: mm: apply r/o permissions of VM areas to its linear alias as well Ard Biesheuvel
  0 siblings, 2 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2018-11-06 21:44 UTC (permalink / raw)
  To: linux-arm-kernel

This is a followup to my patch 'arm64/mm: unmap the linear alias of module
allocations'.

This version changes the approach to match what x86 does, i.e., to deal
with the linear alias at a more fundamental level, in the set_memory_ro/rw
routines.

Ard Biesheuvel (2):
  arm64: mm: purge lazily unmapped vm regions before changing
    permissions
  arm64: mm: apply r/o permissions of VM areas to its linear alias as
    well

 arch/arm64/Kconfig                   | 14 ++++++++
 arch/arm64/include/asm/mmu_context.h |  2 ++
 arch/arm64/mm/mmu.c                  |  2 +-
 arch/arm64/mm/pageattr.c             | 36 +++++++++++++++++---
 4 files changed, 48 insertions(+), 6 deletions(-)

-- 
2.19.1

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

end of thread, other threads:[~2018-11-07  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-06 21:44 [PATCH v3 0/2]get rid of writable linear aliases of read-only vmalloc mappings Ard Biesheuvel
2018-11-06 21:44 ` [PATCH v3 1/2] arm64: mm: purge lazily unmapped vm regions before changing permissions Ard Biesheuvel
2018-11-06 22:04   ` Will Deacon
2018-11-06 21:44 ` [PATCH v3 2/2] arm64: mm: apply r/o permissions of VM areas to its linear alias as well Ard Biesheuvel
2018-11-06 21:54   ` Will Deacon
2018-11-07  7:51     ` Ard Biesheuvel

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