Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1378115imm; Wed, 6 Jun 2018 15:12:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL/KMP/F8jpgpu8bb/P1tAoJvf87Lsry3gGtcyp77D9m1TROqVGRXIVFvwF8d/T1mU/IdBP X-Received: by 2002:a65:4b02:: with SMTP id r2-v6mr3948429pgq.82.1528323179478; Wed, 06 Jun 2018 15:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528323179; cv=none; d=google.com; s=arc-20160816; b=fGB/a+dgAGGVcY/hwsmgiARWWHaSgjODVF/muI/cgASrYToXWTwQxj+cwuaejIpcdj 8cYq6YhS6KB2aBpfJFWOtANcF3/prAkwejd/POTmP5a0L8WAxT7FgHWct7t5JURfBbIN YJemlEUO+J/sl/Awy1CcG22CIEZMDFqSOZ7jYxuxfRxStLD/xtXOY06zN7e4hJqBx10p 8AJLCfXyMbALcCIUdO5mGrOBf87ue/Q7ZrYJFAAozaY0PdrRbG8dZwQE8jzJGP5Bz6/u saPW6WBiLIawRDbQrGQwvx069qXjKr95zgexSGJ/HU4Unw3bFbjcI0gyfplVUl69zcq4 fEoQ== 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:arc-authentication-results; bh=hJ7bjLlKLHq4dhq5vCtywVSQfQGwc+2ACw+h5XTuF8A=; b=xY2NYBBrprlEwS+07xbCwc3Z2th7wgaAK6Dup4Oa1O1kAxsazT8OfNlIBaZUwFHXlq UX0TLgvDXxYn3EeG1su1FMYqvnOzExVisfPd7Mpn1seCYJW5XkOKBHaCPlCjHy4h3u7i N51cQbPgTL+dAJ8+ri1vMoSKoeaNmk6fd0PQOS2xp7cjkvz0YO2yuStgf7F/MTE15UqK k19L9lYlUW0kq3z9Fag2VvkjseAoh+hO9OhI3IE14kUwOcsGg5p95HwMr9YAqa/Whlw9 uk7s7V7w2/psn7bSDYmhqdAnBHh4JQA/B0dtkVlCet6QDr3Gs2ar/V0bYW0PsfEqSrkC 26Eg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a92-v6si53407005pla.291.2018.06.06.15.12.45; Wed, 06 Jun 2018 15:12:59 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752682AbeFFWHw (ORCPT + 99 others); Wed, 6 Jun 2018 18:07:52 -0400 Received: from mga05.intel.com ([192.55.52.43]:3522 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbeFFWHv (ORCPT ); Wed, 6 Jun 2018 18:07:51 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2018 15:07:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,484,1520924400"; d="scan'208";a="235283996" Received: from downor-z87x-ud5h.fm.intel.com (HELO downor-Z87X-UD5H) ([10.1.122.107]) by fmsmga006.fm.intel.com with ESMTP; 06 Jun 2018 15:07:50 -0700 Date: Wed, 6 Jun 2018 15:05:21 -0700 From: Dongwon Kim To: Boris Ostrovsky Cc: Oleksandr Andrushchenko , matthew.d.roper@intel.com, jgross@suse.com, Oleksandr Andrushchenko , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, daniel.vetter@intel.com, xen-devel@lists.xenproject.org, linux-media@vger.kernel.org Subject: Re: [Xen-devel] [PATCH v2 9/9] xen/gntdev: Expose gntdev's dma-buf API for in-kernel use Message-ID: <20180606220521.GA7054@downor-Z87X-UD5H> References: <20180601114132.22596-1-andr2000@gmail.com> <20180601114132.22596-10-andr2000@gmail.com> <86f5b340-856c-204f-4ba7-dd51f1e92639@oracle.com> <984bcf75-9bea-aceb-3d3a-62e3c65709c7@gmail.com> <398d53c9-9c47-d86a-89bd-b9941e638434@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <398d53c9-9c47-d86a-89bd-b9941e638434@oracle.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 06, 2018 at 05:51:38PM -0400, Boris Ostrovsky wrote: > On 06/06/2018 08:46 AM, Oleksandr Andrushchenko wrote: > > On 06/05/2018 01:36 AM, Boris Ostrovsky wrote: > >> On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote: > >>> From: Oleksandr Andrushchenko > >>> > >>> Allow creating grant device context for use by kernel modules which > >>> require functionality, provided by gntdev. Export symbols for dma-buf > >>> API provided by the module. > >> Can you give an example of who'd be using these interfaces? > > There is no use-case at the moment I can think of, but hyper dma-buf > > [1], [2] > > I let Intel folks (CCed) to defend this patch as it was done primarily > > for them > > and I don't use it in any of my use-cases. So, from this POV it can be > > dropped, > > at least from this series. > > > Yes, let's drop this until someone actually needs it. > > -boris I agree. We are working on re-architecturing hyper_dmabuf. We would use zcopy apis however, not sure if we are going to do it from kernel or from userspace. So please do not expose those for now. > > > >> > >> -boris > >> > > [1] https://patchwork.freedesktop.org/series/38207/ > > [2] https://patchwork.freedesktop.org/patch/204447/ > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xenproject.org > > https://lists.xenproject.org/mailman/listinfo/xen-devel >