All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Sathyanarayanan Kuppuswamy  <sathyanarayanan.kuppuswamy@linux.intel.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH 0/9] PCI/AER: Remove redundant Device Control Error Reporting Enable
Date: Wed, 18 Jan 2023 22:26:19 -0600	[thread overview]
Message-ID: <20230119042619.GA288847@bhelgaas> (raw)
In-Reply-To: <e773b789-9ac1-eb45-b1ab-11fc93aede40@linux.intel.com>

On Wed, Jan 18, 2023 at 07:55:33PM -0800, Sathyanarayanan Kuppuswamy wrote:
> On 1/18/23 3:46 PM, Bjorn Helgaas wrote:
> > From: Bjorn Helgaas <bhelgaas@google.com>
> > 
> > Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native"),
> > ths PCI core sets the Device Control bits that enable error reporting for
> > PCIe devices.
> > 
> > This series removes redundant calls to pci_enable_pcie_error_reporting()
> > that do the same thing from the AER driver and several NIC drivers.
> > 
> > There are several more drivers where this should be removed; I started with
> > just the Intel drivers here.
> > 
> > Bjorn Helgaas (9):
> >   PCI/AER: Remove redundant Device Control Error Reporting Enable
> >   e1000e: Remove redundant pci_enable_pcie_error_reporting()
> >   fm10k: Remove redundant pci_enable_pcie_error_reporting()
> >   i40e: Remove redundant pci_enable_pcie_error_reporting()
> >   iavf: Remove redundant pci_enable_pcie_error_reporting()
> >   ice: Remove redundant pci_enable_pcie_error_reporting()
> >   igb: Remove redundant pci_enable_pcie_error_reporting()
> >   igc: Remove redundant pci_enable_pcie_error_reporting()
> >   ixgbe: Remove redundant pci_enable_pcie_error_reporting()
> 
> It should be simpler to do in one patch. Any reason to split
> it into multiple patches?

Sure, the driver patches could easily be squashed, either by me or be
the netdev folks if they prefer it that way.  There are close to 50
callers, and I hesitate to do them all in a single patch because it
becomes unwieldy to backport (probably pointless for this situation)
or to revert if there's any issue.

These are all trivial removals, but there are a few that are more
complicated and will require closer review, so I didn't include those
here.

> >  drivers/net/ethernet/intel/e1000e/netdev.c    |  7 ---
> >  drivers/net/ethernet/intel/fm10k/fm10k_pci.c  |  5 --
> >  drivers/net/ethernet/intel/i40e/i40e_main.c   |  4 --
> >  drivers/net/ethernet/intel/iavf/iavf_main.c   |  5 --
> >  drivers/net/ethernet/intel/ice/ice_main.c     |  3 --
> >  drivers/net/ethernet/intel/igb/igb_main.c     |  5 --
> >  drivers/net/ethernet/intel/igc/igc_main.c     |  5 --
> >  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  5 --
> >  drivers/pci/pcie/aer.c                        | 48 -------------------
> >  9 files changed, 87 deletions(-)
> > 
> 
> -- 
> Sathyanarayanan Kuppuswamy
> Linux Kernel Developer

  reply	other threads:[~2023-01-20  5:15 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18 23:46 [PATCH 0/9] PCI/AER: Remove redundant Device Control Error Reporting Enable Bjorn Helgaas
2023-01-18 23:46 ` [PATCH 1/9] " Bjorn Helgaas
2023-01-19  3:49   ` Sathyanarayanan Kuppuswamy
2023-01-24  7:22   ` Stefan Roese
2023-01-18 23:46 ` [PATCH 2/9] e1000e: Remove redundant pci_enable_pcie_error_reporting() Bjorn Helgaas
2023-01-18 23:46   ` [Intel-wired-lan] " Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` [Intel-wired-lan] " Tony Nguyen
2023-01-19 18:40     ` Bjorn Helgaas
2023-01-19 18:40       ` Bjorn Helgaas
2023-01-19 21:31       ` Tony Nguyen
2023-01-19 21:31         ` Tony Nguyen
2023-01-20  5:35         ` Jakub Kicinski
2023-01-20  5:35           ` Jakub Kicinski
2023-01-20  3:17   ` Jakub Kicinski
2023-01-20  3:17     ` [Intel-wired-lan] " Jakub Kicinski
2023-01-20 13:14     ` Bjorn Helgaas
2023-01-20 13:14       ` Bjorn Helgaas
2023-01-18 23:46 ` [PATCH 3/9] fm10k: " Bjorn Helgaas
2023-01-18 23:46   ` [Intel-wired-lan] " Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` [Intel-wired-lan] " Tony Nguyen
2023-01-18 23:46 ` [PATCH 4/9] i40e: " Bjorn Helgaas
2023-01-18 23:46   ` [Intel-wired-lan] " Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` Tony Nguyen
2023-01-25 10:34   ` [Intel-wired-lan] " G, GurucharanX
2023-01-25 10:34     ` G, GurucharanX
2023-01-18 23:46 ` [PATCH 5/9] iavf: " Bjorn Helgaas
2023-01-18 23:46   ` [Intel-wired-lan] " Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` Tony Nguyen
2023-01-25 10:22   ` [Intel-wired-lan] " Szlosek, Marek
2023-01-18 23:46 ` [PATCH 6/9] ice: " Bjorn Helgaas
2023-01-18 23:46   ` [Intel-wired-lan] " Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` Tony Nguyen
2023-01-25  9:08   ` [Intel-wired-lan] " G, GurucharanX
2023-01-25  9:08     ` G, GurucharanX
2023-01-18 23:46 ` [PATCH 7/9] igb: " Bjorn Helgaas
2023-01-18 23:46   ` [Intel-wired-lan] " Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` [Intel-wired-lan] " Tony Nguyen
2023-01-25  9:09   ` G, GurucharanX
2023-01-25  9:09     ` G, GurucharanX
2023-01-18 23:46 ` [Intel-wired-lan] [PATCH 8/9] igc: " Bjorn Helgaas
2023-01-18 23:46   ` Bjorn Helgaas
2023-01-19 18:28   ` Tony Nguyen
2023-01-19 18:28     ` [Intel-wired-lan] " Tony Nguyen
2023-01-24 11:33   ` naamax.meir
2023-01-24 11:33     ` naamax.meir
2023-01-18 23:46 ` [Intel-wired-lan] [PATCH 9/9] ixgbe: " Bjorn Helgaas
2023-01-18 23:46   ` Bjorn Helgaas
2023-01-19 18:28   ` [Intel-wired-lan] " Tony Nguyen
2023-01-19 18:28     ` Tony Nguyen
2023-01-25  9:09   ` [Intel-wired-lan] " G, GurucharanX
2023-01-25  9:09     ` G, GurucharanX
2023-01-19  3:55 ` [PATCH 0/9] PCI/AER: Remove redundant Device Control Error Reporting Enable Sathyanarayanan Kuppuswamy
2023-01-19  4:26   ` Bjorn Helgaas [this message]
2023-01-26 23:15 ` Bjorn Helgaas
2023-01-26 23:15   ` [Intel-wired-lan] " Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230119042619.GA288847@bhelgaas \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=sathyanarayanan.kuppuswamy@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.