]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: bugs: hook processor bug checking into SMP and suspend paths
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 15 Oct 2018 15:31:57 +0000 (11:31 -0400)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:53:52 +0000 (19:53 -0600)
commit79ad73e5d74fd7ae16d624a207e1b9ba1a0db2e2
tree0bff2b9db55e1d260ca9d5c926ba4304f8ec3f68
parent05e8555e993ae217b24ac2b50b4e8d207d3e0fd5
ARM: bugs: hook processor bug checking into SMP and suspend paths

BugLink: https://bugs.launchpad.net/bugs/1836426
Commit 26602161b5ba795928a5a719fe1d5d9f2ab5c3ef upstream.

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>
Signed-off-by: David A. Long <dave.long@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm/include/asm/bugs.h
arch/arm/kernel/bugs.c
arch/arm/kernel/smp.c
arch/arm/kernel/suspend.c