Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2137326rwb; Thu, 19 Jan 2023 21:48:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXvl3CQeMkM0XrnI3OXgw27nCbxHgha3FXgWNpaVxvTAJ5NIr26EelcblJJtoG/ejbNmyy7r X-Received: by 2002:a17:902:8486:b0:189:e3d0:2682 with SMTP id c6-20020a170902848600b00189e3d02682mr13550383plo.30.1674193730338; Thu, 19 Jan 2023 21:48:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674193730; cv=none; d=google.com; s=arc-20160816; b=iJ2O9GJz5H78uZovSR7O87zJEO8UE6a8zAEsH+ZxBur/LvFJJy5KzoRlZ31Brw1LC0 3rze29t/b8aQFfNQZLaO7WeE6ySDjjaXJ7FhXWZjK8h7Cpsgw4qfSkMmaqwl32ulUSuZ fK/dFpfr1qmlc7Zs9LdjfeHULif5+kvUMg7FThBmuu//+D9KZ1lYVnOi+rKyDUQs+khO fGXdFMox16QIol0vnaYGJBJEuodoTMfOSkRLE7XlW25ulo2E0kOTtZlhu2OIjqnIY3QX 8n3p2cNLGU9dG/4qY7epXm81eQxcqXp5OtsJndSdloMZran75PFynwto6ITEtgddfOsd tJcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=m03+XlTfH3aGzG7j6M+h/xEDpuR5yD+ffC393NXdAPY=; b=KOJ4GEwCJDdidgSXfV2jitRjqIiRFwfgP0Tdn8uDJWa+lMUPOj4ofM3E0M0wu6kGpy SyYvSqJuWuQY1tv+A0Wa7QbOwUmQsPvw10OrSVptk8XdUaQ8qkLdiA17SEbp+7si0NKb HnEala4p5fbLOtvJWpTFjfp4z03fteoVrHXaT5Ts6wa1XWuhnzT/YUcT7ac1W4nNCo1k MPr9NoKZ0eIFk2lq2uLiXGr+2sSiBYzT/YduLrQ+Dw5ele+3bE8YUX4z805b+WDXdtA/ mcB9zdTD0hH6NtGU0Bd6I8DV5mcHlnAVM0+yS0r9SQTXF0kyMTTXKY+aX2HjNBV1RdCE A1Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QeduYNTS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c7-20020a170902aa4700b001949109b9desi14417410plr.615.2023.01.19.21.48.44; Thu, 19 Jan 2023 21:48:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QeduYNTS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbjATEnF (ORCPT + 47 others); Thu, 19 Jan 2023 23:43:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbjATEmt (ORCPT ); Thu, 19 Jan 2023 23:42:49 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD11BC3839 for ; Thu, 19 Jan 2023 20:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674189487; x=1705725487; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=iSft0IDwImYtFB9A86C4t0UO5RgaT9h4Ykpp4vaz2jM=; b=QeduYNTS+GSS5b9FZhhZoyQW9x4c5tdN6N7dWmzMAPoLAiTW7KRmydbO Xn/qxAW+uKv36p5sxWCbQBBniHa22nLNu0m2KICFDmAw+epyVQYERj7NS fSdlk4oVPr1y2/f5pfyH9InBO5hnRpPKv6CGF/hSvY/esAsRWKXgW+mvF Vpvr3IYLMNHnXtD/8VqNDnDoucH4qREOAKavG0etn+4fXnqdsxhei77Gp NftFBDZ6cOgIET9f4scF+G0jhHhwQ3m/wlXD8a8+YKO8LbxS673rVCBSH Liw1DGPRf0dXMqxJfELYgt0g+outlDkjJdbdMjpaDpvpnYFNt6qRIP66T g==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="387534401" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="387534401" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 19:55:33 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="653223510" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="653223510" Received: from bakersax-mobl.amr.corp.intel.com (HELO [10.209.33.66]) ([10.209.33.66]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 19:55:33 -0800 Message-ID: Date: Wed, 18 Jan 2023 19:55:33 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH 0/9] PCI/AER: Remove redundant Device Control Error Reporting Enable Content-Language: en-US To: Bjorn Helgaas , linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Bjorn Helgaas References: <20230118234612.272916-1-helgaas@kernel.org> From: Sathyanarayanan Kuppuswamy In-Reply-To: <20230118234612.272916-1-helgaas@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/18/23 3:46 PM, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > 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? > > 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