|
|
Log in / Subscribe / Register

New vendor support and optimizations for DWC PCIe PMU

From:  Yicong Yang <yang.yicong-AT-picoheart.com>
To:  <xueshuai-AT-linux.alibaba.com>, <renyu.zj-AT-linux.alibaba.com>, <will-AT-kernel.org>, <mark.rutland-AT-arm.com>, <jic23-AT-kernel.org>, <bhelgaas-AT-google.com>, <linux-pci-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [PATCH v2 0/3] New vendor support and optimizations for DWC PCIe PMU
Date:  Mon, 29 Jun 2026 17:27:14 +0800
Message-ID:  <20260629092717.74946-1-yang.yicong@picoheart.com>
Cc:  <jingoohan1-AT-gmail.com>, <mani-AT-kernel.org>, <juwenlong-AT-picoheart.com>, <geshijian-AT-picoheart.com>, <yang.yicong-AT-picoheart.com>, <douyufan-AT-picoheart.com>
Archive-link:  Article

This patchset mainly enable the DWC PCIe PMU on our platform (Patch 1/3).
Besides do some optimization and refactor:
- Patch 2/3 extend the monitoring limit on platforms with narrowed counter width (< 64 bit)
- Patch 3/3 switch the driver to use the faux device interface

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.y...

Yicong Yang (2):
  perf/dwc_pcie: Add support for Picoheart vendor devices
  perf/dwc_pcie: Convert to faux device interface

Yufan Dou (1):
  perf/dwc_pcie: Support narrowed time-based counter for long time
    monitoring

 drivers/perf/dwc_pcie_pmu.c | 170 ++++++++++++++++++++++++------------
 include/linux/pci_ids.h     |   2 +
 include/linux/pcie-dwc.h    |   2 +
 3 files changed, 117 insertions(+), 57 deletions(-)

-- 
2.50.1 (Apple Git-155)



Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds