Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1110702imm; Fri, 22 Jun 2018 10:29:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLCQF98SYIC/L0fxrZr30xFSV42vaSBmMCZFgV9U2f1Isw6rTy2biNbcbs71tcyjkNXsf8g X-Received: by 2002:a17:902:581:: with SMTP id f1-v6mr2609832plf.48.1529688589470; Fri, 22 Jun 2018 10:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529688589; cv=none; d=google.com; s=arc-20160816; b=mPhtVaYDPO5gIwKLR/wbEOQ0RJBwehbIVl2eyRYv0g55LUZ0H94RITLFDmACiJMFPH qtpcuCvflWr6s4xw09vk3ldOtvi3ULdF/ikJwHzbf9Yg/hBi7BJDSqXgSiZQJU8RGpjI ehAdzfpwFHdpcUniCIV2VanTF0zE7JljGWwYMMz4WFdCeFyrrjdH9UA+ZZ9chCYBltQe BT/CstIt3VoqXVvFxNrjQlOqFhNb+YyCwiqus7d00LBEsIN8ZyIwGzTQlRYJ+MNE/xFl j4vIXvxBCy5W92YmpdguHWu8D/9Kud0bbu7OHT5hmC83EE3FJD4aOZXrlnNQwYumijly 0JYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=tU6rRXYlaU6AuUbVEdZJdyleXjUQH8XKTY1Q/+FH9b4=; b=RbTLEknoiJv7dZWg0e/7C8p/p3F2hD2bdBhnH6Y1nMAtrE0pvWyzpqmuE5mK5yb9Qo YVwQaV6OQjs5Apg5NuI7ASUqFFhqqWrDc9nsW773YHq/Ft2kPUA7LeUHzlmQn18cygt6 sSHI9C1sHMpo4+vrPynJ61yS59YwlvGaYLO8291+VhX8ghiZRUtGrNRKGwrsQFNvK5+E TEaV1ZCHSGeVK6ur89Rh/kiIPDv27V8rZk8MNFaz8nkTrf29SUPfNG3G/bQiHEbeYv6C gnndSCyS5ZP5RRfy7Wazrx3Hcw7qOtSk2zMu6yctAJHbtBsbfAjumqRZDtQm/OguzY5s uMxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="uTOpBE/I"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si3361329plx.351.2018.06.22.10.29.34; Fri, 22 Jun 2018 10:29:49 -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=@kernel.org header.s=default header.b="uTOpBE/I"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933970AbeFVR1h (ORCPT + 99 others); Fri, 22 Jun 2018 13:27:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:53844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933200AbeFVR1f (ORCPT ); Fri, 22 Jun 2018 13:27:35 -0400 Received: from localhost (unknown [150.199.191.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 05C7E246BC; Fri, 22 Jun 2018 17:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529688455; bh=9EVKOURewIDTrohhIROu1nmkNE/tgNlzdNn38Pk+IpY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uTOpBE/IeLsHNA4jgBYW1DLhCWllL+ybRV7em0hDVvA+J3jw6M87DoDbUlKzKT1In 6b/z8K2JQngeKtz1lgE+hklBC8XeD7ZIduGXoFn7AmrSXdAFFqSiRiaCUAEdI0toq7 mXFGzr1eNIIzMsMK1wZNxyfqndyf6VkU1L5fX+6g= Date: Fri, 22 Jun 2018 12:27:34 -0500 From: Bjorn Helgaas To: Tyler Baicar Cc: rajatxjain@gmail.com, Rajat Jain , Bjorn Helgaas , Jonathan Corbet , Philippe Ombredanne , Kate Stewart , Thomas Gleixner , Greg Kroah-Hartman , Frederick Lawler , Oza Pawandeep , Keith Busch , Alexandru Gagniuc , Thomas Tai , "Steven Rostedt (VMware)" , linux-pci , linux-doc , Linux Kernel Mailing List , Jes Sorensen , Kyle McMartin Subject: Re: [PATCH v5 3/5] PCI/AER: Add sysfs attributes to provide breakdown of AERs Message-ID: <20180622172734.GA215961@bhelgaas-glaptop.roam.corp.google.com> References: <20180522222805.80314-1-rajatja@google.com> <20180620234147.48438-1-rajatja@google.com> <20180620234147.48438-3-rajatja@google.com> <20180621184822.GB14136@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 22, 2018 at 12:38:50PM -0400, Tyler Baicar wrote: > On 6/21/2018 5:25 PM, Rajat Jain wrote: > > On Thu, Jun 21, 2018 at 11:48 AM, Bjorn Helgaas wrote: > > > [+cc Tyler for AER dmesg decoding] > > > > > > - Tyler posted a patch [1] to update those dmesg strings so they match > > > the way lspci decodes them. I really liked that update, but we > > > never quite finished it. If we're going to do that, it would be > > > nice to do it first, so we don't publish new sysfs files, then > > > immediately change the labels used in them. > > Sure, I guess you can push them in the right order. > The way the prints are handled has already been unified in 4.18rc1: > > https://elixir.bootlin.com/linux/v4.18-rc1/source/drivers/pci/pcie/aer.c#L636 > > So that patch isn't needed anymore in it's entirety. > > > - IIRC, Tyler's patch had the nice property of changing the strings so > > > each error name had no spaces, which would make it a little easier > > > to parse this sysfs file: each line would be a single identifier > > > followed by a single number (I would probably remove the "=" from > > > the middle). > > > > Will do. > Would you like me to send a patch with just the string changes? That would be awesome! Sorry, I didn't realize that half of that got done via another route. Bjorn