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 4DDF7C6FA99 for ; Wed, 8 Mar 2023 00:23:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbjCHAXq (ORCPT ); Tue, 7 Mar 2023 19:23:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229865AbjCHAXm (ORCPT ); Tue, 7 Mar 2023 19:23:42 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99DF793129 for ; Tue, 7 Mar 2023 16:23:36 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id x3so59304041edb.10 for ; Tue, 07 Mar 2023 16:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1678235015; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zgWWi32IJYE+536Qst0aP9zpXgIamdrxOVoMZAXFmIg=; b=bwchEAi0EUYeLB/6aDBEKNMa3kWrbUuRRRDqpB2unc0ti08ngBBU+syVJ4l6+Lclar NWmzvjwgs1psuT8mJF601gvwO1musj9HK+pd0UVlLqFXgUt2zkNcGRhKqVXo6IRYZA/Y HIEMClGTxKLKhQs5cZY2duRhnSnTxYCUpJU1M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678235015; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zgWWi32IJYE+536Qst0aP9zpXgIamdrxOVoMZAXFmIg=; b=uQ6SoYyWwTFledw6qAHp4DZelG7jgC9oWriBatHJ7Vr5MBWbxkm4+UwbhifsaRzhNf fmTz2sJLrupNNIg26z6SevKs+J9o9WscgyBnOVmivc+LxQ3/b/EN4CxP4uBxBSASEod/ 4ylj+F82BBuNZj5IcGAlWL8f2BoayX2QadtDQ9FMe6ZFc0y1ysyX+sCDlG71ahOvxWNH wETix3eEIU+lwXAgVOKAfHMbZyIGD8JOL5Wa+mjFTQvmY/T2PlbtkU895LjtRf8OGwYo Xzsbxbs/9rwbrNot4A0N2xK9/0qAY6cc6scU+C/FiCkym8Egezdl2RpKo6aDCLKTu/NL Z0vA== X-Gm-Message-State: AO0yUKXH18fuuUIsuPEvksUAaWpEGqsCy2J9V/yb7hjJZ3FFxPwTOEYp VLkztY29PO00wb8clxehP4hRawSRH1gHIxWqtWEWeA== X-Google-Smtp-Source: AK7set/Q/Ll51K2gMTIMgmG4j0wRR7sk0xgcPbUH6OCJ5Oj2vf7Nn7vMfIMbb0JKvWkgdq4zkXp02N6NbNL4b+Q55U0= X-Received: by 2002:a17:906:d041:b0:877:747d:4a82 with SMTP id bo1-20020a170906d04100b00877747d4a82mr8178254ejb.0.1678235014660; Tue, 07 Mar 2023 16:23:34 -0800 (PST) MIME-Version: 1.0 References: <20230307181940.868828-1-helgaas@kernel.org> <20230307181940.868828-6-helgaas@kernel.org> In-Reply-To: <20230307181940.868828-6-helgaas@kernel.org> From: Michael Chan Date: Tue, 7 Mar 2023 16:23:23 -0800 Message-ID: Subject: Re: [PATCH 05/28] bnxt: Drop redundant pci_enable_pcie_error_reporting() To: Bjorn Helgaas Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000f0d4d405f65889eb" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000f0d4d405f65889eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 7, 2023 at 10:20=E2=80=AFAM Bjorn Helgaas = wrote: > > From: Bjorn Helgaas > > pci_enable_pcie_error_reporting() enables the device to send ERR_* > Messages. Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER = is > native"), the PCI core does this for all devices during enumeration. > > Remove the redundant pci_enable_pcie_error_reporting() call from the > driver. Also remove the corresponding pci_disable_pcie_error_reporting() > from the driver .remove() path. > > Note that this only controls ERR_* Messages from the device. An ERR_* > Message may cause the Root Port to generate an interrupt, depending on th= e > AER Root Error Command register managed by the AER service driver. > > Signed-off-by: Bjorn Helgaas > Cc: Michael Chan Reviewed-by: Michael Chan Thanks. --000000000000f0d4d405f65889eb Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQbQYJKoZIhvcNAQcCoIIQXjCCEFoCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3EMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKt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