From patchwork Sun Feb 21 20:02:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 1442873 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Jbw0DV00; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DkGT843hVz9sVJ for ; Mon, 22 Feb 2021 07:03:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Subject:Message-ID:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=nUi04wXZsi1MPHOeWpGXm3beCFCibpa3H9wWuK7YUGk=; b=Jbw0DV00WChBUKOfKuaIMwTjh8 6BY3tMMIKOUlEAgNVENYJxTjAB+HUVg3VDHB4Bm0L6uKq9TZxvi6liapXXuvWZm7+gsGGsGusHKGU iGvqmg9hKN+Cgkn0JTZqQWGGQ2gbZXHJ4mcNkS0r9MGoeLxoPdSkai2YRgiZy9ZAdYH96rgeNyNAp xnpclA7Pqkrq3s0lPGKB2IriTO53p18gMij8+jt9IJR9Zuco0MAP6Fa8mE4HajvjzeunD2pcjRo09 0twz2CPQMj0tigZRqHEFHyxNxYQ7ym7/eFYC18mSoCFhMrN56Eo2Ce1Ya5oHpDp0oCmRw0xdPhDMn xY9JE4ug==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lDuvt-0006Ql-HR; Sun, 21 Feb 2021 20:02:21 +0000 Received: from lithops.sigma-star.at ([195.201.40.130]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lDuvn-0006Py-Fo for linux-mtd@lists.infradead.org; Sun, 21 Feb 2021 20:02:16 +0000 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 74C7A60A357B; Sun, 21 Feb 2021 21:02:05 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id fjj8azMOkIez; Sun, 21 Feb 2021 21:02:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id E987460A3582; Sun, 21 Feb 2021 21:02:04 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id S8tQaMGGhfW2; Sun, 21 Feb 2021 21:02:04 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id B8A7160A357B; Sun, 21 Feb 2021 21:02:04 +0100 (CET) Date: Sun, 21 Feb 2021 21:02:04 +0100 (CET) From: Richard Weinberger To: torvalds Message-ID: <1860844222.14898.1613937724518.JavaMail.zimbra@nod.at> Subject: [GIT PULL] MTD changes for 5.12 MIME-Version: 1.0 X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Index: 7+C02FdulTyKA9J1LISl0R0IkBqhDg== Thread-Topic: MTD changes for 5.12 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210221_150215_660802_C2744FB7 X-CRM114-Status: GOOD ( 11.46 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , linux-mtd , linux-kernel , Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Linus, The following changes since commit 19c329f6808995b142b3966301f217c831e7cf31: Linux 5.11-rc4 (2021-01-17 16:37:05 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.12 for you to fetch changes up to 6e9dff6fe3fbc452f16566e4a7e293b0decefdba: dt-bindings: mtd: add binding for BCM4908 partitions (2021-02-12 22:24:48 +0100) ---------------------------------------------------------------- MTD core changes: * Initial support for BCM4908 partitions Raw NAND controller drivers: * Intel: Fix an error handling path in 'ebu_dma_start()' * Tango: Remove the driver * Marvell: Convert comma to semicolon * MXC: Convert comma to semicolon * Qcom: Add support for Qcom SMEM parser Related MTD changes: * parsers: Add Qcom SMEM parser SPI NOR core changes: * Add non-uniform erase fixes. * Add Global Block Unlock command. It is defined by few flash vendors, and it is used for now just by sst. SPI NOR controller drivers changes: * intel-spi: Add support for Intel Alder Lake-P SPI serial flash. * hisi-sfc: Put child node np on error path. ---------------------------------------------------------------- Arnd Bergmann (1): mtd: rawnand: tango: Remove the driver Christophe JAILLET (1): mtd: rawnand: intel: Fix an error handling path in 'ebu_dma_start()' Colin Ian King (1): mtd: remove redundant assignment to pointer eb Dan Carpenter (1): mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() Manivannan Sadhasivam (4): dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser mtd: parsers: Add Qcom SMEM parser mtd: rawnand: qcom: Add support for Qcom SMEM parser mtd: parsers: afs: Fix freeing the part name memory in failure Mika Westerberg (1): mtd: spi-nor: intel-spi: Add support for Intel Alder Lake-P SPI serial flash Pan Bian (1): mtd: spi-nor: hisi-sfc: Put child node np on error path Rafał Miłecki (2): dt-bindings: mtd: move partition binding to its own file dt-bindings: mtd: add binding for BCM4908 partitions Richard Weinberger (2): Merge tag 'nand/for-5.12' of git://git.kernel.org/.../mtd/linux into mtd/next Merge tag 'spi-nor/for-5.12' of git://git.kernel.org/.../mtd/linux into mtd/next Takahiro Kuwano (4): mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region mtd: spi-nor: sfdp: Fix last erase region marking mtd: spi-nor: core: Fix erase type discovery for overlaid region mtd: spi-nor: core: Add erase size check for erase command initialization Tudor Ambarus (2): mtd: spi-nor: Add Global Block Unlock command mtd: spi-nor: sst: Add support for Global Unlock on sst26vf Zheng Yongjun (4): mtd: rawnand: mxc: Convert comma to semicolon mtd: convert comma to semicolon mtd: st_spi_fsm: convert comma to semicolon mtd: rawnand: marvell: convert comma to semicolon yangerkun (1): mtd: phram: use div_u64_rem to stop overwrite len in phram_setup .../mtd/partitions/brcm,bcm4908-partitions.yaml | 70 ++ .../bindings/mtd/partitions/fixed-partitions.yaml | 33 +- .../bindings/mtd/partitions/partition.yaml | 47 ++ .../bindings/mtd/partitions/qcom,smem-part.yaml | 33 + drivers/mtd/devices/phram.c | 6 +- drivers/mtd/devices/st_spi_fsm.c | 2 +- drivers/mtd/maps/pci.c | 8 +- drivers/mtd/mtdswap.c | 1 - drivers/mtd/nand/raw/Kconfig | 7 - drivers/mtd/nand/raw/Makefile | 1 - drivers/mtd/nand/raw/intel-nand-controller.c | 6 +- drivers/mtd/nand/raw/marvell_nand.c | 2 +- drivers/mtd/nand/raw/mxc_nand.c | 2 +- drivers/mtd/nand/raw/qcom_nandc.c | 4 +- drivers/mtd/nand/raw/tango_nand.c | 727 --------------------- drivers/mtd/parsers/Kconfig | 8 + drivers/mtd/parsers/Makefile | 1 + drivers/mtd/parsers/afs.c | 4 +- drivers/mtd/parsers/parser_imagetag.c | 4 + drivers/mtd/parsers/qcomsmempart.c | 170 +++++ drivers/mtd/spi-nor/controllers/hisi-sfc.c | 4 +- drivers/mtd/spi-nor/controllers/intel-spi-pci.c | 1 + drivers/mtd/spi-nor/core.c | 49 +- drivers/mtd/spi-nor/core.h | 2 + drivers/mtd/spi-nor/sfdp.c | 5 +- drivers/mtd/spi-nor/sst.c | 52 +- include/linux/mtd/spi-nor.h | 1 + 27 files changed, 457 insertions(+), 793 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml create mode 100644 Documentation/devicetree/bindings/mtd/partitions/partition.yaml create mode 100644 Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml delete mode 100644 drivers/mtd/nand/raw/tango_nand.c create mode 100644 drivers/mtd/parsers/qcomsmempart.c