summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2023-04-29 00:07:31 +0300
committerWilliam A. Kennington III <wak@google.com>2023-04-29 01:46:11 +0300
commit85330d2f2df62ed9ed3fb36b8b55887e6e89ba83 (patch)
tree647fbfb4be4f2eaa344638b3d7e78a0464adcd52
parenta23fa7a0da5c33829413a8a6d122665dd146a6df (diff)
downloadopenbmc-85330d2f2df62ed9ed3fb36b8b55887e6e89ba83.tar.xz
meta-google: linux: Add useful watchdog parameters
This is needed to enable a pretimeout watchdog in the kernel. Change-Id: I2dc7fbea713e1805b0c50903b4f08f55f09c122e Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r--meta-google/recipes-kernel/linux/files/gbmc.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-google/recipes-kernel/linux/files/gbmc.cfg b/meta-google/recipes-kernel/linux/files/gbmc.cfg
index 566c5a8d7d..c8a5364464 100644
--- a/meta-google/recipes-kernel/linux/files/gbmc.cfg
+++ b/meta-google/recipes-kernel/linux/files/gbmc.cfg
@@ -59,3 +59,8 @@ CONFIG_PSTORE_DEFLATE_COMPRESS=n
CONFIG_PSTORE_ZSTD_COMPRESS=y
CONFIG_PSTORE_ZSTD_COMPRESS_DEFAULT=y
CONFIG_PRINTK_TIME=y
+
+# Watchdog Related Configuration
+CONFIG_WATCHDOG_SYSFS=y
+CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT=y
+CONFIG_WATCHDOG_PRETIMEOUT_GOV=y