ARM: bugs: hook processor bug checking into SMP and suspend paths
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 10 May 2018 12:00:43 +0000 (13:00 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 May 2018 09:39:29 +0000 (10:39 +0100)
commit26602161b5ba795928a5a719fe1d5d9f2ab5c3ef
tree205fe9aec9e513f0a7abb0451d35245c02f1a22a
parenta5b9177f69329314721aa7022b7e69dab23fa1f0
ARM: bugs: hook processor bug checking into SMP and suspend paths

Check for CPU bugs when secondary processors are being brought online,
and also when CPUs are resuming from a low power mode.  This gives an
opportunity to check that processor specific bug workarounds are
correctly enabled for all paths that a CPU re-enters the kernel.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
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/include/asm/bugs.h
arch/arm/kernel/bugs.c
arch/arm/kernel/smp.c
arch/arm/kernel/suspend.c