From: Teng Wu <gigadevice2025@gmail.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: linux-mtd@lists.infradead.org, vigneshr@ti.com, richard@nod.at,
linux-kernel@vger.kernel.org, teng.wu@gigadevice.com,
weijie.huang@gigadevice.com
Subject: Re: [PATCH] mtd: rawnand: Skip timing mode readback check for GigaDevice NAND
Date: Fri, 27 Nov 2026 20:24:12 +0800 [thread overview]
Message-ID: <awl2bMa2cqHZWfD-@Fantast-WT.localdomain> (raw)
In-Reply-To: <87qzgas5yv.fsf@bootlin.com>
On Tue, Nov 24, 2026 at 02:40:24PM +0100, Miquel Raynal wrote:
> Hi,
>
> > if (request != tmode_param[0]) {
> > + /*
> > + * GigaDevice raw NAND chips (manufacturer ID 0xC8) support
> > + * the timing modes advertised in their ONFI parameter page.
> > + * Skip the strict ack check; keep it for other vendors.
> > + */
> > + if (chip->id.data[0] == 0xC8) {
> > + goto update_interface_config;
> > + }
> > +
>
> There is a vendor driver, you shall use it rather than polluting the
> core with vendor specific fixups. Check what
> macronix_nand_fix_broken_get_timings() does for example.
>
> Thanks,
> Miquèl
Thank you for your review.
I agree that vendor-specific workarounds do not belong in nand_base.c.
Adding a dedicated nand_gigadevice.c would be a substantial piece of
work and is outside the scope of this effort.I understand if this patch
is rejected, and I will drop it for now.
That said, if there is a significant future need to add nand_gigadevice.c,
we will refer back to the changes in this patch.
next prev parent reply other threads:[~2026-11-27 12:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 13:06 Teng Wu
2026-11-24 13:40 ` Miquel Raynal
2026-11-27 12:24 ` Teng Wu [this message]
2026-11-27 12:52 ` 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=awl2bMa2cqHZWfD-@Fantast-WT.localdomain \
--to=gigadevice2025@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=teng.wu@gigadevice.com \
--cc=vigneshr@ti.com \
--cc=weijie.huang@gigadevice.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®