Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: "Mario Limonciello (AMD) via Bugspray Bot" <bugbot@kernel.org>
To: linux-gpio@vger.kernel.org
Subject: Re: Spurious GPIO interrupt storm on AMD A520 / Ryzen 5 5500 (floating GPIO)
Date: Thu, 03 Dec 2026 16:41:34 +0000	[thread overview]
Message-ID: <20261203-b222242c1-c8fc2f60bc9e@bugzilla.kernel.org> (raw)
In-Reply-To: <20261203-b222242c0-7291acd67c07@bugzilla.kernel.org>

Mario Limonciello (AMD) writes via Kernel.org Bugzilla:

Well so you don't have any _AEI in your acpi tables.  So gpiochip_line_is_irq() is false for every pin.  IE any pin that reaches dispatch is spurious by definition.

> irqfixup pnpacpi=off

Uh, turning off PNP probably isn't going to do the best for us.  Can we start with a vanilla command line, does this still repro?

If so can you run with dyndbg="file pinctrl-amd.c +p" on your otherwise vanilla kernel command line so we can see which GPIO is active and causing this?

It may also be helpful to do some debug code to read WAKE_INT_STATUS_REG0/1 and the pin registers while the storm is running, for example with irqpoll or by booting with a handler that doesn't disable the IRQ.

View: https://bugzilla.kernel.org/show_bug.cgi?id=222242#c1
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


  reply	other threads:[~2026-12-03 16:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 16:41 Spurious GPIO interrupt storm on AMD A520 / Ryzen 5 5500 (floating GPIO) Munique Feitoza via Bugspray Bot
2026-12-03 16:41 ` Mario Limonciello (AMD) via Bugspray Bot [this message]
2026-12-03 16:41 ` Munique Feitoza via Bugspray Bot
2026-12-03 16:41 ` Munique Feitoza via Bugspray Bot
2026-12-03 16:41 ` Mario Limonciello (AMD) via Bugspray Bot
2026-12-03 16:41 ` Munique Feitoza via Bugspray Bot
2026-12-03 16:41 ` Munique Feitoza via Bugspray Bot
2026-12-03 16:41 ` Mario Limonciello (AMD) via Bugspray Bot
2026-12-03 16:41 ` Munique Feitoza via Bugspray Bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203-b222242c1-c8fc2f60bc9e@bugzilla.kernel.org \
    --to=bugbot@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox