diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-11-28 17:07:24 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-04 01:01:23 +1100 |
commit | 1d15ffdfc94127d75e04a88344ee1ce8c79f05fd (patch) | |
tree | c1adecfeec8a864532decd171e4dba15112c18df /arch/powerpc/platforms/powernv/opal-hmi.c | |
parent | 067c9f9c98c8804b07751994c51d8557e440821e (diff) |
KVM: PPC: Book3S HV: Ratelimit machine check messages coming from guests
A number of machine check exceptions are triggerable by the guest.
Ratelimit these to avoid a guest flooding the host console and logs.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Use dedicated ratelimit state, not printk_ratelimit()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201128070728.825934-5-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-hmi.c')
0 files changed, 0 insertions, 0 deletions