Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp512784pja; Thu, 7 Nov 2019 00:42:04 -0800 (PST) X-Google-Smtp-Source: APXvYqyEwG7qG+YTBU5ikQpmFrfbeH7oHT2IENaRo6qmf3lv+4a6emFwh2K5JXX74Mv0f55D7Yey X-Received: by 2002:a17:906:a94e:: with SMTP id hh14mr1898710ejb.164.1573116124349; Thu, 07 Nov 2019 00:42:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573116124; cv=none; d=google.com; s=arc-20160816; b=xCh80w3+/+s84Sk93xGUtSkOAC8wplC9UY8p8R8QgEFz+hmly/AdFgqgwMMbdLBpK+ d58n6LUscFocmkxUPnIBUZH9A79sGOtjocm27fJCTmlY1+gJZQWJ2pEPWRQdQorQ7AJX E1os+9hJWcBTFr5Q1NA7Vo1o6P8hhVDcimUNL8jP/zz7Nzqyy74JOr4gA6il3WkMdeK3 GTXURmW3Gbk+E76u61YNEGmUWUy1fZdd8G8+HpcOt2BdrZb7dOBirnLSy1HadkjV8mPw SSubSTWXMb0YRC3dW6NndqezMF7Cr784gRSa2tdykSojc8MafjJnCms0jV+yXGvIQ3Sb 9OBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KyUp0xpi0jEJ1f7rTm9wnnkB6EB5lbAxd0f0JO1keBY=; b=IcT6E234zN25jSJctwS0RDAVV8Jr89N4kn6vB0qhbdq9/ZJSPHlbAqGintb8nRms6P pYUp3u3JBA+alGFM+kNge8MPb4Tp48XxbWCPrZ84rKXmSSIA6U1FUxUgFK6wA4Y7Stdo WakG78S/uxgHNhhln+EWzjRSKuEg6rJTNivmlnLwxu+vI5ufsIaexKeuwymhRzouvyCp dtPg2kuK9S0vc6zDiXrPoWakZk5vIH5tjfhRiZv4lA1hzaH+Ku/wfHxgPnnCdev8Qi8H UxQGNfajPUUgKxHi4usfN7TmH3mINvtSb3TjKJ0Up8NCRFFu5RVz7mWKq43IG15/mcSN rzeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=omokBRfo; 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 dv5si994873ejb.242.2019.11.07.00.41.40; Thu, 07 Nov 2019 00:42:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=omokBRfo; 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 S1733270AbfKGIkM (ORCPT + 99 others); Thu, 7 Nov 2019 03:40:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:43924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733257AbfKGIkL (ORCPT ); Thu, 7 Nov 2019 03:40:11 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D1E0C21D79; Thu, 7 Nov 2019 08:40:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573116010; bh=UXQJazaBfJV0zIWW7UEoQWPynSR/yhlKvrGLJ29hpro=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=omokBRfofB53Ei3yMrIzwz9Z22Rrk3t3SpYs1IPksEG+BpBfYj+fTGT/pWzSe0Ks3 8X1yjKW9hshlFJG0yVB3Zc98K0aegYpbp+yWGQ2hAjswx6P1cLApcvNc4jaVcFeV2w UydpvdtPxRASerQVo0BvKeoXCBM8TaJsia3ZLpzM= Date: Thu, 7 Nov 2019 09:40:07 +0100 From: Greg KH To: gerg@kernel.org 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 Subject: Re: [PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller Message-ID: <20191107084007.GA1203521@kroah.com> References: <20191107073521.11413-1-gerg@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191107073521.11413-1-gerg@kernel.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > 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. thanks, greg k-h