Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

MIPS: DEC: Rate-limit memory errors for KN01 systems

Similarly to memory errors in ECC systems also rate-limit memory parity
errors for KN01 DECstation and DECsystem models. Unlike with ECC these
events are always fatal and are less likely to cause a message flood,
but handle them the same way for consistency.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Maciej W. Rozycki and committed by
Thomas Bogendoerfer
798715fa 56236b7f

+3 -3
+3 -3
arch/mips/dec/kn01-berr.c
··· 4 4 * and 2100 (KN01) systems equipped with parity error detection 5 5 * logic. 6 6 * 7 - * Copyright (c) 2005 Maciej W. Rozycki 7 + * Copyright (c) 2005, 2026 Maciej W. Rozycki 8 8 */ 9 9 10 10 #include <linux/init.h> ··· 134 134 action = MIPS_BE_FIXUP; 135 135 136 136 if (action != MIPS_BE_FIXUP) 137 - printk(KERN_ALERT "Bus error %s: %s %s %s at %#010lx\n", 138 - kind, agent, cycle, event, address); 137 + pr_alert_ratelimited("Bus error %s: %s %s %s at %#010lx\n", 138 + kind, agent, cycle, event, address); 139 139 140 140 return action; 141 141 }