Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2462103imm; Mon, 10 Sep 2018 01:18:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbpD34BMYxJf0JkZjuQWPcYTYYT+uAqC+qNOMF0d98UUmuZiynOvY03krVWFc+0uu3sMUTP X-Received: by 2002:a65:448c:: with SMTP id l12-v6mr21663532pgq.277.1536567537169; Mon, 10 Sep 2018 01:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536567537; cv=none; d=google.com; s=arc-20160816; b=ugWqymDx5l29+4xvn0o4lcYWhbuQ80+KAEuK9uuF0S2R8d42QnjPZSggIY0f7EGTpu OPN0vd1UZoexo02S+Vh9KIFUip4S9fu4gtxsNNs+mTQVnCzAunGkPMU9cHsukAgYvCgI 3cbOE4oGb7PYGoWpD6XJZJo83QkkWfyY6F4uZWfYwY/ZhXZgtYe6h2s9tEGjTdXnv0cq z88zBvI6KhBaZ/1CJPV4JTi5JwisdggDV5/QxjNDTK52532oJQ9UVTcONarA0eKBqII6 qg4HbaeIYxZFSKcI1EorLK9WcUYYBuKP23mfaZ3uovO+T4MSwAIgInzk2AMmp8IF6k1+ EGUQ== 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; bh=9ye1cnVKf1gKEpyFIEDOXXcWhRVZBIa0UGDqWopYx2k=; b=KXewrOtMWwy+Kv4Zxxjfq0lwphLCwXnCeqdWxb2hpR93REVqmvaTBcnMRHAfNXPAbf V/acp4ZF5PyV5H2sTd/QAH2firrRHK/psBPXocN41X7Y2ciUphjrOPNc2olw/PLnCdP0 iv8CUc3Jo2kLUcAfcc/dLczd+oTkpKl0vZXUI2rTfbUvIgelRfcfjOKMUFD6lRFpNnev L7wLXqBx6pxyZjTnxXcYdya3kVEYqzETAF6vFy5nqyQH4j45Dy/8Q+1qw06U+rQTf2am emI/UYCjb54RYgU+l75JIET4iTNIBMiRVQ/Fn8rmr+cFygkr6DqjPrSSO7a7SiDfyzU0 nbfA== 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 c1-v6si17206604pfe.29.2018.09.10.01.18.41; Mon, 10 Sep 2018 01:18:57 -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 S1727836AbeIJNJU (ORCPT + 99 others); Mon, 10 Sep 2018 09:09:20 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42792 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727683AbeIJNJT (ORCPT ); Mon, 10 Sep 2018 09:09:19 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 26912C23; Mon, 10 Sep 2018 08:16:28 +0000 (UTC) Date: Mon, 10 Sep 2018 10:16:26 +0200 From: Greg KH To: "Ahmed S. Darwish" Cc: Simon Que , Stephen Rothwell , John Joseph , LKML , Rob Springer , devel@linuxdriverproject.org, Andrew Morton , Todd Poynor , Linus Torvalds Subject: Re: [GIT PULL] Staging/IIO driver patches for 4.19-rc1 Message-ID: <20180910081626.GA31344@kroah.com> References: <20180818155724.GA22569@kroah.com> <20180828103817.GB1397@do-kernel> <20180828123607.GB13441@kroah.com> <20180828143049.GA7388@darwi-kernel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180828143049.GA7388@darwi-kernel> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 28, 2018 at 02:30:49PM +0000, Ahmed S. Darwish wrote: > Hi! > > On Tue, Aug 28, 2018 at 02:36:07PM +0200, Greg KH wrote: > > On Tue, Aug 28, 2018 at 10:38:17AM +0000, Ahmed S. Darwish wrote: > > > [ re-send; forgotten lkml CC added; sorry ] > > > > > > Hi, > > > > > > On Sat, 18 Aug 2018 17:57:24 +0200, Greg KH wrote: > > > [...] > > > > addition of some new IIO drivers. Also added was a "gasket" driver from > > > > Google that needs loads of work and the erofs filesystem. > > > > > > > > > > Why are we adding __a whole new in-kernel framework__ for > > > developing basic user-space drivers? > > > > > > We already have a frameowrk for that, and it's UIO. [1] The UIO > > > code is a very stable and simple subsystem; it's also heavily used > > > in the embedded industry.. > > > > As Todd said, the code will end up being a simple UIO driver, if even > > that big, in th end. It is just going to take him a while to constantly > > refactor things until he achieves that goal... > > > > > I've looked at the gasket documentation [2], and the first user > > > of this new in-kernel API [3], and this is almost replicating UIO > > > it's not funny. [4] True, the gasket APIs adds some extra new > > > conveniences (PCI BAR re-mapping, MSI, ..), but there's no > > > technical reason this cannot be added to the UIO code instead. > > > > {shh} That's my plan :) > > > > Cool, thanks a lot. > > Can we then merge something like below patch? > > [ I've searched the gasket included TODO file before posting, > but did not find any mention of UIO. Below patch will make > sure this will not be forgotten over time.. ] Looks good, can you resend it in a format I can apply it in (i.e. one that does not require me to hand-edit a patch?) thanks, greg k-h