Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5376224imm; Tue, 26 Jun 2018 10:09:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKILPdzAgWKzDNjQ9o3qJygQjqCS3OBCKduPYMv3pY93qsGT7jOIAeQdMRE6JxIXY3L4BaZp X-Received: by 2002:a65:62ce:: with SMTP id m14-v6mr2114451pgv.407.1530032970230; Tue, 26 Jun 2018 10:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530032970; cv=none; d=google.com; s=arc-20160816; b=LuxiBScSKfMDl9r+d8SzaYBcimQskb6+9mq+ltpZ5V2AUUlMqZSxJmnQ9QU5jMdj9M GAg2zYz2YQIqGxZhMQpxl3x/811QZR1TNeiJuEFaMFMhDECxgdC7+U+H0IA5cIoIHGwM QDR6/N6eq++8wMipWOwzGWVKnMoAgSCrs9vF4srJHXGORcvh4953PqtrTKhDrPTUaQCt HiI/lnQxN+Ferqtj7fyQr3glh+MIzKhG+YGXXN0t2pxWK0ev4HKV63r0/CPmd7+iVYC2 U6geMZVl+g/zE017tsczGJXmbuPXFPL34OW15VIV9I+fkLE/D1uHw8iHaBrgk5hudKeT 2IYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=edmWLQOnyH2K0tbZ9PPscz9vgPV40eUog9Zvvn8YM08=; b=Vqdsp5LjXgbt4Zeph7ps6k6qoBq24BkCUHMZMypoJm5myFJLxLTpTQzTfEKK0AmElt 6Xx8F6XIG0bqOIUUq5Bub5w05ulaz9dxqUkFliL+oeoEYTl9spMCaPepvBv3gZXwjlKj 7ukvjJebE3EhKVxy23NiTeir5K9hnSGO5ofD7x+9hKt15SdZFJqaGZc8n3KP4tz8uGW4 7ET/YqLuW8/8/3DWqsn9HY3oSsVzPj724R9JtwYDoLHXSkoxlFyK9PKGpknaU+B4AokW 7kYX3JGWiNvkrzJOMcQqe5K50MrgmKLWIytUbcQom09Cjkn0HZVoLKp+5I/oXU/eETeG WYGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="eMqX/Rjh"; dkim=pass header.i=@codeaurora.org header.s=default header.b=gHjrK4IB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9-v6si1877061plp.166.2018.06.26.10.09.15; Tue, 26 Jun 2018 10:09: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=@codeaurora.org header.s=default header.b="eMqX/Rjh"; dkim=pass header.i=@codeaurora.org header.s=default header.b=gHjrK4IB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753090AbeFZRIF (ORCPT + 99 others); Tue, 26 Jun 2018 13:08:05 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34548 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752278AbeFZRID (ORCPT ); Tue, 26 Jun 2018 13:08:03 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0F04D60117; Tue, 26 Jun 2018 17:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530032883; bh=61JtYGJ6SdaMs0OsXlqZJzlPOqSlmlFHDGlgtNzLes8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eMqX/RjhH/3KsgkowZflVof1BzeG1BYun7EWoDvcP8WIF6JbkY8ogelnQwl//zYGO I33W1bjnb0UO085Y4wx8iAL9J0V/iSYeP16fs8WzGDkVKf6b9nH//8wiqa+UwiW7pU UmCSDgRNAfZsF9Z9anQr820+Vx48v9fPWskcU0Fo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 4F3EA60117; Tue, 26 Jun 2018 17:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530032882; bh=61JtYGJ6SdaMs0OsXlqZJzlPOqSlmlFHDGlgtNzLes8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gHjrK4IBkg3Dfb11zlNjxjR2kp7TbaD6F7bnFJPNrZ7Xmoqz0bz9+CQgY8i0/pfl4 IC6FxyjvYE0WJCxfsdDAThYJoAyFHCG8QX8pTnPhLv8t0eQM0F9BaHpVoxMmZ02VwM pLuTLczo3E6Hp4TVFsHX0BkyhWqYgyLKNRS8rumM= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 26 Jun 2018 22:38:02 +0530 From: poza@codeaurora.org To: Tyler Baicar Cc: helgaas@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci-owner@vger.kernel.org Subject: Re: [PATCH] PCI/AER: Adopt lspci naming convention for AER prints In-Reply-To: <1530027855-19709-1-git-send-email-tbaicar@codeaurora.org> References: <1530027855-19709-1-git-send-email-tbaicar@codeaurora.org> Message-ID: X-Sender: poza@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-06-26 21:14, Tyler Baicar wrote: > lspci uses abbreviated naming for AER error strings. Adopt the > same naming convention for the AER printing so they match. > > Signed-off-by: Tyler Baicar > --- > drivers/pci/pcie/aer.c | 46 > +++++++++++++++++++++++----------------------- > 1 file changed, 23 insertions(+), 23 deletions(-) > > diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c > index a2e8838..08a5219 100644 > --- a/drivers/pci/pcie/aer.c > +++ b/drivers/pci/pcie/aer.c > @@ -459,22 +459,22 @@ int pci_aer_init(struct pci_dev *dev) > }; > > static const char *aer_correctable_error_string[] = { > - "Receiver Error", /* Bit Position 0 */ > + "RxErr", /* Bit Position 0 */ > NULL, > NULL, > NULL, > NULL, > NULL, > - "Bad TLP", /* Bit Position 6 */ > - "Bad DLLP", /* Bit Position 7 */ > - "RELAY_NUM Rollover", /* Bit Position 8 */ > + "BadTLP", /* Bit Position 6 */ > + "BadDLLP", /* Bit Position 7 */ > + "Rollover", /* Bit Position 8 */ > NULL, > NULL, > NULL, > - "Replay Timer Timeout", /* Bit Position 12 */ > - "Advisory Non-Fatal", /* Bit Position 13 */ > - "Corrected Internal Error", /* Bit Position 14 */ > - "Header Log Overflow", /* Bit Position 15 */ > + "Timeout", /* Bit Position 12 */ > + "NonFatalErr", /* Bit Position 13 */ > + "CorrIntErr", /* Bit Position 14 */ > + "HeaderOF", /* Bit Position 15 */ > }; > > static const char *aer_uncorrectable_error_string[] = { > @@ -482,28 +482,28 @@ int pci_aer_init(struct pci_dev *dev) > NULL, > NULL, > NULL, > - "Data Link Protocol", /* Bit Position 4 */ > - "Surprise Down Error", /* Bit Position 5 */ > + "DLP", /* Bit Position 4 */ > + "SDES", /* Bit Position 5 */ > NULL, > NULL, > NULL, > NULL, > NULL, > NULL, > - "Poisoned TLP", /* Bit Position 12 */ > - "Flow Control Protocol", /* Bit Position 13 */ > - "Completion Timeout", /* Bit Position 14 */ > - "Completer Abort", /* Bit Position 15 */ > - "Unexpected Completion", /* Bit Position 16 */ > - "Receiver Overflow", /* Bit Position 17 */ > - "Malformed TLP", /* Bit Position 18 */ > + "TLP", /* Bit Position 12 */ > + "FCP", /* Bit Position 13 */ > + "CmpltTO", /* Bit Position 14 */ > + "CmpltAbrt", /* Bit Position 15 */ > + "UnxCmplt", /* Bit Position 16 */ > + "RxOF", /* Bit Position 17 */ > + "MalfTLP", /* Bit Position 18 */ > "ECRC", /* Bit Position 19 */ > - "Unsupported Request", /* Bit Position 20 */ > - "ACS Violation", /* Bit Position 21 */ > - "Uncorrectable Internal Error", /* Bit Position 22 */ > - "MC Blocked TLP", /* Bit Position 23 */ > - "AtomicOp Egress Blocked", /* Bit Position 24 */ > - "TLP Prefix Blocked Error", /* Bit Position 25 */ > + "UnsupReq", /* Bit Position 20 */ > + "ACSViol", /* Bit Position 21 */ > + "UncorrIntErr", /* Bit Position 22 */ > + "BlockedTLP", /* Bit Position 23 */ > + "AtomicOpBlocked", /* Bit Position 24 */ > + "TLPBlockedErr", /* Bit Position 25 */ > }; > > static const char *aer_agent_string[] = { Reviewed-by: Oza Pawandeep