ARM: spectre-v2: warn about incorrect context switching functions
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 25 May 2018 13:40:14 +0000 (14:40 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 May 2018 10:09:03 +0000 (11:09 +0100)
commitc44f366ea7c85e1be27d08f2f0880f4120698125
treea2e9f8d339dd37166c522fef3873da4ef8e656d2
parent10115105cb3aa17b5da1cb726ae8dd5f6854bd93
ARM: spectre-v2: warn about incorrect context switching functions

Warn at error level if the context switching function is not what we
are expecting.  This can happen with big.Little systems, which we
currently do not support.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Boot-tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/mm/proc-v7-bugs.c