|
@@ -475,6 +475,13 @@ int arch_show_interrupts(struct seq_file *p, int prec)
|
|
|
seq_printf(p, "%10u ", per_cpu(irq_stat, j).sreset_irqs);
|
|
|
seq_printf(p, " System Reset interrupts\n");
|
|
|
|
|
|
+#ifdef CONFIG_PPC_WATCHDOG
|
|
|
+ seq_printf(p, "%*s: ", prec, "WDG");
|
|
|
+ for_each_online_cpu(j)
|
|
|
+ seq_printf(p, "%10u ", per_cpu(irq_stat, j).soft_nmi_irqs);
|
|
|
+ seq_printf(p, " Watchdog soft-NMI interrupts\n");
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_PPC_DOORBELL
|
|
|
if (cpu_has_feature(CPU_FTR_DBELL)) {
|
|
|
seq_printf(p, "%*s: ", prec, "DBL");
|
|
@@ -500,6 +507,9 @@ u64 arch_irq_stat_cpu(unsigned int cpu)
|
|
|
sum += per_cpu(irq_stat, cpu).timer_irqs_others;
|
|
|
sum += per_cpu(irq_stat, cpu).hmi_exceptions;
|
|
|
sum += per_cpu(irq_stat, cpu).sreset_irqs;
|
|
|
+#ifdef CONFIG_PPC_WATCHDOG
|
|
|
+ sum += per_cpu(irq_stat, cpu).soft_nmi_irqs;
|
|
|
+#endif
|
|
|
#ifdef CONFIG_PPC_DOORBELL
|
|
|
sum += per_cpu(irq_stat, cpu).doorbell_irqs;
|
|
|
#endif
|