[PATCH v3 0/4] Add TLP filter support and some fixes for HiSilicon PCIe PMU

Yicong Yang posted 4 patches 3 years, 4 months ago
.../admin-guide/perf/hisi-pcie-pmu.rst        | 112 +++++++++++-------
drivers/perf/hisilicon/hisi_pcie_pmu.c        |  22 +++-
2 files changed, 85 insertions(+), 49 deletions(-)
[PATCH v3 0/4] Add TLP filter support and some fixes for HiSilicon PCIe PMU
Posted by Yicong Yang 3 years, 4 months ago
From: Yicong Yang <yangyicong@hisilicon.com>

HiSilicon PCIe PMU support count the bandwidth of TLP headers, TLP payloads
or both. Add support for it. User can set this through perf tool's
'len_mode' like:

  $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,len_mode=0x1/ sleep 5

Also includes fixes and improvement of both driver and documentation in this
series.

Change since v2:
- Take Patch 3 advance in the series and drop the fix tag, Per Jonathan
- Add tags from Jonathan for Patch 3-4, Thanks.
Link: https://lore.kernel.org/lkml/20221110085109.45227-2-yangyicong@huawei.com/

Change since v1:
- Refine the documentation per Jonathan and Bagas
- Collect tags from Jonathan. Thanks.
Link: https://lore.kernel.org/lkml/20221025113242.58271-1-yangyicong@huawei.com/

Bagas Sanjaya (1):
  Documentation: perf: Indent filter options list of hisi-pcie-pmu

Yicong Yang (3):
  drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
  docs: perf: Fix PMU instance name of hisi-pcie-pmu
  drivers/perf: hisi: Add TLP filter support

 .../admin-guide/perf/hisi-pcie-pmu.rst        | 112 +++++++++++-------
 drivers/perf/hisilicon/hisi_pcie_pmu.c        |  22 +++-
 2 files changed, 85 insertions(+), 49 deletions(-)

-- 
2.24.0
Re: [PATCH v3 0/4] Add TLP filter support and some fixes for HiSilicon PCIe PMU
Posted by Will Deacon 3 years, 4 months ago
On Thu, 17 Nov 2022 16:41:32 +0800, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@hisilicon.com>
> 
> HiSilicon PCIe PMU support count the bandwidth of TLP headers, TLP payloads
> or both. Add support for it. User can set this through perf tool's
> 'len_mode' like:
> 
>   $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,len_mode=0x1/ sleep 5
> 
> [...]

Applied to will (for-next/perf), thanks!

[1/4] drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
      https://git.kernel.org/will/c/6b4bb4f38dbf
[2/4] docs: perf: Fix PMU instance name of hisi-pcie-pmu
      https://git.kernel.org/will/c/eb79f12b4c41
[3/4] Documentation: perf: Indent filter options list of hisi-pcie-pmu
      https://git.kernel.org/will/c/c8dff677e6d4
[4/4] drivers/perf: hisi: Add TLP filter support
      https://git.kernel.org/will/c/17d573984d4d

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Re: [PATCH v3 0/4] Add TLP filter support and some fixes for HiSilicon PCIe PMU
Posted by Yicong Yang 3 years, 4 months ago
a gentle ping for this...

On 2022/11/17 16:41, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@hisilicon.com>
> 
> HiSilicon PCIe PMU support count the bandwidth of TLP headers, TLP payloads
> or both. Add support for it. User can set this through perf tool's
> 'len_mode' like:
> 
>   $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,len_mode=0x1/ sleep 5
> 
> Also includes fixes and improvement of both driver and documentation in this
> series.
> 
> Change since v2:
> - Take Patch 3 advance in the series and drop the fix tag, Per Jonathan
> - Add tags from Jonathan for Patch 3-4, Thanks.
> Link: https://lore.kernel.org/lkml/20221110085109.45227-2-yangyicong@huawei.com/
> 
> Change since v1:
> - Refine the documentation per Jonathan and Bagas
> - Collect tags from Jonathan. Thanks.
> Link: https://lore.kernel.org/lkml/20221025113242.58271-1-yangyicong@huawei.com/
> 
> Bagas Sanjaya (1):
>   Documentation: perf: Indent filter options list of hisi-pcie-pmu
> 
> Yicong Yang (3):
>   drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
>   docs: perf: Fix PMU instance name of hisi-pcie-pmu
>   drivers/perf: hisi: Add TLP filter support
> 
>  .../admin-guide/perf/hisi-pcie-pmu.rst        | 112 +++++++++++-------
>  drivers/perf/hisilicon/hisi_pcie_pmu.c        |  22 +++-
>  2 files changed, 85 insertions(+), 49 deletions(-)
>