hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7WQWT
--------------------------------
The corelockup implementation only relies on softlockup and hardlockup and has no architecture-related code of its own. Currently, only ARM64 and X86_64 are verified, and X86_64 is added to enable it.
Also, corelockup only supports multicore systems, making it dependent on CONFIG_SMP.
Signed-off-by: Li Huafei lihuafei1@huawei.com --- lib/Kconfig.debug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 9cbb4ed7f17c..b7f84c4abbf5 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1074,7 +1074,8 @@ config HARDLOCKUP_DETECTOR config CORELOCKUP_DETECTOR bool "Detect Core Lockups" depends on HARDLOCKUP_DETECTOR && SOFTLOCKUP_DETECTOR - depends on ARM64 + depends on ARM64 || X86_64 + depends on SMP default n help Corelockups is used to check whether cpu core hungup or not.