]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e9c882b9da8ddb4278295c1be0329760181ce74
treed575acb7e130f78cc8c625411e4394c261388f29
parente397b6a64ecd75f65fdc9de4e14268a16c5eef30
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