ARM: 9213/1: Print message about disabled Spectre workarounds only once
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Tue, 28 Jun 2022 07:55:45 +0000 (08:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 19:24:12 +0000 (21:24 +0200)
commita4f5e3a22fbd04df23f086f637821b8f4c677b08
treea9c4498842ce515509d25aa2645e999e56ea7c5a
parent6f497564bf6a5940eef27e688be6fa647261a6fd
ARM: 9213/1: Print message about disabled Spectre workarounds only once

commit e4ced82deb5fb17222fb82e092c3f8311955b585 upstream.

Print the message about disabled Spectre workarounds only once. The
message is printed each time CPU goes out from idling state on NVIDIA
Tegra boards, causing storm in KMSG that makes system unusable.

Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mm/proc-v7-bugs.c