{"id":807024,"url":"http://patchwork.ozlabs.org/api/1.0/covers/807024/?format=json","project":{"id":3,"url":"http://patchwork.ozlabs.org/api/1.0/projects/3/?format=json","name":"Linux MTD development","link_name":"linux-mtd","list_id":"linux-mtd.lists.infradead.org","list_email":"linux-mtd@lists.infradead.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<1504001833-18097-1-git-send-email-LW@KARO-electronics.de>","date":"2017-08-29T10:17:11","name":"[0/2] mtd: nand: fix regression introduced by splitting off manufacturer dependent code","submitter":{"id":2554,"url":"http://patchwork.ozlabs.org/api/1.0/people/2554/?format=json","name":"Lothar Waßmann","email":"LW@KARO-electronics.de"},"series":[{"id":341,"url":"http://patchwork.ozlabs.org/api/1.0/series/341/?format=json","date":"2017-08-29T10:17:11","name":"mtd: nand: fix regression introduced by splitting off manufacturer dependent code","version":1,"mbox":"http://patchwork.ozlabs.org/series/341/mbox/"}],"headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"s5c9JjDJ\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhPjw1Vhcz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 20:18:44 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmdbN-0002SV-87; Tue, 29 Aug 2017 10:18:33 +0000","from smtprelay01.ispgateway.de ([80.67.18.13])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmdas-000257-Hy\n\tfor linux-mtd@lists.infradead.org; Tue, 29 Aug 2017 10:18:07 +0000","from [89.1.81.74] (helo=ipc1.ka-ro)\n\tby smtprelay01.ispgateway.de with esmtpsa\n\t(TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89)\n\t(envelope-from <LW@KARO-electronics.de>)\n\tid 1dmdaR-0005nn-Ef; Tue, 29 Aug 2017 12:17:35 +0200","from lothar by ipc1.ka-ro with local (Exim 4.84_2 #2 (Debian))\n\tid 1dmdaR-0004id-20; Tue, 29 Aug 2017 12:17:35 +0200"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To\n\t:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=wgxQ05cA7BSdTpdLnCUwe63540tV9UYyjrxMAWDVOE4=;\n\tb=s5c9JjDJJC4v+9\n\ts9VJPs0bzkoC4Ctbyc1+0h8LHEyaA818Nkv/cWywD1UapAg04vDcH8Xad08ywIz5n1iV9em1qQv+m\n\trTqRYcOpZRZzCj55KYqX2yIGZNn8ae9MCk72mig/YYdzxJhR02nH5BYsFnx8CHuK0O3epwTYgYR/Y\n\tltYALZ/6KYtO48fS0kNYSX4FvxScaomycrxpdx9rlU1eb9D5ZNBg7UbOGPf3NdJjBoWuOvFY+eABh\n\tJnF1CAZQ3OIKrJUWRKDi3DZG/P+LE6nDHMxGkPmv8ktYJ2CmYS/gvWDgVNvi4BQ6k80sV3N+9u6Xm\n\t9vbONDjlEowbL4ScYJmg==;","From":"=?utf-8?q?Lothar_Wa=C3=9Fmann?= <LW@KARO-electronics.de>","To":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tMarek Vasut <marek.vasut@gmail.com>, \n\tRichard Weinberger <richard@nod.at>, linux-kernel@vger.kernel.org,\n\tlinux-mtd@lists.infradead.org","Subject":"[PATCH 0/2] mtd: nand: fix regression introduced by splitting off\n\tmanufacturer dependent code","Date":"Tue, 29 Aug 2017 12:17:11 +0200","Message-Id":"<1504001833-18097-1-git-send-email-LW@KARO-electronics.de>","X-Mailer":"git-send-email 2.1.4","MIME-Version":"1.0","X-Df-Sender":"bHdAa2Fyby1lbGVjdHJvbmljcy5kZQ==","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170829_031803_504595_0F1DA623 ","X-CRM114-Status":"UNSURE (   5.41  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-2.6 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.6 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [80.67.18.13 listed in list.dnswl.org]\n\t-0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)\n\t[80.67.18.13 listed in wl.mailspike.net]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"commit c51d0ac59f24 (\"mtd: nand: Move Samsung specific init/detection\nlogic in nand_samsung.c\") introduced a regression for Samsung SLC NAND\nchips by skipping the initialization of chip->bits_per_cell that is\ndone in nand_decode_ext_id() from which the manufacturer dependent\ncode was extracted.\nThe regression should also affect Hynix and Macronix chips whose code\nwas separated out in further commits but which I cannot test.\nAMD/Spansion and Toshiba NAND are not affected, since they are calling \nnand_decode_ext_id() (which initializes bhip->bits_per_cell) in their\n.detect function.\n\nFix the regression and add a warning to nand_is_slc() to prevent\nfurther regressions of this kind."}