Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6ed6ac6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: Add snapshot of watchdog driver"

parents aed96b07 cb79e737
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -568,4 +568,13 @@ config QTEE_SHM_BRIDGE
	  memory sub-allocation and free from the default kernel bridge
	  created by bridge driver.

config QCOM_WATCHDOG
	tristate "Qualcomm Watchdog Support"
	depends on ARCH_QCOM
	help
          This enables the watchdog module. It causes kernel panic if the
          watchdog times out. It allows for detection of cpu hangs and
          deadlocks. It does not run during the bootup process, so it will
          not catch any early lockups.

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -58,3 +58,4 @@ obj-$(CONFIG_MSM_IDLE_STATS) += lpm-stats.o
obj-$(CONFIG_QTI_RPM_STATS_LOG) += rpmh_master_stat.o
obj-$(CONFIG_QTEE_SHM_BRIDGE) += qtee_shmbridge.o
obj-$(CONFIG_QPNP_PBS) += qpnp-pbs.o
obj-$(CONFIG_QCOM_WATCHDOG) += qcom_watchdog.o
+754 −0

File added.

Preview size limit exceeded, changes collapsed.

+15 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 */

#ifndef _SOC_QCOM_WATCHDOG_H_
#define _SOC_QCOM_WATCHDOG_H_

#if IS_ENABLED(CONFIG_QCOM_WATCHDOG)
void msm_trigger_wdog_bite(void);
#else
static inline void msm_trigger_wdog_bite(void) { }
#endif

#endif