KVM: arm64: Enable Address Authentication at EL2 if available
authorMarc Zyngier <maz@kernel.org>
Thu, 11 Jun 2020 10:54:01 +0000 (11:54 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 22 Jun 2020 10:42:41 +0000 (11:42 +0100)
commit4a95a1b20da31db0c1ca5289a892fef21f691f27
treefc7c44cfa0666d047c409f319aaf8386b85af182
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
KVM: arm64: Enable Address Authentication at EL2 if available

While initializing EL2, enable Address Authentication if detected
from EL1. We still use the EL1-provided keys though.

Acked-by: Andrew Scull <ascull@google.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp-init.S