soc: qcom: Rename msm watchdog to wdt core
In preparation to change the qcom watchdog to a new core framework that future watchdog drivers will utilize, the name of the file needs to be changed. Due to the number of changes needed in the file we need to rename it to reflect its new purpose. Change-Id: Iac6ad57fbc02866f6716a44d7bb4a62d97e4a810 Signed-off-by: Branden Bonaby <bbonaby@codeaurora.org>
This commit is contained in:
parent
cce9844ff5
commit
54100ecff9
@ -783,9 +783,18 @@ config CDSPRM_VTCM_DYNAMIC_DEBUG
|
||||
enabled, the vtcm partition details are sent to the CDSP via rpmsg
|
||||
channel.
|
||||
|
||||
config QCOM_WDT_CORE
|
||||
tristate "Qualcomm Technologies, Inc. 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.
|
||||
|
||||
config QCOM_FORCE_WDOG_BITE_ON_PANIC
|
||||
bool "QCOM force watchdog bite on panic"
|
||||
depends on QCOM_WATCHDOG
|
||||
depends on QCOM_WDT_CORE
|
||||
help
|
||||
This forces a watchdog bite when the device restarts
|
||||
due to a kernel panic. On certain MSM SoCs,
|
||||
@ -794,7 +803,7 @@ config QCOM_FORCE_WDOG_BITE_ON_PANIC
|
||||
|
||||
config QCOM_WDOG_BITE_EARLY_PANIC
|
||||
bool "QCOM early panic watchdog bite"
|
||||
depends on QCOM_WATCHDOG && QCOM_FORCE_WDOG_BITE_ON_PANIC
|
||||
depends on QCOM_WDT_CORE && QCOM_FORCE_WDOG_BITE_ON_PANIC
|
||||
help
|
||||
This forces a watchdog bite early in panic sequence. On certain
|
||||
MSM SoCs, this provides us additional debugging information at the
|
||||
|
@ -84,6 +84,7 @@ obj-$(CONFIG_MSM_QBT_HANDLER) += qbt_handler.o
|
||||
obj-$(CONFIG_QTI_CRYPTO_COMMON) += crypto-qti-common.o
|
||||
obj-$(CONFIG_QTI_CRYPTO_TZ) += crypto-qti-tz.o
|
||||
obj-$(CONFIG_QTI_HW_KEY_MANAGER) += hwkm.o crypto-qti-hwkm.o
|
||||
obj-$(CONFIG_QCOM_WDT_CORE) += qcom_wdt_core.o
|
||||
ifdef CONFIG_DEBUG_FS
|
||||
obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd-debug.o
|
||||
endif
|
||||
|
@ -770,7 +770,7 @@ static int __init init_watchdog(void)
|
||||
{
|
||||
return platform_driver_register(&msm_watchdog_driver);
|
||||
}
|
||||
#if IS_MODULE(CONFIG_QCOM_WATCHDOG)
|
||||
#if IS_MODULE(CONFIG_QCOM_WDT_CORE)
|
||||
module_init(init_watchdog);
|
||||
#else
|
||||
pure_initcall(init_watchdog);
|
@ -18,7 +18,7 @@
|
||||
#define WDOG_BITE_EARLY_PANIC 0
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_QCOM_WATCHDOG)
|
||||
#if IS_ENABLED(CONFIG_QCOM_WDT_CORE)
|
||||
void msm_trigger_wdog_bite(void);
|
||||
#else
|
||||
static inline void msm_trigger_wdog_bite(void) { }
|
||||
|
Loading…
Reference in New Issue
Block a user