commit | 1d15ffdfc94127d75e04a88344ee1ce8c79f05fd | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Sat Nov 28 17:07:24 2020 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Dec 04 01:01:23 2020 +1100 |
tree | c1adecfeec8a864532decd171e4dba15112c18df | |
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