Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2454313rwd; Fri, 19 May 2023 06:07:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4wRwtPYzSyDl1e5W6BuOs13JwewBKEeVmTYPK34rCk4kRdrj3L9HGT4fuxQODcC5nie/+o X-Received: by 2002:a05:6a21:3290:b0:102:f744:a708 with SMTP id yt16-20020a056a21329000b00102f744a708mr1989548pzb.35.1684501663582; Fri, 19 May 2023 06:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684501663; cv=none; d=google.com; s=arc-20160816; b=Y8d6lqtXT0zF2obg858R7+DQMb/Qn6FW+Xdm/N8GJVvn5JzRR92Qeb3mOaeqZ+xGFW 1Bhrejmf7hbUxFgQZf1gb3MaeW7fa7INHMqoAxUXRnSJYShLO9OS++t8O2eUCWRj8qfQ 3iSyP1eqqIhT0Fv4K+SpJBvyejI4GpTNCXG96Vp4suCZwwxyrTE/EM7wwyP8lsXK+K2P EFlx46izNVKoN9Vo+lRjQP6LYcp1l4LOMggBZ+H1Fug5PNkElTSM9NZHsrYxyIT+fn0g +o1kfGzA2fbKNNS4GFxBw7+6SYqaMt9PFQzJpvALv7TWvHxjGLuJzSCT9vBrkN8N+Q2P 3GEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=7NvVF79HLp7IWMYN8SVDZVwXLsMKzGo1dr5P1n9/ooQ=; b=rl4QbDPjYehL+m+wFF6cZgj3OdMKwUlNqrMtTTVh3U98SPhuw10U54P0eCXPVwzmLy z9fkO8yHD6zGUzZ9FT735dTtZRVy+bcJ/nbpIv3GSu1VjYKaY263opwng1/Xyxd/DIi6 I7zP1zRvMg/A0LiIpnOr03kuFlm8FFTBiHE+TCptL7Y/e9232WUgE9LppcktVj6D0TEn cCx7pU8oTkTS5pLKGpN+IXcoCRvfNVawqHMMfrCv96AhM0uhbnbVnY/MmXBK7f4M1ztc lCq4GErK2/euMxHCkRJ8CKa6CXeGz0bL7/dybbER9xPmzfcECq363MLtBVoEsPCSkZEr 1pmw== ARC-Authentication-Results: i=1; mx.google.com; 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 y16-20020a63b510000000b00534784002afsi2961487pge.807.2023.05.19.06.07.28; Fri, 19 May 2023 06:07:43 -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; 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 S231907AbjESM7f (ORCPT + 99 others); Fri, 19 May 2023 08:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231862AbjESM7d (ORCPT ); Fri, 19 May 2023 08:59:33 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC20C187 for ; Fri, 19 May 2023 05:59:14 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 725BF68C7B; Fri, 19 May 2023 14:58:57 +0200 (CEST) Date: Fri, 19 May 2023 14:58:57 +0200 From: Christoph Hellwig To: Andrew Cooper Cc: Christoph Hellwig , Marek =?iso-8859-1?Q?Marczykowski-G=F3recki?= , Juergen Gross , Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Ben Skeggs , Karol Herbst , Lyude Paul , xen-devel@lists.xenproject.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org Subject: Re: [PATCH 2/4] x86: always initialize xen-swiotlb when xen-pcifront is enabling Message-ID: <20230519125857.GA6994@lst.de> References: <20230518134253.909623-1-hch@lst.de> <20230518134253.909623-3-hch@lst.de> <20230519040405.GA10818@lst.de> <20230519124118.GA5869@lst.de> <8617570c-6dc4-74f5-7418-98f04f7e0ece@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8617570c-6dc4-74f5-7418-98f04f7e0ece@citrix.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Fri, May 19, 2023 at 01:49:46PM +0100, Andrew Cooper wrote: > > The alternative would be to finally merge swiotlb-xen into swiotlb, in > > which case we might be able to do this later. Let me see what I can > > do there. > > If that is an option, it would be great to reduce the special-cashing. I think it's doable, and I've been wanting it for a while. I just need motivated testers, but it seems like I just found at least two :)