From: Enric Balletbo i Serra <[email protected]>

redhat/configs: automotive: set CONFIG_TIMEOUT_PANIC

For automotive any condition leading to PANIC should be considered as
dangerous and fatal, hence we want to stop operation as soon as possible.
So set the panic timeout value < 0 to reboot immediately for the generic
kernel config.

For debug we might be interested on capture the panic an don't reboot
immediately, so maintain the current behaviour and wait forever to let
the user decide what to do.

Signed-off-by: Enric Balletbo i Serra <[email protected]>

diff --git a/redhat/configs/rhel/automotive/debug/CONFIG_PANIC_TIMEOUT 
b/redhat/configs/rhel/automotive/debug/CONFIG_PANIC_TIMEOUT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/automotive/debug/CONFIG_PANIC_TIMEOUT
@@ -0,0 +1 @@
+CONFIG_PANIC_TIMEOUT=0
diff --git a/redhat/configs/rhel/automotive/generic/CONFIG_PANIC_TIMEOUT 
b/redhat/configs/rhel/automotive/generic/CONFIG_PANIC_TIMEOUT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/automotive/generic/CONFIG_PANIC_TIMEOUT
@@ -0,0 +1 @@
+CONFIG_PANIC_TIMEOUT=-1

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3625

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to