linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 0/3] warn and suppress irqflood
       [not found] ` <871rhq7j1h.fsf@nanos.tec.linutronix.de>
@ 2020-10-25 11:12   ` Pingfan Liu
  0 siblings, 0 replies; only message in thread
From: Pingfan Liu @ 2020-10-25 11:12 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Maulik Shah, Petr Mladek, Oliver Neukum, Jonathan Corbet,
	Gustavo A. R. Silva, Peter Zijlstra, Marc Zyngier, Linus Walleij,
	Guilherme G. Piccoli, linux-doc, LKML, Lina Iyer, Jisheng Zhang,
	Pawan Gupta, Al Viro, Andrew Morton, afzal mohammed,
	Kexec Mailing List, Mike Kravetz

On Thu, Oct 22, 2020 at 4:37 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> On Thu, Oct 22 2020 at 13:56, Pingfan Liu wrote:
> > 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.
>
> You're curing the symptom not the cause and the cure is just magic and
> can't work reliably.
Yeah, it is magic. But at least, it is better to printk something and
alarm users about what happens. With current code, it may show nothing
when system hangs.
>
> Where is that irq flood originated from and why is none of the
> mechanisms we have in place to shut it up working?
The bug originates from a driver tpm_i2c_nuvoton, which calls i2c-bus
driver (i2c-opal.c). After i2c_opal_send_request(), the bug is
triggered.

But things are complicated by introducing a firmware layer: Skiboot.
This software layer hides the detail of manipulating the hardware from
Linux.

I guess the software logic can not enter a sane state when kernel crashes.

Cc Skiboot and ppc64 community to see whether anyone has idea about it.

Thanks,
Pingfan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-25 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1603346163-21645-1-git-send-email-kernelfans@gmail.com>
     [not found] ` <871rhq7j1h.fsf@nanos.tec.linutronix.de>
2020-10-25 11:12   ` [PATCH 0/3] warn and suppress irqflood Pingfan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).