Message ID | 20230518134253.909623-5-hch@lst.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp524769vqo; Thu, 18 May 2023 07:13:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6BD2+4KC8tLPBmiJUBEWwNv3SG+iivf6hlJTXGJXG934ah8nnsXUg2+G0NNAksBHji3umg X-Received: by 2002:a05:6a20:3d09:b0:102:5f75:91ea with SMTP id y9-20020a056a203d0900b001025f7591eamr2715999pzi.47.1684419195722; Thu, 18 May 2023 07:13:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684419195; cv=none; d=google.com; s=arc-20160816; b=XeYMutwh0EorWvH5a51OyVD5tjPW15cnDiQFxB8tnZWCWDTnRQqqiFYsIXW8SKcO9d sUK1B1wnAEBc5fJRSA109RXJ5jWanfGSJrkogE6R8+WtvDmBRlWNuLO5BRgSkhHiLBIw 7HxQ84/+DQi3o4sUpUed95UT/kVXN+vDPyngiMpfIb1r5+qXbl4tSGkIG+YMzsVMtqJL SV8ZdKHcId5ZaKyFSVDT7bjBOaaqhnnr3KhjXjQrXPLXUaQpUGtCdjuILvuMyTEdhXkt ntgDAMUzYotmBO1q0kt1A5NHKaDS9eP8JdX5XzBIJKj1NJeJte91cPuu0B5YWEU0INB/ lO2A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NrwaDXndPVrlGW4jqCyf20MCAXo0YJy7aoO3FDItFxI=; b=id0iTyWeafWv0b/PW6Dwki0gZkmpHX7xiefUu7hT5+N3J2hCsHMjUi3Sww+bkt5MEQ vxI5omPqrzHMvrBAWykVNgrq2vObbayqKP9Uh86m2GZRGXI1weF3/E4iL9eEhow202tX mcwYcL4VbXtGfcn/jivf4ycrkUpt4kEuOxi9/HOGwfZNKYewbdsOESH96qa5+AEDmV1j SaNa2siBizGjiQIcpzZ98pORGNZGdErRBtc+AA/pgaMDoRRdUgw35zGLjmono7ypO930 DRyCexuEl3xjz4tka5yUiNbGNLCApDvb8TkW0m3fsyIptWjLrCBkUDistbFByD7JB6PV k5DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lh9YNaJg; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z128-20020a626586000000b0064547f9483bsi1538834pfb.405.2023.05.18.07.12.59; Thu, 18 May 2023 07:13:15 -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=lh9YNaJg; 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 S231361AbjERNnl (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 18 May 2023 09:43:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbjERNnY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 18 May 2023 09:43:24 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08FA3193 for <linux-kernel@vger.kernel.org>; Thu, 18 May 2023 06:43:22 -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:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=NrwaDXndPVrlGW4jqCyf20MCAXo0YJy7aoO3FDItFxI=; b=lh9YNaJgqjsQ4ABDzfBXPDYhnF 0rgvGegVpdV31RoZMvM9hbEbN94AXBXG4zrc9vSce86yoaAY93okWrN31ceblBj4ur0q1+YmfM6Hg v2JiJP+oecPzr+HP7G86rf0eM/dmlMOfuhqIhS4tMRcj+JGXLecrE0QZepRPPoZJwkQxnA+j3FdZt RlxkFpSPRj7ljl509O3DDGybPMxj20tGTo404+biDFXzMLHmhd46mUIWs42T8tBhOx2EJsaRBCXG2 KFhN7YElPvMIUpYDvbAlPmwYYGOnFHuhw97nSyrLo0FGUtm5W07Q29cDo0EwumNuBftywhBKx3uyT dshNqNvg==; Received: from [2001:4bb8:188:3dd5:1149:8081:5f51:3e54] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pzduN-00D6T3-0S; Thu, 18 May 2023 13:43:07 +0000 From: Christoph Hellwig <hch@lst.de> To: Juergen Gross <jgross@suse.com>, Stefano Stabellini <sstabellini@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>, Ben Skeggs <bskeggs@redhat.com>, Karol Herbst <kherbst@redhat.com>, Lyude Paul <lyude@redhat.com> Cc: xen-devel@lists.xenproject.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org Subject: [PATCH 4/4] swiotlb: unexport is_swiotlb_active Date: Thu, 18 May 2023 15:42:53 +0200 Message-Id: <20230518134253.909623-5-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230518134253.909623-1-hch@lst.de> References: <20230518134253.909623-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766241542333792332?= X-GMAIL-MSGID: =?utf-8?q?1766241542333792332?= |
Series |
[1/4] x86: move a check out of pci_xen_swiotlb_init
|
|
Commit Message
Christoph Hellwig
May 18, 2023, 1:42 p.m. UTC
Drivers have no business looking at dma-mapping or swiotlb internals.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
kernel/dma/swiotlb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c index af2e304c672c43..9f1fd28264a067 100644 --- a/kernel/dma/swiotlb.c +++ b/kernel/dma/swiotlb.c @@ -921,7 +921,6 @@ bool is_swiotlb_active(struct device *dev) return mem && mem->nslabs; } -EXPORT_SYMBOL_GPL(is_swiotlb_active); #ifdef CONFIG_DEBUG_FS