arm64: Allow arm64_sw.hvhe on command line
authorMarc Zyngier <maz@kernel.org>
Fri, 9 Jun 2023 16:21:59 +0000 (17:21 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 12 Jun 2023 23:17:24 +0000 (23:17 +0000)
commitad744e8cb346743dd76425942910c7b75a782ed0
tree9f910fd3fe4b4d50b6569590e91aad20c111f241
parent38cba55008e5fab9181302ea5daf79e2070c9998
arm64: Allow arm64_sw.hvhe on command line

Add the arm64_sw.hvhe=1 option to force the use of the hVHE mode
in the hypervisor code only.

This enables the hVHE mode of operation when using KVM on VHE
hardware.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20230609162200.2024064-17-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kernel/idreg-override.c