KVM: arm64: Add PROTECTED_NVHE_STACKTRACE Kconfig
authorKalesh Singh <kaleshsingh@google.com>
Tue, 26 Jul 2022 07:37:45 +0000 (00:37 -0700)
committerMarc Zyngier <maz@kernel.org>
Tue, 26 Jul 2022 09:50:01 +0000 (10:50 +0100)
commit72adac1bd234002a65cef738e0eebfd6c2ce2e30
tree3aad2eb82153ebb8bd11610ce306e41b45daccf3
parent314a61dc31845c233e47c53db3fe6f34284034f4
KVM: arm64: Add PROTECTED_NVHE_STACKTRACE Kconfig

This can be used to disable stacktrace for the protected KVM
nVHE hypervisor, in order to save on the associated memory usage.

This option is disabled by default, since protected KVM is not widely
used on platforms other than Android currently.

Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220726073750.3219117-13-kaleshsingh@google.com
arch/arm64/kvm/Kconfig