All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Takahiro.Kuwano@infineon.com
Cc: u-boot@lists.u-boot-project.org, vigneshr@ti.com,
	raymond.mao@riscstar.com, vjardin@free.fr, festevam@nabladev.com,
	ehristev@kernel.org
Subject: Re: [PATCH v3 0/4] mtd: spi-nor: split SFDP, ID database, and fixups
Date: Wed, 21 Oct 2026 08:37:17 -0600	[thread overview]
Message-ID: <20261021143717.GL720525@bill-the-cat> (raw)
In-Reply-To: <b879d1b7c63242c6aa28599bc6b6e59c@infineon.com>

[-- Attachment #1: Type: text/plain, Size: 2354 bytes --]

On Wed, Oct 21, 2026 at 01:42:00AM +0000, Takahiro.Kuwano@infineon.com wrote:
> Hi Tom,
> 
> > On Fri, Oct 16, 2026 at 10:43:41AM +0900, Takahiro Kuwano wrote:
> > 
> > > The spi-nor-core.c contains optional logics like SFDP and manufcaturer
> > > specific fixups. The spi-nor-ids.c has single large ID database. There
> > > are many #ifdef directives in those files and that negatively affects
> > > readability and maintainability.
> > >
> > > This series, as the first step of cleanup, move SFDP logic, IDs, and
> > > fixups to newly source files. Reworking, renaming, and reformating
> > > existing code is not a scope of this series and further cleanup will be
> > > taken place in follow-up patches.
> > >
> > > Here is the code size impact when applying this series.
> > > Measured by my AMD Zynq-7000 (ARM32) environment with SFDP and all
> > > manufcaturers are enabled.
> > >
> > > SPI-NOR:
> > >             text    data     bss     dec     hex filename
> > > BEFORE    720685   14084       0  734769   b3631 u-boot
> > > AFTER     721827   14156       0  735983   b3aef u-boot
> > > DELTA      +1142     +72
> > >
> > > TINY:
> > >             text    data     bss     dec     hex filename
> > > BEFORE     77399    3128     248   80775   13b87 spl/u-boot-spl
> > > AFTER      77589    3200     248   81037   13c8d spl/u-boot-spl
> > > DELTA       +190     +72
> > 
> > So this leads to imx28_btt3 and imx28_xea overflowing in CI on link.
> 
> I don't see any errors in my local. Something different from CI config.
> 
> imx28_btt3_defconfig:
>           text	   data	    bss	    dec	    hex	filename
> BEFORE  37947	   2896	      0	  40843	   9f8b	spl/u-boot-spl
> AFTER   38003	   2912	      0	  40915	   9fd3	spl/u-boot-spl
>            +56       +16
> 
> imx28_xea_defconfig:
>             text	   data	    bss	    dec	    hex	filename
> BEFORE    38004	   2816	      0	  40820	   9f74	spl/u-boot-spl
> AFTER     38060	   2832	      0	  40892	   9fbc	spl/u-boot-spl
>              +56     +16
> 
> Could you share the exact CI error or size report?

What toolchain are you using? CI uses the 14.2.0 ones from kernel.org:
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/14.2.0/
and the CI run is:
https://git.u-boot-project.org/u-boot/u-boot/-/jobs/115650#L3163

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-10-21 14:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-16  1:43 [PATCH v3 0/4] mtd: spi-nor: split SFDP, ID database, and fixups Takahiro Kuwano
2026-10-16  1:43 ` Takahiro Kuwano via B4 Relay
2026-10-16  1:43 ` [PATCH v3 1/4] mtd: spi-nor: move SFDP logic out of the core Takahiro Kuwano
2026-10-16  1:43   ` Takahiro Kuwano via B4 Relay
2026-10-16  1:43 ` [PATCH v3 2/4] mtd: spi-nor: import manufacturer driver concept from Linux Takahiro Kuwano
2026-10-16  1:43   ` Takahiro Kuwano via B4 Relay
2026-10-16  1:43 ` [PATCH v3 3/4] mtd: spi-nor: move flash info entries to manufacturer drivers Takahiro Kuwano
2026-10-16  1:43   ` Takahiro Kuwano via B4 Relay
2026-10-16  1:43 ` [PATCH v3 4/4] mtd: spi-nor: move fixups " Takahiro Kuwano
2026-10-16  1:43   ` Takahiro Kuwano via B4 Relay
2026-10-16 18:26 ` [PATCH v3 0/4] mtd: spi-nor: split SFDP, ID database, and fixups Tom Rini
2026-10-21  1:42   ` Takahiro.Kuwano
2026-10-21 14:37     ` Tom Rini [this message]
2026-10-22  2:58       ` Takahiro.Kuwano
2026-10-22  8:44 ` Bastien Curutchet

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=20261021143717.GL720525@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=Takahiro.Kuwano@infineon.com \
    --cc=ehristev@kernel.org \
    --cc=festevam@nabladev.com \
    --cc=raymond.mao@riscstar.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=vigneshr@ti.com \
    --cc=vjardin@free.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.