kexec_load_limit_panic

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

This parameter specifies a limit to the number of times the syscalls kexec_load and kexec_file_load can be called with a crash image. It can only be set with a more restrictive value than the current one.

== ======================================================
-1 Unlimited calls to kexec. This is the default setting.
N  Number of calls left.
== ======================================================