Tweaks to the kvm-arm.mode= early cmdline parsing
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Fix hvhe/nvhe early alias parsingarch/ | +1 | 3 replies | |
| 2/2 | KVM: arm64: Use hVHE in pKVM by default on CPUs with VHE supportarch/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Oliver Upton |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Tweaks to the kvm-arm.mode= early cmdline parsing
Hi folks,
Here are a couple of tweaks to the early parsing of the 'kvm-arm.mode=' cmdline option so that:
1. kvm-arm.mode=nvhe overrides an earlier arm64_sw.hvhe=1 option
2. Protected KVM initialises in hVHE if VH is available in the CPU
This is useful for Android, where we'd like the default cmdline to work on all CPUs (i.e. with and without VH) but using hVHE by default where available and finally allowing nVHE to be forced by the bootloader appending additional arguments.
The patches could probably be squashed, but I kept them separate because they're doing different things and this code is quite fiddly when you start reasoning about the possible interactions between all of the options.
Cheers,
Will
--->8
Will Deacon (2):
KVM: arm64: Fix hvhe/nvhe early alias parsing
KVM: arm64: Use hVHE in pKVM by default on CPUs with VHE support
arch/arm64/kernel/pi/idreg-override.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.45.0.rc0.197.gbae5840b3b-goog