Skip to contentSkip to conversation

mtd: Changes for 5.16

GIT PULL Merged Miquel Raynal 3 participants 4 messages Nov 7, 2021 – Nov 8, 2021 Memory technology devices (MTD)

lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

Hello Linus,

This is the MTD PR for 5.16.

Thanks,
Miquèl

The following changes since commit 9e1ff307c779ce1f0f810c7ecce3d95bbae40896:

Linux 5.15-rc4 (2021-10-03 14:08:47 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next

for you to fetch changes up to e269d7caf9e0dbd95fac9991991298f74930c2c0:

Merge tag 'spi-nor/for-5.16' into mtd/next (2021-11-07 17:38:36 +0100)

----------------------------------------------------------------
Arnd Bergmann (1):
mtd: fixup CFI on ixp4xx

Cai Huoqing (19):
mtd: rawnand: atmel: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: bcm6368: Make use of the helper function devm_platform_ioremap_resource_byname()
mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()
mtd: rawnand: gpio: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: gpmi: Make use of the helper function devm_platform_ioremap_resource_byname()
mtd: rawnand: hisi504: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: mtk: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: mtk_ecc: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: omap_elm: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: oxnas: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: plat_nand: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: stm32_fmc2: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: tegra: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: txx9ndfm: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: vf610: Make use of the helper function devm_platform_ioremap_resource()
mtd: rawnand: xway: Make use of the helper function devm_platform_ioremap_resource()
mtd: spi-nor: hisi-sfc: Make use of the helper function devm_platform_ioremap_resource_byname()
mtd: spi-nor: nxp-spifi: Make use of the helper function devm_platform_ioremap_resource_byname()
MAINTAINERS: Update the devicetree documentation path of hyperbus

Chris Morgan (1):
mtd: rawnand: hynix: Add support for H27UCG8T2ETR-BC MLC NAND

Colin Ian King (1):
mtd: mtdswap: Remove redundant assignment of pointer eb

Evgeny Novikov (2):
mtd: rawnand: intel: Fix potential buffer overflow in probe
mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()

GONG, Ruiqi (1):
mtd: Remove obsolete macros only used by the old nand_ecclayout struct

Joachim Wiberg (2):
mtd: block2mtd: minor refactor to avoid hard coded constant
mtd: block2mtd: add support for an optional custom MTD label

Jonathan Lemon (1):
mtd: spi-nor: Enable locking for n25q128a13

Krzysztof Kozlowski (1):
mtd: onenand: samsung: drop Exynos4 and describe driver in KConfig

Manivannan Sadhasivam (1):
MAINTAINERS: Add entry for Qualcomm NAND controller driver

Miquel Raynal (20):
mtd: rawnand: fsmc: Fix use of SM ORDER
mtd: rawnand: Let callers use the bare Hamming helpers
Revert "mtd: rawnand: txx9ndfmc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: tmio: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: sharpsl: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: ndfc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: lpc32xx_slc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: cs553x: Fix external use of SW Hamming ECC helper"
mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
mtd: rawnand: arasan: Prevent an unsupported configuration
Merge tag 'nand/for-5.16' into mtd/next
Merge tag 'spi-nor/for-5.16' into mtd/next

Pratyush Yadav (1):
MAINTAINERS: Add spi-nor device tree binding under SPI NOR maintainers

Zev Weiss (1):
mtd: core: don't remove debugfs directory if device is in use

 MAINTAINERS                                   | 12 ++++++++++--
 drivers/mtd/chips/Kconfig                     |  2 ++
 drivers/mtd/devices/block2mtd.c               | 29 +++++++++++++++++++++--------
 drivers/mtd/maps/Kconfig                      |  2 +-
 drivers/mtd/mtdcore.c                         |  4 ++--
 drivers/mtd/mtdswap.c                         |  1 -
 drivers/mtd/nand/ecc-sw-hamming.c             |  7 ++++---
 drivers/mtd/nand/onenand/Kconfig              |  9 +++++----
 drivers/mtd/nand/raw/ams-delta.c              | 12 +++++++++---
 drivers/mtd/nand/raw/arasan-nand-controller.c | 15 +++++++++++++++
 drivers/mtd/nand/raw/atmel/pmecc.c            |  7 ++-----
 drivers/mtd/nand/raw/au1550nd.c               | 12 +++++++++---
 drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c  |  5 +----
 drivers/mtd/nand/raw/cs553x_nand.c            | 12 +-----------
 drivers/mtd/nand/raw/denali_dt.c              |  7 ++-----
 drivers/mtd/nand/raw/fsmc_nand.c              |  4 +++-
 drivers/mtd/nand/raw/gpio.c                   | 15 ++++++++++-----
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c    |  4 +---
 drivers/mtd/nand/raw/hisi504_nand.c           |  7 ++-----
 drivers/mtd/nand/raw/intel-nand-controller.c  |  5 +++++
 drivers/mtd/nand/raw/lpc32xx_slc.c            | 15 +--------------
 drivers/mtd/nand/raw/mpc5121_nfc.c            | 12 +++++++++---
 drivers/mtd/nand/raw/mtk_ecc.c                |  4 +---
 drivers/mtd/nand/raw/mtk_nand.c               |  4 +---
 drivers/mtd/nand/raw/nand_hynix.c             | 14 ++++++++++++++
 drivers/mtd/nand/raw/nand_ids.c               |  4 ++++
 drivers/mtd/nand/raw/ndfc.c                   | 12 +-----------
 drivers/mtd/nand/raw/omap_elm.c               |  5 ++---
 drivers/mtd/nand/raw/orion_nand.c             | 12 +++++++++---
 drivers/mtd/nand/raw/oxnas_nand.c             |  4 +---
 drivers/mtd/nand/raw/pasemi_nand.c            | 12 +++++++++---
 drivers/mtd/nand/raw/plat_nand.c              | 16 ++++++++++------
 drivers/mtd/nand/raw/sharpsl.c                | 12 +-----------
 drivers/mtd/nand/raw/socrates_nand.c          | 12 +++++++++---
 drivers/mtd/nand/raw/stm32_fmc2_nand.c        |  8 ++------
 drivers/mtd/nand/raw/tegra_nand.c             |  4 +---
 drivers/mtd/nand/raw/tmio_nand.c              |  8 +++-----
 drivers/mtd/nand/raw/txx9ndfmc.c              |  9 +++------
 drivers/mtd/nand/raw/vf610_nfc.c              |  4 +---
 drivers/mtd/nand/raw/xway_nand.c              | 16 ++++++++++------
 drivers/mtd/spi-nor/controllers/hisi-sfc.c    |  8 ++------
 drivers/mtd/spi-nor/controllers/nxp-spifi.c   |  7 ++-----
 drivers/mtd/spi-nor/micron-st.c               |  4 +++-
 include/linux/mtd/mtd.h                       |  2 --
 44 files changed, 204 insertions(+), 175 deletions(-)
#1 lore raw
Quoted 2 lines · Miquel Raynal

This is the MTD PR for 5.16.

I want _explanations_ for what I'm pulling.

Yes, I can see it by looking at the diffs and shortlog, but I shouldn't need to.

I want a short blurb about what the pull is getting me, and why I should pull it, not just a "here's a random pull".

I wrote my own explanation, and then decided that no, I'm not going to pull at all because the pull request was so bad and deficient.

Linus

author maintainer
#2 lore raw

Hi Linus,

[email protected] wrote on Sun, 7 Nov 2021 11:05:02 -0800:

Quoted 10 lines · Miquel Raynal
Quoted 2 lines

This is the MTD PR for 5.16.

I want _explanations_ for what I'm pulling.

Yes, I can see it by looking at the diffs and shortlog, but I shouldn't need to.

I want a short blurb about what the pull is getting me, and why I should pull it, not just a "here's a random pull".

Sorry for the error, as you can see in the original e-mail, I generated the pull request aginst 'mtd/next' (the branch name), instead of 'mtd/for-5.16', the signed tag with the below description written for the occasion. I am going to resend the pull-request with these missing bits.

----------------------------------------------------------------
Core:
* Remove obsolete macros only used by the old nand_ecclayout struct
* Don't remove debugfs directory if device is in use
* MAINTAINERS:
- Add entry for Qualcomm NAND controller driver
- Update the devicetree documentation path of hyperbus

MTD devices:
* block2mtd:
- Add support for an optional custom MTD label
- Minor refactor to avoid hard coded constant
* mtdswap: Remove redundant assignment of pointer eb

CFI:
* Fixup CFI on ixp4xx

Raw NAND controller drivers:
* Arasan:
- Prevent an unsupported configuration
* Xway, Socrates: plat_nand, Pasemi, Orion, mpc5121, GPIO, Au1550nd, AMS-Delta:
- Keep the driver compatible with on-die ECC engines
* cs553x, lpc32xx_slc, ndfc, sharpsl, tmio, txx9ndfmc:
- Revert the commits: "Fix external use of SW Hamming ECC helper"
- And let callers use the bare Hamming helpers
* Fsmc: Fix use of SM ORDER
* Intel:
- Fix potential buffer overflow in probe
* xway, vf610, txx9ndfm, tegra, stm32, plat_nand, oxnas, omap, mtk, hisi504, gpmi, gpio, denali, bcm6368, atmel:
- Make use of the helper function devm_platform_ioremap_resource{,byname}()

Onenand drivers:
* Samsung: Drop Exynos4 and describe driver in KConfig

Raw NAND chip drivers:
* Hynix: Add support for H27UCG8T2ETR-BC MLC NAND

SPI NOR core:
* Add spi-nor device tree binding under SPI NOR maintainers

SPI NOR manufacturer drivers:
* Enable locking for n25q128a13

SPI NOR controller drivers:
* Use devm_platform_ioremap_resource_byname()

----------------------------------------------------------------

Quoted 3 lines

I wrote my own explanation, and then decided that no, I'm not going to pull at all because the pull request was so bad and deficient.

I hope you will reconsider this position when I will re-send the actual pull request with the above text which was missing.

Thanks,
Miquèl

merge bot Merged
#3 lore raw
In reply to Miquel Raynal
The pull request you sent on Sun, 7 Nov 2021 17:45:55 +0100:

The pull request you sent on Sun, 7 Nov 2021 17:45:55 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/206825f50f908771934e1fba2bfc2e1f1138b36a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html