mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Clark Williams <clrkwllms@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Chen-Yu Tsai <wens@kernel.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	Maxime Ripard <mripard@kernel.org>,
	Richard Genoud <richard.genoud@bootlin.com>,
	Boris Brezillon <bbrezillon@kernel.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Brian Norris <computersforpeace@gmail.com>,
	linux-mtd@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-rt-devel@lists.linux.dev, devicetree@vger.kernel.org,
	Sashiko <sashiko-bot@kernel.org>
Subject: Re: [PATCH v9 05/18] mtd: rawnand: sunxi: drain interrupts before reusing the completion
Date: Mon, 19 Oct 2026 08:50:13 +0200	[thread overview]
Message-ID: <20261019065013.QUQYpnz-@linutronix.de> (raw)
In-Reply-To: <20261017-submit-sunxi-nand-vendor-oob-layout-v1-v9-5-b624c09e3ee5@gmail.com>

On 2026-10-17 13:46:00 [-0600], James Hilliard wrote:
> 
> This keeps additional synchronization on the timeout path, without a
> driver lock in every interrupt and wait. The caller can sleep, this IRQ
> is not registered as shared, and the handler does not acquire the
> controller mutex held by the caller. The tradeoff is unbounded cleanup
> latency and no priority inheritance: a starved IRQ thread can prevent
> timeout cleanup from returning and block other operations on the
> controller. This is a handler-lifetime boundary, not an RT
> recovery-latency guarantee.
> 
> Fixes: 1fef62c1423b ("mtd: nand: add sunxi NAND flash controller support")
> Reported-by: Sashiko <sashiko-bot@kernel.org>
> Closes: https://lore.kernel.org/r/20260909085434.C8F201F00A3A@smtp.kernel.org
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Sebastian

  reply	other threads:[~2026-10-19  6:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-17 19:45 [PATCH v9 00/18] mtd: rawnand: sunxi: fix transfers and support randomized OOB James Hilliard
2026-10-17 19:45 ` [PATCH v9 01/18] mtd: rawnand: sunxi: centralize OOB handling James Hilliard
2026-10-17 19:45 ` [PATCH v9 02/18] mtd: rawnand: sunxi: reject pages exceeding the ECC step limit James Hilliard
2026-10-17 19:45 ` [PATCH v9 03/18] mtd: rawnand: sunxi: use the logical step's OOB length in PIO James Hilliard
2026-10-17 19:45 ` [PATCH v9 04/18] mtd: rawnand: sunxi: propagate page-setup and erased-check errors James Hilliard
2026-10-17 19:46 ` [PATCH v9 05/18] mtd: rawnand: sunxi: drain interrupts before reusing the completion James Hilliard
2026-10-19  6:50   ` Sebastian Andrzej Siewior [this message]
2026-10-17 19:46 ` [PATCH v9 06/18] mtd: rawnand: sunxi: stop failed program operations and disable ECC James Hilliard
2026-10-17 19:46 ` [PATCH v9 07/18] mtd: rawnand: sunxi: select the pattern ID for the current ECC step James Hilliard
2026-10-17 19:46 ` [PATCH v9 08/18] mtd: rawnand: sunxi: preserve synthesized zero-pattern data and OOB James Hilliard
2026-10-17 19:46 ` [PATCH v9 09/18] mtd: rawnand: sunxi: propagate buffer and column transfer errors James Hilliard
2026-10-17 19:46 ` [PATCH v9 10/18] mtd: rawnand: sunxi: avoid a second program confirm for OOB writes James Hilliard
2026-10-17 19:46 ` [PATCH v9 11/18] mtd: rawnand: sunxi: use page reads to reposition small-page NAND James Hilliard
2026-10-17 19:53 ` [PATCH v9 12/18] mtd: rawnand: sunxi: bound DMA batches by the user-data register bank James Hilliard
2026-10-17 19:53 ` [PATCH v9 13/18] mtd: rawnand: sunxi: reuse ECC status within each transfer James Hilliard
2026-10-17 19:53 ` [PATCH v9 14/18] mtd: rawnand: sunxi: avoid redundant column changes for extra OOB James Hilliard
2026-10-17 19:53 ` [PATCH v9 15/18] mtd: rawnand: sunxi: avoid duplicate chip setup before page commands James Hilliard
2026-10-17 19:53 ` [PATCH v9 16/18] mtd: rawnand: sunxi: reduce user-data length register accesses James Hilliard
2026-10-17 19:53 ` [PATCH v9 17/18] dt-bindings: mtd: sunxi: Add randomized OOB flag James Hilliard
2026-10-17 19:53 ` [PATCH v9 18/18] mtd: rawnand: sunxi: support the Allwinner randomized OOB format James Hilliard

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=20261019065013.QUQYpnz-@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=bbrezillon@kernel.org \
    --cc=clrkwllms@kernel.org \
    --cc=computersforpeace@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=james.hilliard1@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-rt-devel@lists.linux.dev \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=miquel.raynal@bootlin.com \
    --cc=mripard@kernel.org \
    --cc=richard.genoud@bootlin.com \
    --cc=richard@nod.at \
    --cc=robh@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=samuel@sholland.org \
    --cc=sashiko-bot@kernel.org \
    --cc=vigneshr@ti.com \
    --cc=wens@kernel.org \
    --cc=yamada.masahiro@socionext.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®