Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4425622pxk; Wed, 30 Sep 2020 02:36:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy55Qp9b3MSDcwokJ4mEgOqYMvhMYk7qknEblDSW77hX4D8zaFC6u5PWecDF8uDfWjKZsEQ X-Received: by 2002:a17:906:c411:: with SMTP id u17mr1827238ejz.319.1601458598932; Wed, 30 Sep 2020 02:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601458598; cv=none; d=google.com; s=arc-20160816; b=aTJ+gWsX6d9OsZ855H03djMNtojGJpKB2cyKYoPWp8UiA5P2aTcTVGIxNNKvB2mdWq zN2JbvL3nY5iVwhEZMFjCeDmTR9Ljz9MIZRiMd5Rjax2a7pgGpvYGpXmfufP/q1Tfzd9 mRbz1li/oib+RN1mzMYAOEpKCgt/5YgHPEGqWLyvLVF9QV5gpZxBuiKTfD1JF9X2WyoU 7hZZ8tuVN9KCRVoRcDD1bBNpq3jGUVIWz52TrotF/h/Sk7IGKJXMZNHT3vBlMaTnMEs+ daJFqjgkkyFP0Nsbf+yHwOjA2uOzxO2QR5oA3VkUMeNaL6trkVPd3EtHaEY62kxCTpsp cbVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:reply-to:ironport-sdr:ironport-sdr; bh=mbVkKOy8EpNE981lQtS/D9GSl0Lfhiq7gMvyHAZ33JI=; b=cy0+yol2rOvY9xaxuy+ZLxMqYPTdjYrGuDpvu+pDLF0IofLRsujKqofNVaxVmi9bXy GBIDvXNWYPADdcQ/diVlnjfX9SO8NUUFAg0wItVflWygbMP12aUnlvJwCojGMONE5eM0 QflwNn/aSmN6921x7tTkEet3GpSqhUTA6sm5xGpPNN7WG9OTiP3YwwTn9fVf+j2Jx457 WEeKahpsYtXsD12dKRz6vX05272b7x/QDgd9QkJIMCuFffVzg6faCl/XYds33trKlC08 0k+nOxK0pUtkUFNYo0xIuFkmu3SvvRD9D7Rr7SkedjVT2cWzp/QHoQLacKJ/XiWj0/9s 2OaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si802640ejq.623.2020.09.30.02.36.16; Wed, 30 Sep 2020 02:36:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728937AbgI3JfP (ORCPT + 99 others); Wed, 30 Sep 2020 05:35:15 -0400 Received: from mga07.intel.com ([134.134.136.100]:47235 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728851AbgI3JfP (ORCPT ); Wed, 30 Sep 2020 05:35:15 -0400 IronPort-SDR: 3+dSW7IYqLKquug13H+VE6B+T3BD1blrLuyOV8LmrPG7mqLzxG9h8hbCvPGxRDlKs8cIbPDn6x ZqAAM+1O41Vg== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="226553016" X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="226553016" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 02:35:14 -0700 IronPort-SDR: CvxftynzD8Grt40D+c09NMwSaYEOd8YaU4fAMki1iGRHXJSju2rfvoKJ/WBc9oHv3mDgTOH5lM 5GX1cFQhsJ5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="515010272" Received: from linux.intel.com ([10.54.29.200]) by fmsmga005.fm.intel.com with ESMTP; 30 Sep 2020 02:35:13 -0700 Received: from [10.226.38.24] (unknown [10.226.38.24]) by linux.intel.com (Postfix) with ESMTP id 87E115807A3; Wed, 30 Sep 2020 02:35:09 -0700 (PDT) Reply-To: vadivel.muruganx.ramuthevar@linux.intel.com Subject: Re: [PATCH v14 0/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC To: Miquel Raynal Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, richard@nod.at, vigneshr@ti.com, boris.brezillon@collabora.com, christophe.kerello@st.com, piotrs@cadence.com, robert.jarzmik@free.fr, brendanhiggins@google.com, devicetree@vger.kernel.org, tglx@linutronix.de, hauke.mehrtens@intel.com, robh+dt@kernel.org, linux-mips@vger.kernel.org, arnd@arndb.de, andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com References: <20200924084842.41741-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200928162550.30bbce71@xps13> From: "Ramuthevar, Vadivel MuruganX" Message-ID: Date: Wed, 30 Sep 2020 17:35:08 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200928162550.30bbce71@xps13> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, On 28/9/2020 10:25 pm, Miquel Raynal wrote: > Hello, > > "Ramuthevar,Vadivel MuruganX" > wrote on Thu, 24 Sep 2020 > 16:48:40 +0800: > >> This patch adds the new IP of Nand Flash Controller(NFC) support >> on Intel's Lightning Mountain(LGM) SoC. >> >> DMA is used for burst data transfer operation, also DMA HW supports >> aligned 32bit memory address and aligned data access by default. >> DMA burst of 8 supported. Data register used to support the read/write >> operation from/to device. >> >> NAND controller also supports in-built HW ECC engine. >> >> NAND controller driver implements ->exec_op() to replace legacy hooks, >> these specific call-back method to execute NAND operations. >> >> Thanks Miquel, Boris, Andy, Arnd and Rob for the review comments and suggestions. >> --- >> v14: >> - Address Andy's review comments >> - align the headers and revome Duplicates >> - replcace numerical const values by HZ_PER_MHZ and USEC_PER_SEC >> defined macros >> - add dev_err_probe() api instead of legacy err check >> - add get_unaligned_le32() api instead of manual endiness >> - remove redudent check >> - split the lines logically in between and add require spaces >> v13: >> - Address Miquel Raynal review comments >> - update the return type with variable 'ret' >> - handle err check statement properly >> - change the naming convention aligned with recently changed the naming >> around the data interface >> data structure and function names >> - replace by div 8 instead of <<4 in ecc calculation better code readability >> - handle check_only properly like existing drivers > > I am sorry but there are two to three comments which you did not > address or addressed partially while not so impacting on the logic, > can you please review and address them all? (please note that I checked > the patch adding the driver before telling you that). Thank you for your comments...! Sure, I will review once again all your comments in the previous patch sent if anything is missed then will add it and send the updated patch. Regards Vadivel > > Thanks, > Miquèl >