Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5696112rwd; Mon, 12 Jun 2023 08:28:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4hI78LTzXVgL0QnZP9BYVquxdUotgG8g/7pVNO4v0gsgKHHQIpY1zIYUKBfRqib1gpv4Bc X-Received: by 2002:a17:90a:8985:b0:258:ebb3:932 with SMTP id v5-20020a17090a898500b00258ebb30932mr8065762pjn.3.1686583734356; Mon, 12 Jun 2023 08:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686583734; cv=none; d=google.com; s=arc-20160816; b=r/tAOiyRnsRUIztkjds1Fqm0lr1M91TxE+bFsdnxq2uaS2RaDtzGgk0LPeOqF+wfdS Ydk7oQHw2LrjRdXE8MGL45H7zEDnZsrhnFJDjnKxuasWDIZVSueMiFTHFDxEZ5QndC3P gNXds/sFcT9VASLfmx0YRZvi0sG9HL/Tk49zbfWuMZswyMVmqkkKJ27Q0bqSXeIrunP1 nHRxW1OMbp8MU2G9LtQl2jxDIn3OjhnIEGuFuEVTuA399xlwcKqVvmqJxbfTRzj1ZzvW 4hRarY4a4PJyjzgNBomTVMiRxYZweZ8U4yd4CZSfmi6hgJmkn69yfKAPCth2GUUblL7X aO2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=f6jpt7lo8djdkscLPVrkqv8ySzbiCW/dI5HE2X2RneY=; b=pWoVG3SsZqZ7eSghHTxhDoVvStXdZetrSr5wKN6vDDAIu9DPoiALcsN4yFgE3v5cE3 CG/dCpfImoJFAedQBmFBb57TIV7rjuskza+5UpxWV4wMCLSIYC0ltF9VEajSOmcNn0nA PkuBhz2XKcHz5J0vXucCenzOP26RMcbALjmvzg0XjRIhRCWUv97XHP4wq2Evlh+lTNz8 6j23Q9L/y2uTJ3ZwMyrOJBup7W+hbcL+8eX6RZslayD4RUbf0Mkci/2gFCyip5paWHxg z9zCYuxj+xpLa7a/+38Ca/e6lqKwCSPzjagNNGpgCVMKSX41wo6VYFrWqMlGklxlV18g Wl8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=D++FS2n3; 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 j14-20020a636e0e000000b0053424040bb7si6982790pgc.298.2023.06.12.08.28.42; Mon, 12 Jun 2023 08:28:54 -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=D++FS2n3; 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 S237351AbjFLO2W (ORCPT + 99 others); Mon, 12 Jun 2023 10:28:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239080AbjFLO1x (ORCPT ); Mon, 12 Jun 2023 10:27:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51537211C for ; Mon, 12 Jun 2023 07:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=f6jpt7lo8djdkscLPVrkqv8ySzbiCW/dI5HE2X2RneY=; b=D++FS2n3NbokanCiRHuXrRYJFB 1O4lDTnE+D1HQHO2AKpMGQ9+FQIFYTJSb0lQt3XrPAm08Tq6mnTZq+kgtFT44f8tGewYEwfIZHO/h YBgrsdTbfjZ9Y1XMZSrXDLROWWaZstFQitWpEw7rmifT7IYuYN6djDb3d/YRnetzhSJJqpJELxqq2 czIJi68GIT2zYuBVMka5Tl6uYHkD99z8M5hudtG6z1deEZxdxZHfnXeCQXVwyr8sGMxDTDg/oQrBa qITv89Zql2Si0e2SXoNmdtiN/FNHvISQbH03beP0rj+2N5MP2tb9B/fKR/5zmT67+j6MAscZFdmih 9rBheVNA==; Received: from 2a02-8389-2341-5b80-8c8c-28f8-1274-e038.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:8c8c:28f8:1274:e038] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q8iUN-004I84-13; Mon, 12 Jun 2023 14:25:47 +0000 From: Christoph Hellwig To: Juergen Gross , Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: xen-devel@lists.xenproject.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: unexport swiotlb_active v2 Date: Mon, 12 Jun 2023 16:25:39 +0200 Message-Id: <20230612142542.111581-1-hch@lst.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,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 all, this little series removes the last swiotlb API exposed to modules. Changes since v1: - add a patch from Juergen to export if the e820 table indicates Xen PV PCI is enabled - slightly reorganize the logic to check if swiotlb is needed for Xen/x86 - drop the already merged nouveau patch Diffstat: arch/x86/include/asm/xen/swiotlb-xen.h | 6 ------ arch/x86/kernel/pci-dma.c | 29 +++++++---------------------- arch/x86/xen/setup.c | 6 ++++++ drivers/pci/xen-pcifront.c | 6 ------ include/xen/xen.h | 6 ++++++ kernel/dma/swiotlb.c | 1 - 6 files changed, 19 insertions(+), 35 deletions(-)