]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: split out processor lookup
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 14 Feb 2019 14:49:25 +0000 (09:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 09:18:27 +0000 (10:18 +0100)
commitb0525e4b808ccfaa1017872c5902b504d4991e95
tree1f4d5a168a44d31ec57e4259d478a875aebceb73
parent8d13b444f4eba07327ccd626282fb1048210cc1e
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/include/asm/cputype.h
arch/arm/kernel/setup.c