From patchwork Fri Apr 27 07:56:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Brezillon X-Patchwork-Id: 905512 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s+dCwzoT"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40XR9Y6zPRz9s1P for ; Fri, 27 Apr 2018 17:57:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject: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=OnANtEqN4Uj8BFLP0E+kIfvgjAOwNDD6sVpbCNJNBXs=; b=s+dCwzoTGwa7V4 Eei5okMGtw4BKywIYzqrEQcBmLC5UOeR2FAWCXGS0+Z1wCYepiwHHS88m3BiYE28v/f1/z99CTpOl rNIlh5S+EozLXW82iMHiMdVDgKpWLmFIIFAYW0F5zvv+Ji3z6RwaMBFQcfw13q2r6xRVmdE/6zv45 PNGGmTrNbI5opv9erqf+oT9qFqtb87vUcV2ElDMfe+pXNsXMS9gJntwQIQIRNiAEjmP16deQfu9rZ oSv250i+HZ4F4YsYVYkkBwimExUoWGhGBhZwWUMHTTM1ZGALnjWWUo80MZ2HfLLiU5GMpH8tc3c0V PnJQNmdaKylMJvwH1rRw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fByFk-0000mb-DQ; Fri, 27 Apr 2018 07:57:12 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fByFh-0000gn-Kw for linux-mtd@lists.infradead.org; Fri, 27 Apr 2018 07:57:11 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 5D37F2070D; Fri, 27 Apr 2018 09:56:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (unknown [185.23.220.70]) by mail.bootlin.com (Postfix) with ESMTPSA id D1B2C2036F; Fri, 27 Apr 2018 09:56:46 +0200 (CEST) Date: Fri, 27 Apr 2018 09:56:45 +0200 From: Boris Brezillon To: Linus Torvalds Subject: [GIT PULL] mtd: Fixes for 4.17-rc3 Message-ID: <20180427095645.5e583c24@bbrezillon> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180427_005709_841601_C1EB25AE X-CRM114-Status: GOOD ( 19.70 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [62.4.15.54 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Richard Weinberger , "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , Miquel Raynal , Brian Norris , David Woodhouse Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hello Linus, Here is the MTD fixes PR for 4.17-rc3. Regards, Boris The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/mtd/fixes-for-4.17-rc3 for you to fetch changes up to f6997bec6af43396ff530caee79e178d32774a49: mtd: rawnand: marvell: fix the chip-select DT parsing logic (2018-04-26 19:06:42 +0200) ---------------------------------------------------------------- * Fix nanddev_mtd_erase() function to match the changes done in e7bfb3fdbde3 ("mtd: Stop updating erase_info->state and calling mtd_erase_callback()") * Fix a memory leak in the Tango NAND controller driver * Fix read/write to a suspended erase block in the CFI driver * Fix the DT parsing logic in the Marvell NAND controller driver ---------------------------------------------------------------- Boris Brezillon (1): mtd: nand: Fix nanddev_mtd_erase() Joakim Tjernlund (3): mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block. mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug. mtd: cfi: cmdset_0002: Do not allow read/write to suspend erase block. Marc Gonzalez (1): mtd: rawnand: tango: Fix struct clk memory leak Miquel Raynal (1): mtd: rawnand: marvell: fix the chip-select DT parsing logic Thor Thayer (1): mtd: spi-nor: cadence-quadspi: Fix page fault kernel panic drivers/mtd/chips/cfi_cmdset_0001.c | 33 ++++++++++++++++++++++++++++----- drivers/mtd/chips/cfi_cmdset_0002.c | 9 ++++++--- drivers/mtd/nand/core.c | 3 --- drivers/mtd/nand/raw/marvell_nand.c | 25 ++++++++----------------- drivers/mtd/nand/raw/tango_nand.c | 2 +- drivers/mtd/spi-nor/cadence-quadspi.c | 19 +++++++++++++++++-- include/linux/mtd/flashchip.h | 1 + 7 files changed, 61 insertions(+), 31 deletions(-)