powerpc/pseries: Enable hardlockup watchdog for PowerVM partitions
authorNicholas Piggin <npiggin@gmail.com>
Wed, 23 Jun 2021 02:15:28 +0000 (12:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:07:09 +0000 (00:07 +1000)
commit633c8e9800f3884a26b2af59be8ce27696ad6ebf
treed575acb7e130f78cc8c625411e4394c261388f29
parent6eaaf9de3599865ee3b339d90cb24f2153f40bf4
powerpc/pseries: Enable hardlockup watchdog for PowerVM partitions

PowerVM will not arbitrarily oversubscribe or stop guests, page out the
guest kernel text to a NFS volume connected by carrier pigeon to abacus
based storage, etc., as a KVM host might. So PowerVM guests are not
likely to be killed by the hard lockup watchdog in normal operation,
even with shared processor LPARs which still get a minimum allotment of
CPU time.

Enable the hard lockup detector by default on !KVM guests, which we will
assume is PowerVM. It has been useful in finding problems on bare metal
kernels.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210623021528.702241-1-npiggin@gmail.com
arch/powerpc/kernel/setup_64.c