On Wed, 8 Jan 2025 13:55:32 +0000 Karolina Stolarek <karolina.stolarek@xxxxxxxxxx> wrote: > Add a ratelimit_state to control the number of printed Correctable > Errors per Root Port and check it each time a Correctable Error is > to be reported. I think the ratelimits should be consistent (i.e. per-device) whether from GHES/CXL (pci_print_aer()) or native AER (aer_print_error). If there are two devices under a root port and one is spamming correctable errors, I think we'd still want to get correctable errors from the non-spammy device.