Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Pratyush Yadav <pratyush@kernel.org>
Cc: Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	 Tudor Ambarus <tudor.ambarus@linaro.org>,
	 Michael Walle <mwalle@kernel.org>,
	 Takahiro Kuwano <takahiro.kuwano@infineon.com>,
	 linux-mtd@lists.infradead.org
Subject: Re: [GIT PULL] SPI NOR changes for 7.2
Date: Sun, 21 Jun 2026 17:10:23 +0200	[thread overview]
Message-ID: <87ldc83p5s.fsf@bootlin.com> (raw)
In-Reply-To: <2vxz33ylpea4.fsf@kernel.org> (Pratyush Yadav's message of "Wed, 17 Jun 2026 14:00:51 +0200")

Pulled into mtd/next, thanks!

Miquèl

On 17/06/2026 at 14:00:51 +02, Pratyush Yadav <pratyush@kernel.org> wrote:

> Hi Miquel,
>
> Here are the SPI NOR changes for 7.2.
>
> Regards,
> Pratyush Yadav
>
> The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:
>
>   Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/for-7.2
>
> for you to fetch changes up to df415c5e1de0f1aeefacb4e6252ff98d38c04437:
>
>   mtd: spi-nor: spansion: add die erase support in s28hx-t (2026-05-28 15:57:24 +0200)
>
> ----------------------------------------------------------------
> SPI NOR changes for 7.2
>
> Notable changes:
>
> - Big set of cleanups and improvements to the locking support. This
>   series contains some cleanups and bug fixes for code and documentation
>   around write protection. Then support is added for complement locking,
>   which allows finer grained configuration of what is considered locked
>   and unlocked. Then complement locking is enabled on a bunch of Winbond
>   W25 flashes.
>
> - Fix die erase support on Spansion flashes. Die erase is only supported
>   on multi-die flashes, but the die erase opcode was set for all. When
>   the opcode is set, it overrides the default chip erase opcode which
>   should be used for single-die flashes. Only set the opcode on
>   multi-die flashes. Also, the opcode was not set on multi-die s28hx-t
>   flashes. Set it so they can use die-erase correctly.
>
> ----------------------------------------------------------------
> Miquel Raynal (28):
>       mtd: spi-nor: debugfs: Fix the flags list
>       mtd: spi-nor: swp: Improve locking user experience
>       mtd: spi-nor: Drop duplicate Kconfig dependency
>       mtd: spi-nor: Make sure the QE bit is kept enabled if useful
>       mtd: spi-nor: Improve opcodes documentation
>       mtd: spi-nor: debugfs: Align variable access with the rest of the file
>       mtd: spi-nor: debugfs: Enhance output
>       mtd: spi-nor: swp: Explain the MEMLOCK ioctl implementation behaviour
>       mtd: spi-nor: swp: Clarify a comment
>       mtd: spi-nor: swp: Use a pointer for SR instead of a single byte
>       mtd: spi-nor: swp: Create a helper that writes SR, CR and checks
>       mtd: spi-nor: swp: Rename a mask
>       mtd: spi-nor: swp: Create a TB intermediate variable
>       mtd: spi-nor: swp: Create helpers for building the SR register
>       mtd: spi-nor: swp: Simplify checking the locked/unlocked range
>       mtd: spi-nor: swp: Cosmetic changes
>       mtd: spi-nor: Create a local SR cache
>       mtd: spi-nor: debugfs: Add locking support
>       mtd: spi-nor: debugfs: Add a locked sectors map
>       mtd: spi-nor: Add steps for testing locking support
>       mtd: spi-nor: swp: Add support for the complement feature
>       mtd: spi-nor: Add steps for testing locking with CMP
>       mtd: spi-nor: winbond: Add W25H512NWxxAM CMP locking support
>       mtd: spi-nor: winbond: Add W25H01NWxxAM CMP locking support
>       mtd: spi-nor: winbond: Add W25H02NWxxAM CMP locking support
>       mtd: spi-nor: winbond: Add W25Q01NWxxIQ CMP locking support
>       mtd: spi-nor: winbond: Add W25Q01NWxxIM CMP locking support
>       mtd: spi-nor: winbond: Add W25Q02NWxxIM CMP locking support
>
> Takahiro Kuwano (2):
>       mtd: spi-nor: spansion: use die erase for multi-die devices only
>       mtd: spi-nor: spansion: add die erase support in s28hx-t
>
>  Documentation/driver-api/mtd/spi-nor.rst | 170 +++++++++++++++
>  drivers/mtd/spi-nor/Kconfig              |   1 -
>  drivers/mtd/spi-nor/core.c               |  76 ++++++-
>  drivers/mtd/spi-nor/core.h               |  25 ++-
>  drivers/mtd/spi-nor/debugfs.c            |  72 +++++-
>  drivers/mtd/spi-nor/spansion.c           |   7 +-
>  drivers/mtd/spi-nor/swp.c                | 363 ++++++++++++++++++++++++-------
>  drivers/mtd/spi-nor/winbond.c            |  41 +++-
>  include/linux/mtd/spi-nor.h              |   7 +-
>  9 files changed, 671 insertions(+), 91 deletions(-)

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

      reply	other threads:[~2026-06-21 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-17 12:00 [GIT PULL] SPI NOR changes for 7.2 Pratyush Yadav
2026-06-21 15:10 ` Miquel Raynal [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=87ldc83p5s.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mwalle@kernel.org \
    --cc=pratyush@kernel.org \
    --cc=richard@nod.at \
    --cc=takahiro.kuwano@infineon.com \
    --cc=tudor.ambarus@linaro.org \
    --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