Thread (24 messages) flat view 24 messages, 3 authors, 2023-03-28

Re: [PATCH v4 6/8] mtd: spi-nor: Add a RWW flag

From: Tudor Ambarus <tudor.ambarus@linaro.org>
Date: 2023-03-17 03:21:20

Hi, Miquel!

On 2/1/23 11:36, Miquel Raynal wrote:
Introduce a new (no SFDP) flag for the feature that we are about to
support: Read While Write. This means, if the chip has several banks and
supports RWW, once a page of data to write has been transferred into the
chip's internal SRAM, another read operation happening on a different
bank can be performed during the tPROG delay.

Adding this new flag involves enlarging the no_sfdp_flags variable to 16
bits.
I've just skimmed over jesd216 - f version, and indeed it seems that
reads while write support is not covered by the standard. no_sfdp_flags
is not a good place to add this flag, because there can be flashes that
both support SFDP and RWW support. Please move this flag in info->flags.

BTW, does you flash define SFDP table(s)? You can dump the tables via
sysfs, here's an example:
https://lore.kernel.org/linux-mtd/20230203044853.23513-1-Takahiro.Kuwano@infineon.com/

Cheers,
ta

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help