From patchwork Thu Jun 28 07:46:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Brezillon X-Patchwork-Id: 935986 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="JD8mi9Cm"; 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 41GX1Q5sKlz9ryt for ; Thu, 28 Jun 2018 17:47:22 +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=gPjJTLw5NgPk/6k5d1myiVzbKbOcx0rE4eCDyaQie5w=; b=JD8mi9CmsHa9Sn FKUIZ/ejr+qviLSi8nQ0fb8mKUoyAKXNIhAn63JBeTIBX2MzjdUDSbytWRzhhftsL2WWEvzpFArrk O6W4G4uZXXIlk/Q2oLFEkLWaPsUJjzbwXwA8Z/LIbrIrOqAp7DaX6rO1Ayp3uk234b4ZSFblRKDiy r5asOgKFhGACKrCRZD2+5pc+ePd+IkEEV0D+KOuO+bhIuG2fYpdB64bgZBKGJvplK4tItgK4KRXOC mZMZwN0uIm9JcO7T5fYrfhnh6EkAzPponPaZkOolP4vVViE35U0NQ/KoxEfxmoixkm0AL7BmNZLPo G6S6jgvoiz+bzbszIPSg==; 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 1fYRe6-0007BZ-PK; Thu, 28 Jun 2018 07:47:14 +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 1fYRe2-00079p-OH for linux-mtd@lists.infradead.org; Thu, 28 Jun 2018 07:47:12 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 0064A208B3; Thu, 28 Jun 2018 09:46:58 +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 shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (AAubervilliers-681-1-87-188.w90-88.abo.wanadoo.fr [90.88.29.188]) by mail.bootlin.com (Postfix) with ESMTPSA id AECA820714; Thu, 28 Jun 2018 09:46:48 +0200 (CEST) Date: Thu, 28 Jun 2018 09:46:49 +0200 From: Boris Brezillon To: Linus Torvalds Subject: [GIT PULL] mtd: Fixes for 4.18-rc3 Message-ID: <20180628094649.2cf04f1f@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-20180628_004710_959844_49D8EAE7 X-CRM114-Status: GOOD ( 15.06 ) 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-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.18-rc3. Regards, Boris The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/mtd/fixes-for-4.18-rc3 for you to fetch changes up to 3f6e6986045d47f87bd982910821b7ab9758487e: mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally (2018-06-22 18:47:56 +0200) ---------------------------------------------------------------- NAND fixes: - Add a quirk for a bunch of broken Macronix chips - Fix nand_block_bad() when chip->ecc.read_oob() returns a positive value encoding the number of bitflips - Fix OOB handling in the MXC driver fo V2.1 controllers - Flag the ONFI_FEATURE_ON_DIE_ECC as supported in the Micron driver - Hardcode clk rate in the denali_dt driver to address a bad DT representation (the proper fix will be queued for 4.19) SPI NOR fixes: - Add an ULL constant to some ID definitions so that the ID is not truncated on 32-bit platforms MTD fixes: - Fix the sector unlocking logic in the CFI driver ---------------------------------------------------------------- Abhishek Sahu (1): mtd: rawnand: fix return value check for bad block status Chris Packham (1): mtd: rawnand: micron: add ONFI_FEATURE_ON_DIE_ECC to supported features Geert Uytterhoeven (1): mtd: dataflash: Use ULL suffix for 64-bit constants Joakim Tjernlund (4): mtd: cfi_cmdset_0002: Use right chip in do_ppb_xxlock() mtd: cfi_cmdset_0002: fix SEGV unlocking multiple chips mtd: cfi_cmdset_0002: Fix unlocking requests crossing a chip boudary mtd: cfi_cmdset_0002: Avoid walking all chips when unlocking. Martin Kaiser (1): mtd: rawnand: mxc: set spare area size register explicitly Masahiro Yamada (1): mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally Mason Yang (1): mtd: rawnand: All AC chips have a broken GET_FEATURES(TIMINGS). drivers/mtd/chips/cfi_cmdset_0002.c | 19 +++++++++++-------- drivers/mtd/devices/mtd_dataflash.c | 4 ++-- drivers/mtd/nand/raw/denali_dt.c | 6 +++++- drivers/mtd/nand/raw/mxc_nand.c | 5 ++++- drivers/mtd/nand/raw/nand_base.c | 2 +- drivers/mtd/nand/raw/nand_macronix.c | 48 ++++++++++++++++++++++++++++++++++++------------ drivers/mtd/nand/raw/nand_micron.c | 2 ++ 7 files changed, 61 insertions(+), 25 deletions(-)