From patchwork Tue Feb 25 19:28:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 324085 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 616582C0084 for ; Wed, 26 Feb 2014 06:29:30 +1100 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WINgI-0004Lf-QJ; Tue, 25 Feb 2014 19:28:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WINgF-00050X-C7; Tue, 25 Feb 2014 19:28:39 +0000 Received: from mail-ie0-x233.google.com ([2607:f8b0:4001:c03::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WINg9-0004yt-Jh for linux-mtd@lists.infradead.org; Tue, 25 Feb 2014 19:28:35 +0000 Received: by mail-ie0-f179.google.com with SMTP id to1so788622ieb.38 for ; Tue, 25 Feb 2014 11:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=Sri09u4/ploWXLk//CTDucsSVEri8WiucxlWwZy8Yf4=; b=w9m3cqwfOX8lzlPa3UH/ST+6LUNQDhe93DGTS5u0sosb9N62CvDWhsnQksvxdnxEia KgRgC1DmjZwt57hl+R8FaW+b+IdDUQApv0PAWDlIIi9Rqjvo5045h5q+5BPmYrjgXQnV My0sMjPmMsc0JVPbBDkyGEXV1VBkPl+oy6WuzYe1znJD3DRkzRF7bvZb9aIm5ttxjqWU 7pw2AFNeGg4j+4H+ve0kyYPRWVqlLOX2BhIrIP/pIDLCaFCcB3BpQ9gZLs3j1IcO3I2d hd4vjVH+A3Ur0LFmlTeYx2dGR2ybxGIJmRe16Zlr/3x8iVqAvR/ZC0Bjyyow8ztYysMs 91tQ== X-Received: by 10.50.93.106 with SMTP id ct10mr5304477igb.21.1393356491609; Tue, 25 Feb 2014 11:28:11 -0800 (PST) Received: from ld-irv-0074 (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id r4sm40394910igh.1.2014.02.25.11.28.09 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Feb 2014 11:28:10 -0800 (PST) Date: Tue, 25 Feb 2014 11:28:02 -0800 From: Brian Norris To: Linus Torvalds Subject: [GIT PULL] MTD fixes for 3.14-rc Message-ID: <20140225192802.GA4194@ld-irv-0074> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140225_142833_736441_6B702F36 X-CRM114-Status: GOOD ( 14.73 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (computersforpeace[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Artem Bityutskiy , Linux Kernel , linux-mtd@lists.infradead.org, Pekon Gupta , Brian Norris , David Woodhouse X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Linus, The following changes since commit b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed: Linux 3.14-rc2 (2014-02-09 18:15:47 -0800) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/for-linus-20140225 for you to fetch changes up to bb38eefb6858ce16b34716145b9597a5680aa54c: mtd: nand: omap: fix ecclayout->oobfree->length (2014-02-23 14:49:57 -0800) ---------------------------------------------------------------- Two main MTD fixes: 1. Read retry counting was off by one, so if we had a true ECC error (i.e., no retry voltage threshold would give a clean read), we would end up returning -EINVAL on the Nth mode instead of -EBADMSG after then (N-1)th mode 2. The OMAP NAND driver had some of its ECC layouts wrong when introduced in 3.13, causing incompatibilities between the bootloader on-flash layout and the layout expected in Linux. The expected layouts are now documented in the commit messages, and we plan to add this under Documentation/mtd/nand/ eventually. ---------------------------------------------------------------- Brian Norris (1): mtd: nand: fix off-by-one read retry mode counting Pekon Gupta (3): mtd: nand: omap: fix ecclayout to be in sync with u-boot NAND driver mtd: nand: omap: fix ecclayout->oobfree->offset mtd: nand: omap: fix ecclayout->oobfree->length drivers/mtd/nand/nand_base.c | 2 +- drivers/mtd/nand/omap2.c | 61 +++++++++++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 22 deletions(-)