On 5 September 2014 15:05, Yuantian Tang Yuantian.Tang@freescale.com wrote:
What's the name of function on ARM arch which get the mask of all online and offline cpus?
You can have a look at arm_big_little.c for this, its topology_core_cpumask().
Also, this might not work for everybody and so we are trying to get this information from DT, but it is taking some time to get the bindings correctly.
We want this driver to be used on ARM as well. So how to write the Kconfig, as you know we already have a CONFIG_* item in Kconfig.powerpc.
Just duplicate them.