Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: pratyush@kernel.org, mwalle@kernel.org, richard@nod.at,
	vigneshr@ti.com, takahiro.kuwano@infineon.com,
	linux-mtd@lists.infradead.org,  mika.westerberg@linux.intel.com
Subject: Re: [REGRESSION] mtd: spi-nor: driver probe fails with -EINVAL on intel-spi v7.4-rc1
Date: Fri, 04 Dec 2026 17:34:12 +0100	[thread overview]
Message-ID: <27ffcd1b95e5043e8e9ff2110c89d504af1b0990.camel@linux.intel.com> (raw)
In-Reply-To: <87pkvhgv2g.fsf@bootlin.com>

Hi Miquèl,

This patch fixes issue on my end. Thanks.

On Fri, 2026-12-04 at 12:10 +0100, Miquel Raynal wrote:
> Hi Alan,
> 
> Thanks for the report, sorry for the breakage.
> 
> > Since v7.4-rc1, spi-nor fails to probe on some of our client
> > platforms
> > during internal testing, with the MTD device (/dev/mtd) missing as
> > a
> > result. Kernel v7.3 works fine on the same machine.
> > The flash is a Winbond w25q512nwq behind the Intel SPI controller.
> > 
> > Dmesg log:
> > =====
> > calling  spi_nor_module_init+0x0/0xff0 [spi_nor] @ 767
> > spi-nor spi3.0: supply vcc not found, using dummy regulator
> > spi-nor spi3.0: using lookup tables for GPIO lookup
> > spi-nor spi3.0: No GPIO consumer reset found
> > spi-nor spi3.0: error -EINVAL: Failed to register OTP NVMEM device
> 
> I believe we should stick to the -EOPNOTSUPP error code, which makes
> the
> fix a trivial oneliner. Can you please test the following patch and
> tell
> me if that fixes your issue?
> 
> https://lore.kernel.org/linux-mtd/20261204-winbond-upstreaming-fix-sr2-einval-v1-1-ab136bfb2129@bootlin.com/T/#u
> 
> Thanks,
> Miquèl

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

      reply	other threads:[~2026-12-04 16:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 13:15 [REGRESSION] mtd: spi-nor: driver probe fails with -EINVAL on intel-spi v7.4-rc1 Alan Borzeszkowski
2026-12-03 13:25 ` sashiko-bot
2026-12-04 11:10 ` Miquel Raynal
2026-12-04 16:34   ` Alan Borzeszkowski [this message]

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=27ffcd1b95e5043e8e9ff2110c89d504af1b0990.camel@linux.intel.com \
    --to=alan.borzeszkowski@linux.intel.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=miquel.raynal@bootlin.com \
    --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