KVM: arm64: Allow ARM64_PTR_AUTH when ARM64_VHE=n
authorMarc Zyngier <maz@kernel.org>
Thu, 11 Jun 2020 11:18:58 +0000 (12:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 22 Jun 2020 10:42:50 +0000 (11:42 +0100)
commitdfb0589c8fff9dde809b9013335a6b8019b299b8
treeafcee08196ad8428b39d05e1cbfd7437a65244e8
parent4a95a1b20da31db0c1ca5289a892fef21f691f27
KVM: arm64: Allow ARM64_PTR_AUTH when ARM64_VHE=n

We currently prevent PtrAuth from even being built if KVM is selected,
but VHE isn't. It is a bit of a pointless restriction, since we also
check this at run time (rejecting the enabling of PtrAuth for the
vcpu if we're not running with VHE).

Just drop this apparently useless restriction.

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/Kconfig