]> 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)
commitd1eab6e42c69e78cd28deceafc881b057f63180a
tree4ac3ecee4e71171fdd0adbf3607f2b1ea5c1afca
parent5ba6bca167ddb96988c6ac63c72fb3e267b924b5
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