Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1334507imw; Tue, 5 Jul 2022 07:44:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vPWdk6ex1OtRr75hUMHGxd/FII+CAussECV33CsfX3YmTnRuao0lC7uvYgQH+Zhpb8IK8E X-Received: by 2002:a17:90b:1bc6:b0:1ef:947a:8c63 with SMTP id oa6-20020a17090b1bc600b001ef947a8c63mr6476286pjb.4.1657032279592; Tue, 05 Jul 2022 07:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657032279; cv=none; d=google.com; s=arc-20160816; b=s8/zUuhL3waX+6vtHGUgYqR/IV7KRC3FAzjle+zDvQyh2m8zAlhPZhB7rM/wgfbUaa uTGpjjPDccarlMY8xXUthads2sAGz31q5RUaBclAx9k9kZc3SJ0uGJ483lfIHtd75HDE vThNGrnEpgcXNJGEdF2ZioD2cLG2IEs/2rLuiAt5AwFu8Z+hGZ6YCQexENvlB3p01Jvp 2YUUsZsrG0EYsH6dAY9CcxbhKuBwz/rg1OJKkJqkNsewt6jh/VveIkKkBjLQBkB74JEo WRWBV6nZv9680Hj4OpyHpcqAOl+FqgQSlxBs2vxgTDZKKqIWM9zqjn0kvhdmvWmjMQtP gGXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3pNnzB8jnK6owSLG3P2QL7aGYSUPe3vq0n0J7aQUYhc=; b=hAr8og53QrQCWam0UBcNFTx15wf+dDMV7pcj3T76+ONgr9mEFOnRW3bssAMkq+I7li n6I2XeOu9Sk5ge3vpgl2IFm6dwXxrR6P4b9WjvgPVEeLX8FK+AjHiyC89Q1r6eLbgdNl 6dUReULMlEJximELSIwKT3uvcmx45uPltZbQ1kWU9KE1swIp4z4xLd/oBPO4ODyne9P+ nM7uGMeuNZ5xMw7Xx7rqbLnsophGuaobOHze2Q5O6PwfJ3mHo45yM5FkQn2TIIVfUvtx MeqcF+BFswAJPYurrFNMLMC8BCU9PG5ljD1Gj9z8dw5s/gq31sMlVMKeItgTKduU7+6D RJwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=fAsFTqOv; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj13-20020a17090b088d00b001ef90fd561fsi4589364pjb.35.2022.07.05.07.44.27; Tue, 05 Jul 2022 07:44:39 -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=@collabora.com header.s=mail header.b=fAsFTqOv; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232444AbiGEO1q (ORCPT + 99 others); Tue, 5 Jul 2022 10:27:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232489AbiGEO1n (ORCPT ); Tue, 5 Jul 2022 10:27:43 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BBA7F3D for ; Tue, 5 Jul 2022 07:27:41 -0700 (PDT) Received: from [192.168.2.145] (unknown [109.252.119.232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id C480166018E6; Tue, 5 Jul 2022 15:27:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657031259; bh=757BlfEAarcDB8teCnXP3bQ++sWI7M4gJpClxrlC6Tc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fAsFTqOvJYrGd2xQrzpm/dbaDi1m8N3QVLox3iMYe5PdwvY8tFS7kTWQNKUKwrwMb rU4bNx4CH995+WH4T5Ibp/uKOv3eSw8CYyUjkD5Kkbx0YlB7rHP7XxSQsJ/2c6MCmd Egtf1NFGPLUC+ZuwBdruCwIjWARqf9YPHB/VAAJdhuxqvv3TQKLA8FoknCj1EY5ffo 11M80uepepqQCy8Z+YSr3VXlzo2yRSylu7WYjXHKUPN/Bri3UUXclLiYOGLLrpuEP5 9up6wmSWsdLukPkXzgj9r7/yXNK76SKqdivQ42+IKCm2EmIlzovZYU8W5K08a1SQfm T7skAHXQciYMw== Message-ID: Date: Tue, 5 Jul 2022 17:27:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v7 7/9] drm/virtio: Improve DMA API usage for shmem BOs Content-Language: en-US To: Gerd Hoffmann Cc: David Airlie , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Thomas Zimmermann , Emil Velikov , Robin Murphy , =?UTF-8?Q?Thomas_Hellstr=c3=b6m?= , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Dmitry Osipenko , kernel@collabora.com References: <20220630200726.1884320-1-dmitry.osipenko@collabora.com> <20220630200726.1884320-8-dmitry.osipenko@collabora.com> <20220705135323.emr4gdbcxoisdcxe@sirius.home.kraxel.org> From: Dmitry Osipenko In-Reply-To: <20220705135323.emr4gdbcxoisdcxe@sirius.home.kraxel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,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 Hello Gerd, On 7/5/22 16:53, Gerd Hoffmann wrote: > Hi, > >> - * So for the moment keep things as-is, with a bulky comment >> - * for the next person who feels like removing this >> - * drm_dev_set_unique() quirk. > > Dragons lurking here. It's not the first attempt to ditch this, and so > far all have been rolled back due to regressions. Specifically Xorg is > notoriously picky if it doesn't find its expectations fulfilled. I saw the previous attempt. Back then it was a mechanically created patch that didn't get any testing. > 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. > What kind of testing has this patch seen? The Xorg and virgl work perfectly fine in Qemu (with and without IOMMU enabled in Qemu) and in crosvm (ChromeOS virtual machine). -- Best regards, Dmitry