From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FAKE_REPLY_C,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8B2DECE58F for ; Tue, 15 Oct 2019 21:36:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABBCA20873 for ; Tue, 15 Oct 2019 21:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571175398; bh=aMw709beM1rE8T7vybZcuJLSLiqFPzJHotrEtAZ9suw=; h=Date:From:To:Cc:Subject:In-Reply-To:List-ID:From; b=Adsf+KrdNZCbMy1ejPWY2smLJi+RRbv0ECs9cY6oov63HNGt5FAAPTfM/UZBswqGk dy1+cuiGc77IAYiCD6SFz2AKOfdOSYhDvb8q3qBa7EEjIbUo7i2lEpo8AWaJ7F0GPK c5hkxmyT+K2/XSaN70k/1MAqpXIYYr8oxSRO/2BE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727960AbfJOVgi (ORCPT ); Tue, 15 Oct 2019 17:36:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:60528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727127AbfJOVgi (ORCPT ); Tue, 15 Oct 2019 17:36:38 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1CB0D20854; Tue, 15 Oct 2019 21:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571175397; bh=aMw709beM1rE8T7vybZcuJLSLiqFPzJHotrEtAZ9suw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=1u4ZjfYyt3WgWzgBm8iqJwwNFm27RBd6GtDbCEvm1NexWbrPYkkyyIlQ/Kgj4LF8V kTRc6IUZyGmxMdyN332GwEFVn2nBCD1+SwnRwIAgf08rOuNMkDAzWpQSfdNXLO4aub cnMbsgaHG9rmVnqghp9hGuZAP72kWnarIRjXJc9g= Date: Tue, 15 Oct 2019 16:36:35 -0500 From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Kuppuswamy Sathyanarayanan , Ashok Raj , Keith Busch , linux-kernel@vger.kernel.org, David Woodhouse , Joerg Roedel , iommu@lists.linux-foundation.org, Krzysztof Wilczynski Subject: Re: [PATCH 0/3] PCI/ATS: Clean up unnecessary stubs and exports Message-ID: <20191015213635.GA177798@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191009225354.181018-1-helgaas@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Wed, Oct 09, 2019 at 05:53:51PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Most of the ATS/PRI/PASID interfaces are only used by IOMMU drivers that > can only be built statically, not as modules. A couple are only used by > the PCI core and don't need to be visible outside at all. > > These are intended to be cleanup only, but let me know if they would break > something. > > Bjorn Helgaas (3): > PCI/ATS: Remove unused PRI and PASID stubs > PCI/ATS: Remove unnecessary EXPORT_SYMBOL_GPL() > PCI/ATS: Make pci_restore_pri_state(), pci_restore_pasid_state() > private > > drivers/pci/ats.c | 14 -------------- > drivers/pci/pci.h | 4 ++++ > include/linux/pci-ats.h | 15 --------------- > 3 files changed, 4 insertions(+), 29 deletions(-) I applied these to pci/virtualization for v5.5, with Kuppuswamy's Reviewed-by on the first and Joerg's on all three. Thank you both for taking a look! Bjorn