]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Keep nVHE EL2 vector installed
authorDavid Brazdil <dbrazdil@google.com>
Wed, 2 Dec 2020 18:41:20 +0000 (18:41 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 4 Dec 2020 10:08:36 +0000 (10:08 +0000)
commit6cdb94b65708c29eff5ec74b4f9a0d93d948c576
tree4ac3ecee4e71171fdd0adbf3607f2b1ea5c1afca
parent65b61053f10f017318c9aeaa4a4f57e62e04273f
KVM: arm64: Keep nVHE EL2 vector installed

KVM by default keeps the stub vector installed and installs the nVHE
vector only briefly for init and later on demand. Change this policy
to install the vector at init and then never uninstall it if the kernel
was given the protected KVM command line parameter.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201202184122.26046-25-dbrazdil@google.com
arch/arm64/kvm/arm.c