lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 23 May 2022 11:24:59 +0200
From:   Miquel Raynal <miquel.raynal@...tlin.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     linux-mtd@...ts.infradead.org, Richard Weinberger <richard@....at>,
        Tudor Ambarus <Tudor.Ambarus@...rochip.com>,
        Vignesh Raghavendra <vigneshr@...com>,
        Frieder Schrempf <frieder.schrempf@...tron.de>,
        Michael Walle <michael@...le.cc>,
        Pratyush Yadav <p.yadav@...com>, linux-kernel@...r.kernel.org
Subject: [GIT PULL] mtd: Changes for 5.19

Hello Linus,

This is the MTD PR for 5.19-rc1.

Thanks,
Miquèl

The following changes since commit b2d229d4ddb17db541098b83524d901257e93845:

  Linux 5.18-rc3 (2022-04-17 13:57:31 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.19

for you to fetch changes up to 2c51d0d88020b4d3c9bbe7d9df2796b2c2ce05b8:

  Merge tag 'nand/for-5.19' into mtd/next (2022-05-20 13:59:25 +0200)

----------------------------------------------------------------
MTD core changes:
* Call of_platform_populate() for MTD partitions
* Check devicetree alias for index
* mtdoops:
  - Add a timestamp to the mtdoops header.
  - Create a header structure for the saved mtdoops.
  - Fix the size of the header read buffer.
* mtdblock: Warn if opened on NAND
* Bindings:
  - reserved-memory: Support MTD/block device
  - jedec,spi-nor: remove unneeded properties
  - Extend fixed-partitions binding
  - Add Sercomm (Suzhou) Corporation vendor prefix

MTD driver changes:
* st_spi_fsm: add missing clk_disable_unprepare() in stfsm_remove()
* phram:
  - Allow cached mappings
  - Allow probing via reserved-memory
* maps: ixp4xx: Drop driver
* bcm47xxpart: Print correct offset on read error

CFI driver changes:
* Rename chip_ready variables
* Add S29GL064N ID definition
* Use chip_ready() for write on S29GL064N
* Move and rename chip_check/chip_ready/chip_good_for_write

NAND core changes:
* Print offset instead of page number for bad blocks

Raw NAND controller drivers:
* Cadence: Fix possible null-ptr-deref in cadence_nand_dt_probe()
* CS553X: simplify the return expression of cs553x_write_ctrl_byte()
* Davinci: Remove redundant unsigned comparison to zero
* Denali: Use managed device resources
* GPMI:
  - Add large oob bch setting support
  - Rename the variable ecc_chunk_size
  - Uninline the gpmi_check_ecc function
  - Add strict ecc strength check
  - Refactor BCH geometry settings function
* Intel: Fix possible null-ptr-deref in ebu_nand_probe()
* MPC5121: Check before clk_disable_unprepare() not needed
* Mtk:
  - MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK
  - Also parse the default nand-ecc-engine property if available
  - Make mtk_ecc.c a separated module
* OMAP ELM:
  - Convert the bindings to yaml
  - Describe the bindings for AM64 ELM
  - Add support for its compatible
* Renesas: Use runtime PM instead of the raw clock API and update the
           bindings accordingly
* Rockchip: Check before clk_disable_unprepare() not needed
* TMIO: Check return value after calling platform_get_resource()

Raw NAND chip driver:
* Kioxia: Add support for TH58NVG3S0HBAI4 and TC58NVG0S3HTA00

SPI-NAND chip drivers:
* Gigadevice:
  - Add support for:
    - GD5FxGM7xExxG
    - GD5F{2,4}GQ5xExxG
    - GD5F1GQ5RExxG
    - GD5FxGQ4xExxG
  - Fix Quad IO for GD5F1GQ5UExxG
* XTX: Add support for XT26G0xA

SPI NOR core changes:
* Read back written SR value to make sure the write was done correctly.
* Introduce a common function for Read ID that manufacturer drivers can
  use to verify the Octal DTR switch worked correctly.
* Add helpers for read/write any register commands so manufacturer
  drivers don't open code it every time.
* Clarify rdsr dummy cycles documentation.
* Add debugfs entry to expose internal flash parameters and state.

SPI NOR manufacturer drivers changes:
* Add support for Winbond W25Q512NW-IM, and Eon EN25QH256A.
* Move spi_nor_write_ear() to Winbond module since only Winbond flashes
  use it.
* Rework Micron and Cypress Octal DTR enable methods to improve
  readability.
* Use the common Read ID function to verify switch to Octal DTR mode for
  Micron and Cypress flashes.
* Skip polling status on volatile register writes for Micron and Cypress
  flashes since the operation is instant.

----------------------------------------------------------------
Andreas Böhler (1):
      mtd: rawnand: add support for Toshiba TC58NVG0S3HTA00 NAND flash

Bjørn Mork (1):
      mtdblock: warn if opened on NAND

Chen-Tsung Hsieh (1):
      mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()

Chuanhong Guo (7):
      mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG
      mtd: spinand: gigadevice: add support for GD5FxGQ4xExxG
      mtd: spinand: gigadevice: add support for GD5F1GQ5RExxG
      mtd: spinand: gigadevice: add support for GD5F{2, 4}GQ5xExxG
      mtd: spinand: gigadevice: add support for GD5FxGM7xExxG
      mtd: nand: make mtk_ecc.c a separated module
      mtd: nand: mtk-ecc: also parse nand-ecc-engine if available

Felix Matouschek (1):
      mtd: spinand: Add support for XTX XT26G0xA

Geert Uytterhoeven (1):
      mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK

Han Xu (5):
      mtd: rawnand: gpmi: Refactor bch geometry settings function
      mtd: rawnand: gpmi: Add strict ecc strength check
      mtd: rawnand: gpmi: Uninline the gpmi_check_ecc function
      mtd: rawnand: gpmi: Rename the variable ecc_chunk_size
      mtd: rawnand: gpmi: Add large oob bch setting support

Jean-Marc Eurin (3):
      mtd: mtdoops: Fix the size of the header read buffer.
      mtd: mtdoops: Create a header structure for the saved mtdoops.
      mtd: mtdoops: Add a timestamp to the mtdoops header.

Krzysztof Kozlowski (1):
      dt-bindings: mtd: jedec, spi-nor: remove unneeded properties

Leon M. George (1):
      mtd: spi-nor: support eon en25qh256a variant

Linus Walleij (1):
      mtd: maps: ixp4xx: Drop driver

Michael Walle (5):
      mtd: spi-nor: amend the rdsr dummy cycles documentation
      mtd: spi-nor: move spi_nor_write_ear() to winbond module
      mtd: spi-nor: export spi_nor_hwcaps_pp2cmd()
      mtd: spi-nor: expose internal parameters via debugfs
      mtd: spi-nor: debugfs: fix format specifier

Mikhail Zhilkin (2):
      dt-bindings: Add Sercomm (Suzhou) Corporation vendor prefix
      dt-bindings: mtd: partitions: Extend fixed-partitions binding

Minghao Chi (1):
      mtd: rawnand: cs553x: simplify the return expression of cs553x_write_ctrl_byte()

Miquel Raynal (5):
      Merge tag 'mtd/mtk-spi-nand-for-5.19' into nand/next
      dt-bindings: mtd: renesas: Fix the NAND controller description
      mtd: rawnand: renesas: Use runtime PM instead of the raw clock API
      Merge tag 'spi-nor/for-5.19' into mtd/next
      Merge tag 'nand/for-5.19' into mtd/next

Phil Edworthy (2):
      mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed
      mtd: rawnand: mpc5121: Check before clk_disable_unprepare() not needed

Rafał Miłecki (3):
      mtd: parsers: bcm47xxpart: print correct offset on read error
      mtd: rawnand: print offset instead of page number for bad blocks
      mtd: call of_platform_populate() for MTD partitions

Rickard x Andersson (1):
      mtd: rawnand: kioxia: Add support for TH58NVG3S0HBAI4

Roger Quadros (3):
      dt-bindings: mtd: ti,elm: Convert to yaml
      dt-bindings: mtd: ti,elm: Add support for AM64 ELM
      mtd: rawnand: omap_elm: Add compatible for AM64 ELM

Shaik Sajida Bhanu (1):
      mtd: spi-nor: winbond: add support for W25Q512NW-IM

Tokunori Ikegami (4):
      mtd: cfi_cmdset_0002: Move and rename chip_check/chip_ready/chip_good_for_write
      mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N
      mtd: cfi_cmdset_0002: Add S29GL064N ID definition
      mtd: cfi_cmdset_0002: Rename chip_ready variables

Tudor Ambarus (11):
      mtd: spi-nor: Rename method, s/spi_nor_match_id/spi_nor_match_name
      mtd: spi-nor: Introduce spi_nor_match_id()
      mtd: spi-nor: core: Use auto-detection only once
      mtd: spi-nor: core: Introduce method for RDID op
      mtd: spi-nor: manufacturers: Use spi_nor_read_id() core method
      mtd: spi-nor: core: Add helpers to read/write any register
      mtd: spi-nor: micron-st: Rework spi_nor_micron_octal_dtr_enable()
      mtd: spi-nor: spansion: Rework spi_nor_cypress_octal_dtr_enable()
      mtd: spi-nor: Introduce templates for SPI NOR operations
      mtd: spi-nor: spansion: Remove status polling on volatile registers write
      mtd: spi-nor: micron-st: Remove status polling on volatile registers write

Vincent Whitchurch (4):
      mtd: core: Check devicetree alias for index
      dt-bindings: reserved-memory: Support MTD/block device
      mtd: phram: Allow probing via reserved-memory
      mtd: phram: Allow cached mappings

Wang Weiyang (1):
      mtd: rawnand: davinci: Remove redundant unsigned comparison to zero

Yang Yingliang (4):
      mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe()
      mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()
      mtd: rawnand: tmio: check return value after calling platform_get_resource()
      mtd: st_spi_fsm: add missing clk_disable_unprepare() in stfsm_remove()

Zheyu Ma (1):
      mtd: rawnand: denali: Use managed device resources

 Documentation/devicetree/bindings/mtd/elm.txt                   |  16 --
 Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml        |   8 -
 .../devicetree/bindings/mtd/partitions/fixed-partitions.yaml    |  55 +++++-
 Documentation/devicetree/bindings/mtd/renesas-nandc.yaml        |   5 +
 Documentation/devicetree/bindings/mtd/ti,elm.yaml               |  72 +++++++
 Documentation/devicetree/bindings/reserved-memory/phram.yaml    |  47 +++++
 Documentation/devicetree/bindings/vendor-prefixes.yaml          |   2 +
 drivers/mtd/chips/cfi_cmdset_0002.c                             | 112 +++++------
 drivers/mtd/devices/phram.c                                     | 108 +++++++++-
 drivers/mtd/devices/st_spi_fsm.c                                |   2 +
 drivers/mtd/maps/Kconfig                                        |   9 -
 drivers/mtd/maps/Makefile                                       |   1 -
 drivers/mtd/maps/ixp4xx.c                                       | 262 ------------------------
 drivers/mtd/mtdblock.c                                          |   8 +-
 drivers/mtd/mtdcore.c                                           |  11 +-
 drivers/mtd/mtdoops.c                                           |  61 +++---
 drivers/mtd/mtdpart.c                                           |   9 +
 drivers/mtd/nand/Kconfig                                        |   8 +
 drivers/mtd/nand/Makefile                                       |   1 +
 drivers/mtd/nand/{raw/mtk_ecc.c => ecc-mtk.c}                   |   8 +-
 drivers/mtd/nand/raw/Kconfig                                    |   1 +
 drivers/mtd/nand/raw/Makefile                                   |   2 +-
 drivers/mtd/nand/raw/cadence-nand-controller.c                  |   5 +-
 drivers/mtd/nand/raw/cs553x_nand.c                              |   7 +-
 drivers/mtd/nand/raw/davinci_nand.c                             |   2 +-
 drivers/mtd/nand/raw/denali_pci.c                               |  15 +-
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c                      | 296 ++++++++++++++++++++++++----
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h                      |  12 +-
 drivers/mtd/nand/raw/intel-nand-controller.c                    |   2 +-
 drivers/mtd/nand/raw/mpc5121_nfc.c                              |   3 +-
 drivers/mtd/nand/raw/mtk_nand.c                                 |   2 +-
 drivers/mtd/nand/raw/nand_base.c                                |   9 +-
 drivers/mtd/nand/raw/nand_ids.c                                 |   6 +
 drivers/mtd/nand/raw/nand_toshiba.c                             |   6 +-
 drivers/mtd/nand/raw/omap_elm.c                                 |   1 +
 drivers/mtd/nand/raw/renesas-nand-controller.c                  |  51 +++--
 drivers/mtd/nand/raw/rockchip-nand-controller.c                 |  20 +-
 drivers/mtd/nand/raw/tmio_nand.c                                |   3 +
 drivers/mtd/nand/spi/Makefile                                   |   2 +-
 drivers/mtd/nand/spi/core.c                                     |   1 +
 drivers/mtd/nand/spi/gigadevice.c                               | 158 ++++++++++++++-
 drivers/mtd/nand/spi/xtx.c                                      | 129 ++++++++++++
 drivers/mtd/parsers/bcm47xxpart.c                               |   2 +-
 drivers/mtd/spi-nor/Makefile                                    |   1 +
 drivers/mtd/spi-nor/core.c                                      | 286 +++++++++++++--------------
 drivers/mtd/spi-nor/core.h                                      | 123 +++++++++++-
 drivers/mtd/spi-nor/debugfs.c                                   | 249 +++++++++++++++++++++++
 drivers/mtd/spi-nor/eon.c                                       |   3 +-
 drivers/mtd/spi-nor/micron-st.c                                 | 181 ++++++++---------
 drivers/mtd/spi-nor/spansion.c                                  | 187 +++++++++---------
 drivers/mtd/spi-nor/winbond.c                                   |  45 ++++-
 drivers/mtd/spi-nor/xilinx.c                                    |  12 +-
 drivers/of/platform.c                                           |   1 +
 include/linux/mtd/cfi.h                                         |   1 +
 .../mtd/nand/raw/mtk_ecc.h => include/linux/mtd/nand-ecc-mtk.h  |   0
 include/linux/mtd/spi-nor.h                                     |   4 +-
 include/linux/mtd/spinand.h                                     |   1 +
 57 files changed, 1772 insertions(+), 862 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mtd/elm.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/ti,elm.yaml
 create mode 100644 Documentation/devicetree/bindings/reserved-memory/phram.yaml
 delete mode 100644 drivers/mtd/maps/ixp4xx.c
 rename drivers/mtd/nand/{raw/mtk_ecc.c => ecc-mtk.c} (98%)
 create mode 100644 drivers/mtd/nand/spi/xtx.c
 create mode 100644 drivers/mtd/spi-nor/debugfs.c
 rename drivers/mtd/nand/raw/mtk_ecc.h => include/linux/mtd/nand-ecc-mtk.h (100%)

Powered by blists - more mailing lists