Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1496885

[PATCH 0/2] Introduce update_arch_nmi_watchdog for arch specific handlers

From Babu Moger <babu.moger@oracle.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] Introduce update_arch_nmi_watchdog for arch specific handlers
Date 2016-10-07 00:20 +0200
Message-ID <sppbc-7ce-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


During our testing we noticed that nmi watchdogs in sparc could not be disabled or
enabled dynamically using sysctl/proc interface. Sparc uses its own arch specific
nmi watchdogs. There is a sysctl and proc interface(proc/sys/kernel/nmi_watchdog)
to enable/disable nmi watchdogs. However, that is not working for sparc. There
is no interface to feed this parameter to arch specific nmi watchdogs.

These patches extend the same sysctl/proc interface to enable or disable
these arch specific nmi watchdogs dynamically. Introduced new function
update_arch_nmi_watchdog which can be implemented in arch specific handlers.
If you think there is a better way to do this. Please advice.

Tested on sparc. Compile tested on x86.

Babu Moger (2):
  watchdog: Introduce update_arch_nmi_watchdog
  sparc: Implement update_arch_nmi_watchdog

 arch/sparc/kernel/nmi.c |   26 ++++++++++++++++++++++++++
 include/linux/nmi.h     |    1 +
 kernel/watchdog.c       |   16 +++++++++++++---
 3 files changed, 40 insertions(+), 3 deletions(-)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Introduce update_arch_nmi_watchdog for arch specific handlers Babu Moger <babu.moger@oracle.com> - 2016-10-07 00:20 +0200
  Re: [PATCH 0/2] Introduce update_arch_nmi_watchdog for arch specific  handlers Don Zickus <dzickus@redhat.com> - 2016-10-07 18:00 +0200

csiph-web