From patchwork Tue Mar 7 18:28:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 660960 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 86851C678D5 for ; Tue, 7 Mar 2023 18:41:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233136AbjCGSlY (ORCPT ); Tue, 7 Mar 2023 13:41:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231373AbjCGSlC (ORCPT ); Tue, 7 Mar 2023 13:41:02 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55705AB0B7; Tue, 7 Mar 2023 10:31:47 -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 sin.source.kernel.org (Postfix) with ESMTPS id E185ECE1C5D; Tue, 7 Mar 2023 18:28:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBB53C4339B; Tue, 7 Mar 2023 18:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678213731; bh=s1okTGIMaAIY9nZ5e8wO0yRssC1n4ZF/qmfPWCwZ6dM=; h=From:To:Cc:Subject:Date:From; b=kY7wjfPIyzksxdVq43zVu33obwVSkcW6mn8YmiJMErydBmSdwQojgdp+L5cNg84QJ YmC5EPBaNhICC9TGChTfqygz7G8TeJXT7D01LFdxVmwJVhEJSna0DGAUGimirlNr4p TSadofqjcYHyVgXWvgJzuyRYyatRLgELpOdLTxEJaMDhqDWPo668b7MK+1PX1BITar nPMmzgyWtGS7sUdF1LC2mU1dwcbAen7qxUMhEfjCh34U8b9MAviGqvwKS+jxGDybw+ 8RonpWsfvzotU2AJzRRV6PCodcv5zqxFKp6UsLmTh9+DO+/oVxG/4sTPq/hCKAViE4 RDqQPgC/wPsMA== From: Bjorn Helgaas To: "James E . J . Bottomley" , "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Anil Gurumurthy , Dick Kennedy , Don Brace , James Smart , Johannes Thumshirn , Ketan Mukadam , Manish Rangankar , Nilesh Javali , Raghava Aditya Renukunta , Sathya Prakash , Sreekanth Reddy , Sudarsana Kalluru , Suganath Prabu Subramani , Tomas Henzl , Adaptec OEM Raid Solutions , GR-QLogic-Storage-Upstream@marvell.com, MPT-FusionLinux.pdl@broadcom.com, storagedev@microchip.com Subject: [PATCH 00/10] PCI/AER: Remove redundant Device Control Error Reporting Enable Date: Tue, 7 Mar 2023 12:28:32 -0600 Message-Id: <20230307182842.870378-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@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. Bjorn Helgaas (10): scsi: aacraid: Drop redundant pci_enable_pcie_error_reporting() scsi: arcmsr: Remove unnecessary aer.h include scsi: be2iscsi: Drop redundant pci_enable_pcie_error_reporting() scsi: bfa: Drop redundant pci_enable_pcie_error_reporting() scsi: csiostor: Remove unnecessary aer.h include scsi: hpsa: Remove unnecessary pci_disable_pcie_error_reporting() comment scsi: lpfc: Drop redundant pci_enable_pcie_error_reporting() scsi: mpt3sas: Drop redundant pci_enable_pcie_error_reporting() scsi: qla2xxx: Drop redundant pci_enable_pcie_error_reporting() scsi: qla4xxx: Drop redundant pci_enable_pcie_error_reporting() drivers/scsi/aacraid/linit.c | 3 - drivers/scsi/arcmsr/arcmsr_hba.c | 1 - drivers/scsi/be2iscsi/be_main.c | 9 --- drivers/scsi/be2iscsi/be_main.h | 1 - drivers/scsi/bfa/bfad.c | 6 -- drivers/scsi/bfa/bfad_drv.h | 1 - drivers/scsi/csiostor/csio_init.c | 1 - drivers/scsi/hpsa.c | 1 - drivers/scsi/lpfc/lpfc.h | 2 - drivers/scsi/lpfc/lpfc_attr.c | 96 ++++++++-------------------- drivers/scsi/lpfc/lpfc_init.c | 1 - drivers/scsi/lpfc/lpfc_sli.c | 55 ---------------- drivers/scsi/mpt3sas/mpt3sas_base.c | 5 -- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1 - drivers/scsi/qla2xxx/qla_def.h | 1 - drivers/scsi/qla2xxx/qla_os.c | 6 -- drivers/scsi/qla4xxx/ql4_def.h | 1 - drivers/scsi/qla4xxx/ql4_os.c | 4 -- 18 files changed, 27 insertions(+), 168 deletions(-)