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

Yicong Yang yangyicong at huawei.com
Thu May 22 02:07:18 PDT 2025


On 2025/5/21 22:49, Arnaldo Carvalho de Melo wrote:
> On Wed, May 14, 2025 at 11:38:42AM +0800, Yicong Yang wrote:
>> a gentle ping on this..
> 
> So this involves both kernel and tooling, as soon as someone merges the
> kernel part, I can try and get to the user part,
> 

the kernel part only add the cputype definition, then the definition update is synchronized in
both userspace/kernel headers. So the changes in the userspace actually have no dependency on
the kernel one.

Thanks.

> - Arnaldo
>  
>> Thanks.
>>
>> On 2025/4/25 11:38, Yicong Yang wrote:
>>> 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(-)
>>>
> 
> .
> 



More information about the linux-arm-kernel mailing list