Skip to content

Commit 03fe9cd

Browse files
author
Marc Zyngier
committed
KVM: arm64: Move PROTECTED_NVHE_STACKTRACE around
Make the dependency with EL2_DEBUG more obvious by moving the stacktrace configurtion *after* it. Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Kalesh Singh <[email protected]> Tested-by: Kalesh Singh <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 3a7e1b5 commit 03fe9cd

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

arch/arm64/kvm/Kconfig

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,27 @@ menuconfig KVM
4646

4747
If unsure, say N.
4848

49+
config NVHE_EL2_DEBUG
50+
bool "Debug mode for non-VHE EL2 object"
51+
depends on KVM
52+
help
53+
Say Y here to enable the debug mode for the non-VHE KVM EL2 object.
54+
Failure reports will BUG() in the hypervisor. This is intended for
55+
local EL2 hypervisor development.
56+
57+
If unsure, say N.
58+
4959
config PROTECTED_NVHE_STACKTRACE
5060
bool "Protected KVM hypervisor stacktraces"
5161
depends on NVHE_EL2_DEBUG
5262
default n
5363
help
5464
Say Y here to enable pKVM hypervisor stacktraces on hyp_panic()
5565

56-
If you are not using protected nVHE (pKVM), say N.
57-
5866
If using protected nVHE mode, but cannot afford the associated
5967
memory cost (less than 0.75 page per CPU) of pKVM stacktraces,
6068
say N.
6169

62-
If unsure, say N.
63-
64-
config NVHE_EL2_DEBUG
65-
bool "Debug mode for non-VHE EL2 object"
66-
depends on KVM
67-
help
68-
Say Y here to enable the debug mode for the non-VHE KVM EL2 object.
69-
Failure reports will BUG() in the hypervisor. This is intended for
70-
local EL2 hypervisor development.
71-
72-
If unsure, say N.
70+
If unsure, or not using protected nVHE (pKVM), say N.
7371

7472
endif # VIRTUALIZATION

0 commit comments

Comments
 (0)