Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1840050imm; Thu, 7 Jun 2018 00:57:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK+CiERehyNvyOkMyFItld9muwP0kwgTml/DeB0ECP8j6Pkm18bO2suJjICeM0pE2ITgXMt X-Received: by 2002:a62:f948:: with SMTP id g8-v6mr795649pfm.107.1528358227950; Thu, 07 Jun 2018 00:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528358227; cv=none; d=google.com; s=arc-20160816; b=V+vEFDeR9PIgz7ClkEdb4vCa1Tx45EaPF7gH2FIxNyDzkDqoqHTOXT3+fffSZjCMFQ V1NIhljChXjBUTxy3FlI29db+nmxhzZHVDW6EjTCGjRX0KaAANKk1kq5F2xpPWu0EJ7+ SvQn0zlSzsafM0fWUzia7c9RqMXcd3mjTVJNCHPTEN5njnx6qc14dNx1p1h7YCCvf6hj 0mlBCBrXSepi/MDSeW1Pk6mKr8o1ESZVepLozbLPlzSNBgQSWrXUkhdYZToQRsa/JKxD fvi2lTt7K7O5WLYhugDkTcCIebyxrhgL9Zsmnn9kFYxfH5PSkTsW+KP+L+86Hlun/MG9 zshA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=gOoACZ2sAm9uwNy+f1mS0du5riIfAdEeO6ti0Oy+jg4=; b=VQPjW3WPAfVBK3ZsvR8olZC1ohLmhr9GaDTjBYOUfkDgIJftpFnv6yeyqfeSBt+tmk V7WTUUSxPruwGfxpjfmG+vd90ARLxDpvfpGDv+wj+/+yFF9H9PCBpRf6DkDejKe3LK6T mXlcpqLaOmbmDnKUpDAg23t/AMQjbP2KaLrNNJ6Nnp/eMKOfIvVqNetm8mzFTavNGrF9 q09kIu9+NZ8Wp3Tl/OBfUQ8BFjRM7FJUBzP91t4TMEzjq2sd01KFzJoMndZs9XVVpks2 /QiRTF/mCTvZk7x56SPWSCZqPuVl3zIRQYTHzFUoyg4ipqoF5LYWSSEqNXi5jQO5fMZ1 qulw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JY04TCj8; 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 f34-v6si37104275ple.165.2018.06.07.00.56.53; Thu, 07 Jun 2018 00:57:07 -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=JY04TCj8; 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 S1753324AbeFGHdr (ORCPT + 99 others); Thu, 7 Jun 2018 03:33:47 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:43486 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbeFGHdp (ORCPT ); Thu, 7 Jun 2018 03:33:45 -0400 Received: by mail-lf0-f66.google.com with SMTP id n15-v6so13052630lfn.10; Thu, 07 Jun 2018 00:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=gOoACZ2sAm9uwNy+f1mS0du5riIfAdEeO6ti0Oy+jg4=; b=JY04TCj8ik/T9DlbPXruEMa8YOk+hAXLrlBlQfeAKhEBAZYbiAiebpaax1DI+KBtZy WRG4GSu6c7pKLMZqDVDHq0jjTvAQDSKksjbFqdpBaYC2ur3qGsRIPtJTECJ3RY/U9rXe wQ4/rR8UfVzZ27caciGvpctNnh0UhYXorb1YLVaHLgOwx6TQ5WrMVQguEtxr/7eZ0xGL 0+R8cL54vCtwc6PsAb/HRY9WzYxoPz5QeEDOWL7ypqZSW/xNr4HwlFKCB3xyPIvap5bT yCbMa8F2EJgGKkafILie+IX9U8WuTqPe3dz32bSFb8/CPWYWl4oZcOvx5JW6uIaisyQH wq9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=gOoACZ2sAm9uwNy+f1mS0du5riIfAdEeO6ti0Oy+jg4=; b=VD9EVtmEIWV706qpXRlHgGTAwVjsq/lOZdq39t2jR/WClcsDF+NTvywZ3x5hNW4X3K kKZQ0Hr5pYJ3Uq0vxjGCOSmoDJ/WU65ZyevjZnVicbEvprAuNPCOzty0ClKbAMYdsZ95 O85inCSGWxYYNrI9/EGBXlZkaZP/lqOVTv1lzWMKhr7L0y3t4Bstgy5L4e9o5E8loGLc 0VClureRpJR0VUfJ1qqsoidM5fYzu96TU6RRn9MM/CN8sIPk+KPKca53efINHyftI0jq 3cKXCH79x9+KjTHTfYvlx3nhXboMm+e9ZQFjqkY/DquZSMBXv/vngAEWVbI+HdzDKJ39 9INA== X-Gm-Message-State: APt69E10Y0co05SyWCgFUsF0up7YM8kq5LDGdqIVRwWI2On4JeS7y/8C sm+i/aFSjsuDyLev8HRrHfgeBzs5 X-Received: by 2002:a19:8e01:: with SMTP id q1-v6mr480689lfd.35.1528356823486; Thu, 07 Jun 2018 00:33:43 -0700 (PDT) Received: from [10.17.182.9] (ll-55.209.223.85.sovam.net.ua. [85.223.209.55]) by smtp.gmail.com with ESMTPSA id w1-v6sm718291lfk.59.2018.06.07.00.33.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 00:33:42 -0700 (PDT) Subject: Re: [Xen-devel] [PATCH v2 9/9] xen/gntdev: Expose gntdev's dma-buf API for in-kernel use To: Dongwon Kim , Boris Ostrovsky Cc: 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 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> <20180606220521.GA7054@downor-Z87X-UD5H> From: Oleksandr Andrushchenko Message-ID: <87d02b3a-3dd0-d3c5-3b2b-29fa1a27ba75@gmail.com> Date: Thu, 7 Jun 2018 10:33:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180606220521.GA7054@downor-Z87X-UD5H> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/07/2018 01:05 AM, Dongwon Kim wrote: > 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. Ok, as we are all on the same page for that then I'll drop this patch 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