Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp225376ybe; Mon, 2 Sep 2019 00:04:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0IXpl/if6mwvYhI6ETd2ma0MVDUb4sIrv1mQfvBBbA2zADAnP0qgowgHANgItiVIUcEhh X-Received: by 2002:a63:1f1b:: with SMTP id f27mr23646129pgf.233.1567407862897; Mon, 02 Sep 2019 00:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567407862; cv=none; d=google.com; s=arc-20160816; b=06efsF+9Ycw/b9a2AQD+c74dBJdLjr46Q3qUznHwQOjjouwlmhD/RytzPPyoH6jN1w 1xXZ0/DvmSI374zVRyFhx7lvFRlOslsQM346RYMrhO6V0foY4Vz0h+yLelTN47on+3Pg NPeoSzJ82BVL9FBEjOiP1Vx8a03vVI2DKfbOlpYf54dJa5BkeABjmDn4g9n4mtJTyATT 4xZDLDuWblwwlsFid/yU/CjJcf/FZqPv8jOZh0n9yLFy3i3X+rfBO6jO6GW9qW7bvWsB OqnImUAbHc8aYIQ4Tr76SLgVTJkVAiL/a/RNVH8XtwiCQGIj08bLROiLyBrEmSgYwc2Q L5Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:message-id:mime-version:subject :cc:to:references:in-reply-to; bh=zQvYvgAmJ4yswlToDlOrNshjoQ4RdaH+mHoxY3Jwgfo=; b=tgcVYfivtO2AfNc4w7LWx9MjNjIBFWGnxeya1G35+r/S+ja9L4vc/hvF+jw1W8RaMm 05gvA1vtMMUxsLscx9WXUdyzlzO56yZecIEmM4zh22KuxUWxEdNz7ae3HqUGkN5a+FXD 0Gusa1hVY79OuGfQh4VK+74vxVtL1MyVVLkGlUdiRUkccdtH/o7RHi5NTmlIoHhksZgq R4NLk0SIEmJoHLGMyKd4YKIhPMRe3wm9q784ub+POIfIAcORrLiBJo4f/Oy2rlrJ84b4 JC+yB37FoHU6fkGEvaDpp2zJvfXkT+7kGvhs1ybbzyDSuhKcblSpQpUTO116bg5Zcsz8 r6pw== 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 j4si10837023pgq.375.2019.09.02.00.04.07; Mon, 02 Sep 2019 00:04:22 -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 S1729458AbfIBGxO (ORCPT + 99 others); Mon, 2 Sep 2019 02:53:14 -0400 Received: from twhmllg3.macronix.com ([122.147.135.201]:61357 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbfIBGxO (ORCPT ); Mon, 2 Sep 2019 02:53:14 -0400 Received: from twhfmlp1.macronix.com (twhfm1p1.macronix.com [172.17.20.91]) by TWHMLLG3.macronix.com with ESMTP id x826r6WT086056; Mon, 2 Sep 2019 14:53:06 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from MXML06C.mxic.com.tw (mxml06c.mxic.com.tw [172.17.14.55]) by Forcepoint Email with ESMTP id 47C3EA819EB3BFC4B9A5; Mon, 2 Sep 2019 14:53:07 +0800 (CST) In-Reply-To: <20190830115100.3fec9bf1@xps13> References: <1566280428-4159-1-git-send-email-masonccyang@mxic.com.tw> <20190824130329.68f310aa@xps13> <20190830115100.3fec9bf1@xps13> To: "Miquel Raynal" Cc: bbrezillon@kernel.org, computersforpeace@gmail.com, dwmw2@infradead.org, frieder.schrempf@kontron.de, juliensu@mxic.com.tw, kstewart@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, richard@nod.at, tglx@linutronix.de, vigneshr@ti.com Subject: Re: [PATCH] Add support for Macronix NAND randomizer MIME-Version: 1.0 X-KeepSent: 08E1C5EC:4DAEB179-48258469:0025AFFA; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 SHF90 June 10, 2013 Message-ID: From: masonccyang@mxic.com.tw Date: Mon, 2 Sep 2019 14:53:08 +0800 X-MIMETrack: Serialize by Router on MXML06C/TAIWAN/MXIC(Release 9.0.1FP10 HF265|July 25, 2018) at 2019/09/02 PM 02:53:07, Serialize complete at 2019/09/02 PM 02:53:07 Content-Type: text/plain; charset="US-ASCII" X-MAIL: TWHMLLG3.macronix.com x826r6WT086056 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, > > > > > > > > If subpage write not available with hardware ECC, for example, > > > > NAND chip options NAND_NO_SUBPAGE_WRITE be set in driver and > > > > randomizer function is recommended for high-reliability. > > > > Driver checks byte 167 of Vendor Blocks in ONFI parameter page table > > > > to see if this high-reliability function is supported. > > > > > > > > > > You did not flagged this patch as a v2 and forgot about the changelog. > > > You did not listen to our comments in the last version neither. I was > > > open to a solution with a specific DT property for warned users but I > > > don't see it coming. > > > > > > > Based on your comments by specific DT property for randomizer support. > > to add a new property in children nodes: > > > > i.e,. > > > > nand: nand-controller@43c30000 { > > > > nand@0 { > > reg = <0>; > > nand-reliability = "randomizer"; > > mxic,enable-randomizer-otp; > > Would be better (with the proper documentation in the bindings). > okay, thanks for your opinions. best regards, Mason CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. ===================================================================== ============================================================================ CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. =====================================================================