From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758708AbdEVNES (ORCPT ); Mon, 22 May 2017 09:04:18 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34545 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbdEVNER (ORCPT ); Mon, 22 May 2017 09:04:17 -0400 From: Nicholas Piggin To: Don Zickus Cc: Nicholas Piggin , linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Improve watchdog config for arch watchdogs Date: Mon, 22 May 2017 23:03:58 +1000 Message-Id: <20170522130403.18551-1-npiggin@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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