linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] E0PD support
@ 2019-10-24 21:42 Mark Brown
  2019-10-24 21:42 ` [PATCH v4 1/4] arm64: Add initial support for E0PD Mark Brown
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Mark Brown @ 2019-10-24 21:42 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon; +Cc: Mark Brown, linux-arm-kernel

This series adds support for E0PD. We enable E0PD unconditionally where
present on systems where all the CPUs in the system support E0PD and
change to not enabling KPTI by default on systems where we have enabled
E0PD. It also converts the runtime checks for use of non-global mappings
into a variable.

v4: Use a variable to store our decision about using non-global mappings
    rather than rechecking constantly at runtime. I've added this as a
    separate patch mainly for bisection.
v3: Make E0PD a system wide feature.

Mark Brown (4):
  arm64: Add initial support for E0PD
  arm64: Factor out checks for KASLR in KPTI code into separate function
  arm64: Don't use KPTI where we have E0PD
  arm64: Use a variable to store non-global mappings decision

 arch/arm64/Kconfig                     | 15 ++++++
 arch/arm64/include/asm/cpucaps.h       |  3 +-
 arch/arm64/include/asm/mmu.h           | 48 ++---------------
 arch/arm64/include/asm/pgtable-hwdef.h |  2 +
 arch/arm64/include/asm/pgtable-prot.h  |  4 +-
 arch/arm64/include/asm/sysreg.h        |  1 +
 arch/arm64/kernel/cpufeature.c         | 71 ++++++++++++++++++++++++--
 7 files changed, 94 insertions(+), 50 deletions(-)

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-11-04 17:20 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 21:42 [PATCH v4 0/4] E0PD support Mark Brown
2019-10-24 21:42 ` [PATCH v4 1/4] arm64: Add initial support for E0PD Mark Brown
2019-10-24 21:42 ` [PATCH v4 2/4] arm64: Factor out checks for KASLR in KPTI code into separate function Mark Brown
2019-10-24 21:42 ` [PATCH v4 3/4] arm64: Don't use KPTI where we have E0PD Mark Brown
2019-10-24 21:42 ` [PATCH v4 4/4] arm64: Use a variable to store non-global mappings decision Mark Brown
2019-10-30 12:13   ` Catalin Marinas
2019-10-30 12:41     ` Mark Brown
2019-10-30 14:17       ` Catalin Marinas
2019-10-31  8:18         ` Mark Brown
2019-10-31 10:18           ` Catalin Marinas
2019-10-31 10:35             ` Mark Brown
2019-11-04 17:20             ` Mark Brown
2019-10-30 12:26 ` [PATCH v4 0/4] E0PD support Catalin Marinas
2019-10-30 12:54   ` Mark Brown
2019-10-31 11:26 ` Will Deacon
2019-10-31 12:13   ` John Garry
2019-10-31 12:42     ` Will Deacon
2019-10-31 13:00       ` Mark Brown
2019-10-31 13:09         ` Will Deacon
2019-10-31 14:13       ` John Garry
2019-10-31 16:06         ` 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).