Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2993111ybl; Thu, 29 Aug 2019 16:29:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZLx8ZLoFUWwQC+wWJJggHarbn5lFL3RJFKaKl2s7GyFGzVQ+cp/UkFuHN+Qyw5HGSe7Cw X-Received: by 2002:a17:902:7592:: with SMTP id j18mr12498225pll.186.1567121370402; Thu, 29 Aug 2019 16:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567121370; cv=none; d=google.com; s=arc-20160816; b=ZhrDFaBPDoCCSGMO1iZejrVqYz2oj0wxhj7sNjoI5R5JGJduWq6wzP+L13CuHiiMfT q0yP3cKBamBAHlFuQCOgXlwB8zlKNyxtBnIoHv+tN00IXLg/SMGWzDgkuc5s1ftq6+Bt I5CqtPo+qWZ8deyBv2il3V10vfrbAsLG1t5D3ekMq8giAdCCMPH7dDuAAaErJix4udLs 74uWmPSRkfaOFqwN9VLifEzABnIsMATxC5Cx+gRsA2j9QVAYX/rs8P6O2oN0lrdRkFqF g1ty+q9XgfFXcjPLhIUGwmBfTL9N9ab+ZJyP5AiTYEFWcMnwBvkHL0G7Ov7NyCbmClNg mnbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UELrewFF8NN0iH92okVL2LENf/NFX05X05hyTPWg0IU=; b=0AgVD/6qlNsrGHEun8lgO7Kg/8GWEW/4UjwEcXLrCEDxEm+MDw4RwLTBBIs/IWHAmT O4FbYPFroLmk3EghTJs4lK2mgYoKtqZOArZrCeQaPi0IfteaYl8cUA0Z4M0+SBKMjsR/ ty1lENmRQf0BlSBNfnzlQftvxzKo8UP3dxKT7aQ7aeO77ebanBFg7Mhv5+yzE30OMv3E 9TCkqArE5aN4Wh/JHhbRR0bSn1peb4QgKsjM2S9qvfV1s9rEFIzc7r8iw8cosgMudw4T YnNktC1p1fJq7vjbrHPuiw189FM5ZYbPTsGstjxWGunHLiHPsAid0rSkuhn+jdN87XSI 8ANw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=k120kgxK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14si3129063pgm.418.2019.08.29.16.29.15; Thu, 29 Aug 2019 16:29:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=k120kgxK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728210AbfH2X2R (ORCPT + 99 others); Thu, 29 Aug 2019 19:28:17 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:32981 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727991AbfH2X2Q (ORCPT ); Thu, 29 Aug 2019 19:28:16 -0400 Received: by mail-pl1-f193.google.com with SMTP id go14so2352900plb.0 for ; Thu, 29 Aug 2019 16:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UELrewFF8NN0iH92okVL2LENf/NFX05X05hyTPWg0IU=; b=k120kgxKbzdzvv8c0Tgeo+3CuDk8ZtJzhLlATwlcEqhC/5C5t+wUkeQnzhND/1Nmd1 6M78GmbDAJsrtaQhm6jNUjG7jee+RtBK7aetuQvupAYvXWRgoUlo+d7h6BzzrBTKefC2 1eXKS2n4azk4TMQm7MaIHIZVAVeQ21qmyL5DRY8DeuR8mRwKI4BGf8YT91scLV/mbCY0 /ZJUIuwC0lBbgdG1UZZI1l9/3QCMYOCLAhfCC3nZh/db85OEpcnhUEmoU/SK2N/LNq9U e6kLGvZwbGxQZRHIf6uFAmkxLtXO5BpDKlq7OyeRIdkn7p8hEn4iYohyh7yXDD/CPAWh ytZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UELrewFF8NN0iH92okVL2LENf/NFX05X05hyTPWg0IU=; b=WEno6cZ0LTJzNFFFfvZrVrTjTksfiHL4Por02vXejqs8ucs3a6yjMHgLaKu+VBiV44 mZZfzQllLcm0X3BFbVutuEQtTjbGmkKFheJ8UOS5ifb57q8+EkyPr+KvZfTEqP9NUQVM xJ794a6JQCKbuPPNI4zmdB18Kgvx5BpEfg8IAXvsPvlV27hajkBWrhSaxD/KAa7ft+L/ yeqxGDzWL5Bn/B5wR/PCNq77MEZv400pw1g4j/m6AIo0ZKldCIx+NwQXC1DYW3wYDNP1 W6caU6IrI9qL5+qUd6zgjwH5jpNYzoDgkJRRACRoaQ9r7OER4hAQSTz9zn4BczfObb7e qhQQ== X-Gm-Message-State: APjAAAWPim2ZpO67Zlla685QYpWryzVz691grsPUd7U1E1DGy2u5iSAa Mp49Cxsr9S1lUiyLLBlprPOUKioRysrhoqCFiOQdrw== X-Received: by 2002:a17:902:96a:: with SMTP id 97mr12618288plm.264.1567121295532; Thu, 29 Aug 2019 16:28:15 -0700 (PDT) MIME-Version: 1.0 References: <20190827062309.GA30987@kroah.com> <20190827222145.32642-1-rajatja@google.com> In-Reply-To: <20190827222145.32642-1-rajatja@google.com> From: Rajat Jain Date: Thu, 29 Aug 2019 16:27:39 -0700 Message-ID: Subject: Re: [PATCH v3 1/2] PCI/AER: Add PoisonTLPBlocked to Uncorrectable errors To: Greg Kroah-Hartman , Bjorn Helgaas , linux-pci , Linux Kernel Mailing List Cc: Rajat Jain Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 27, 2019 at 3:21 PM Rajat Jain wrote: > > The elements in the aer_uncorrectable_error_string[] refer to > the bit names in Uncorrectable Error status Register in the PCIe spec > (Sec 7.8.4.2 in PCIe 4.0) > > Add the last error bit in the strings array that was missing. > > Signed-off-by: Rajat Jain > --- > v3: same as v2 > v2: same as v1 Hi Bjorn, This patch seems like independent of the other patch to split the AER stats. Can you review and apply this one so that I don't have to keep sending v4, v5 (where each version is basically same as v1) ... of this patch with every iteration of the other patch? I'll be working on Greg's and your comments on the other patch. Thanks, Rajat > > drivers/pci/pcie/aer.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c > index b45bc47d04fe..68060a290291 100644 > --- a/drivers/pci/pcie/aer.c > +++ b/drivers/pci/pcie/aer.c > @@ -36,7 +36,7 @@ > #define AER_ERROR_SOURCES_MAX 128 > > #define AER_MAX_TYPEOF_COR_ERRS 16 /* as per PCI_ERR_COR_STATUS */ > -#define AER_MAX_TYPEOF_UNCOR_ERRS 26 /* as per PCI_ERR_UNCOR_STATUS*/ > +#define AER_MAX_TYPEOF_UNCOR_ERRS 27 /* as per PCI_ERR_UNCOR_STATUS*/ > > struct aer_err_source { > unsigned int status; > @@ -560,6 +560,7 @@ static const char *aer_uncorrectable_error_string[AER_MAX_TYPEOF_UNCOR_ERRS] = { > "BlockedTLP", /* Bit Position 23 */ > "AtomicOpBlocked", /* Bit Position 24 */ > "TLPBlockedErr", /* Bit Position 25 */ > + "PoisonTLPBlocked", /* Bit Position 26 */ > }; > > static const char *aer_agent_string[] = { > -- > 2.23.0.187.g17f5b7556c-goog >