[PATCH 0/5] Improve watchdog config for arch watchdogs

From: Nicholas Piggin
Date: Mon May 22 2017 - 09:04:21 EST


Hi Don,

These first 4 patches are a further progression of my effort
to make some of the hard lockup watchdog framework usable by
arch code NMI watchdog.

The last patch is a powerpc-specific implementation for
reference to see how I'm using the changes.

Thanks,
Nick

Nicholas Piggin (5):
watchdog: remove unused declaration
watchdog: introduce arch_touch_nmi_watchdog()
watchdog: split up config options
watchdog: provide watchdog_reconfigure() for arch watchdogs
powerpc/64s: SMP hardlockup watchdog

arch/blackfin/include/asm/nmi.h | 2 +
arch/blackfin/kernel/nmi.c | 2 +-
arch/mn10300/include/asm/nmi.h | 2 +
arch/mn10300/kernel/mn10300-watchdog-low.S | 8 +-
arch/mn10300/kernel/mn10300-watchdog.c | 2 +-
arch/powerpc/Kconfig | 3 +-
arch/powerpc/include/asm/nmi.h | 8 +
arch/powerpc/include/asm/smp.h | 2 +
arch/powerpc/kernel/Makefile | 1 +
arch/powerpc/kernel/kvm.c | 7 +
arch/powerpc/kernel/setup_64.c | 19 --
arch/powerpc/kernel/smp.c | 20 +-
arch/powerpc/kernel/watchdog.c | 332 +++++++++++++++++++++++++++++
arch/sparc/include/asm/nmi.h | 1 +
arch/sparc/kernel/nmi.c | 6 +-
arch/x86/kernel/apic/hw_nmi.c | 2 +-
include/linux/nmi.h | 58 +++--
kernel/Makefile | 2 +-
kernel/sysctl.c | 18 +-
kernel/watchdog.c | 262 +++++++++++++++--------
kernel/watchdog_hld.c | 37 +---
lib/Kconfig.debug | 27 ++-
22 files changed, 631 insertions(+), 190 deletions(-)
create mode 100644 arch/powerpc/kernel/watchdog.c

--
2.11.0