diff options
author | David Brazdil <dbrazdil@google.com> | 2020-12-02 19:40:58 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-12-04 09:44:19 +0100 |
commit | 3eb681fba2bf8b67b65ce92d0ebfd7cbfc263da9 (patch) | |
tree | 80f606f3844112537952138f600bcc926a5b1b35 /lib/devres.c | |
parent | KVM: arm64: Add kvm-arm.mode early kernel parameter (diff) | |
download | linux-3eb681fba2bf8b67b65ce92d0ebfd7cbfc263da9.tar.xz linux-3eb681fba2bf8b67b65ce92d0ebfd7cbfc263da9.zip |
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
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions