Files
twx-linux/arch/powerpc/kernel
Joel Stanley b035bb9573 powerpc: Warn about use of smt_snooze_delay
commit a02f6d4235 upstream.

It's not done anything for a long time. Save the percpu variable, and
emit a warning to remind users to not expect it to do anything.

This uses pr_warn_once instead of pr_warn_ratelimit as testing
'ppc64_cpu --smt=off' on a 24 core / 4 SMT system showed the warning
to be noisy, as the online/offline loop is slow.

Fixes: 3fa8cad82b ("powerpc/pseries/cpuidle: smt-snooze-delay cleanup.")
Cc: stable@vger.kernel.org # v3.14
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200902000012.3440389-1-joel@jms.id.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:08:51 +01:00
..
2019-12-17 20:35:40 +01:00
2019-12-17 20:35:40 +01:00
…
2019-12-17 20:35:40 +01:00
…
…
…
…
…
…
…
…
…
…
2019-10-11 18:20:49 +02:00
…
…
…
…
…
…
…
…
…
…
…
2019-05-16 19:41:26 +02:00
…
…
…
…
…
…
2020-08-19 08:14:57 +02:00
…
…
2020-03-25 08:06:05 +01:00