commit | 3eb681fba2bf8b67b65ce92d0ebfd7cbfc263da9 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Wed Dec 02 18:40:58 2020 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Fri Dec 04 08:44:19 2020 +0000 |
tree | 80f606f3844112537952138f600bcc926a5b1b35 | |
parent | d8b369c4e31430a4746571bcae45a98933827232 [diff] |
KVM: arm64: Add ARM64_KVM_PROTECTED_MODE CPU capability Expose the boolean value whether the system is running with KVM in protected mode (nVHE + kernel param). CPU capability was selected over a global variable to allow use in alternatives. Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20201202184122.26046-3-dbrazdil@google.com