KVM: arm64: Move nVHE-only helpers into kvm/stacktrace.c
authorMarc Zyngier <maz@kernel.org>
Wed, 27 Jul 2022 14:29:04 +0000 (15:29 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 27 Jul 2022 17:18:03 +0000 (18:18 +0100)
commit0e773da1e688a1425ef7deae58fa11c5c7e09533
tree954e7438412e6d442157c97e195dcd3dde8c5a19
parent4e00532f37365967e9896966b1fe61888e659259
KVM: arm64: Move nVHE-only helpers into kvm/stacktrace.c

kvm_nvhe_stack_kern_va() only makes sense as part of the nVHE
unwinder, so simply move it there.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Kalesh Singh <kaleshsingh@google.com>
Tested-by: Kalesh Singh <kaleshsingh@google.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20220727142906.1856759-5-maz@kernel.org
arch/arm64/include/asm/stacktrace/nvhe.h
arch/arm64/kvm/stacktrace.c