Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2823511ybd; Thu, 27 Jun 2019 20:53:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKWXHlx1JgeVFjStqcuHVBWYNz5E3MLqfFQDeKxdzs9muy2tTlfY+a/DRhNkCt8bJResca X-Received: by 2002:a17:902:a9ca:: with SMTP id b10mr4771412plr.69.1561693981866; Thu, 27 Jun 2019 20:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561693981; cv=none; d=google.com; s=arc-20160816; b=bNRr4MLvrd39J6FyRhNjsNMYlUneXvALiEY9KmOs74AHE/2Gk17Yc4qK4GKH71eeZs 7BZC5WCZXYuPv+vAi+OuJVQkUbLmctZxlHMMHNcv1mY1XS98YAt2xcAV81KCCblhnrbz 9hpNusyGbfNRb4lUAoVR5B5E70a5y6Qa9hcjscEocDwb3MOmuKhBLqMJwkagzZ2St17F Mrby1ZC8TipM6B4a/VVawC2INmHK4+MCfni8n2VR4wB1tHz1U6c1PXbuSYaKehnV3t48 crqkXNzE8WE6RHjQD0qsTdw6KPBcl99TXosURZQKCCDcsFvmYGymFogHJHTT2rIWtsfM /XDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UNIAEE7CWl1RF2G9/nvj6Q+GbetSg1k9M3ap+5fZ/AA=; b=UWKMBQFSgd6unG2+GuBWJAfpYEYoBWU5mgCimJqxaUJ+ocOttVVY7QbdR/8rPwVAoq HlM7DO9Yi1d6t5/mlZa2BKRhDMyZ2gjwMHPmzLYvP9Bi1Z+/PAn8WOTUtYmvAuRUSpbi 7UsY9yoQNzzqjPMvLOGwBf3uRCF+iIuJjmu8u4I/xyj2yipwV3h+gTRsBb47+eaXHq49 xCFmCP5WVe5mLXS5pjvOw2Sds47qZNi0eKZYefgtouk2WkgRFEKGHyW+e/c0JDH1aeJg uR8+bh1EhzZ9UmEMZ20Wo1fB02NBjKCgsxlhFlMzwK12OftS+p+ZSCZX5cZOW49Qzvma oQ2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si904880plf.305.2019.06.27.20.52.45; Thu, 27 Jun 2019 20:53:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727184AbfF1DvJ (ORCPT + 99 others); Thu, 27 Jun 2019 23:51:09 -0400 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:57719 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726748AbfF1DvJ (ORCPT ); Thu, 27 Jun 2019 23:51:09 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07491465|-1;CH=green;DM=CONTINUE|CONTINUE|true|0.348959-0.0103707-0.64067;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03299;MF=liaoweixiong@allwinnertech.com;NM=1;PH=DS;RN=13;RT=13;SR=0;TI=SMTPD_---.Er3LMMF_1561693861; Received: from 172.16.10.102(mailfrom:liaoweixiong@allwinnertech.com fp:SMTPD_---.Er3LMMF_1561693861) by smtp.aliyun-inc.com(10.147.42.16); Fri, 28 Jun 2019 11:51:02 +0800 Subject: Re: [RESEND PATCH v2] mtd: spinand: read return badly if the last page has bitflips To: Miquel Raynal , Schrempf Frieder Cc: Greg KH , Vignesh Raghavendra , Boris Brezillon , Richard Weinberger , "linux-kernel@vger.kernel.org" , Chuanhong Guo , Marek Vasut , "linux-mtd@lists.infradead.org" , "stable@vger.kernel.org" , Brian Norris , David Woodhouse References: <1561424549-784-1-git-send-email-liaoweixiong@allwinnertech.com> <20190625030807.GA11074@kroah.com> <97adf58f-4771-90f1-bdaf-5a9d00eef768@kontron.de> <20190627190644.25aaaf31@xps13> <20190627201742.34059cdf@xps13> From: liaoweixiong Message-ID: <26a4597e-3881-73a2-07e3-6171ddd15d51@allwinnertech.com> Date: Fri, 28 Jun 2019 11:51:05 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190627201742.34059cdf@xps13> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, On 2019/6/28 AM2:17, Miquel Raynal wrote: > Hi Miquel, > > Miquel Raynal wrote on Thu, 27 Jun 2019 > 19:06:44 +0200: > >> Hello, >> >> Schrempf Frieder wrote on Tue, 25 Jun >> 2019 07:04:06 +0000: >> >>> Hi liaoweixiong, >>> >>> On 25.06.19 05:08, Greg KH wrote: >>>> On Tue, Jun 25, 2019 at 09:02:29AM +0800, liaoweixiong wrote: >>>>> In case of the last page containing bitflips (ret > 0), >>>>> spinand_mtd_read() will return that number of bitflips for the last >>>>> page. But to me it looks like it should instead return max_bitflips like >>>>> it does when the last page read returns with 0. >>>>> >>>>> Signed-off-by: liaoweixiong >> >> Please write your entire official first/last name(s) >> OK. >>>>> Reviewed-by: Boris Brezillon >>>>> Reviewed-by: Frieder Schrempf >> >> I am waiting your next version with Acked-by instead of Rewieved-by >> tags and Greg's comment addressed. > > Sorry for the mistake, R-b tags are fine here, don't touch that. > The rest needs to be fixed though. > OK. >>>>> Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs") >> >> Finally, when we ask you to resend a patch, it means sending a new >> version of the patch. So in the subject, you should not use the >> [RESEND] keyword (which means you are sending something again exactly >> as it was before, you just got ignored, for example) but instead you >> should increment the version number (v3) and also write a nice >> changelog after the three dashes '---' (will be ignored by Git when >> applying). >> >> I would like to queue this for the next release so if you can do it >> ASAP, that would be great. >> I will do it right now. >> Thank you, >> Miquèl > > > > > Thanks, > Miquèl > -- liaoweixiong