Re: [PATCH] PCI/AER: Add kernel.aer_print_skip_mask to control aer log

From: Bijie Xu
Date: Thu Mar 06 2025 - 03:26:59 EST


On Tue, 4 Mar 2025 17:22:30 -0600, Bjorn Helgaas wrote:
> Can you take a look at this and see if it's going the right direction
> for you, or if it needs extensions to do what you need?
Thanks for your suggestion. I've taken sometime to review that patch you suggested.
It solves part of the problem. And it can set ratelimit on a single device, which
is good.

But this patch solves the problem in a different way.

1. Some users are very nervous to notice this kind of error logs. This patch can
give them an option to disable these logs entirely on the whole system level
instead of just set a ratelimit on a specific device.

2. The sysctl configuration can be persisted after a system reboot. Users may dislike
these AER logs appearing again after a system reboot.

Regards,
Bijie Xu