[PATCHv2] arm-cci: Do not enable CCI-400 PMU by default

Punit Agrawal punit.agrawal at arm.com
Mon May 18 09:06:26 PDT 2015


"Suzuki K. Poulose" <suzuki.poulose at arm.com> writes:

> From: "Suzuki K. Poulose" <suzuki.poulose at arm.com>
>
> Do not enable CCI-400 PMU by default and fix the dependency on PERF_EVENTS
> than HW_PERF_EVENTS.
>
> Reported-by: Russell King <rmk+kernel at arm.linux.org.uk>
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: arm at kernel.org
> Cc: Russell King <rmk+kernel at arm.linux.org.uk>
> Signed-off-by: Suzuki K. Poulose <suzuki.poulose at arm.com>

This seems fine. Assuming Russell has no further comments -

Acked-by: Punit Agrawal <punit.agrawal at arm.com>

> ---
> Changes since V1:
>  - Make CCI400_PMU depend on CPU_V7 for ARM (Suggested by: Russell)
> ---
>  drivers/bus/Kconfig |   12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index a1d4af6..a6b37d4 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -13,15 +13,13 @@ config ARM_CCI400_COMMON
>  
>  config ARM_CCI400_PMU
>  	bool "ARM CCI400 PMU support"
> -	default y
> -	depends on ARM || ARM64
> -	depends on HW_PERF_EVENTS
> +	depends on (ARM && CPU_V7) || ARM64
> +	depends on PERF_EVENTS
>  	select ARM_CCI400_COMMON
>  	help
> -	  Support for PMU events monitoring on the ARM CCI cache coherent
> -	  interconnect.
> -
> -	  If unsure, say Y
> +	  Support for PMU events monitoring on the ARM CCI-400 (cache coherent
> +	  interconnect). CCI-400 supports counting events related to the
> +	  connected slave/master interfaces.
>  
>  config ARM_CCI400_PORT_CTRL
>  	bool



More information about the linux-arm-kernel mailing list