Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp768428imm; Wed, 6 Jun 2018 05:48:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJMsHhWl4nGnQqMyK7qqXvxukYG1ZSzkz3ScbJ04e1kEPr/0AUWgZAjU+9I+6sU6qbX3wX+ X-Received: by 2002:a62:574d:: with SMTP id l74-v6mr2338243pfb.29.1528289317993; Wed, 06 Jun 2018 05:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528289317; cv=none; d=google.com; s=arc-20160816; b=bq8ONZNFZ91U7rf4OAbD/9PIrUaKSVKPhiBGQvHlJH5uDON9tEVw5XPDY2LlTuwRSg YJRBBn2qaRMoNymPL63xkScrHYJVaaeVkZFhZcbCW6o+GCdL3EA+5rzJofrZDW24t3sw d0C9S7V9DNDLaMVtEdpO+QWX+4oZtEeIYmVb27rM79PoHTxtSADTnnHr24V80E4PyJP4 E16CHgShyZ66+4Hqrddmt3foCeE5b8HDqg1wNCDDMBgaTmzpT5E49XpHiPTgzprJUvxx vsJyO5BMlW6+tNhsv/PLtUPbkiYf+DjUMRZuArgdq0kkyJwMtn8zkXKOJ5oXO35YDxEg 18Bg== 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=iCJGvIPI/YASbDYAoUyrRtOC621dUI3FGihcHJbV/Pw=; b=X/LgXSibXiweA2GSqEpt0i8MUGro8sDLOTYLCWqSVMfQlNnZwtxKUl2pdtZZTpKphp aiKpOtjS3mReLEGibgFah9cUXD9qByH/OfxKWOG1ZKSOwhgiyvWdjZXRF+lc44+HSZ0C kYfhvRKE7+FTwamUsWELDV5HkN6zBxmSPfhIjag4rahBKOSaICPwPt9CJ7s+HPFfxgcJ dnPFsiV22Wa0BHIouhYBAbQk8unnlNCtpLHQUTj627EYAHSoX6a26zhxJqpAtYWidDB4 v2wcZLk6bBpO25RZfGgEKdI2iMm7PClsa1l+UanE47ZDJcmuAf01jSdoXc3IwMFZubms 6hCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gyxa0lEX; 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 x9-v6si26179620plo.368.2018.06.06.05.48.23; Wed, 06 Jun 2018 05:48:37 -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=gyxa0lEX; 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 S1752140AbeFFMrE (ORCPT + 99 others); Wed, 6 Jun 2018 08:47:04 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:44785 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeFFMrC (ORCPT ); Wed, 6 Jun 2018 08:47:02 -0400 Received: by mail-lf0-f68.google.com with SMTP id 36-v6so8887227lfr.11; Wed, 06 Jun 2018 05:47:01 -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=iCJGvIPI/YASbDYAoUyrRtOC621dUI3FGihcHJbV/Pw=; b=gyxa0lEXCmlWAvobZpqqBgbDvd6XG/xEOQBaWBIO6vGVNV/tXfC4nd20dsQ8jnTfXC vzTY5ElJ8+S9SbaGct75FzxIz7XzxvRZyyiVP80mqzz+Ntq+TLpwujy6ZNDrEiVBWd4Z 5Vmt1MRJbfdAanq6TLx+6VHybb6KLvEsVSkAKvT08gN21A3K2u79du0SQu8SnOnOWyPL kQDx/4KvbV46txExr+Yq93l0QHCvSd8FG4qSuzBkock/SqefrbF+JYDgcEGIs4m6YvpS jnuqyeSA43c/zxye7XV3/F4ImTm4oONxin7aDutM892M4EMvd24ncuAAXQ3BH7Fe1dvN /9DQ== 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=iCJGvIPI/YASbDYAoUyrRtOC621dUI3FGihcHJbV/Pw=; b=aDXWeoaTrU8yjp6ILlsGszK89ugehAb08KIVlqneZZD/QFaHgLcoa8lsE2xBWaXCwb iiAqHsFJx3SwwpTbxh0kwXGkeOU1Gl8oD4SQqr7UAn9AdNPfOYRycXQuzgpqhRWB+qaW U3/fLn319V59GuRg+bpIig7EXEdhS0f/NZE3pLsRBkk29QbfWJ5k+Z2IEBr6ObgNvCTK e/S5BE2jKNQfwLdsYuBB8r9BYxCj6G/QrQjb9vkPVf+IFSW88vMbiIe2nkZWyA+/JFqn EhjUY0VvDeP+Dlnj/A+eFuJ87+Vx05gda8jH5TeR08NI35lyR64s804opO7re0v3xLsW UtZg== X-Gm-Message-State: APt69E0ZD0GT3SNhien4TBaT55nqugT+GP8lskbgElQU3hmHBxoE8rkv TjFfvMHEhcszPtmjrjdEgk0= X-Received: by 2002:a19:d1d4:: with SMTP id i203-v6mr1733856lfg.93.1528289220949; Wed, 06 Jun 2018 05:47:00 -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 q66-v6sm1888173lfg.17.2018.06.06.05.46.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 05:47:00 -0700 (PDT) Subject: Re: [PATCH v2 9/9] xen/gntdev: Expose gntdev's dma-buf API for in-kernel use To: Boris Ostrovsky , dongwon.kim@intel.com, matthew.d.roper@intel.com Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, jgross@suse.com, konrad.wilk@oracle.com, daniel.vetter@intel.com, Oleksandr Andrushchenko References: <20180601114132.22596-1-andr2000@gmail.com> <20180601114132.22596-10-andr2000@gmail.com> <86f5b340-856c-204f-4ba7-dd51f1e92639@oracle.com> From: Oleksandr Andrushchenko Message-ID: <984bcf75-9bea-aceb-3d3a-62e3c65709c7@gmail.com> Date: Wed, 6 Jun 2018 15:46:58 +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: <86f5b340-856c-204f-4ba7-dd51f1e92639@oracle.com> 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/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. > > -boris > [1] https://patchwork.freedesktop.org/series/38207/ [2] https://patchwork.freedesktop.org/patch/204447/