[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mafs0tt1mw8ze.fsf@kernel.org>
Date: Mon, 01 Sep 2025 16:19:49 +0200
From: Pratyush Yadav <pratyush@...nel.org>
To: ziniu.wang_1@....com
Cc: pratyush@...nel.org, tudor.ambarus@...aro.org, mwalle@...nel.org,
miquel.raynal@...tlin.com, richard@....at, vigneshr@...com,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
haibo.chen@....com, han.xu@....com
Subject: Re: [PATCH v3 1/2] mtd: spi-nor: core: avoid odd length/address
reads on 8D-8D-8D mode
Hi,
On Tue, Jul 08 2025, ziniu.wang_1@....com wrote:
> From: Pratyush Yadav <p.yadav@...com>
>
> On Octal DTR capable flashes like Micron Xcella reads cannot start or
> end at an odd address in Octal DTR mode. Extra bytes need to be read at
> the start or end to make sure both the start address and length remain
> even.
>
> To avoid allocating too much extra memory, thereby putting unnecessary
> memory pressure on the system, the temporary buffer containing the extra
> padding bytes is capped at PAGE_SIZE bytes. The rest of the 2-byte
> aligned part should be read directly in the main buffer.
>
> Signed-off-by: Pratyush Yadav <p.yadav@...com>
> Reviewed-by: Michael Walle <michael@...le.cc>
> Signed-off-by: Luke Wang <ziniu.wang_1@....com>
Series applied to spi-nor/next. Thanks!
[...]
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists