Re: [PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-21 Thread Ilpo Järvinen
On Tue, 20 May 2025, Bjorn Helgaas wrote: > On Tue, May 20, 2025 at 02:55:32PM +0300, Ilpo Järvinen wrote: > > On Mon, 19 May 2025, Bjorn Helgaas wrote: > > > > > From: Jon Pan-Doh > > > > > > Spammy devices can flood kernel logs with AER errors and slow/stall > > > execution. Add per-device ra

Re: [PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-20 Thread Bjorn Helgaas
On Tue, May 20, 2025 at 02:55:32PM +0300, Ilpo Järvinen wrote: > On Mon, 19 May 2025, Bjorn Helgaas wrote: > > > From: Jon Pan-Doh > > > > Spammy devices can flood kernel logs with AER errors and slow/stall > > execution. Add per-device ratelimits for AER correctable and uncorrectable > > errors

Re: [PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-20 Thread Sathyanarayanan Kuppuswamy
On 5/20/25 11:31 AM, Bjorn Helgaas wrote: On Mon, May 19, 2025 at 09:59:29PM -0700, Sathyanarayanan Kuppuswamy wrote: On 5/19/25 2:35 PM, Bjorn Helgaas wrote: From: Jon Pan-Doh Spammy devices can flood kernel logs with AER errors and slow/stall execution. Add per-device ratelimits for AER c

Re: [PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-20 Thread Bjorn Helgaas
On Mon, May 19, 2025 at 09:59:29PM -0700, Sathyanarayanan Kuppuswamy wrote: > On 5/19/25 2:35 PM, Bjorn Helgaas wrote: > > From: Jon Pan-Doh > > > > Spammy devices can flood kernel logs with AER errors and slow/stall > > execution. Add per-device ratelimits for AER correctable and uncorrectable >

Re: [PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-20 Thread Ilpo Järvinen
On Mon, 19 May 2025, Bjorn Helgaas wrote: > From: Jon Pan-Doh > > Spammy devices can flood kernel logs with AER errors and slow/stall > execution. Add per-device ratelimits for AER correctable and uncorrectable > errors that use the kernel defaults (10 per 5s). > > There are two AER logging ent

Re: [PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-19 Thread Sathyanarayanan Kuppuswamy
Hi Bjorn, On 5/19/25 2:35 PM, Bjorn Helgaas wrote: From: Jon Pan-Doh Spammy devices can flood kernel logs with AER errors and slow/stall execution. Add per-device ratelimits for AER correctable and uncorrectable errors that use the kernel defaults (10 per 5s). There are two AER logging entry

[PATCH v6 14/16] PCI/AER: Introduce ratelimit for error logs

2025-05-19 Thread Bjorn Helgaas
From: Jon Pan-Doh Spammy devices can flood kernel logs with AER errors and slow/stall execution. Add per-device ratelimits for AER correctable and uncorrectable errors that use the kernel defaults (10 per 5s). There are two AER logging entry points: - aer_print_error() is used by DPC and nati