Message ID | 5939f711-92aa-e7ed-2a26-4f1e4169f786@gmail.com |
---|---|
Headers | show |
Series | PCI: add and use constant PCI_STATUS_ERROR_BITS and helper pci_status_get_and_clear_errors | expand |
From: Heiner Kallweit <hkallweit1@gmail.com> Date: Mon, 24 Feb 2020 22:20:08 +0100 > Few drivers have own definitions for this constant, so move it to the > PCI core. In addition there are several places where the following > code sequence is used: > 1. Read PCI_STATUS > 2. Mask out non-error bits > 3. Action based on set error bits > 4. Write back set error bits to clear them > > As this is a repeated pattern, add a helper to the PCI core. > > Most affected drivers are network drivers. But as it's about core > PCI functionality, I suppose the series should go through the PCI > tree. Heiner, something is up with this submission. The subject line here says 0/9, but the patches say N/8 and patch #8 never showed up on the list. Sort out what this should be and resubmit, thank you.
On 25.02.2020 00:33, David Miller wrote: > From: Heiner Kallweit <hkallweit1@gmail.com> > Date: Mon, 24 Feb 2020 22:20:08 +0100 > >> Few drivers have own definitions for this constant, so move it to the >> PCI core. In addition there are several places where the following >> code sequence is used: >> 1. Read PCI_STATUS >> 2. Mask out non-error bits >> 3. Action based on set error bits >> 4. Write back set error bits to clear them >> >> As this is a repeated pattern, add a helper to the PCI core. >> >> Most affected drivers are network drivers. But as it's about core >> PCI functionality, I suppose the series should go through the PCI >> tree. > > Heiner, something is up with this submission. > > The subject line here says 0/9, but the patches say N/8 and patch #8 never > showed up on the list. > > Sort out what this should be and resubmit, thank you. > Oops, sorry. I'll resubmit.