Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp248753ybm; Thu, 28 May 2020 01:36:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXxz79APLmePhd/oKkQVmjxFmtyzWbj0BynXcH2Vm6DgVBusf3UApBie2FNPgIdMCKRQkQ X-Received: by 2002:aa7:d650:: with SMTP id v16mr1814369edr.267.1590654959871; Thu, 28 May 2020 01:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590654959; cv=none; d=google.com; s=arc-20160816; b=zbCS2hxYxX4ORFH/K3wUJJuNWdBj0dAtH9mTQD7fBBGeYwUInkvODH2taI8cVeKNdX WXgKOmGvNipK9juaFTr9VR74ihs/qFlw/mv4NkXwUT93gPPARaFDQZ1JdluSaHQHaXbZ iNAwsuwXUL4NhBHiPkTZFR2w1bZ9g0xrzZlLbMZyuUpKTN5Gzip8sx+hxRR6FIUXwmis VoEqCT9BZH8/WMnYatFet5l3RaettpOmpEBy9xiMDNOl4iBfQZ75t1QQvx/CjfWMz3jf b58QT0GvMQ/beg6dhUxjCOeW6eJCpsEVSQ0/MK+XVaRMDJkfCzo42W5G9TwndU64BnAN mTvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gYZwLjj7CzD0ymsoazFzJV5eo30qTW4FW8DTfD17Jfg=; b=aNJzpcbMS/R+6c26QNZLTqaTCZu8zHCurKQLHQ1I0+AiGAaLPDeiH4mJfsA9t8PJ31 86abxAyNlO4dsAHDouBmYQ6gCNYmYGrq5CF9WZ8tjJy3WRk5Jrp0KSm6kk4uO+umyRIp rmfHwyxUUIIE7f4USEe8oL/qCdFDvEmKgzDK1c8JbXlh3pXneiqrSTDLhSxqgqND6YfH YAfNX5mFn7S/VOPH3A4CwPlpdXIHhuvmIqt3oBSh4IGHZdyJt9m8TObQ66PPxCgaP0tX ixgNfLeGM+4YvkEKF0KN/GYEbnXz/m8sbTWBsX8lJU7l55eng38c68wUTYRyZjY2cf+s 0IDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WlMcAw4B; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si3410130eji.639.2020.05.28.01.35.36; Thu, 28 May 2020 01:35:59 -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=@redhat.com header.s=mimecast20190719 header.b=WlMcAw4B; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727018AbgE1Ibc (ORCPT + 99 others); Thu, 28 May 2020 04:31:32 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:57878 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726085AbgE1Ibc (ORCPT ); Thu, 28 May 2020 04:31:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590654690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gYZwLjj7CzD0ymsoazFzJV5eo30qTW4FW8DTfD17Jfg=; b=WlMcAw4BtvB54XapuhP5/hR5aEp9c7YYDjKPJBE6gg2jYESy1Xug4f46QZeeGEhBzqABQs lEvtky56OjU7xNonD1J6RYC6UdlB3EOKm6aSFDB9Ie28Q27MOIlt5S1YzQo8RsQ5AWhPlX nbtWl6g9/d6JBPLQ0DChNcRmN+Worto= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-431-X8CmvGu5MHitdtBIJs14og-1; Thu, 28 May 2020 04:31:21 -0400 X-MC-Unique: X8CmvGu5MHitdtBIJs14og-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6E9FCBFC2; Thu, 28 May 2020 08:31:19 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-113-50.ams2.redhat.com [10.36.113.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 09ADE62932; Thu, 28 May 2020 08:31:16 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 450E616E2C; Thu, 28 May 2020 10:31:15 +0200 (CEST) Date: Thu, 28 May 2020 10:31:15 +0200 From: Gerd Hoffmann To: David Stevens Cc: David Airlie , Daniel Vetter , Sumit Semwal , "Michael S . Tsirkin" , Jason Wang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, virtio-dev@lists.oasis-open.org Subject: Re: [PATCH v4 0/3] Support virtio cross-device resources Message-ID: <20200528083115.a6p3y24x3vqzcj4k@sirius.home.kraxel.org> References: <20200526105811.30784-1-stevensd@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200526105811.30784-1-stevensd@chromium.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 26, 2020 at 07:58:08PM +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. > > [1] https://markmail.org/thread/2ypjt5cfeu3m6lxu > [2] https://markmail.org/thread/p5d3k566srtdtute > [3] https://markmail.org/thread/j4xlqaaim266qpks > > v3 -> v4 changes: > - Replace dma-buf hooks with virtio dma-buf from v1. > - Remove virtio_attach callback, as the work that had been done > in that callback is now done on dma-buf export. The documented > requirement that get_uuid only be called on attached virtio > dma-bufs is also removed. > - Rebase and add call to virtio_gpu_notify for ASSIGN_UUID. > > 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 Looks all sane to me. mst, have you looked at the virtio core changes? How we are going to merge this? If you ack I can merge via drm-misc-next. Merging through virtio queue would be fine too. thanks, Gerd