Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C8D2C6FD1A for ; Tue, 7 Mar 2023 18:25:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232553AbjCGSZC (ORCPT ); Tue, 7 Mar 2023 13:25:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232636AbjCGSYQ (ORCPT ); Tue, 7 Mar 2023 13:24:16 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E50F9AFC6; Tue, 7 Mar 2023 10:19:54 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9589A61539; Tue, 7 Mar 2023 18:19:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B55D5C4339B; Tue, 7 Mar 2023 18:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678213193; bh=BcUGeMLEm0LPA6u+zuE2Qt4EJaLi1EQErnMdvMFu038=; h=From:To:Cc:Subject:Date:From; b=Whku19nSoWJzSWst16iQ++EOjtE1aPFEt2JszLF1tFs63JeCm4VO4EsXwgvo6/KR3 59Jlp8PnNNm/2y/NbTduduRcI8Ji6M2ya5sAwq2K59DL+Gau83IZj9jdT+TXroDumo JlNPIuMeaiggrYss3rnwhkZhB9SW9xD+867XomDVbhR//JWWjZgCjaWmMMwRCkHKeM VRzo+s6KaJPuaDTWFR5t9yA29CfB6xFUP6mDo2lDnMBEiV1QGXYHTYuhlv/DgzYCGi olyNFfyuxE1EY6VOUxsgwxmdDTvzhRZLwlO8wwmyD5AMQ+taDMuIFKJCQHrtWpYu07 S72s7z6mrqPKw== From: Bjorn Helgaas To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Abhijit Ayarekar , Ajit Khaparde , Ariel Elior , Chris Snook , Dimitris Michailidis , Edward Cree , Jesse Brandeburg , Jiawen Wu , Manish Chopra , Martin Habets , Mengyuan Lou , Michael Chan , Rahul Verma , Raju Rangoju , Rasesh Mody , Salil Mehta , Shahed Shaikh , Somnath Kotur , Sriharsha Basavapatna , Sudarsana Kalluru , Tony Nguyen , Veerasenareddy Burru , Yisen Zhuang , GR-Linux-NIC-Dev@marvell.com, intel-wired-lan@lists.osuosl.org Subject: [PATCH 00/28] PCI/AER: Remove redundant Device Control Error Reporting Enable Date: Tue, 7 Mar 2023 12:19:11 -0600 Message-Id: <20230307181940.868828-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native"), which appeared in v6.0, the PCI core has enabled PCIe error reporting for all devices during enumeration. Remove driver code to do this and remove unnecessary includes of from several other drivers. Intel folks, sorry that I missed removing the includes in the first series. Bjorn Helgaas (28): alx: Drop redundant pci_enable_pcie_error_reporting() be2net: Drop redundant pci_enable_pcie_error_reporting() bnx2: Drop redundant pci_enable_pcie_error_reporting() bnx2x: Drop redundant pci_enable_pcie_error_reporting() bnxt: Drop redundant pci_enable_pcie_error_reporting() cxgb4: Drop redundant pci_enable_pcie_error_reporting() net/fungible: Drop redundant pci_enable_pcie_error_reporting() net: hns3: remove unnecessary aer.h include netxen_nic: Drop redundant pci_enable_pcie_error_reporting() octeon_ep: Drop redundant pci_enable_pcie_error_reporting() qed: Drop redundant pci_enable_pcie_error_reporting() net: qede: Remove unnecessary aer.h include qlcnic: Drop redundant pci_enable_pcie_error_reporting() qlcnic: Remove unnecessary aer.h include sfc: Drop redundant pci_enable_pcie_error_reporting() sfc: falcon: Drop redundant pci_enable_pcie_error_reporting() sfc/siena: Drop redundant pci_enable_pcie_error_reporting() sfc_ef100: Drop redundant pci_disable_pcie_error_reporting() net: ngbe: Drop redundant pci_enable_pcie_error_reporting() net: txgbe: Drop redundant pci_enable_pcie_error_reporting() e1000e: Remove unnecessary aer.h include fm10k: Remove unnecessary aer.h include i40e: Remove unnecessary aer.h include iavf: Remove unnecessary aer.h include ice: Remove unnecessary aer.h include igb: Remove unnecessary aer.h include igc: Remove unnecessary aer.h include ixgbe: Remove unnecessary aer.h include drivers/net/ethernet/atheros/alx/main.c | 4 ---- drivers/net/ethernet/broadcom/bnx2.c | 21 ------------------- drivers/net/ethernet/broadcom/bnx2.h | 1 - drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 - .../net/ethernet/broadcom/bnx2x/bnx2x_main.c | 19 ----------------- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 ---- .../net/ethernet/chelsio/cxgb4/cxgb4_main.c | 4 ---- drivers/net/ethernet/emulex/benet/be_main.c | 8 ------- .../net/ethernet/fungible/funcore/fun_dev.c | 5 ----- .../net/ethernet/hisilicon/hns3/hns3_enet.c | 1 - drivers/net/ethernet/intel/e1000e/netdev.c | 1 - drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 1 - drivers/net/ethernet/intel/i40e/i40e.h | 1 - drivers/net/ethernet/intel/iavf/iavf.h | 1 - drivers/net/ethernet/intel/ice/ice.h | 1 - drivers/net/ethernet/intel/igb/igb_main.c | 1 - drivers/net/ethernet/intel/igc/igc_main.c | 1 - drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 - .../ethernet/marvell/octeon_ep/octep_main.c | 4 ---- .../ethernet/qlogic/netxen/netxen_nic_main.c | 10 +-------- drivers/net/ethernet/qlogic/qed/qed_main.c | 9 -------- drivers/net/ethernet/qlogic/qede/qede_main.c | 1 - .../ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 1 - .../net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 ---- .../net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 1 - drivers/net/ethernet/sfc/ef100.c | 3 --- drivers/net/ethernet/sfc/efx.c | 5 ----- drivers/net/ethernet/sfc/falcon/efx.c | 9 -------- drivers/net/ethernet/sfc/siena/efx.c | 5 ----- drivers/net/ethernet/wangxun/ngbe/ngbe_main.c | 4 ---- .../net/ethernet/wangxun/txgbe/txgbe_main.c | 5 ----- 31 files changed, 1 insertion(+), 136 deletions(-) -- 2.25.1