]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
watchdog: delete mpcore_wdt driver
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 19 Jun 2013 15:08:58 +0000 (20:38 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:47:58 +0000 (21:47 +0200)
commit6e63a3a294fdf91eaaac1061a9c7a5f53d16ac25
tree585330f1e8cea1675999213b01dabf7b0e9e1394
parent8fce9b367d672332d2d101175b10737ee5c18b59
watchdog: delete mpcore_wdt driver

Interrupt request doesn't use the right API: The TWD watchdog uses a per-cpu
interrupt (usually interrupt #30), and the GIC configuration should flag it as
such. With this setup, request_irq() should fail, and the right API is
request_percpu_irq(), together with enable_percpu_irq()/disable_percpu_irq().

Nothing ensures the userspace ioctl() will end-up kicking the watchdog on the
right CPU.

There are no users of this driver since a long time and it makes more sense to
get rid of it as nobody is looking to fix it.

In case somebody wakes up after this has been removed and needs it, please
revert this driver and pick these updates (These were never pushed to mainline):

http://comments.gmane.org/gmane.linux.ports.arm.kernel/245998

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/watchdog-parameters.txt
arch/arm/configs/spear13xx_defconfig
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/mpcore_wdt.c [deleted file]