aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2020-09-02 09:30:11 +0930
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-08 22:57:12 +1000
commita02f6d42357acf6e5de6ffc728e6e77faf3ad217 (patch)
treedcd88c78b8ec8077a5ad03dd966b47b261038533 /arch/powerpc/kernel/process.c
parent8f55984f530d7275531e17f36ea29229c2c410dd (diff)
powerpc: Warn about use of smt_snooze_delay
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: 3fa8cad82b94 ("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
Diffstat (limited to 'arch/powerpc/kernel/process.c')
0 files changed, 0 insertions, 0 deletions