arm64: Honor VHE being disabled from the command-line
authorMarc Zyngier <maz@kernel.org>
Mon, 8 Feb 2021 09:57:24 +0000 (09:57 +0000)
committerWill Deacon <will@kernel.org>
Tue, 9 Feb 2021 13:50:56 +0000 (13:50 +0000)
commit41fac42c25338f4ea295b58106c26683d893a1c6
treed5f9473e038ad32877e82d854b4d35e64e8dc1bc
parent361db0fca7affafa920f7d91bf93b9d9da44712f
arm64: Honor VHE being disabled from the command-line

Finally we can check whether VHE is disabled on the command line,
and not enable it if that's the user's wish.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: David Brazdil <dbrazdil@google.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-16-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/asm-offsets.c
arch/arm64/kernel/hyp-stub.S