Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1354439imw; Tue, 5 Jul 2022 08:03:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1unWTRXZiICgVYBzJHOm0JOAvpEDah9e0zcDitMNdxUiMMLmHLA5/Sqd+lu7/qdFCY/+4Cu X-Received: by 2002:a17:90b:33cd:b0:1ed:5a2b:8d1d with SMTP id lk13-20020a17090b33cd00b001ed5a2b8d1dmr41488713pjb.202.1657033421487; Tue, 05 Jul 2022 08:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657033421; cv=none; d=google.com; s=arc-20160816; b=yJY4DwDzbW8xnCs+1WJFW/kEzQbOvuffX6LwNs4t5xu+Pj/cnC+qQ0Uzyzv4imxaK5 cg9r7B5AH4Q6DRcuHt9EhXRgjTQToMeepbV460Rhbr6Pdt6XkuWIr1216D/Guqx/cY3o EFxSckjTMgTTsoYkS8m4lL77uLZma3makLCYc3BSYLIsFiQFJQ14f8dshwd/MuX/MFt0 9EKH/s0bZtA7BGxRT1+ZSE2TSrmpGlNjAc3aUHfSbQ+h4koRYqwAiBVIyf0gVlSID1LV +6qjCbbixWKnuzpAWqdF/iQ1cxmJ6A9KqSkhiTsoV872R43Mz1Jzfa/6ETnzhTiRg7TR TwQg== 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=uN5nWEVYHc9xedfrm0KeXe0ON9wRefPaICdww0TrCno=; b=pxP2UYvthaHJCsbe0vSbCZtt6vlh3JVIj8kFjy6MosoWlPz4ZCC9GWLvjIdPcv9EJ9 dDMW9QZQJVS5veG2WLWL+IBkyBnJdaEdFyetUBRoqwTgS+nIdHpVWPy0mjw53B1IXtnB TBatbr5nRFA+ZZVRGSikYGA8671MwLrFXrFyp1gU9x+7d8wOs0Vly3JrDEuT6zvRb1G4 Jxi6BOD9MdP0nnNZh2t8hmsd++wtHm5rNEU2AvdvY8kUzPzDDXVnpjpgDJbDL0CCydBZ M88y1VgMIbVeFNAYfnpf+6prEQF3seJqtiu4LG2YyNwjyWvFupqENbDMzBy/cuSJV4f8 ozhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=a5y+Rjpc; 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 x17-20020a634851000000b0040caf6c326dsi45655890pgk.645.2022.07.05.08.03.24; Tue, 05 Jul 2022 08:03:41 -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=a5y+Rjpc; 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 S229460AbiGEOGM (ORCPT + 99 others); Tue, 5 Jul 2022 10:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232297AbiGEOF7 (ORCPT ); Tue, 5 Jul 2022 10:05:59 -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 387091EC48 for ; Tue, 5 Jul 2022 06:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657029213; 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=uN5nWEVYHc9xedfrm0KeXe0ON9wRefPaICdww0TrCno=; b=a5y+RjpcGC9PWjhHhI908qod48vrbHBoyWUZFcI7VRmwVhbhn+2JDuFLUuV2yVIVS2dhpn yu0brFSyTgJE7ihFPcKHBvi0Cs0uyq1QiqSy+arYGVzwxwWXVUIdmh3/DjbvyYIjhZs+ec EnGuIWZGaKkX92n51SI5NzqpCrQHYxA= 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-665-j0eypEIsNi2bMMFTdSfFTw-1; Tue, 05 Jul 2022 09:53:26 -0400 X-MC-Unique: j0eypEIsNi2bMMFTdSfFTw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CD78580D41A; Tue, 5 Jul 2022 13:53:25 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6B6FB2166B26; Tue, 5 Jul 2022 13:53:25 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id EEDB81800083; Tue, 5 Jul 2022 15:53:23 +0200 (CEST) Date: Tue, 5 Jul 2022 15:53:23 +0200 From: Gerd Hoffmann To: Dmitry Osipenko Cc: David Airlie , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Thomas Zimmermann , Emil Velikov , Robin Murphy , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Dmitry Osipenko , kernel@collabora.com Subject: Re: [PATCH v7 7/9] drm/virtio: Improve DMA API usage for shmem BOs Message-ID: <20220705135323.emr4gdbcxoisdcxe@sirius.home.kraxel.org> References: <20220630200726.1884320-1-dmitry.osipenko@collabora.com> <20220630200726.1884320-8-dmitry.osipenko@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220630200726.1884320-8-dmitry.osipenko@collabora.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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, > - * 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. Also note that pci is not the only virtio transport we have. What kind of testing has this patch seen? take care, Gerd