Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1401239imw; Tue, 5 Jul 2022 08:50:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vKdkT3jcVSOn4BxMHCYJUcjnTM7NFRznu3r88wGKLTFP/1ufrZPhD8auE9D6KMU9ye+Sdn X-Received: by 2002:a17:906:380a:b0:722:fbf8:29a4 with SMTP id v10-20020a170906380a00b00722fbf829a4mr33854332ejc.139.1657036206437; Tue, 05 Jul 2022 08:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657036206; cv=none; d=google.com; s=arc-20160816; b=qXOMyxjy3QKOPLko4PDZHv1gGz7lxvhXKbgSq5o2Lx2I3rtlMGe46WO5/IjDDMthDM SrgspPxQBLdwI8i/eEOuI6e1Xays64BHu2fYznhb3GrvcubYHylHpkQPCn7j/uZZcorb MTKMij52NaozNWw2R17KkH54dLdMOFP56xKSfml68+A9UHk04RUjBOC84KKxtP6RDbR9 BnNV5XY/ha8ZWnyUJNhKsLb+Y0H/IyIR1Ssrh/eUByzGz016LA7t3gACVOZOUmlrbpOe dSWvsofhwYrZdbvPwKmgHplShTs2HFHQ20uxqbCfrzZ9RkWMtf8OT+uKknobA5dgqS4R ps3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8LevNv3Hf68ZwMaX/GpqTB2JxrZ9cDDvu+Nb0ET+5is=; b=sOVEySVQanTkmiyuNV1IzdPaZ6sfGNZjccCr0liww4VElyr+NLlYiqW+RpePwI1whh 39eFXe7xp6dM0mvLg4s30z4mPK4Ex4TQ29v4ozXbmwIYwGUDvnh2hrY8wUNnV0Xiu1+W +A5XqqQEIG4Wgnfd8TlZJ/AmETHIG1SIgvZeqs2NP2URrido/XqEnGOFbuh3gJ3qLMgJ MqOGnTlos2Hv4NvIViKx7UwAX3izyYrpGyxuYaghcAjxuH1hXIKyRLzbDbVM8nFhj5dk CNwlx4aNARRUWQy8wYJt3t6LwP24Y9MIa4faxsbYjjkBySS4rxP5CZP7josZLFs6LRVB 5HXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RUbCnqHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz9-20020a0564021d4900b00437a255e8e9si6661595edb.509.2022.07.05.08.49.40; Tue, 05 Jul 2022 08:50:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RUbCnqHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232373AbiGEPpp (ORCPT + 99 others); Tue, 5 Jul 2022 11:45:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232433AbiGEPph (ORCPT ); Tue, 5 Jul 2022 11:45:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0397318E04 for ; Tue, 5 Jul 2022 08:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657035918; 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=8LevNv3Hf68ZwMaX/GpqTB2JxrZ9cDDvu+Nb0ET+5is=; b=RUbCnqHcqMvbgD1fHiuAexYtWA9AqPiom2PdQ79TGjWONQJJUccTAQHDZyWx7pyzjkxVAj HP0ri99wv0kAMqhQSnjq37f5FqwprXDEeUyUXv2Y+sykVIxWSlLgie0DQoChMRj2YrHGcs kTrag+t7XKTBJPnZDWj1UIrekE8g5Ic= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-543-loLCFY4GMoicMdzRKYlMbQ-1; Tue, 05 Jul 2022 11:45:13 -0400 X-MC-Unique: loLCFY4GMoicMdzRKYlMbQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1A3B1185A7B2; Tue, 5 Jul 2022 15:45:12 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B75ED404E4DC; Tue, 5 Jul 2022 15:45:11 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 173C31800083; Tue, 5 Jul 2022 17:45:07 +0200 (CEST) Date: Tue, 5 Jul 2022 17:45:07 +0200 From: Gerd Hoffmann To: Dmitry Osipenko Cc: kernel@collabora.com, David Airlie , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , Emil Velikov , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Gurchetan Singh , Thomas Zimmermann , Dmitry Osipenko , virtualization@lists.linux-foundation.org, Robin Murphy Subject: Re: [PATCH v7 7/9] drm/virtio: Improve DMA API usage for shmem BOs Message-ID: <20220705154507.67ovlun4m26xzppn@sirius.home.kraxel.org> References: <20220630200726.1884320-1-dmitry.osipenko@collabora.com> <20220630200726.1884320-8-dmitry.osipenko@collabora.com> <20220705135323.emr4gdbcxoisdcxe@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > Also note that pci is not the only virtio transport we have. > > The VirtIO indeed has other transports, but only PCI is really supported > in case of the VirtIO-GPU in kernel and in Qemu/crosvm, AFAICT. Hence > only the PCI transport was tested. qemu -M microvm \ -global virtio-mmio.force-legacy=false \ -device virtio-gpu-device Gives you a functional virtio-gpu device on virtio-mmio. aarch64 virt machines support both pci and mmio too. s390x has virtio-gpu-ccw ... take care, Gerd