Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3227842ybt; Mon, 22 Jun 2020 19:07:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEgrG4lBzh0PBbph+OLm2XLB157sNeRK7vjXc4ycBWKec809e1skzWLJcksDtOLLJpVkXx X-Received: by 2002:a17:906:4a45:: with SMTP id a5mr9722957ejv.384.1592878044138; Mon, 22 Jun 2020 19:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592878044; cv=none; d=google.com; s=arc-20160816; b=xIA0SAC2OCAbZZpnsG0ZuFRDiz2KWMwm2seyuy5Kv4QU3gRGbFIMbsUthF4bfGgW6K F+vX+29VWB0RbRtMk8L43HOOWKOiTC9vL6YbNG2Cb22eI12rkCfpSqylPMnI73d7i90h glg1k3/iEk00MrVBf+5GKOKzdsvPUdpB5taF6Aj08pCykwHobH1xwnTAXe3ELoupbTxV 7t/yuuhG+ufzCfZufM3Fbl66YuUkAJTFySGCp6pJwOdh8j/tsi3g3wj42uI+MnuHJPAM /mrZP/zN9ZZeryyxn2yIqKplrgPwzzMr0MgDezfAubOqH9pht93v29x5N+YBnMow5uVt 49aQ== 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=eHCbxa4yLLq+0pOhVBKweZwAtR1jWaAM46jnceQkpwE=; b=h4RtNQ5S9zUviHd1NR1xNmDRF4ON/7h/TBasvVIj8T9/6PAcmklgjqRvj3asi3pRIR NOG18fixKEp6TZ0eyn6zt6yVUGonQXKjwr+Hg8KdzrwK09KOsxM/bdNIm3hsnhIBoUPb fXyNSuoO2/t/aV0r9ippfYwNWwNu+zA7ZNP6POQTtNhk/W/Kn85nk3QwYlbPaC097glT tMKE4nNOQAyUPb3pyUFBT9SVmcqkMuD+Wvjf5Mp+FPmtz5KL/QvWvsF6h+B+kXr06URV F9xkSeGn3muZGdCcLRhnO2sXmIWJbVfmRwckrohhXFwFinK8g/iCEca6eCp+0+GiURW7 xZ8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="lzk/L5n6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si1761085eje.347.2020.06.22.19.07.01; Mon, 22 Jun 2020 19:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="lzk/L5n6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731946AbgFWBbl (ORCPT + 99 others); Mon, 22 Jun 2020 21:31:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731850AbgFWBbk (ORCPT ); Mon, 22 Jun 2020 21:31:40 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A2B4C061795 for ; Mon, 22 Jun 2020 18:31:39 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id w1so17448189qkw.5 for ; Mon, 22 Jun 2020 18:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eHCbxa4yLLq+0pOhVBKweZwAtR1jWaAM46jnceQkpwE=; b=lzk/L5n62mkf/Wo6a6zH8O6wr3Zw88adM8VMgiuL8jPiS//Hx1thymfjN6+oEGvYz3 3bAJFxPc+ArHIAW7wLZuNUJaKeeSdo4HxIYoAC6F64avprFgnqqC7pbUc4IFCsjrKAHh gKgi9bb6RSIig4GQna3l0IIkjp+zf3Z+VI2pY= 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=eHCbxa4yLLq+0pOhVBKweZwAtR1jWaAM46jnceQkpwE=; b=drOePBGm7y8eEoOOCSy66k42ePA8otgUZ7RwG9V/+tY8RVhoiSjnjuGFhLdYfEHxnT 40OFChTgtwtokkwu3ftFoT3yBcQ9lhMGgy+YkwmaVy6E48w04Z+rRAerWEEoNmmF3Tb7 qx+vV+n7BhfJvptHOlfiAZMFXMT/mTJH1TmFLvUIkESApz+s9Ybwzw908tYwX3OGO5A1 cpnq9lBMMbHlAI0L3bTkC1RrVLydOcA7DWuqS6zLFSq3MYYDZ/HPFI8PtCZKx8vSb77V qwo+ananVo3ie7GZK1L8WJaNRafvDFuF6SYTOuv7DFLJngYYkL5MlHEHah6p4t4mizWK ODpg== X-Gm-Message-State: AOAM533uWVucwJ143spvMLKUXqyxLGpk55eaeXtFqKnWHSZp17R17azy Z+R3I5YZZ/rWRo/wlSl1o95cgEMUK92cxgUvZLvvYA== X-Received: by 2002:a05:620a:40c1:: with SMTP id g1mr12395512qko.391.1592875898709; Mon, 22 Jun 2020 18:31:38 -0700 (PDT) MIME-Version: 1.0 References: <20200609012518.198908-1-stevensd@chromium.org> <20200609055021-mutt-send-email-mst@kernel.org> In-Reply-To: <20200609055021-mutt-send-email-mst@kernel.org> From: David Stevens Date: Tue, 23 Jun 2020 10:31:28 +0900 Message-ID: Subject: Re: [virtio-dev] Re: [PATCH v5 0/3] Support virtio cross-device resources To: "Michael S. Tsirkin" Cc: Gerd Hoffmann , David Airlie , Daniel Vetter , Sumit Semwal , Jason Wang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , open list , ML dri-devel , "open list:VIRTIO GPU DRIVER" , Linux Media Mailing List , "moderated list:DMA BUFFER SHARING FRAMEWORK" , virtio-dev@lists.oasis-open.org, alex.williamson@redhat.com 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 Unless there are any remaining objections to these patches, what are the next steps towards getting these merged? Sorry, I'm not familiar with the workflow for contributing patches to Linux. Thanks, David On Tue, Jun 9, 2020 at 6:53 PM Michael S. Tsirkin wrote: > > On Tue, Jun 09, 2020 at 10:25:15AM +0900, David Stevens wrote: > > This patchset implements the current proposal for virtio cross-device > > resource sharing [1]. It will be used to import virtio resources into > > the virtio-video driver currently under discussion [2]. The patch > > under consideration to add support in the virtio-video driver is [3]. > > It uses the APIs from v3 of this series, but the changes to update it > > are relatively minor. > > > > This patchset adds a new flavor of dma-bufs that supports querying the > > underlying virtio object UUID, as well as adding support for exporting > > resources from virtgpu. > > Gerd, David, if possible, please test this in configuration with > virtual VTD enabled but with iommu_platform=off > to make sure we didn't break this config. > > > Besides that, for virtio parts: > > Acked-by: Michael S. Tsirkin > > > > [1] https://markmail.org/thread/2ypjt5cfeu3m6lxu > > [2] https://markmail.org/thread/p5d3k566srtdtute > > [3] https://markmail.org/thread/j4xlqaaim266qpks > > > > v4 -> v5 changes: > > - Remove virtio_dma_buf_export_info. > > > > David Stevens (3): > > virtio: add dma-buf support for exported objects > > virtio-gpu: add VIRTIO_GPU_F_RESOURCE_UUID feature > > drm/virtio: Support virtgpu exported resources > > > > drivers/gpu/drm/virtio/virtgpu_drv.c | 3 + > > drivers/gpu/drm/virtio/virtgpu_drv.h | 20 ++++++ > > drivers/gpu/drm/virtio/virtgpu_kms.c | 4 ++ > > drivers/gpu/drm/virtio/virtgpu_prime.c | 96 +++++++++++++++++++++++++- > > drivers/gpu/drm/virtio/virtgpu_vq.c | 55 +++++++++++++++ > > drivers/virtio/Makefile | 2 +- > > drivers/virtio/virtio.c | 6 ++ > > drivers/virtio/virtio_dma_buf.c | 82 ++++++++++++++++++++++ > > include/linux/virtio.h | 1 + > > include/linux/virtio_dma_buf.h | 37 ++++++++++ > > include/uapi/linux/virtio_gpu.h | 19 +++++ > > 11 files changed, 321 insertions(+), 4 deletions(-) > > create mode 100644 drivers/virtio/virtio_dma_buf.c > > create mode 100644 include/linux/virtio_dma_buf.h > > > > -- > > 2.27.0.278.ge193c7cf3a9-goog > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org >