[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1475792203-230942-1-git-send-email-babu.moger@oracle.com>
Date: Thu, 6 Oct 2016 15:16:41 -0700
From: Babu Moger <babu.moger@...cle.com>
To: mingo@...nel.org, akpm@...ux-foundation.org, ak@...ux.intel.com,
jkosina@...e.cz, baiyaowei@...s.chinamobile.com,
dzickus@...hat.com, atomlin@...hat.com, uobergfe@...hat.com,
tj@...nel.org, hidehiro.kawai.ez@...achi.com, johunt@...mai.com,
davem@...emloft.net, sparclinux@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, babu.moger@...cle.com
Subject: [PATCH 0/2] Introduce update_arch_nmi_watchdog for arch specific handlers
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(-)
Powered by blists - more mailing lists