From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Maxim Levitsky <maximlevitsky@gmail.com>,
James Hilliard <james.hilliard1@gmail.com>
Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
David Woodhouse <dwmw2@infradead.org>,
stable@vger.kernel.org
Subject: Re: [PATCH] mtd: rawnand: r852: prevent card work from being requeued during shutdown
Date: Fri, 20 Nov 2026 16:04:06 +0100 [thread overview]
Message-ID: <179518704684.3404688.4251747340533260570.b4-ty@bootlin.com> (raw)
In-Reply-To: <20261108-submit-r852-shutdown-work-v1-v1-1-8e448ad7c54c@gmail.com>
On Sun, 08 Nov 2026 14:04:21 -0700, James Hilliard wrote:
> The card interrupt can queue card_detect_work after shutdown cancels it
> but before interrupts are disabled. The worker can then access the
> controller after pci_disable_device(), and can enable card interrupts
> again while processing the event.
>
> Disable and drain the delayed work before turning off interrupts and the
> PCI device. Later queue attempts are rejected while the IRQ handler can
> still acknowledge events until interrupt teardown completes.
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: rawnand: r852: prevent card work from being requeued during shutdown
commit: ec1e844b9486302a488abc03ea918db60709766e
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
prev parent reply other threads:[~2026-11-20 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 21:04 James Hilliard
2026-11-20 15:04 ` Miquel Raynal [this message]
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=179518704684.3404688.4251747340533260570.b4-ty@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=dwmw2@infradead.org \
--cc=james.hilliard1@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=maximlevitsky@gmail.com \
--cc=richard@nod.at \
--cc=stable@vger.kernel.org \
--cc=vigneshr@ti.com \
/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
all inboxes | Powered by JetHome®