mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yazen Ghannam <yazen.ghannam@amd.com>
To: <linux-pci@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <linux-acpi@vger.kernel.org>,
	<linux-edac@vger.kernel.org>, <bhelgaas@google.com>
Subject: [PATCH v2 00/10] PCIe Flit Logging Ext Capability Support
Date: Fri, 18 Sep 2026 09:56:08 -0500	[thread overview]
Message-ID: <20260918145619.3016889-1-yazen.ghannam@amd.com> (raw)

Hi all,

This set adds basic support for using the Flit Logging capability
introduced in PCIe v6.0.

Patches 1-4 are fixes for AER sysfs issues.

Patches 5-6 are refactor prep.

Patches 7-10 are the Flit Logging support.

I tried to reduce the verbosity in code comments and commit messages.
But I found that review bots would either get confused or pose redundant
questions if comments, etc. were too terse. In any case, please let me
know if more can be trimmed.

Thanks,
Yazen

Link:
https://lkml.kernel.org/r/20260714183950.1620016-1-yazen.ghannam@amd.com

v1->v2:
* Address Sashiko bot feedback.
* Fix sysfs issues found during development.
* Add sysfs controls for Flit logging parameters.

Yazen Ghannam (10):
  MAINTAINERS: Add the AER sysfs ABI file to PCI SUBSYSTEM
  PCI/AER: Clamp negative ratelimit burst to zero
  PCI/AER: Report the ratelimit interval in milliseconds
  PCI/AER: Hide the "aer" sysfs directory when AER is unavailable
  PCI: Share the AER ratelimit sysfs accessors
  PCI/portdrv: Group PCI Exp Cap services into a single mask
  PCI/FLIT: Add support for Flit Logging Extended Capability
  PCI/FLIT: Add trace event for flit errors
  PCI/FLIT: Ratelimit flit error logging
  PCI/FLIT: Expose the error counter controls through sysfs

 .../ABI/testing/sysfs-bus-pci-devices-aer     |  27 +-
 .../ABI/testing/sysfs-bus-pci-devices-flit    |  70 +++
 MAINTAINERS                                   |   2 +
 drivers/acpi/pci_root.c                       |  11 +
 drivers/pci/pci-sysfs.c                       |  71 +++
 drivers/pci/pci.c                             |   2 +
 drivers/pci/pci.h                             |  62 +++
 drivers/pci/pcie/Kconfig                      |   9 +
 drivers/pci/pcie/Makefile                     |   1 +
 drivers/pci/pcie/aer.c                        | 105 +---
 drivers/pci/pcie/flit.c                       | 511 ++++++++++++++++++
 drivers/pci/pcie/portdrv.c                    |  23 +-
 drivers/pci/pcie/portdrv.h                    |  16 +-
 drivers/pci/probe.c                           |   3 +
 include/linux/acpi.h                          |   1 +
 include/linux/pci.h                           |   6 +
 include/ras/ras_event.h                       |  38 ++
 include/uapi/linux/pci_regs.h                 |  20 +-
 18 files changed, 876 insertions(+), 102 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-pci-devices-flit
 create mode 100644 drivers/pci/pcie/flit.c


base-commit: c6d17c3a542095046bd3ae187e82fc5aeaa6e0fc
-- 
2.43.0


             reply	other threads:[~2026-09-18 14:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18 14:56 Yazen Ghannam [this message]
2026-09-18 14:56 ` [PATCH v2 01/10] MAINTAINERS: Add the AER sysfs ABI file to PCI SUBSYSTEM Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 02/10] PCI/AER: Clamp negative ratelimit burst to zero Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 03/10] PCI/AER: Report the ratelimit interval in milliseconds Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 04/10] PCI/AER: Hide the "aer" sysfs directory when AER is unavailable Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 05/10] PCI: Share the AER ratelimit sysfs accessors Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 06/10] PCI/portdrv: Group PCI Exp Cap services into a single mask Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 07/10] PCI/FLIT: Add support for Flit Logging Extended Capability Yazen Ghannam
2026-09-18 16:38   ` Ilpo Järvinen
2026-09-18 14:56 ` [PATCH v2 08/10] PCI/FLIT: Add trace event for flit errors Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 09/10] PCI/FLIT: Ratelimit flit error logging Yazen Ghannam
2026-09-18 14:56 ` [PATCH v2 10/10] PCI/FLIT: Expose the error counter controls through sysfs Yazen Ghannam
2026-10-16 15:59 ` [PATCH v2 00/10] PCIe Flit Logging Ext Capability Support Yazen Ghannam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260918145619.3016889-1-yazen.ghannam@amd.com \
    --to=yazen.ghannam@amd.com \
    --cc=bhelgaas@google.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®