Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933680AbaGWV3o (ORCPT ); Wed, 23 Jul 2014 17:29:44 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:57698 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933431AbaGWV3n (ORCPT ); Wed, 23 Jul 2014 17:29:43 -0400 From: Arnd Bergmann To: Pawel Moll Cc: Olof Johansson , Rob Herring , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , Lorenzo Pieralisi , Arnaldo Carvalho de Melo , Stephane Eranian , Jiri Olsa , Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org Subject: Re: [PATCH RESEND v2] bus: ARM CCN PMU driver Date: Wed, 23 Jul 2014 23:29:33 +0200 Message-ID: <39594081.3C5fmmXpMJ@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <201407232223.39341.arnd@arndb.de> References: <1406050379-15199-1-git-send-email-pawel.moll@arm.com> <201407232223.39341.arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V02:K0:cpFmMY/3QCbz099OhEB+VOnfuIxOR4KpyVP3viUq2qT n1DmNwIi4Hukt0NTnXJkb82v69o0lstAH8T+IiM36ofF4Dbhmc egf9zD+lxw4Xm2HPWccPqb9yu2Mn/I33T/f5hdJRYD2bn8e3qI QN18FvZ4pdI3PX+IJ+uSzs2edg2AakYDGSf5NRg0KKkCetmmWK 5has53DGoa7OTtmtcwQp84dtp/oED/MIim62sZdgybhXFl/WUW Oyf2IshH6M7H4pNH27LgQRp2055bLlbIyx/Hav3dua0qz764AQ /PydgMkQP7fiJrHo1EAZSOWo65iOeeL8fYvC1RQFxUJJG1cpK5 hXm6cgEfpuem7Zi20Hg4= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 23 July 2014 22:23:38 Arnd Bergmann wrote: > On Tuesday 22 July 2014, Pawel Moll wrote: > > Driver providing perf backend for ARM Cache Coherent Network > > interconnect. Supports counting all hardware events and crosspoint > > watchpoints. > > > > Currently works with CCN-504 only, although there should be > > no changes required for CCN-508 (just impossible to test it now). > > > > Signed-off-by: Pawel Moll > > Applied to next/drivers, thanks! I'm getting build errors with CONFIG_PERF_EVENTS disabled. Is the patch below the right answer, or should we still load the driver and #ifdef the perf-events code? It seems to me that the driver doesn't do anything besides perf events, but I could be missing something. Arnd diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 5c0c2764839f..603eb1be4f6a 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -53,6 +53,7 @@ config ARM_CCI config ARM_CCN bool "ARM CCN driver support" depends on ARM || ARM64 + depends on PERF_EVENTS help PMU (perf) driver supporting the ARM CCN (Cache Coherent Network) interconnect. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/