]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kernel: add MIDR to per-CPU information data
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 6 Nov 2012 11:57:43 +0000 (11:57 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 19 Nov 2012 14:51:11 +0000 (14:51 +0000)
commita991435efe0810a5a545b9ee68fec8a80847298a
treef85738a005ec0368adedfaf2600acd68ebf68c22
parente68bb186da76e0ca5a415527e86b8bb724bd13d1
ARM: kernel: add MIDR to per-CPU information data

The advent of big.LITTLE ARM platforms requires the kernel to be able
to identify the MIDRs of all online CPUs upon request. MIDRs are stashed
at boot time so that kernel subsystems can detect the MIDR of online CPUs
by simply retrieving per-CPU data updated by all booted CPUs.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
arch/arm/include/asm/cpu.h
arch/arm/kernel/smp.c