Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1963422ybx; Thu, 7 Nov 2019 20:44:48 -0800 (PST) X-Google-Smtp-Source: APXvYqz+G3oloLYpwZJmljRjXm18U90XDdY+OKswleJUUwmd16/NRS2ruz9gCA5I1/pL7Cia5B9q X-Received: by 2002:a17:906:1fcf:: with SMTP id e15mr6533314ejt.317.1573188288021; Thu, 07 Nov 2019 20:44:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573188288; cv=none; d=google.com; s=arc-20160816; b=h1v1V7mf5H9N4wyooD/8g/Nn9GctOzJ2PyRQF5vYkvQ4T8ulh2E1xKzAgSB1+N6eZH UJBReOCetVTUX+8Km27CKE9lGwCPHYdqmvl/QDDnuQg94qJiib2Hj/QagVRQKWXgdSW4 3FMTIEt+h3M6j1M1FVWC1qZgAzqx1i4xQT6034LSdLtttXStf2K4UfV/dHgLx2sIYcSc 4AQpLmn9IXKCtA2CCWIC0ap7w/ym4zcteTZkLdgD281Eb3GYpsPf2hD6AYOVv8REB0hI zSW785ntzKMqNceqjeEBGfype5mAI5Pyq3o+NzClJO7hV+2pIFdZ01KokvmN80Nz/mmV Nd8Q== 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=1RcOVtcqU/6UwEGqq5x6EYMLOTFOHMCmB8gWj95etLY=; b=RmdMOgybhqBDzQzRRo6OQR9w0CwjlXJtgLwM+b3UUI3Oqsccy738L2oEncR+6P3prg RyWZLMONFWQzT1qiI/3TZRwu5IOZ94X3AyqbT00eLm9sb8IBrvKFQST0hT2Kbm1RB3l0 OAKTPONeZ4pKudCx3Bvc2F/gY0MeII9xov5xWb2qGjR47SJ72eT9qyfOivrIyGXW6oEM PrMtLwEDqirzCCpsvApAl3yM5jszphHlhWlOo4ULYOk95pikzgkfjtJ9Zl4/qxPrL2nc 7ZMKsiAa9ZT1NipUJkQiadVVF/pynPY/rk/UbMpbZ3VuxFoa5hpIVBh20Jalarfcqdyl J3RQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qh4si2948388ejb.319.2019.11.07.20.44.21; Thu, 07 Nov 2019 20:44:48 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728096AbfKHEnh (ORCPT + 99 others); Thu, 7 Nov 2019 23:43:37 -0500 Received: from icp-osb-irony-out3.external.iinet.net.au ([203.59.1.153]:32857 "EHLO icp-osb-irony-out3.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbfKHEnh (ORCPT ); Thu, 7 Nov 2019 23:43:37 -0500 X-Greylist: delayed 557 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 Nov 2019 23:43:35 EST X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AWAADi78Rd/zXSMGcNWBkBAQEBAQE?= =?us-ascii?q?BAQEBAQEBAQEBAREBAQEBAQEBAQEBAYF+gwyBMYQpj2oBAQeBNn+Ca4V6kUM?= =?us-ascii?q?JAQEBAQEBAQEBLwgBAYRAAoQyOBMCDgEBAQQBAQEBAQUDAYVYTIVdAQEBAQI?= =?us-ascii?q?BIxVBEAsNCAMCAiYCAlcGDQYCAQGDHgGCUgUvsVp1gTIahB8BgRSDNYFCBoE?= =?us-ascii?q?OKIFlikd4gQeBESeCNjU+gQSBOSUChHGCXgSWSpc9gi6HF44kBhuOPwOLMpZ?= =?us-ascii?q?6k0qBejMaCCgIgydQkHODW4plYgGQdQEB?= X-IPAS-Result: =?us-ascii?q?A2AWAADi78Rd/zXSMGcNWBkBAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?REBAQEBAQEBAQEBAYF+gwyBMYQpj2oBAQeBNn+Ca4V6kUMJAQEBAQEBAQEBL?= =?us-ascii?q?wgBAYRAAoQyOBMCDgEBAQQBAQEBAQUDAYVYTIVdAQEBAQIBIxVBEAsNCAMCA?= =?us-ascii?q?iYCAlcGDQYCAQGDHgGCUgUvsVp1gTIahB8BgRSDNYFCBoEOKIFlikd4gQeBE?= =?us-ascii?q?SeCNjU+gQSBOSUChHGCXgSWSpc9gi6HF44kBhuOPwOLMpZ6k0qBejMaCCgIg?= =?us-ascii?q?ydQkHODW4plYgGQdQEB?= X-IronPort-AV: E=Sophos;i="5.68,280,1569254400"; d="scan'208";a="224499746" Received: from unknown (HELO [10.44.0.22]) ([103.48.210.53]) by icp-osb-irony-out3.iinet.net.au with ESMTP; 08 Nov 2019 12:34:16 +0800 Subject: Re: [PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller To: Greg KH Cc: devel@driverdev.osuosl.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, neil@brown.name, blogic@openwrt.org References: <20191107073521.11413-1-gerg@kernel.org> <20191107084007.GA1203521@kroah.com> From: Greg Ungerer Message-ID: Date: Fri, 8 Nov 2019 14:34:15 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191107084007.GA1203521@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/11/19 6:40 pm, Greg KH wrote: > On Thu, Nov 07, 2019 at 05:35:21PM +1000, gerg@kernel.org wrote: >> From: Greg Ungerer >> >> Add a driver to support the NAND flash controller of the MediaTek MT7621 >> System-on-Chip device. (This one is the MIPS based parts from Mediatek). >> >> This code is a re-working of the earlier patches for this hardware that >> have been floating around the internet for years: >> >> https://github.com/ReclaimYourPrivacy/cloak/blob/master/target/linux/ramips/patches-3.18/0045-mtd-add-mt7621-nand-support.patch >> >> This is a much cleaned up version, put in staging to start with. >> It does still have some problems, mainly that it still uses a lot of the >> mtd raw nand legacy support. > > Is that an issue? Why not just put it in the "real" part of the kernel > then, if those apis are still in use? Agreed. If the MTD folks have no problem with it. >> The driver not only compiles, but it works well on the small range of >> hardware platforms that it has been used on so far. I have been using >> for quite a while now, cleaning up as I get time. >> >> So... I am looking for comments on the best approach forward with this. >> At least in staging it can get some more eyeballs going over it. > > staging will just nit-pick it to death for coding style issues, it's not > going to be get any major api changes/cleanups there usually. I'd > recommend just merging this to the "real" part of the kernel now if it's > working for you. I'll spin a v2 based on Dan's feedback, and move it into drivers/mtd. Thanks Greg