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

Russell King - ARM Linux linux at arm.linux.org.uk
Mon May 11 07:07:37 PDT 2015


On Mon, May 11, 2015 at 01:50:26PM +0100, Suzuki K. Poulose wrote:
>  config ARM_CCI400_PMU
>  	bool "ARM CCI400 PMU support"
> -	default y
>  	depends on ARM || ARM64
> -	depends on HW_PERF_EVENTS
> +	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.

This still needs to be better.  How do I know whether it should be enabled
for my platform or not?

Presumably, we can say that CCI-400 does not appear on CPUs older than X,
which means we can add "The CCI-400 may be provided on ARM CPUs X or
later."

I doubt that you'll find CCI-400 on ARMv6 or older ARM architectures for
example.  Maybe then we need "depends on ARM || ARM64" to be tighter?
"depends on (ARM && CPU_V7) || ARM64" ?

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list