Files
linux-nv-oot/drivers/watchdog/watchdog-tegra-t18x.c
Kartik 966af3a139 watchdog: tegra: Add virtualization support
Tegra TKE WDT can be used from a Guest OS to check if the system is
responsive. In case of system hang/crash the WDT should report an
error event to HSM.

Add device tree property "nvidia,wdt-error-threshold" to configure
expiry level for HSM event trigger.

This patch also includes following bug fixes:
 - fix an issue in which WDT keeps running after system shutdown even
   if it is disabled from device tree.
 - fix an issue where the driver keeps patting WDT even if
   enable-on-init is disabled.

Bug 4080471

Change-Id: I8e660e68edbb7c97fa8fb2fdd7fafa8bf2a87884
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2903911
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit ff027900b83e985e50c78adf2b898ad078d5b60a)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2897226
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-22 19:14:42 -07:00

23 KiB