[PATCH v5] KVM: arm64: Ignore kvm-arm.mode if !is_hyp_mode_available()

Marc Zyngier maz at kernel.org
Mon Sep 26 02:59:39 PDT 2022


On Tue, 20 Sep 2022 12:06:58 -0700, Elliot Berman wrote:
> Ignore kvm-arm.mode if !is_hyp_mode_available(). Specifically, we want
> to avoid switching kvm_mode to KVM_MODE_PROTECTED if hypervisor mode is
> not available. This prevents "Protected KVM" cpu capability being
> reported when Linux is booting in EL1 and would not have KVM enabled.
> Reasonably though, we should warn if the command line is requesting a
> KVM mode at all if KVM isn't actually available. Allow
> "kvm-arm.mode=none" to skip the warning since this would disable KVM
> anyway.

Applied to next, thanks!

[1/1] KVM: arm64: Ignore kvm-arm.mode if !is_hyp_mode_available()
      commit: b2a4d007c347b4cb4c60f7512733c3f8300a129c

Cheers,

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





More information about the linux-arm-kernel mailing list