From patchwork Tue Jun 13 05:03:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103688 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp235827qgd; Mon, 12 Jun 2017 22:06:36 -0700 (PDT) X-Received: by 10.98.19.145 with SMTP id 17mr49411216pft.208.1497330396651; Mon, 12 Jun 2017 22:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497330396; cv=none; d=google.com; s=arc-20160816; b=yUIEYDD7r5KYctsfJm++W2P63n7RBEiXNHqeQFCMjaVkBHny6EestaLBRak6t2TPwy IkQvg1EgDN9Zmg0eBZkuKpUdmy3PYXephecuyEnh0TQgfEZ0IYhPk/aUK3QBIJDHJEa2 Xo8FRYpLjdCAKRW9tQ9IqD3ymjCbjY9JPTG/65m2gtoNNc6R3OFUWmV08QJlrz8Rf8ye R57E/O5HJvp2BtBH48fDM0Q1OcwZy4KWWDTY4IBmLVXIEz1mtk5uG1R1xKL+UfVb6AWe YScL8xXsxJ5DvmuOOPrnDXg+8f6zYULmBvLKIDAm7UcUaS/sqmM6JG2wjO7/jXjjGLTF Vdow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-filter:dkim-signature:arc-authentication-results; bh=R7jnlbo0svxhEfVo8vfAOj3Zi4U8D/gYt1wOKFcXim4=; b=sUEczQEXw1KT+HYfpKmIWyfDBPDyAxtRpGtSO/6m5Bw8EmhHs4Ty+CP7r/EErM+MNO aaPo27V3Q57bSFQ1rkZZVw1yKCDZRHgXQozTAVF9NW5/r46CKzxw7N1Lo5Mp9tRCom6t zZuvZLbE70MDZgjIMVZuERI3RkNOOLEJTXxEnl47hXGuhuNpNjXAPL6al7ggeundI/N3 1LeCnmAog5WyzBIjfKAVokh/5HtalSCEOZJ0WXGjrCmSsWK6jFo3VI4lv5DvkhPKEFea +BAsYKp5wke25eblUGT5r8pcqouFAWIaERLRKzG9uJlJ/e6iHWC6S+eUcIaQrIrQnfK2 gXAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id t1si8610721plj.443.2017.06.12.22.06.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 22:06:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From: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=R7jnlbo0svxhEfVo8vfAOj3Zi4U8D/gYt1wOKFcXim4=; b=sfa P3OVH116HVpAqn8Pg8QqXZunZ5XCtaHCHlk3aD+GndfIJXFxNUxoebz/qu5gr6ccCiIovXqpI3FZZ P8HcfG4TQI5JSR81tULzQnnrtEMjk7b3IF5XQIXCh6ZaUDfOxRTe8CRFHoLUIiUFXKJdCHRGpic/o YfcNQIbM9NU4etmQBS+/SmqWClSPgQOp13SzffZ2FKDXvxbI3aviE6bKsIb2EQyyeV8E5uKPp0TSg +4NcU18d517tyIl7rLfZEDBH6Q7LUZ1Ykfc4r9UkovJUggzxBQ26zbhybz4aZQ/3uMEDA2hX2Gehh ZthYeqvA6QNNNITzgyL3BHlB1tq7klQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dKe27-0007y6-Mi; Tue, 13 Jun 2017 05:06:27 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dKe0t-0005xG-R8 for linux-mtd@lists.infradead.org; Tue, 13 Jun 2017 05:05:16 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5D54ENe023096; Tue, 13 Jun 2017 14:04:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5D54ENe023096 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497330255; bh=95eBMC0kK8w2dHU6TBh71ZYFjlI5u5F+LlsAVRGAr+I=; h=From:To:Cc:Subject:Date:From; b=Mo5b/L4Jj7L6KpXqks2THKJTNGAtZB4kaEYyZYwcjTRQDTxQPBal+WF8j9isttgtJ jTw/A/T6m+yG0lsGpQ4SXl0mJ4QrIXtd1YZclIYOm4mmPkZpzGH7+WylR84b0ocBDg zL9Pwlp7QakgX3L/qCht6efLPMwrBNCoGkaIasP0ekx+c0nPqoRxQAHQYGINHGw0ud ENX78XuufqLPpoLnqcHO3avkqBqaSeiTwHc0sOJ0F6G6slNn1R0+uyxhzse6Xi3KEe b7V7NHoSANkPyXON7MrCpV9R7Ba+7DWon+5qyqLhavnnVzsckaD1Yz24aD+69kcaOc SYCOXPf2jR9gw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [PATCH v6 00/18] mtd: nand: denali: Denali NAND IP patch bomb Date: Tue, 13 Jun 2017 14:03:52 +0900 Message-Id: <1497330250-17348-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170612_220512_298351_7767E021 X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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: Boris Brezillon , Cyrille Pitchen , Richard Weinberger , Marek Vasut , Masahiro Yamada , Artem Bityutskiy , Dinh Nguyen , linux-kernel@vger.kernel.org, Enrico Jorns , Masami Hiramatsu , Chuanxiao Dong , Jassi Brar , Brian Norris , David Woodhouse MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This patch series intends to solve various problems. [1] The driver just retrieves the OOB area as-is whereas the controller uses syndrome page layout. [2] ONFi devices are not working [3] It can not read Bad Block Marker Outstanding changes are: - Fix raw/oob callbacks for syndrome page layout - Implement setup_data_interface() callback - Fix/implement more commands for ONFi devices - Allow to skip the driver internal bounce buffer - Support PIO in case DMA is not supported - Switch from ->cmdfunc over to ->cmd_ctrl 18 patches were merged by v2. 11 patches were merged by v3. 2 patches were merged by v4. 5 patches were merged by v5. Here is the rest of the series. v1: https://lkml.org/lkml/2016/11/26/144 v2: https://lkml.org/lkml/2017/3/22/804 v3: https://lkml.org/lkml/2017/3/30/90 v4: https://lkml.org/lkml/2017/6/5/1005 Masahiro Yamada (18): mtd: nand: denali: set NAND_ECC_CUSTOM_PAGE_ACCESS mtd: nand: denali: remove unneeded find_valid_banks() mtd: nand: denali: handle timing parameters by setup_data_interface() mtd: nand: denali: rework interrupt handling mtd: nand: denali: fix NAND_CMD_STATUS handling mtd: nand: denali: fix NAND_CMD_PARAM handling mtd: nand: denali: switch over to cmd_ctrl instead of cmdfunc mtd: nand: denali: fix bank reset function to detect the number of chips mtd: nand: denali: use interrupt instead of polling for bank reset mtd: nand: denali: propagate page to helpers via function argument mtd: nand: denali: merge struct nand_buf into struct denali_nand_info mtd: nand: denali: use flag instead of register macro for direction mtd: nand: denali: fix raw and oob accessors for syndrome page layout mtd: nand: denali: support hardware-assisted erased page detection mtd: nand: denali: skip driver internal bounce buffer when possible mtd: nand: denali: use non-managed kmalloc() for DMA buffer mtd: nand: denali: enable bad block table scan mtd: nand: denali: avoid magic numbers and rename for clarification drivers/mtd/nand/denali.c | 1715 ++++++++++++++++++----------------------- drivers/mtd/nand/denali.h | 63 +- drivers/mtd/nand/denali_dt.c | 15 +- drivers/mtd/nand/denali_pci.c | 22 +- 4 files changed, 800 insertions(+), 1015 deletions(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/