]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: split out processor lookup
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 14 Feb 2019 02:10:17 +0000 (21:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 09:20:46 +0000 (10:20 +0100)
commit48b874ec26b9e8c92cd0284754fe22b96c4deddd
tree7458c950be30d1c4ba809d53f5587f9ece4a7320
parentac120739812fec8cc56fc3697d79c03e94556e5b
ARM: split out processor lookup

Commit 65987a8553061515b5851b472081aedb9837a391 upstream.

Split out the lookup of the processor type and associated error handling
from the rest of setup_processor() - we will need to use this in the
secondary CPU bringup path for big.Little Spectre variant 2 mitigation.

Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David A. Long <dave.long@linaro.org>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Tested-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/include/asm/cputype.h
arch/arm/kernel/setup.c