Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4585139imw; Tue, 19 Jul 2022 09:17:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucXnxpjYI8OseG+73BLmryuD1CD3Wg9UkZh66FtZ/hfMFIZ1NQQMiJ7wbnkdNM1q9iuiNu X-Received: by 2002:a17:907:97c8:b0:72b:1cc7:3c4d with SMTP id js8-20020a17090797c800b0072b1cc73c4dmr31073505ejc.217.1658247430433; Tue, 19 Jul 2022 09:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658247430; cv=none; d=google.com; s=arc-20160816; b=nc6byl/Bh+SD+Qn5qR6PQ1uz8GTZRAN4YlZ4eaJr0LekUJmOThhKg4DhuIH1RMLmrs TH3cl7t+gJfFKXaQKIDTq9UmtEotFqDWiSZa8CBdDzA6LBj5fq9+cUAHI83hsLa0igBo ayrB7QD8Gy41nJlq4V0AxKKWM37mfHUV++g+SP8GA0LbWsEEba1PhakUj8MVwxDZpSPr rpVp2wHpfD1aUEfNyECVyIvKCs/kPOpdSod0FRTv9Z8Ro23IgxoTMjqFRssMv1QC1LRC AAGAnkOY2Ajx+fVVMJLhC3ZP77gUzaWMk6ZRh1Ddfqhx0B9g+VMiWxekyYEJAH5cBh+F 3RiA== 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=c9bLWd1eIP+e4V5D1L4BG6lCv4UzYp1WNkQVrUUxNW0=; b=Tad4vcYMk48Wnh2DqM6XTD9stK7/3hmlLPgCxi/Dhyk2nVvzOfJKMmR8dF8ApJJSgE n+mC+EpnCpsNgDms31QNZfel3vhHCQwbHkpL3QOzYQNxak0n7eurVPtd4z4rsHUi3hw7 OLDpwV86KuKMScPNAU3zWZ3AWMBo9yOO6sUGKLMUuKyTC7Ez/dsMreWXcbAHk8fyzkbT oYzeIzbpRbLijsZMfuPdcAYf+Au1iL7PEwS3KrHq6uIGfEph/6j3aG2tzQDzVgqi/u2C yY72TPeGPFbZvQgwYuCjO7OSCPsBfZUe1o2X2J0sG0q/FPgXrMekFJ1WKA0wJwS1B0AC QaMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RMLFIG0A; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020a0564020f1200b0043ba0e9cfb6si1825520eda.356.2022.07.19.09.16.45; Tue, 19 Jul 2022 09:17:10 -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=@infradead.org header.s=bombadil.20210309 header.b=RMLFIG0A; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239193AbiGSPXl (ORCPT + 99 others); Tue, 19 Jul 2022 11:23:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbiGSPXk (ORCPT ); Tue, 19 Jul 2022 11:23:40 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8124F564E7 for ; Tue, 19 Jul 2022 08:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=c9bLWd1eIP+e4V5D1L4BG6lCv4UzYp1WNkQVrUUxNW0=; b=RMLFIG0AqZXLjeQwLqkcXNb0qJ X6tACYuh+4mKivWUps4p4RGwGu0Mgs8veAIrTkj2Ze4/1pQo18woBvGs9Ab4AI2sdOCg2lFCu0un6 XiwkE8I3jERQ8TegAfLi3XSXK6QV3diM8bjGLUH71lcpa2dLyGW3ZVbWHNKBwZtt1Un4bx/kZvAS5 Fb5FIjWiHAKlhGV/iUkidpojD1JnjeuE+5GRao5XmcnQbQUP+f6PGqWujTbGjFx2WfcZGopgxan9L N6+ZVaPUjPRMFf2VrzBe2cws5YOB9dChn2p3OZcNDucQnEpQOHKuGbem3FGHIj5n9WTdr4qftrhGw wdorwe4Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDp4L-00A0JV-0I; Tue, 19 Jul 2022 15:23:29 +0000 Date: Tue, 19 Jul 2022 08:23:28 -0700 From: Christoph Hellwig To: Keir Fraser Cc: "Michael S. Tsirkin" , Jason Wang , kernel-team@android.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] virtio: Force DMA restricted devices through DMA API Message-ID: References: <20220719100256.419780-1-keirf@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220719100256.419780-1-keirf@google.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE 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 On Tue, Jul 19, 2022 at 10:02:56AM +0000, Keir Fraser wrote: > +#include Drivers must never use this header. We have a few pre-existing abuses in the drm code, but they will go away.