Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp342036ybx; Wed, 30 Oct 2019 16:13:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7XY5MXYVm5uR+gfJIcIGgiZqf8EHe8v/aw8jL2gWfz6+tMFOe2Gpb1lLGexqDtdAG2g96 X-Received: by 2002:a17:907:1189:: with SMTP id uz9mr754554ejb.201.1572477222185; Wed, 30 Oct 2019 16:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572477222; cv=none; d=google.com; s=arc-20160816; b=zMoAD/ymw4GdogCerSFieO0rTcQE3RzlxoiO39HI/1Qa+Yud4SRL58qerm6ozFa8bN sjcG0QZ5NkxmSCgMGYm0n6T2e9xop32Vq/3m3MhaVOXisNoVUaIdnaV6l0aKsx4PDRjB nJ0gc5FbBMEb1Hw6VSkHwfWNLVws20VuzqxGba+e+Sw2aCzu8s60P7mK1cJWl4CuuAZb G0WOH/aoGBH5tmBwuP5iLEjED8i9yQ7Dx8os/DGs+qAwLjiiWCgscbeC3U2QaFu23eU7 tA/WBKOqxpm/AlyRTO9mTHXOQSGIgYxvZLxW/yp/HXBWgDddy94VKezR0AZIacITcfnc QRzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=8MbiqSosECEW6Dc0aRzv04JEVyq40kVtdaMdvHf0JoY=; b=mEYhrnkEEP/Agws98kBB6SWPvR+NnUQx6sRld5fgp8twyBzUBS0qmlSe1cPTuB7Xun NyvM5yHsFEFtVLQAKY/TzGUmJv2CefxjzDGq0MFt9bOzZtNRf/4ryYiPVGi2e9jb9E5R aQNQI0MJmPMGEs9nT6Y1K26u+fCeNy2jaO++isx76S6OW6yfdZXevYRgDmmsnxK6hX8y 9xE4IAb/56ZDuaHnyJmRf3TI3i4+AEUfc/TdHPKuRaIycn6HEP1duwHitV06MPYJI6t1 8Ie54Ow5XKYLyZwVnrw1A85GUSgtcDUlRumwe5BfifZ8/2DutY8cOEF1V/q2NbEWzDIJ 1a+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Yi+gyYU/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1si2230777eju.296.2019.10.30.16.13.18; Wed, 30 Oct 2019 16:13:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Yi+gyYU/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726889AbfJ3Uao (ORCPT + 99 others); Wed, 30 Oct 2019 16:30:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:60810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726783AbfJ3Uao (ORCPT ); Wed, 30 Oct 2019 16:30:44 -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 C6211205C9; Wed, 30 Oct 2019 20:30:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572467444; bh=7S030207/lOki5T8aX6j2Aiz+5BYaIpHjY2GGLIav+U=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Yi+gyYU/5+OuyQVMs6E8lOV+CkSwzRgsP4mvwaCNJoZfb0QocOhj7h6TvcML8FYsw SSf+N2W9/3cddKdGX9mj5qd7PfPBspOF60E2FFbLYdF5xxgHId4OekX9YLgjts9eGB WYRjcUBQWtOieOlw/l/y4/t65AeB97w45y5gHncM= Date: Wed, 30 Oct 2019 15:30:41 -0500 From: Bjorn Helgaas To: Will Deacon Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Robin Murphy , Joerg Roedel , Lorenzo Pieralisi Subject: Re: [PATCH 3/7] PCI: Export pci_ats_disabled() as a GPL symbol to modules Message-ID: <20191030203041.GA247194@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191030145112.19738-4-will@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 30, 2019 at 02:51:08PM +0000, Will Deacon wrote: > Building drivers for ATS-aware IOMMUs as modules requires access to > pci_ats_disabled(). Export it as a GPL symbol to get things working. > > Signed-off-by: Will Deacon Acked-by: Bjorn Helgaas > --- > drivers/pci/pci.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > index a97e2571a527..4fbe5b576dd8 100644 > --- a/drivers/pci/pci.c > +++ b/drivers/pci/pci.c > @@ -123,6 +123,7 @@ bool pci_ats_disabled(void) > { > return pcie_ats_disabled; > } > +EXPORT_SYMBOL_GPL(pci_ats_disabled); > > /* Disable bridge_d3 for all PCIe ports */ > static bool pci_bridge_d3_disable; > -- > 2.24.0.rc0.303.g954a862665-goog >