All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Mehmet Fide <mehmet.fide@gmail.com>
Cc: Stefan Agner <stefan@agner.ch>,
	 Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	 Boris Brezillon <bbrezillon@kernel.org>,
	 Brian Norris <computersforpeace@gmail.com>,
	Alexey Klimov <alexey.klimov@linaro.org>,
	 linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	 mehmet.fide@screeningeagle.com
Subject: Re: [PATCH v2 3/3] mtd: rawnand: vf610_nfc: return an error when a command times out
Date: Tue, 17 Nov 2026 11:36:12 +0100	[thread overview]
Message-ID: <87a4n7n3s3.fsf@bootlin.com> (raw)
In-Reply-To: <20261114201054.975225-1-mehmet.fide@gmail.com> (Mehmet Fide's message of "Sat, 14 Nov 2026 21:10:54 +0100")

Hi Mehmet,

On 14/11/2026 at 21:10:54 +01, Mehmet Fide <mehmet.fide@gmail.com> wrote:

> Hi Miquel,
>
> Please do not apply this patch as it is. Sashiko is right: when the
> timeout hits the raw re-read in vf610_nfc_correct_data(),
> vf610_nfc_read_page() counts it as an ECC failure and returns 0 instead
> of the error. I could reproduce it by forcing the timeout there.
>
> v3 will return it. Patches 1/3 and 2/3 are not affected.

Thanks for the feedback, waiting for v3.

WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Mehmet Fide <mehmet.fide@gmail.com>
Cc: Stefan Agner <stefan@agner.ch>,
	 Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	 Boris Brezillon <bbrezillon@kernel.org>,
	 Brian Norris <computersforpeace@gmail.com>,
	Alexey Klimov <alexey.klimov@linaro.org>,
	 linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	 mehmet.fide@screeningeagle.com
Subject: Re: [PATCH v2 3/3] mtd: rawnand: vf610_nfc: return an error when a command times out
Date: Tue, 17 Nov 2026 11:36:12 +0100	[thread overview]
Message-ID: <87a4n7n3s3.fsf@bootlin.com> (raw)
In-Reply-To: <20261114201054.975225-1-mehmet.fide@gmail.com> (Mehmet Fide's message of "Sat, 14 Nov 2026 21:10:54 +0100")

Hi Mehmet,

On 14/11/2026 at 21:10:54 +01, Mehmet Fide <mehmet.fide@gmail.com> wrote:

> Hi Miquel,
>
> Please do not apply this patch as it is. Sashiko is right: when the
> timeout hits the raw re-read in vf610_nfc_correct_data(),
> vf610_nfc_read_page() counts it as an ECC failure and returns 0 instead
> of the error. I could reproduce it by forcing the timeout there.
>
> v3 will return it. Patches 1/3 and 2/3 are not affected.

Thanks for the feedback, waiting for v3.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2026-11-17 10:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14 19:20 [PATCH v2 0/3] mtd: rawnand: vf610_nfc: fix the OOB of written pages and command timeouts Mehmet Fide
2026-11-14 19:20 ` Mehmet Fide
2026-11-14 19:20 ` [PATCH v2 1/3] mtd: rawnand: vf610_nfc: write the OOB bytes on page writes Mehmet Fide
2026-11-14 19:20   ` Mehmet Fide
2026-11-14 19:20 ` [PATCH v2 2/3] mtd: rawnand: vf610_nfc: keep a timed-out command from completing the next one Mehmet Fide
2026-11-14 19:20   ` Mehmet Fide
2026-11-14 19:20 ` [PATCH v2 3/3] mtd: rawnand: vf610_nfc: return an error when a command times out Mehmet Fide
2026-11-14 19:20   ` Mehmet Fide
2026-11-14 19:30   ` sashiko-bot
2026-11-14 20:10   ` Mehmet Fide
2026-11-14 20:10     ` Mehmet Fide
2026-11-17 10:36     ` Miquel Raynal [this message]
2026-11-17 10:36       ` Miquel Raynal

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=87a4n7n3s3.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=alexey.klimov@linaro.org \
    --cc=bbrezillon@kernel.org \
    --cc=computersforpeace@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mehmet.fide@gmail.com \
    --cc=mehmet.fide@screeningeagle.com \
    --cc=richard@nod.at \
    --cc=stefan@agner.ch \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.