Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2210859imm; Sat, 30 Jun 2018 13:42:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIkZFgQX+Vt8A1XS0T6a7c3TsMeaakwiydPeCXiktT+myXwedpb0cPJHO+kVjq0q3GJX0iB X-Received: by 2002:a65:620b:: with SMTP id d11-v6mr17034893pgv.429.1530391352953; Sat, 30 Jun 2018 13:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530391352; cv=none; d=google.com; s=arc-20160816; b=GD7IquvBAld/lM+VSqbcFpow2wj9xB4mU+ynuU9x+54Rwuoc8r4+UrxHozsFn51r8M jUfrSSlXjXplweuG03aDbpb2Hh8ff6PnKS//0dWb2yootGnNyEU5lL8FwACcmCP3fZ3Y IbQi67LbHXUktP5KzC848P+wl8S/arnbqha5D80x7kIjRm6G0l8Zpisb/YDBPjTK3OKp c6DSmyHbA/9FbDRZf+XKCXwD+RdK4FUlH4kPecCnTV5KokYvO97krXY9IagNIYTwcsJT +wRD9Z68m+9snIL13Gl+yoO6jzunXEOxmOv5qW5u7TBfK4tfdWz2DBhe7VDQ9CqtCJ1g pwHw== 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=58yqCzXyYZYaiXTlIkPq3OMkYnq6wAEc5qOSHV2XTio=; b=ZAyJB4ZRKn9N5UU4UIe8LLO2U37MY80UGt9yZiFv3NkEKVm4WFxrX8xgiDWuqhyNtY eoX4Dn2FPb59KkK3CmGwb41IWcUu99i1GVsju1LbOqQxjUGr/4ff7CcXJNDqtysQerMJ V1bAStofyDwD+MZF/7Rro8JxPsUJrLPte5L3xKeYFg1SdMefTDNqzIIp7+oYoVfxJVjs g1pTFYFoGXoJBRoCoCdQA3xWHaFJGZfdwNWxRZu5MWwGdlOaB5N4S7BsgyI4m9JGzQdf Xrz1bzfX6SIaoUYu9hkajsjrR94P+eNikejjsDJ/lx28e0QmBkgV99pJZB4puIaBIzlP yI3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="p/mkcPX3"; 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 t66-v6si10615307pgt.538.2018.06.30.13.42.18; Sat, 30 Jun 2018 13:42:32 -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="p/mkcPX3"; 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 S1751950AbeF3UlE (ORCPT + 99 others); Sat, 30 Jun 2018 16:41:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:56910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751503AbeF3UlC (ORCPT ); Sat, 30 Jun 2018 16:41:02 -0400 Received: from localhost (unknown [69.71.4.100]) (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 E28B22549A; Sat, 30 Jun 2018 20:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530391262; bh=XaWkty2LvxM/KIe16XUrDmVndxzR9bG6ZALL6imLe8E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p/mkcPX3tXLTd+i0/mhJYVChhC6hGFLTRVh1IBNrFPNF9GRaPGT1r7iesNSJE7lMk 9NctboND/jRzK1UsAFMjX7RH3Jh1fVyQtw8CsnqRP5Pc25kFDtIyOLw0Xt8bs4zJdH qLjsrlSxKPJHk5qvYmnrfujV0FgE5wJ+2WWXQsn4= Date: Sat, 30 Jun 2018 15:41:00 -0500 From: Bjorn Helgaas To: Rajat Jain Cc: 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@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jes Sorensen , Kyle McMartin , rajatxjain@gmail.com Subject: Re: [PATCH 0/4] Expose PCIe AER stats via sysfs Message-ID: <20180630204100.GF9547@bhelgaas-glaptop.roam.corp.google.com> References: <20180621234829.224566-1-rajatja@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180621234829.224566-1-rajatja@google.com> 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 Thu, Jun 21, 2018 at 04:48:25PM -0700, Rajat Jain wrote: > This is a follow up to: > https://lkml.org/lkml/2018/5/22/1057 > > Respinning as a new patchset because the old one has been refactored > to include new patches (that were not part of original), and dropping > some patches. The major changes are: > > * Provide breakdown of Fatal / non fatal errors separately > * Include the "total" in the same file > * do some PCI cleanup before the actual aer_stats stuff > * Include documentation in the main patch > * Rename variables / attributes to better match the newer reality. > > Rajat Jain (4): > PCI: Move pci_aer_init() and pci_no_aer() declarations to > drivers/pci/pci.h > PCI/AER: Define and allocate aer_stats structure for AER capable > devices > PCI/AER: Add sysfs attributes to provide AER stats and breakdown > PCI/AER: Add sysfs attributes for rootport cumulative stats > > .../testing/sysfs-bus-pci-devices-aer_stats | 122 +++++++++++ > Documentation/PCI/pcieaer-howto.txt | 5 + > drivers/pci/pci-sysfs.c | 3 + > drivers/pci/pci.h | 11 + > drivers/pci/pcie/aer.c | 198 +++++++++++++++++- > drivers/pci/probe.c | 1 + > include/linux/pci.h | 5 +- > 7 files changed, 337 insertions(+), 8 deletions(-) > create mode 100644 Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats Applied to pci/aer for v4.19, thanks!