]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite8d432c9cf0a3d569b2d00877d12c9ffe9e55286
treef85738a005ec0368adedfaf2600acd68ebf68c22
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
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