Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3527737imm; Tue, 29 May 2018 08:44:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKgCTi4H/gQ0rp/wieVQvKIA3KWSvolmHE9akrwpz/4/1Lufw1MzRKSHLP2HGk0B0cZx75D X-Received: by 2002:a62:249b:: with SMTP id k27-v6mr12420128pfk.143.1527608661450; Tue, 29 May 2018 08:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527608661; cv=none; d=google.com; s=arc-20160816; b=YEqI+TQfSHJuPy8Orx9RqGq8SNFvnQlRWzoaZUk3a1kF/BESk7WQM6COaXs+W3Kaw2 TtA+4RuocCUinL3+N/1PdSyFXE6Rt8viT7ZAwcrSv16S5HWzQCGCXouWOj9C4O1ndtYj ONGTFQ1zbx8Q53y/TGagZpgAXd2Q2fBU+CtEHaia5cwLWW7DnJQjXl3UfOngevvYmQZO dtDjSEjh+c458v6/5sdb9KRFkDcgjx5GHJ0Jfqf6sUGBu+PI4dnF4xoGM5OTzfUwklC3 JpFeyMej2nK2NekdPSVKeV8U+WrcC8h72zwd8ss6ZYfCfx5kR9c/SpJ/YIMRmjJIV9IV VEYA== 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:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Nh0CYkDjnhYArYMd0TTGIYln0Ukm5PhJQfI29rno2xo=; b=TyZthnKByjg3L2OUN3ld8+STPjStaU36Tkkh9RyLvdvcePUwiLHc1jQq3dwtPNdty2 gJF441ujuPGZ+fwEAuXVIxFqMwMRPTyNOjpU9BNQmjUppNOX1nDT+1gCrXxS1gPqQ2HR vN0NDR8qN50cdULLNqbZ3awXwqOG0IWXJuMznv3Rd8zpeQ29OxWmMXWrLbqOSsyi0uj0 aWhdPdrdW/PCzTxSXsL0jaQf5hbVzldU6UzLEI7UWplB0xXAhcsRAE8r11VSTOX10OGq eVCpX66tAccYkl2KWNyFjiBazT0vpx8qi3IOvzWJKYFmVdyylfuaUaR2bj0gFEpDKWJJ AF2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=GI7kBuuW; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17-v6si12909261pls.597.2018.05.29.08.44.07; Tue, 29 May 2018 08:44:21 -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=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=GI7kBuuW; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935620AbeE2Pnl (ORCPT + 99 others); Tue, 29 May 2018 11:43:41 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:59326 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934948AbeE2Pni (ORCPT ); Tue, 29 May 2018 11:43:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Nh0CYkDjnhYArYMd0TTGIYln0Ukm5PhJQfI29rno2xo=; b=GI7kBuuWJdLE7pGA8d4/Kwbkk S6vnNjL43wqTJ/146FXrf/s9kPVJ10yJZNfSmZXb6n/2EnQJ4IUybHU1IAI0rpfRo91/jQouK9+hp bMImQQGE811mO5vdzT8TjBEM/RbgHHM6StX8rh83qqAAiJtmuoH2bzS8+9K3Wo3lUBnLU=; Received: from n2100.armlinux.org.uk ([fd8f:7570:feb6:1:214:fdff:fe10:4f86]:53359) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fNglz-0002a5-EN; Tue, 29 May 2018 16:42:55 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1fNglw-0001ED-JT; Tue, 29 May 2018 16:42:52 +0100 Date: Tue, 29 May 2018 16:42:51 +0100 From: Russell King - ARM Linux To: Will Deacon Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nicolas.pitre@linaro.org, robin.murphy@arm.com Subject: Re: [PATCH] ARM: mcpm, perf/arm-cci: export mcpm_is_available Message-ID: <20180529154251.GM17671@n2100.armlinux.org.uk> References: <20180528154448.2494709-1-arnd@arndb.de> <20180529153013.GH17159@arm.com> <20180529153324.GL17671@n2100.armlinux.org.uk> <20180529154120.GI17159@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529154120.GI17159@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 04:41:20PM +0100, Will Deacon wrote: > Hi Russell, > > On Tue, May 29, 2018 at 04:33:24PM +0100, Russell King - ARM Linux wrote: > > On Tue, May 29, 2018 at 04:30:14PM +0100, Will Deacon wrote: > > > Hi Arnd, Russell, [+Nico and Robin] > > > > > > On Mon, May 28, 2018 at 05:44:36PM +0200, Arnd Bergmann wrote: > > > > Now that the ARM CCI PMU driver can be built as a loadable module, > > > > we get a link failure when MCPM is enabled: > > > > > > > > ERROR: "mcpm_is_available" [drivers/perf/arm-cci.ko] undefined! > > > > > > > > The simplest fix is to export that helper function. > > > > > > > > Fixes: 8b0c93c20ef7 ("perf/arm-cci: Allow building as a module") > > > > Signed-off-by: Arnd Bergmann > > > > --- > > > > The patch that caused this is currently part of the arm-perf/for-next/perf > > > > branch, it would be good to have the fix there as well. > > > > --- > > > > arch/arm/common/mcpm_entry.c | 2 ++ > > > > 1 file changed, 2 insertions(+) > > > > > > I'm happy to take this via the arm perf tree if others are ok with that. > > > Alternatively, I can revert the offending commit if there are objections > > > to exporting the symbol. > > > > > > Russell: do you any preference? > > > > As it claims to fix 8b0c93c20ef7, which I don't have, I can't take this > > patch. Do we know which tree has this? > > Yes, sorry, it's in my for-next/perf branch: > > https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/commit/?h=for-next/perf&id=8b0c93c20ef78f15d8b760964ff79bda7f68c610 > > which is now in -next. > > I'm happy to take the mcpm patch on top with your ack, but if you have > conflicting changes (or would prefer not to export the symbol to modules) > then I can just revert the patch in my tree for now. I have no changes to that file, so: Acked-by: Russell King Thanks. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up