From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CDB7C433F5 for ; Fri, 3 Sep 2021 09:49:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3DB9C61074 for ; Fri, 3 Sep 2021 09:49:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235037AbhICJuu convert rfc822-to-8bit (ORCPT ); Fri, 3 Sep 2021 05:50:50 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55873 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234932AbhICJut (ORCPT ); Fri, 3 Sep 2021 05:50:49 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id EB8181C000C; Fri, 3 Sep 2021 09:49:46 +0000 (UTC) Date: Fri, 3 Sep 2021 11:49:46 +0200 From: Miquel Raynal To: Linus Torvalds Cc: linux-mtd@lists.infradead.org, Richard Weinberger , Tudor Ambarus , Vignesh Raghavendra , Frieder Schrempf , linux-kernel@vger.kernel.org Subject: [GIT PULL] mtd: Changes for 5.15 Message-ID: <20210903114946.3f874e6e@xps13> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Linus, This is the MTD PR for 5.15. Thanks, Miquèl The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.15 for you to fetch changes up to c1fe77e42440d2cad76055df6fb58caabf622d51: Merge tag 'nand/for-5.15' into mtd/next (2021-09-03 00:04:16 +0200) ---------------------------------------------------------------- MTD changes: * blkdevs: - Simplify the refcounting in blktrans_{open, release} - Simplify blktrans_getgeo - Remove blktrans_ref_mutex - Simplify blktrans_dev_get - Use lockdep_assert_held - Don't hold del_mtd_blktrans_dev in blktrans_{open, release} * ftl: - Don't cast away the type when calling add_mtd_blktrans_dev - Don't cast away the type when calling add_mtd_blktrans_dev - Use container_of() rather than cast - Fix use-after-free - Add discard support - Allow use of MTD_RAM for testing purposes * concat: - Check _read, _write callbacks existence before assignment - Judge callback existence based on the master * maps: - Maps: remove dead MTD map driver for PMC-Sierra MSP boards * mtdblock: - Warn if added for a NAND device - Add comment about UBI block devices - Update old JFFS2 mention in Kconfig * partitions: - Redboot: convert to YAML NAND core changes: * Repair Miquel Raynal's email address in MAINTAINERS * Fix a couple of spelling mistakes in Kconfig * bbt: Skip bad blocks when searching for the BBT in NAND * Remove never changed ret variable Raw NAND changes: * cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()' * intel: Fix error handling in probe * omap: Fix kernel doc warning on 'calcuate' typo * gpmc: Fix the ECC bytes vs. OOB bytes equation SPI-NAND core changes: * Properly fill the OOB area. * Fix comment SPI-NAND drivers changes: * macronix: Add Quad support for serial NAND flash ---------------------------------------------------------------- Christoph Hellwig (8): mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release} mtd_blkdevs: use lockdep_assert_held mtd/ftl: don't cast away the type when calling add_mtd_blktrans_dev mtd/rfd_ftl: don't cast away the type when calling add_mtd_blktrans_dev mtd_blkdevs: simplify blktrans_dev_get mtd_blkdevs: remove blktrans_ref_mutex mtd_blkdevs: simplify blktrans_getgeo mtd_blkdevs: simplify the refcounting in blktrans_{open, release} Christophe JAILLET (1): mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()' Colin Ian King (1): mtd: rawnand: Fix a couple of spelling mistakes in Kconfig Corentin Labbe (1): dt_bindings: mtd: partitions: redboot: convert to YAML Daniel Palmer (1): mtd: spinand: core: Properly fill the OOB area. Evgeny Novikov (1): mtd: rawnand: intel: Fix error handling in probe Ezequiel Garcia (3): mtdblock: Update old JFFS2 mention in Kconfig mtdblock: Add comment about UBI block devices mtdblock: Warn if added for a NAND device Jaime Liao (1): mtd: spinand: macronix: Add Quad support for serial NAND flash Jason Wang (1): mtd: rawnand: remove never changed ret variable Lukas Bulwahn (2): MAINTAINERS: repair Miquel Raynal's email address mtd: maps: remove dead MTD map driver for PMC-Sierra MSP boards Miquel Raynal (3): dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation mtd: spinand: Fix comment Merge tag 'nand/for-5.15' into mtd/next Sean Young (4): mtd: rfd_ftl: allow use of MTD_RAM for testing purposes mtd: rfd_ftl: add discard support mtd: rfd_ftl: fix use-after-free mtd: rfd_ftl: use container_of() rather than cast Stefan Riedmueller (1): mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND Vladimir Molokov (1): mtd: rawnand: omap: Fix kernel doc warning on 'calcuate' typo Zhihao Cheng (2): mtd: mtdconcat: Judge callback existence based on the master mtd: mtdconcat: Check _read, _write callbacks existence before assignment Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 2 +- Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt | 27 ---- Documentation/devicetree/bindings/mtd/partitions/redboot-fis.yaml | 42 ++++++ MAINTAINERS | 4 +- drivers/mtd/Kconfig | 10 +- drivers/mtd/ftl.c | 2 +- drivers/mtd/maps/Kconfig | 23 ---- drivers/mtd/maps/Makefile | 1 - drivers/mtd/maps/pmcmsp-flash.c | 227 ------------------------------- drivers/mtd/mtd_blkdevs.c | 60 +------- drivers/mtd/mtdblock.c | 4 + drivers/mtd/mtdblock_ro.c | 4 + drivers/mtd/mtdconcat.c | 33 +++-- drivers/mtd/nand/raw/Kconfig | 4 +- drivers/mtd/nand/raw/cafe_nand.c | 4 +- drivers/mtd/nand/raw/intel-nand-controller.c | 27 ++-- drivers/mtd/nand/raw/meson_nand.c | 4 +- drivers/mtd/nand/raw/nand_bbt.c | 33 +++++ drivers/mtd/nand/raw/omap2.c | 2 +- drivers/mtd/nand/spi/core.c | 4 +- drivers/mtd/nand/spi/macronix.c | 16 +-- drivers/mtd/rfd_ftl.c | 46 +++++-- 22 files changed, 198 insertions(+), 381 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.yaml delete mode 100644 drivers/mtd/maps/pmcmsp-flash.c