KVM: arm64: Move nVHE stacktrace unwinding into its own compilation unit
authorMarc Zyngier <maz@kernel.org>
Wed, 27 Jul 2022 14:29:02 +0000 (15:29 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 27 Jul 2022 17:18:03 +0000 (18:18 +0100)
commit9f5fee05f6897d0fe0e3a44ade71bb85cd97b2ef
treec942f5d53ed8f342bdc8ddba823fe0ff60da74de
parent03fe9cd05b9f38353208c23bd791dac47c912054
KVM: arm64: Move nVHE stacktrace unwinding into its own compilation unit

The unwinding code doesn't really belong to the exit handling
code. Instead, move it to a file (conveniently named stacktrace.c
to confuse the reviewer), and move all the stacktrace-related
stuff there.

It will be joined by more code very soon.

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-3-maz@kernel.org
arch/arm64/include/asm/stacktrace/nvhe.h
arch/arm64/kvm/Makefile
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/stacktrace.c [new file with mode: 0644]