[PATCH v2 0/3] Add support for SPE Data Source packet on HiSilicon HIP12

Yicong Yang yangyicong at huawei.com
Thu Apr 24 20:38:42 PDT 2025


From: Yicong Yang <yangyicong at hisilicon.com>

Add support for Data Source packet on HIP12. Support counting L2 HITM for c2c
statistic since it was missing.

Change since v2:
- split the kernel/userspace changes into different patch
- revise some mem_snoop decoding according to the discussion
- count missing L2 HITM for c2c statistic
Link: https://lore.kernel.org/linux-perf-users/20250408122809.37884-1-yangyicong@huawei.com/

Yicong Yang (3):
  arm64: cputype: Add cputype definition for HIP12
  perf arm-spe: Add support for SPE Data Source packet on HiSilicon
    HIP12
  perf mem: Count L2 HITM for c2c statistic

 arch/arm64/include/asm/cputype.h              |  2 +
 tools/arch/arm64/include/asm/cputype.h        |  2 +
 .../util/arm-spe-decoder/arm-spe-decoder.h    | 17 ++++
 tools/perf/util/arm-spe.c                     | 96 +++++++++++++++++++
 tools/perf/util/mem-events.c                  |  5 +-
 5 files changed, 121 insertions(+), 1 deletion(-)

-- 
2.24.0




More information about the linux-arm-kernel mailing list