Release 4.7 arch/x86/kernel/apic/hw_nmi.c
/*
* HW NMI watchdog support
*
* started by Don Zickus, Copyright (C) 2010 Red Hat, Inc.
*
* Arch specific calls to support NMI watchdog
*
* Bits copied from original nmi.c file
*
*/
#include <asm/apic.h>
#include <asm/nmi.h>
#include <linux/cpumask.h>
#include <linux/kdebug.h>
#include <linux/notifier.h>
#include <linux/kprobes.h>
#include <linux/nmi.h>
#include <linux/module.h>
#include <linux/delay.h>
#ifdef CONFIG_HARDLOCKUP_DETECTOR
u64 hw_nmi_get_sample_period(int watchdog_thresh)
{
return (u64)(cpu_khz) * 1000 * watchdog_thresh;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| don zickus | don zickus | 17 | 85.00% | 2 | 66.67% |
| mandeep singh baines | mandeep singh baines | 3 | 15.00% | 1 | 33.33% |
| Total | 20 | 100.00% | 3 | 100.00% |
#endif
#ifdef arch_trigger_all_cpu_backtrace
static void nmi_raise_cpu_backtrace(cpumask_t *mask)
{
apic->send_IPI_mask(mask, NMI_VECTOR);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| steven rostedt | steven rostedt | 12 | 63.16% | 1 | 50.00% |
| russell king | russell king | 7 | 36.84% | 1 | 50.00% |
| Total | 19 | 100.00% | 2 | 100.00% |
void arch_trigger_all_cpu_backtrace(bool include_self)
{
nmi_trigger_all_cpu_backtrace(include_self, nmi_raise_cpu_backtrace);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| don zickus | don zickus | 5 | 33.33% | 1 | 20.00% |
| aaron tomlin | aaron tomlin | 4 | 26.67% | 1 | 20.00% |
| steven rostedt | steven rostedt | 3 | 20.00% | 1 | 20.00% |
| russell king | russell king | 2 | 13.33% | 1 | 20.00% |
| dongdong deng | dongdong deng | 1 | 6.67% | 1 | 20.00% |
| Total | 15 | 100.00% | 5 | 100.00% |
static int
arch_trigger_all_cpu_backtrace_handler(unsigned int cmd, struct pt_regs *regs)
{
if (nmi_cpu_backtrace(regs))
return NMI_HANDLED;
return NMI_DONE;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| don zickus | don zickus | 26 | 92.86% | 2 | 66.67% |
| russell king | russell king | 2 | 7.14% | 1 | 33.33% |
| Total | 28 | 100.00% | 3 | 100.00% |
NOKPROBE_SYMBOL(arch_trigger_all_cpu_backtrace_handler);
static int __init register_trigger_all_cpu_backtrace(void)
{
register_nmi_handler(NMI_LOCAL, arch_trigger_all_cpu_backtrace_handler,
0, "arch_bt");
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| don zickus | don zickus | 23 | 100.00% | 2 | 100.00% |
| Total | 23 | 100.00% | 2 | 100.00% |
early_initcall(register_trigger_all_cpu_backtrace);
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| don zickus | don zickus | 102 | 66.67% | 7 | 41.18% |
| steven rostedt | steven rostedt | 15 | 9.80% | 1 | 5.88% |
| russell king | russell king | 11 | 7.19% | 1 | 5.88% |
| masami hiramatsu | masami hiramatsu | 5 | 3.27% | 1 | 5.88% |
| aaron tomlin | aaron tomlin | 4 | 2.61% | 1 | 5.88% |
| jean delvare | jean delvare | 3 | 1.96% | 1 | 5.88% |
| rakib mullick | rakib mullick | 3 | 1.96% | 1 | 5.88% |
| mandeep singh baines | mandeep singh baines | 3 | 1.96% | 1 | 5.88% |
| michel lespinasse | michel lespinasse | 3 | 1.96% | 1 | 5.88% |
| ingo molnar | ingo molnar | 3 | 1.96% | 1 | 5.88% |
| dongdong deng | dongdong deng | 1 | 0.65% | 1 | 5.88% |
| Total | 153 | 100.00% | 17 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.