arm64: Dealing with VHE-only CPUs
Status from this message: Applied to arm64 (for-next/vhe-only), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 6 repliesApplied
- v23 patches 7 repliesSuperseded
- v12 patches 7 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: cpufeature: Allow early filtering of feature overridearch/ arch/ arch/ | +36 | 0 replies | |
| 2/3 | arm64: Cope with CPUs stuck in VHE modearch/ arch/ arch/ | +52 | 0 replies | |
| 3/3 | arm64: Get rid of CONFIG_ARM64_VHEDocumentation/ arch/ arch/ +1 more | +1 | 4 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Will Deacon |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] arm64: Dealing with VHE-only CPUs
This short series is a rewrite of [0] after some reviewing from Will. It simplifies the esoteric "stay at EL2" path, and move the feature override code where it actually belongs, allowing us to tell the user that no, nVHE isn't a thing on these system.
The last patch rids us of CONFIG_ARM64_VHE, which has been the default for longer than I can remember.
This allows the infamous M1 to boot (tested on a M1 Mini).
Note: the last patch will conflict with the KVM SVE series, so I'd like to take that patch (or the series) via the KVM tree to avoid extra moaning^Wfriction.
* From v2 [2]:
- Fixed typos and spacing issues
- Dropped the mVHE on VHE patch
- Added a patch removing the CONFIG_ARM64_VHE option altogether
- Collected Ack from Will
* From v1 [1]:
- added a comment describing the mapping various states the override mask/val tuple can describe
- added a patch to prevent KVM from initialising, treating the lack of CONFIG_ARM64_VHE as a mismatched boot
[0] https://lore.kernel.org/r/[email protected]
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
Marc Zyngier (3):
arm64: cpufeature: Allow early filtering of feature override
arm64: Cope with CPUs stuck in VHE mode
arm64: Get rid of CONFIG_ARM64_VHE
.../admin-guide/kernel-parameters.txt | 3 +- arch/arm64/Kconfig | 20 ---------- arch/arm64/include/asm/cpufeature.h | 17 ++++++++ arch/arm64/kernel/cpufeature.c | 10 +++-- arch/arm64/kernel/head.S | 39 +++++++++++++++++-- arch/arm64/kernel/hyp-stub.S | 10 ++--- arch/arm64/kernel/idreg-override.c | 26 ++++++++++++- 7 files changed, 89 insertions(+), 36 deletions(-)
Signature · 7 lines
2.29.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel