The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: haohlliang@gmail.com
To: tglx@kernel.org
Cc: linusw@kernel.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpio: dwapb: Add robust error handling in interrupt handler
Date: Sun, 05 Jul 2026 15:46:25 +0800	[thread overview]
Message-ID: <26c872506bd87b969a84c91d0a7dea9f@gmail.com> (raw)
In-Reply-To: <875x2vlpjx.ffs@fw13>

Hi tglx,

Thank you for the thorough review. You're absolutely right that my
previous approach was limited to handling the symptom at the crash
site without investigating the root cause.

After your explanation, I realized the real problem is that the GPIO
controller does not properly initialize its interrupt state, and stale
interrupt configuration can persist across warm reboots when
peripherals remain powered.

I'll send a v4 that masks all interrupts at hardware initialization
time via the init_hw() callback, which addresses the root cause
rather than the symptom.

Thanks,
Liang

  reply	other threads:[~2026-07-05  7:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-03 13:48 [PATCH] gpio: dwapb: Add robust error handling in interrupt handler Liang Hao
2026-07-03 21:21 ` Linus Walleij
2026-07-03 21:40   ` Thomas Gleixner
2026-07-05  7:46     ` haohlliang [this message]
2026-07-05  7:47     ` [PATCH v4] gpio: dwapb: Mask interrupts at hardware initialization Liang Hao
2026-07-05  9:34       ` Thomas Gleixner

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=26c872506bd87b969a84c91d0a7dea9f@gmail.com \
    --to=haohlliang@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@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