Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1581539imm; Sun, 15 Jul 2018 11:18:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1QoCaFE13SEW4YvckwmPx38xwN5yHN50FwJzJvs9mdsRZ9ZVLvbkG+wyCoHnKUKVYTkid X-Received: by 2002:a17:902:46e:: with SMTP id 101-v6mr14067890ple.39.1531678738685; Sun, 15 Jul 2018 11:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531678738; cv=none; d=google.com; s=arc-20160816; b=y1ZaaD82yfGCupbAx0+Z3M/26IK9RTFPSfegZ/2MSnP/QPrCul02A6r3YdVDyLWIxX qXLE9URGDO5ujjBVAgX61SK02xNkZBdwzoa/gE5GLUCDWUdRmbsOr0B2l6Yw7sdT2kz5 Jn2D0G6xDdltAf7BztdfbErFUnFp2ZrjNI47jstrHLiZvFiu7lwWQ1lhhyoVdtsNyToW T/BburOc22Y12c4RNZVkIHJqE7ikMFVc5R7CH8wCvl12YlUvrPmhqGDw95hp6y1af8aL OoeWoo7P3I4jEwqoDf5z9xxlSspnsSDUFgFI6t5jegGfJrobLzQRRiSRoHRjrsnegqJu bANQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=vrjXDHkdNFN7mHtHTyoEboa7wkuaItGxhJsSyzVpF74=; b=fkNo25muhii6SNhq3BgcR27Cb7qlUHq+T5Xgdkz8UiH9LgkKLFkOeb68FRan7IykVi 6ZRs/Av40JCuPzp/69qd+WwiWIX8VckeQAudj3h4ivNepQ1H3c7Y/lFz0uzBl7Gviydw 0Xc11Y+S20yKs+FS79ul17rZ2qUzyCU/uFxWRa3yoGvBU5qkkEpPjJecUUMHSIhHJxwa 3plpYTGZ6ALrSfPFq2mINwauk/hIt0HpJz+JQslaaW81PxAjQ3efIC5gmeSWt8QoEHAX gtuyRJyvoIOFp3N3oAlnDYMCCQpsPC1zWRyNjZvUkUp6LMp1+HsPpZrl0/XoxHKMy56r /+jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=llPkUoXW; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8-v6si27930827pgf.166.2018.07.15.11.18.44; Sun, 15 Jul 2018 11:18:58 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=llPkUoXW; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726994AbeGOSjM (ORCPT + 99 others); Sun, 15 Jul 2018 14:39:12 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:41115 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726691AbeGOSjL (ORCPT ); Sun, 15 Jul 2018 14:39:11 -0400 Received: by mail-yb0-f193.google.com with SMTP id s8-v6so14624170ybe.8 for ; Sun, 15 Jul 2018 11:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vrjXDHkdNFN7mHtHTyoEboa7wkuaItGxhJsSyzVpF74=; b=llPkUoXWG7QjA0+MWJ2gsg/shteGITPXFt/92GrHipRA4JXpBuT1oA8039CsYiUPJX DsNkaf9wtkskg0a2F4wujPXQYHHmuVXQJB6Ehi7azFK+izy3/ulOUihcDM2ui1nZF6PZ QPbW7Kxzu8IN2gcQpB6CU2NVMd6dqXwwJdQe45sTvrQusHTA773eBMYWm9TOWXAfNaZA chJBG8KSpwKnFmY/D8v9J5ffElpmwaj+uQK1AJHOlPkfR+Zh8qKEJdWtgcvGvyryZGeh G/OGEDHcXlvWU/FBWGyP1+RO6fNuxRs4YtGD0ziLTGfqWyEumao0CdYix3ZekiutvWVJ srZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vrjXDHkdNFN7mHtHTyoEboa7wkuaItGxhJsSyzVpF74=; b=c0XwqQSjB3VwXvkQ/APvK3d9XHkpDUjUitNLf2BD3qfnu0FiguiYloAFW7ttHu3He8 AtWTpyVKRkC6Y/AlcKSNGJKZ8/LNHb0+3nnMOL+5W4/lELMF7VbKxsKUXFSKsPrsgPdi IHpWM6F/Weq3s7UkQ5yN+z3ahFrL5HwIzU/+Y92izvrGWt+7oLBGdSVSZqM5jnoPqPJ2 0/pOSdVLrxriNKchCu3m/fqp9deWyDdel9t9my+eyOjX+8m/sB18Xz6mT9r8rRWT9xV9 Cq88ML/gXqsO1yHUCt3w0KDiV49ZhmyRP5m9QLMB0a33IGkrCUgWygJfUZ8r+sQbWiEY DVRw== X-Gm-Message-State: AOUpUlFqM9kRZs/M/ynRBQVwumCF5FN4aee8+cnr09yEIqTLXYfmtshe csFB60I6+e/xIvnhtPXBq48vaCAOCu1JxiiIbrZoAA== X-Received: by 2002:a25:9c44:: with SMTP id x4-v6mr7193108ybo.230.1531678527093; Sun, 15 Jul 2018 11:15:27 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:5e42:0:0:0:0:0 with HTTP; Sun, 15 Jul 2018 11:15:26 -0700 (PDT) In-Reply-To: <20180715100345.GA17618@kroah.com> References: <20180714055816.223754-1-toddpoynor@gmail.com> <20180714055816.223754-12-toddpoynor@gmail.com> <20180715090544.GC23333@kroah.com> <20180715093216.GA16003@kroah.com> <20180715100345.GA17618@kroah.com> From: Todd Poynor Date: Sun, 15 Jul 2018 11:15:26 -0700 Message-ID: Subject: Re: [PATCH 11/18] staging: gasket: always allow root open for write To: Greg Kroah-Hartman Cc: Dmitry Torokhov , devel@driverdev.osuosl.org, Zhongze Hu , John Joseph , lkml , Simon Que , Rob Springer , Guenter Roeck , Todd Poynor Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 15, 2018 at 3:03 AM, Greg Kroah-Hartman wrote: > On Sun, Jul 15, 2018 at 12:53:09PM +0300, Dmitry Torokhov wrote: >> > I can't wait for people to just realize this whole "new" subsystem can >> > be replaced with UIO, but that's a topic for a different thread... >> >> Yes, that is true and that is why I am not sure why we are going >> through all this staging exercise. >> >> As far as I understand we'd still need to have quite a bit of kernel >> code so that we can safely program DMA controller (it does not look >> like uio_dmem_genirq.c is sufficient as is for gasket needs), but that >> should be solvable. > > I agree, it should be solvable, and much smaller and simpler than this > whole large chunk of "subsystem+driver" code. But I'm not the one > having to do this work, and it provides a bunch of easy cleanups for > people looking to get into kernel development, so I don't mind :) > > But the "maintainers" should keep this in mind, as it is, this code is > _not_ acceptable for the main kernel tree because of the UIO framework > already present. My own preference is to rewrite the apex driver entirely in-kernel and pull in its userspace parts here. If I don't receive significant pushback on that I'll start doing that real soon. > > thanks, > > greg k-h -- Todd