Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3518145imm; Tue, 29 May 2018 08:34:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpjJaHt4p5r3G+IaqbxrloCapFDxLI4aWDgR9RJ10mXcZLE9QlsYSSuHEuYXRwuvJxQFDwA X-Received: by 2002:a17:902:422:: with SMTP id 31-v6mr18568964ple.320.1527608064100; Tue, 29 May 2018 08:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527608064; cv=none; d=google.com; s=arc-20160816; b=UjfGcu19r2xT4omYsknRZZyxbfZhq7u8jgC7DGMXCiVwojrLIQAFMRgZV+sAb5a6rz ufSv2B2jKwooJEowBcfCrtmyCTtXsONLduKkMYVoLIQTGfPPivMXJUgwtAXbjRU1sP6O RZb4iszOQLTslHLhUolhyg8uRda7+jRpM9tsp3h9NWll0y99nE1XotO8meSfA31luY3X x44pKPnPqMG2TGLze15MyP11T4SGETG+qd//RbNQGc6iNDpG28j6cTfIi76W25BPP1mW kZVsvOY7QQXYUOtT3RpjGVCuFPox6/4rdWZw/9dedF8+CwzmuK3L5pvkzpZ66iJBLGai wv+g== 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=GZIM8r3k+H4696U/2gtHTyfa821OsHbBPCmCUIY/H9M=; b=d3XmK8z94PDT5nZ8wiccLk/rLbVzFGgsR4Yilb/SSiRhsXLXJT2Z61JDFCdBK2ny9I iH66Fc6J+c0vbeqcEwcqMwo6kTu182+TMU2X8zqye++2WdNl4rGzy9eC5w1rl/FkXIWI 3NB5PcvA+CSJ4B7TIa7o7lz4qW5oiMSJBtSfQk5/W0g50KNFZuyRu8Cc9AvyYGlv/4az ne7puuDBVaFcX+Q1t6gKKzxKcq/D1REbiYQ43pyXmEHj5bxMI+G75HYxQKxpZkzZhFCm 8cFerRfZWovzXOe4KhwBCqq7B8mHzYG+pJL+mKKjF20d96P0MFyO31uIJ/RXkGiRJwNI kTRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=SBML+T6z; 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 a24-v6si8159957pls.129.2018.05.29.08.34.09; Tue, 29 May 2018 08:34:24 -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=SBML+T6z; 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 S935401AbeE2Pdi (ORCPT + 99 others); Tue, 29 May 2018 11:33:38 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:59164 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934940AbeE2Pdg (ORCPT ); Tue, 29 May 2018 11:33:36 -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=GZIM8r3k+H4696U/2gtHTyfa821OsHbBPCmCUIY/H9M=; b=SBML+T6z47EeQw1wUsnS6U5en ThngEcytjl05QU349B7a5cBZMnOwyNvOJtJd3yyz94CFo3Aas8TGdho6+cUQjtV5GrNqMN8oyVHf9 6SZJPt1frrAAW7Mt60lB+1oCwkcQaYjgUkSprsSL7BafIWxB/UrEo/FxghTrNY0edITTU=; Received: from n2100.armlinux.org.uk ([fd8f:7570:feb6:1:214:fdff:fe10:4f86]:53232) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fNgcq-0002X9-M8; Tue, 29 May 2018 16:33:28 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1fNgcn-00016H-Mj; Tue, 29 May 2018 16:33:25 +0100 Date: Tue, 29 May 2018 16:33:24 +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: <20180529153324.GL17671@n2100.armlinux.org.uk> References: <20180528154448.2494709-1-arnd@arndb.de> <20180529153013.GH17159@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529153013.GH17159@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: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? -- 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