hardlockup_panic

file: /proc/sys/kernel/hardlockup_panic
variable: kernel.hardlockup_panic
Official reference

This parameter can be used to control whether the kernel panics when a hard lockup is detected.

= ===========================
0 Don't panic on hard lockup.
1 Panic on hard lockup.
= ===========================

See Documentation/admin-guide/lockup-watchdogs.rst for more information. This can also be set using the nmi_watchdog kernel parameter.