BZ: 27691
Enable the ability to disable the kernel watchdog by cmdline.
For this purpose, add intel_scu_watchdog.disable_kernel_watchdog=1 to
the cmdline. Needed for debug (breakpoints)
Change-Id: Ib04d73ee9063487865720219cd0341b613eee416
Reviewed-on: http://android.intel.com:8080/41376
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
CONFIG_INTEL_SCU_WATCHDOG=y
+CONFIG_DISABLE_SCU_WATCHDOG=y
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
To compile this driver as a module, choose M here.
+config DISABLE_SCU_WATCHDOG
+ bool "De-activate Intel SCU Watchdog by cmdline for Mobile Platforms"
+ depends on INTEL_SCU_WATCHDOG
+ ---help---
+ De-activate the watchdog by cmdline for Intel Mobile Platforms.
+ This allows to use breakpoints without resetting.
+
+ Only for debug purpose.
+
config ITCO_WDT
tristate "Intel TCO Timer/Watchdog"
depends on (X86 || IA64) && PCI
#endif
if (disable_kernel_watchdog) {
- pr_debug(PFX "disabling the timer\n");
+ pr_err(PFX "%s: Disable kernel watchdog\n", __func__);
/* Make sure timer is stopped */
ret = intel_scu_stop();