Re: [PATCH v2 12/22] arm64: Delay cpu feature checks

2015-10-13 Thread Suzuki K. Poulose
On 08/10/15 12:08, Catalin Marinas wrote: On Mon, Oct 05, 2015 at 06:02:01PM +0100, Suzuki K. Poulose wrote: + /* +* second pass allows enable() invoked on active each CPU +* to consider interacting capabilities. +*/ This comment doesn't read properly. Fixed lo

Re: [PATCH v2 12/22] arm64: Delay cpu feature checks

2015-10-08 Thread Catalin Marinas
On Mon, Oct 05, 2015 at 06:02:01PM +0100, Suzuki K. Poulose wrote: > @@ -647,16 +648,119 @@ void check_cpu_capabilities(const struct > arm64_cpu_capabilities *caps, > cpus_set_cap(caps[i].capability); > } > > - /* second pass allows enable() to consider interacting capabi

Re: [PATCH v2 12/22] arm64: Delay cpu feature checks

2015-10-06 Thread Suzuki K. Poulose
On 06/10/15 05:41, kbuild test robot wrote: Hi Suzuki, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: arm64-alldefconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross

Re: [PATCH v2 12/22] arm64: Delay cpu feature checks

2015-10-05 Thread kbuild test robot
Hi Suzuki, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: arm64-alldefconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/ma

[PATCH v2 12/22] arm64: Delay cpu feature checks

2015-10-05 Thread Suzuki K. Poulose
At the moment we run through the arm64_features capability list for each CPU and set the capability if one of the CPU supports it. This could be problematic in a heterogeneous system with differing capabilities. Delay the CPU feature checks until all the enabled CPUs are up, so that we can make bet