drivers/perf: hisi: Add Support for CPA PMU
mainline inclusion from mainline-v5.19-rc1 commit 6b79738b category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5AZ87 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6b79738b6ed9 -------------------------------------------------------------------------- On HiSilicon Hip09 platform, there is a CPA (Coherency Protocol Agent) on each SICL (Super IO Cluster) which implements packet format translation, route parsing and traffic statistics. CPA PMU has 8 PMU counters and interrupt is supported to handle counter overflow. Let's support its driver under the framework of HiSilicon PMU driver. Signed-off-by:Qi Liu <liuqi115@huawei.com> Reviewed-by:
John Garry <john.garry@huawei.com> Reviewed-by:
Shaokun Zhang <zhangshaokun@hisilicon.com> Link: https://lore.kernel.org/r/20220415102352.6665-3-liuqi115@huawei.com Signed-off-by:
Will Deacon <will@kernel.org> Signed-off-by:
Wangming Shao <shaowangming@h-partners.com> Reviewed-by:
Junhao He <hejunhao3@huawei.com> Reviewed-by:
Yang Jihong <yangjihong1@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment