From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Takahiro Kuwano via B4 Relay
<devnull+takahiro.kuwano.infineon.com@kernel.org>
Cc: Pratyush Yadav <pratyush@kernel.org>,
Michael Walle <mwalle@kernel.org>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
takahiro.kuwano@infineon.com, linux-mtd@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mtd: spi-nor: sfdp: Increase SFDP data size limit to 16 KiB
Date: Thu, 17 Sep 2026 14:42:11 +0200 [thread overview]
Message-ID: <87jyokjbh8.fsf@bootlin.com> (raw)
In-Reply-To: <20260917-sfdp_size-v1-1-c1cdb1003f48@infineon.com> (Takahiro Kuwano via's message of "Thu, 17 Sep 2026 14:02:15 +0900")
On 17/09/2026 at 14:02:15 +09, Takahiro Kuwano via B4 Relay <devnull+takahiro.kuwano.infineon.com@kernel.org> wrote:
> From: Takahiro Kuwano <takahiro.kuwano@infineon.com>
>
> The size of SFDP data read and cached is limited to avoid allocating
> too much memory. The current limit is PAGE_SIZE, but the Spansion S25FS256S
> has parameter tables at offsets beyond 4 KiB.
>
> Increase the limit to 16 KiB to support such devices by introducing the
> SFDP_MAX_SIZE macro.
>
> Suggested-by: Miquel Raynal <miquel.raynal@bootlin.com>
> Suggested-by: Michael Walle <mwalle@kernel.org>
> Signed-off-by: Takahiro Kuwano <takahiro.kuwano@infineon.com>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
next prev parent reply other threads:[~2026-09-17 12:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 5:02 Takahiro Kuwano via B4 Relay
2026-09-17 12:42 ` Miquel Raynal [this message]
2026-09-18 11:31 ` Michael Walle
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=87jyokjbh8.fsf@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=devnull+takahiro.kuwano.infineon.com@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mwalle@kernel.org \
--cc=pratyush@kernel.org \
--cc=richard@nod.at \
--cc=takahiro.kuwano@infineon.com \
--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
all inboxes | Powered by JetHome®