Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp65146imm; Tue, 25 Sep 2018 16:06:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV605MNegv1SYAI14UfPNOyjFLiJPPCaTMnAdRu3aympV+iQTFYe4xXxKekoqL+C675l2ihT1 X-Received: by 2002:a65:46cd:: with SMTP id n13-v6mr2965268pgr.22.1537916817976; Tue, 25 Sep 2018 16:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537916817; cv=none; d=google.com; s=arc-20160816; b=AjPLojtx84+EJIaQRxj4Lz47bfpQMqDWwnQ0QbZC+L66MLjbGTgmKPvJ8dSydhBh27 n2KY9j8yQcOE2OnmnFJe+D1wmBWnfd8kq4jyexzr56sV0TGAmuk3qVTGpuzJV4Tfy0wz md+Ob06QnpbNQNiNdEuVpr+XSl3npVJGbyVtHMsDHNFS14/FB0RB7DXeEbhznqTPFfxz o2fNVdf14bet9WibHJI7Wmt747aLV5/B26hTbbQv/1n3DNNqCl5X2lmiCvmomzOO8NNv JvC0A2AV3O9uVeQZmNKV4iAqLu34fNwUF+SYny2c0MKaA8sBJMM6tNA8rTllHn2MWcbx fCXw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=twBci8YtfyGwp966pwPGqC7Dq+p8hkwRhs4LcMYacxI=; b=FLb5a7OwJ9dr/zKUV4829OTnkD41KvkkceiJ742sOTetRJ5QnU2cUsYs/GVKWvaWHs MOqquNksQFayEnzhoxFT8Od1nrYBPyOWHeFkyAlZ1OccKYKXtD2OHTkt2pFfCqSuMbEf IzgPisk2rXUxBcN292Ud29jMhOi16JOOUTOKf4om2t9mVnXSohyKIZMo8X0QFHmQKIRk W0wFV+AGwOsyEYgB+Egzr8O/d7nL7dwQpLwHFZ69RnNhN6032Ihtv4u30WHijaqt5VZo AaiUZOBE6HSVVFN5lFsKRt1VRex5uSrk7txs7GuHkC6cHxREcbvDjRHtKSGDozYcRY9t OTag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=WKBuGz3l; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si3428741pgr.27.2018.09.25.16.06.41; Tue, 25 Sep 2018 16:06: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; dkim=pass header.i=@google.com header.s=20161025 header.b=WKBuGz3l; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726213AbeIZFQ2 (ORCPT + 99 others); Wed, 26 Sep 2018 01:16:28 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:34626 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbeIZFQ2 (ORCPT ); Wed, 26 Sep 2018 01:16:28 -0400 Received: by mail-lf1-f68.google.com with SMTP id y10-v6so7325092lfj.1 for ; Tue, 25 Sep 2018 16:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=twBci8YtfyGwp966pwPGqC7Dq+p8hkwRhs4LcMYacxI=; b=WKBuGz3l8q9UUfyWgjOMocFuhwSJxhUdNvcyfxyxFzBERJhtjq/mZnZXkN6gFZdO/d KeJHGcRdSh7a7hgDeR1pQO1dGEDn44QmzdfSQyp36tRS2ymREohCyzcEhd/n/6fM2w0v 3864klAzJJpEfaRDMXpqPWsl9grcejuIKredgIe9wCp/c7V4p6KxijH6g0ohfcdag04I lkhj2mscd+XdJAnn+gnMYMQF0TF2euXCUQ0JMRtKgDxNweSHiTa8JHLAfwwe9uDj86VT /yKyOja5Gb/dxM7lXNFk1eMRhFxt02Rd8yZBkrGh2SpqHdoUuUEBP8X8qdp3A6WM0eve 8g6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=twBci8YtfyGwp966pwPGqC7Dq+p8hkwRhs4LcMYacxI=; b=ZxrVfM3BlN30i4T52DiXGvqdbO+JXg/keRtcxgQPdZOVm7tJucs/830u0SY9FCuPZC yk6EiPZC1uZ6BCdVsELtMSJ0stTP9bxE5MqfAI+nmgIPbqU1yT0OK7LElBSF66mIZyBl Sfcp2AYfrXcD8f7kyoq5oL+Su4RX9kA5/ipHSs7n6vHGhNq1TOcxFKIg5/Jrai+l9uII 0w5Em6lpwXHa+H32lcv5Blle30Un96MXODOikrW6g6rlcbKOFy+rIX9/kTmr+YbFvWR8 liwUdgoU+s+2Lp7h3tL86f5BM/DM0z3ijmmWNKU3mdKrhJLuiHv+6LG9dvu7IdhOOOHq OlYQ== X-Gm-Message-State: ABuFfohgDSHoG0DujImrEeTW2biXS2f2fXT7FeR/h4J3eZZkKLOJ7Nx0 rlUsUVMM+/hMHcvIx1TQxxfkNk2FyD6kXmNNj0VkvQ== X-Received: by 2002:a19:c650:: with SMTP id w77-v6mr2401294lff.108.1537916795041; Tue, 25 Sep 2018 16:06:35 -0700 (PDT) MIME-Version: 1.0 References: <20180914175122.21036-1-rkir@google.com> <20180914175122.21036-6-rkir@google.com> <20180925183138.GB21572@kroah.com> In-Reply-To: <20180925183138.GB21572@kroah.com> From: Roman Kiryanov Date: Tue, 25 Sep 2018 16:06:23 -0700 Message-ID: Subject: Re: [PATCH 06/21] platform: goldfish: pipe: Add DMA support to goldfish pipe To: gregkh@linuxfoundation.org, Lingfeng Yang Cc: Todd Kjos , linux-kernel@vger.kernel.org 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 Hi, thank you for looking into my patches. > A whole new api needs some others to review it becides just me. Please > get some more signed off by on this. Yes, I will find more people. > If you have a spdx line, you don't need the gpl boiler-plate text > either. Agree. > But, this is a uapi file, so gpl2 is not probably the license you want > here, right? That should be fixed before you end up doing something > foolish with a userspace program that includes this :) I will confirm which license works for us. > Don't we have a dma userspace api? What does virtio use? What about > uio? Why can't one of the existing interfaces work for you? Yes, I learned we have other tools to do the same as our driver does, but we already have userland using DMA through out driver. Maybe I will retire this driver completely. > > + * 'G' 00-3F drivers/misc/sgi-gru/grulib.h conflict! > > + * 'G' 00-0F linux/gigaset_dev.h conflict! > > Causing known conflicts is not wise. Goldfish devices are used only in Android emulator. We can pick other numbers to avoid conflicts, but this breaks our userland. We are ok with conflicts with drivers we don't expect to be used.