mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 00/10] PCIe Flit Logging Ext Capability Support
@ 2026-09-18 14:56 Yazen Ghannam
  2026-09-18 14:56 ` [PATCH v2 01/10] MAINTAINERS: Add the AER sysfs ABI file to PCI SUBSYSTEM Yazen Ghannam
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Yazen Ghannam @ 2026-09-18 14:56 UTC (permalink / raw)
  To: linux-pci; +Cc: linux-kernel, linux-acpi, linux-edac, bhelgaas

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-09-18 16:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 14:56 [PATCH v2 00/10] PCIe Flit Logging Ext Capability Support Yazen Ghannam
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

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®