[PATCH 0/2] Tweaks to the kvm-arm.mode= early cmdline parsing

Marc Zyngier maz at kernel.org
Tue May 7 23:14:37 PDT 2024


On Wed, 01 May 2024 17:33:58 +0100, Will Deacon wrote:
> 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.
> 
> [...]

Applied to next, thanks!

[1/2] KVM: arm64: Fix hvhe/nvhe early alias parsing
      commit: 3c142f9d02b992aec5d96b82917e4cc07850c4df
[2/2] KVM: arm64: Use hVHE in pKVM by default on CPUs with VHE support
      commit: 5053c3f0519cd4c746577e3a6a7756f7c04b03dd

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list