[PATCH 0/3] warn and suppress irqflood

Pingfan Liu kernelfans at gmail.com
Thu Oct 22 01:56:00 EDT 2020


I hit a irqflood bug on powerpc platform, and two years ago, on a x86 platform.
When the bug happens, the kernel is totally occupies by irq.  Currently, there
may be nothing or just soft lockup warning showed in console. It is better
to warn users with irq flood info.

In the kdump case, the kernel can move on by suppressing the irq flood.

Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Jisheng Zhang <Jisheng.Zhang at synaptics.com>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: "Guilherme G. Piccoli" <gpiccoli at canonical.com>
Cc: Petr Mladek <pmladek at suse.com>
Cc: Marc Zyngier <maz at kernel.org>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: afzal mohammed <afzal.mohd.ma at gmail.com>
Cc: Lina Iyer <ilina at codeaurora.org>
Cc: "Gustavo A. R. Silva" <gustavo at embeddedor.com>
Cc: Maulik Shah <mkshah at codeaurora.org>
Cc: Al Viro <viro at zeniv.linux.org.uk>
Cc: Jonathan Corbet <corbet at lwn.net>
Cc: Pawan Gupta <pawan.kumar.gupta at linux.intel.com>
Cc: Mike Kravetz <mike.kravetz at oracle.com>
Cc: Oliver Neukum <oneukum at suse.com>
To: linux-kernel at vger.kernel.org
Cc: linux-doc at vger.kernel.org
Cc: kexec at lists.infradead.org

Pingfan Liu (3):
  kernel/watchdog: show irq percentage if irq floods
  kernel/watchdog: suppress max irq when irq floods
  Documentation: introduce a param "irqflood_suppress"

 Documentation/admin-guide/kernel-parameters.txt |  3 ++
 include/linux/irq.h                             |  2 ++
 kernel/irq/spurious.c                           | 32 +++++++++++++++++
 kernel/watchdog.c                               | 48 +++++++++++++++++++++++++
 4 files changed, 85 insertions(+)

-- 
2.7.5




More information about the kexec mailing list