Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fil Dunsky <filipp.dunsky@gmail.com>
To: sashiko-bot@kernel.org
Cc: Miquel Raynal <miquel.raynal@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-mtd@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 2/3] mtd: rawnand: Add Cortina CS7542 controller support
Date: Wed, 25 Nov 2026 21:39:08 +0300	[thread overview]
Message-ID: <179563194871.3.18108963585378703111@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-233989@kernel.org>

Hi,

This repeats the EXTADDR question discussed for v2:
https://lore.kernel.org/all/179546920557.4112741.10222765658884997584@gmail.com/

I compared the generic cs752x_nand_pio() function in v2 and v3; it is
byte-identical. It supplies all NAND address cycles through ADDRESS_1/_2.
Both vendor GPL drivers explicitly clear EXTADDR for erase and OOB
register-PIO transfers, while using the full row address.

The earlier read-only hardware comparison used non-erased OOB data at
0x08600000, 0x10600000 and 0x18600000. Full raw page+OOB reads, with
EXTADDR set, matched OOB-only exec_op reads, with EXTADDR zero. Each
upper-bank result differed from the lower-bank alias. The new v3 cover
also records a fresh native RAM UBI program/erase test and preservation
checks after return to OpenWrt. This does not claim OOB-only program
coverage.

I have queued a comment explaining the vendor register-PIO convention.
I do not see evidence for changing the bank field on this path.

Thanks,
Fil

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

  reply	other threads:[~2026-11-25 18:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 18:15 [PATCH v3 0/3] Add Cortina Systems CS7542 NAND controller support Fil Dunsky via B4 Relay
2026-11-25 18:15 ` [PATCH v3 1/3] dt-bindings: mtd: Add Cortina CS7542 NAND controller Fil Dunsky via B4 Relay
2026-11-25 18:15 ` [PATCH v3 2/3] mtd: rawnand: Add Cortina CS7542 controller support Fil Dunsky via B4 Relay
2026-11-25 18:27   ` sashiko-bot
2026-11-25 18:39     ` Fil Dunsky [this message]
2026-11-25 18:15 ` [PATCH v3 3/3] MAINTAINERS: Add Cortina CS7542 NAND controller entry Fil Dunsky via B4 Relay

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=179563194871.3.18108963585378703111@gmail.com \
    --to=filipp.dunsky@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=robh@kernel.org \
    --cc=sashiko-bot@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