linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: Dealing with VHE-only CPUs
@ 2021-03-25 12:47 Marc Zyngier
  2021-03-25 12:47 ` [PATCH 1/2] arm64: cpufeature: Allow early filtering of feature override Marc Zyngier
  2021-03-25 12:47 ` [PATCH 2/2] arm64: Cope with CPUs stuck in VHE mode Marc Zyngier
  0 siblings, 2 replies; 10+ messages in thread
From: Marc Zyngier @ 2021-03-25 12:47 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Hector Martin, Arnd Bergmann, Mark Rutland, Will Deacon,
	Catalin Marinas, kernel-team

This short series is a rewrite of [1] after some reviewing from
Will. It simplifies the esoteric "stay at EL2" path, and the feature
override code where it actually belongs, allowing us to tell the user
that no, nVHE isn't a thing on these system.

This allows the infamous M1 to boot (tested on a M1 Mini).

Hector, feel free to pull these two patches as a preamble to the next
version of your series, though I'd expect this to go via the arm64
tree for obvious reasons.

[1] https://lore.kernel.org/r/20210304213902.83903-2-marcan@marcan.st

Marc Zyngier (2):
  arm64: cpufeature: Allow early filtering of feature override
  arm64: Cope with CPUs stuck in VHE mode

 arch/arm64/kernel/cpufeature.c     |  6 ++++++
 arch/arm64/kernel/head.S           | 33 +++++++++++++++++++++++++++---
 arch/arm64/kernel/hyp-stub.S       | 15 ++++++++++----
 arch/arm64/kernel/idreg-override.c | 26 ++++++++++++++++++++++-
 4 files changed, 72 insertions(+), 8 deletions(-)

-- 
2.29.2


_______________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2021-03-30 17:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-25 12:47 [PATCH 0/2] arm64: Dealing with VHE-only CPUs Marc Zyngier
2021-03-25 12:47 ` [PATCH 1/2] arm64: cpufeature: Allow early filtering of feature override Marc Zyngier
2021-03-25 19:27   ` Will Deacon
2021-03-26 10:56     ` Marc Zyngier
2021-03-29 10:21       ` Will Deacon
2021-03-25 12:47 ` [PATCH 2/2] arm64: Cope with CPUs stuck in VHE mode Marc Zyngier
2021-03-25 19:33   ` Will Deacon
2021-03-26 11:20     ` Marc Zyngier
2021-03-29 10:22       ` Will Deacon
2021-03-30 17:00         ` Marc Zyngier

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