Re: [PATCH v6 11/16] PCI/AER: Check log level once and remember it

2025-05-20 Thread Bjorn Helgaas
On Mon, May 19, 2025 at 11:17:28PM +, Weinan Liu wrote: > > diff --git a/drivers/pci/pcie/dpc.c b/drivers/pci/pcie/dpc.c > > index 315bf2bfd570..34af0ea45c0d 100644 > > --- a/drivers/pci/pcie/dpc.c > > +++ b/drivers/pci/pcie/dpc.c > > @@ -252,6 +252,7 @@ static int dpc_get_aer_uncorrect_severit

Re: [PATCH v6 11/16] PCI/AER: Check log level once and remember it

2025-05-20 Thread Ilpo Järvinen
On Mon, 19 May 2025, Bjorn Helgaas wrote: > From: Karolina Stolarek > > When reporting an AER error, we check its type multiple times to determine > the log level for each message. Do this check only in the top-level > functions (aer_isr_one_error(), pci_print_aer()) and save the level in > stru

Re: [PATCH v6 11/16] PCI/AER: Check log level once and remember it

2025-05-19 Thread Sathyanarayanan Kuppuswamy
On 5/19/25 2:35 PM, Bjorn Helgaas wrote: From: Karolina Stolarek When reporting an AER error, we check its type multiple times to determine the log level for each message. Do this check only in the top-level functions (aer_isr_one_error(), pci_print_aer()) and save the level in struct aer_err