From patchwork Tue Jun 13 13:45:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 105343 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp414650qgd; Tue, 13 Jun 2017 06:49:00 -0700 (PDT) X-Received: by 10.101.88.197 with SMTP id e5mr22946472pgu.144.1497361740727; Tue, 13 Jun 2017 06:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497361740; cv=none; d=google.com; s=arc-20160816; b=RsP4Sd27Uatah7QXbVN+KRELnYZcR2IKMreSrh5KhVkbsx5zDRrR8VBNUeb0sYmfY1 I/8OUV4TQOpqrZSzthru9wYz7Y1ikBZqYs9gMgtqy25MIzzBHpk/5Yeg7NWNd0JLRb0S 0ZzJd1ePcbz43kQbWDEP0VdKoJFFI1HiBBbrkeUTV9keniwLwbxGdDhdDKC3HRml3wWV BA6JLDa3k4R8j4avDbSU+EZiCahvgt/YcuCU5fiNmOUSOOKVkUaWnjMvw5V5QNOrFNj6 pXjLqFXCWo591ix9khjkhMLskqeE3TLLtjZr6fDOeV8st+txIjSepuVFZXCZ+x8Kh3Yh TWSw== 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=qX7xaDre9nRQFQsja6BjEQiLRv5fcpT27Yyo7XvTBQ8=; b=ePVpjliRKEtqiPxdV/zzgPXmBaBz6yH08AuT+UlE8faSxKG3DoG72hBT+nmMcLWmVS 60afc8cmr6pZ9sjLzDV946UTXRsdX9XS6/q8Syq804u9xPvp3U48nZOqI74sYHaLEASB LDQiURobkz2+6MZDPHwaucRgChcl5tacSrTpyrNC1mKtKUoBETa4IjgGoUYo8B0r57pv ckCAT91qZc2voRpT7RKgLChdKPFUbEEq5NGofN+pGIvL40XKI2bJcA768xmYVvjjM+Ra yGFjhN/jjat1AGjzeB21X4LJIIKcZ2t/bCwxARAX8n7vVYcxAolFSzvyFi3isPNXzRTf wxfw== 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 v6si9107014plg.81.2017.06.13.06.49.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jun 2017 06:49:00 -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=qX7xaDre9nRQFQsja6BjEQiLRv5fcpT27Yyo7XvTBQ8=; b=Xai shBu406QnUbSTgcgdUut1aivrpQcyOMq8N75tZqQEa3dHbSGR65ODw5pvrgchfatMbgzaZmzZzvfv KihliW0THKcMYwIc0MsQcyqqugvYiAEVqd3f6FARf4U2HLaY7LG/YjvvkbuLLGfYARodekCmiTteS syfvYMAWu7/xlNQXpKeIFMqqs5+r09/JZJtJL+dLsJYl4tDDm7j2wW3dTZPCzljkEF9GjREWOSyfG R/jh+AuOyp226cPZMVH7O122dJiDRyUb/e1zjqW0PVOu+Y2m5/ihcX1yd81eik1sU3EWI1++ATW/S E2kuRnnocrffJ5ulHsR7XrZ24mxaBfg==; 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 1dKmBo-0008PC-2W; Tue, 13 Jun 2017 13:49:00 +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 1dKm9k-0006QN-Nu for linux-mtd@lists.infradead.org; Tue, 13 Jun 2017 13:46:55 +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 v5DDjxij031338; Tue, 13 Jun 2017 22:46:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5DDjxij031338 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497361561; bh=pWHfaNoPAKzoPVU8k8BdnSIcWchEA0AU4UhUW1wGKmI=; h=From:To:Cc:Subject:Date:From; b=Ha7E4lJGuMEoeegxtiq3PKQ+6VgjeQ5fTX/bXwNOH9rQDB4cuuHtmpoPNCi79NZJ7 tCZ+rZ3TtCKE8IXnRc13tb5JDQsDtE4C9FJFQVAzde1c0kHLLnR7hxHW/AFDxzIaCw tsjdihn13joHTekbRNKy5jKiknAZ0zIl3//qPEJztBXl87ecLzBTH0qZNqHQIPjBsU bXu7LlN7B3tNDNef+HokksUgmKK5rUIRViq3hYduIEj5XVQcPZFAu+zSBCCm0SDLLu eyvI178zbCq6XnSen+khrHym9SU9z4HGktkY5f8czUXNfbffKV7liOunr6g7eg3PU8 Cl94kT6Vqkq2Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [PATCH v7 00/16] mtd: nand: denali: Denali NAND IP improvements Date: Tue, 13 Jun 2017 22:45:34 +0900 Message-Id: <1497361550-8115-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-20170613_064653_135309_29D27033 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 (16): 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: 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 | 1724 ++++++++++++++++++----------------------- drivers/mtd/nand/denali.h | 63 +- drivers/mtd/nand/denali_dt.c | 15 +- drivers/mtd/nand/denali_pci.c | 22 +- 4 files changed, 806 insertions(+), 1018 deletions(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/