Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp388933iog; Wed, 15 Jun 2022 04:31:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uF5j8ejn7V+N0kJ2dID70bQJd59XmHbUC6RAv3++6bcZ3ty5wTJnXM+x56vVlQ2qwjlnxX X-Received: by 2002:a17:906:53c7:b0:711:d2e9:99d4 with SMTP id p7-20020a17090653c700b00711d2e999d4mr8313307ejo.716.1655292671043; Wed, 15 Jun 2022 04:31:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655292671; cv=none; d=google.com; s=arc-20160816; b=SnfhsaDtDV8CrQgTJXubQnGVgig6k8XM/zvnC3m2K4m53eZQn1e9UkaTVKScuiEdZA Gm4iIzxXPV4sRuvmQJGcRHSiTtsCR/bOO1vWY2kl9wXbtM3iLPtJ/elKSd2wJt5usFkW sQiM3uLVdDwoHHOk3/RbMfCnxIiJQ3yFs+avb7nwSw5/5SXwtkPrli5eRbuWT2ykhTui AT/C+SagheoIQ34ugJRjUTVoXozWpka2SHfcPSz2Dr+DGICfjdwogK+oQKwL5hrKRuGV NfqSS7ncJra3Rs8Wkt2sLpgCwguRhBeEjDq5JONDfRmwCxnyHgsvZ9RGgxa4DiHwVy8n i29g== 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=ffs70zIAEPDoQR7c4GQM9h5KRYBlcReN8DDYbmuklWA=; b=K8azsjACDscFiNPpTVeTExILzN5S86G/oSFSN0NzKRJDbTYHHrtQ7mU5NB1bYbtL/+ CU6fcs7ZlkCYuOGItOW+oYmRwDJ03Kddvs0HVgjC4lQ37Bpc/+liLcfspOVFaVO1KVOO F8eycwUdratb0PASfzQnsw4m8UMAh16HHJXxU+SW5K/tSReJx53IOtTkSpY3/3Hbe3hA q6GJGVc9M9pQ+WPY5+ncGJmJTbLuaBQsvuYh+028EnuZIxqdlL9oiEGq7gA7SrQyowxu 8urF9Q8pr+2uL54KCYkViPiFlB41Za/FWquVlW6it8ZnIPf8CkWvf/zaQsvdzyD2y2di a+iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=eVx0xL+T; 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 dm14-20020a170907948e00b00717917b7d99si10805410ejc.274.2022.06.15.04.30.44; Wed, 15 Jun 2022 04:31:11 -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=eVx0xL+T; 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 S1347668AbiFOL3C (ORCPT + 99 others); Wed, 15 Jun 2022 07:29:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347562AbiFOL2m (ORCPT ); Wed, 15 Jun 2022 07:28:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAB3843EFD; Wed, 15 Jun 2022 04:28:41 -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=ffs70zIAEPDoQR7c4GQM9h5KRYBlcReN8DDYbmuklWA=; b=eVx0xL+TUT9/UozlSGm3BSao4r t4A0k50rGvMY5v0y2l2Lu7kInP8Iuuw2lNBBwjXDQve2/BETf31KEI5uWFKraX1UBrrTHQVr9EObw MqIxPKjQMHg2b1n6EvewXsvzMTYm15xPMYAnWZ4KXYnarus+p5ywQRg6pwLgh9jcmoX/cfUML8z0A wTkEwU+8XR/zRJXGSR1suj47ftkmSZPxPcpjkOcB4FnubiT1DhUT0LpHrm0vdP32doAJvmx5DkMqb 9L8oBwaINGC5njlF/BxW0fMQy+3UFXFkTvMhDiK3hApgX19XsumxnSJEFRqzfiU55vd0wyBpOzK3a sV+lQJXw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1RCR-00EB1m-Bb; Wed, 15 Jun 2022 11:28:39 +0000 Date: Wed, 15 Jun 2022 04:28:39 -0700 From: Christoph Hellwig To: Juergen Gross Cc: Christoph Hellwig , xen-devel@lists.xenproject.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Stefano Stabellini , Oleksandr Tyshchenko Subject: Re: [PATCH] xen: don't require virtio with grants for non-PV guests Message-ID: References: <20220615084835.27113-1-jgross@suse.com> <9b9785f5-085b-0882-177f-d8418c366beb@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9b9785f5-085b-0882-177f-d8418c366beb@suse.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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Wed, Jun 15, 2022 at 01:26:27PM +0200, Juergen Gross wrote: > On 15.06.22 13:24, Christoph Hellwig wrote: > > I don't think this command line mess is a good idea. Instead the > > brand new grant devices need to be properly advertised in the device > > tree, and any device that isn't a grant device doesn't need > > VIRTIO_F_ACCESS_PLATFORM. No need for a command line or user > > intervention. > > And on x86? ACPI tables or whatever mechanism you otherwise use to advertise grant based DMA. But that is irrelevant for now, as the code in mainline only supports DT on arm/arm64 anyay.