Am Dienstag, 14. Oktober 2014, 13:24:03 schrieb Doug Anderson:You are right, read_cpuid_part() is correct one on kernel next,
Kever,wrote:
On Mon, Oct 13, 2014 at 1:12 PM, Kever Yang <kever.yang@xxxxxxxxxxxxxx>
I think read_cpuid_part() would be the correct one, as it does+ /*I haven't done a full review of this patch, but it seems unlikely that
+ * We need to soft reset the cpu when we turn off the cpu power
domain, + * or else the active processors might be stalled when
the individual + * processor is powered down.
+ */
+ if (read_cpuid_part_number() != ARM_CPU_PART_CORTEX_A9) {
your uses of read_cpuid_part_number() and read_cpuid_part() in this
patch are correct. You use both functions and in both cases compare
the results to ARM_CPU_PART_CORTEX_A9.