[PATCH v3 0/4] New vendor support and optimizations for DWC PCIe PMU
From: Yicong Yang
Date: Wed Jul 08 2026 - 04:53:46 EST
This patchset mainly enable the DWC PCIe PMU on our platform (Patch 1/4).
Besides do some optimization and refactor:
- Patch 2/4 extend the monitoring limit on platforms with narrowed counter width (< 64 bit)
- Patch 3/4 switch the driver to use the faux device interface
- Patch 4/4 fix an old issue that PMU may counting when corresponding root port
is runtime suspended.
Change since v2:
- Fix the sytle and ID orders per the comments.
- Fix one runtime pm issue
Link: https://lore.kernel.org/lkml/20260629092717.74946-1-yang.yicong@xxxxxxxxxxxxx/
Change since v1:
- always enable hrtimer for updating narrowed counters on affected platform
- refine the commints and fix styles per Jonthan, thanks.
Link: https://lore.kernel.org/all/20260615063459.25361-1-yang.yicong@xxxxxxxxxxxxx/
Yicong Yang (3):
perf/dwc_pcie: Add support for Picoheart vendor devices
perf/dwc_pcie: Convert to faux device interface
drivers/perf: Fix the condition where the root port is runtime
suspended
Yufan Dou (1):
perf/dwc_pcie: Support narrowed time-based counter for long time
monitoring
drivers/perf/dwc_pcie_pmu.c | 195 +++++++++++++++++++++++++-----------
include/linux/pci_ids.h | 2 +
include/linux/pcie-dwc.h | 2 +
3 files changed, 141 insertions(+), 58 deletions(-)
--
2.50.1 (Apple Git-155)