Commit 38bbef72 authored by Junhao He's avatar Junhao He Committed by Will Deacon
Browse files

drivers/perf: hisi: Fix some event id for HiSilicon UC pmu



Some event id of HiSilicon uncore UC PMU driver is incorrect, fix them.

Fixes: 312eca95 ("drivers/perf: hisi: Add support for HiSilicon UC PMU driver")
Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
Reviewed-by: default avatarYicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20231204110425.20354-1-hejunhao3@huawei.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent ca6f537e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -383,8 +383,8 @@ static struct attribute *hisi_uc_pmu_events_attr[] = {
	HISI_PMU_EVENT_ATTR(cpu_rd,		0x10),
	HISI_PMU_EVENT_ATTR(cpu_rd64,		0x17),
	HISI_PMU_EVENT_ATTR(cpu_rs64,		0x19),
	HISI_PMU_EVENT_ATTR(cpu_mru,		0x1a),
	HISI_PMU_EVENT_ATTR(cycles,		0x9c),
	HISI_PMU_EVENT_ATTR(cpu_mru,		0x1c),
	HISI_PMU_EVENT_ATTR(cycles,		0x95),
	HISI_PMU_EVENT_ATTR(spipe_hit,		0xb3),
	HISI_PMU_EVENT_ATTR(hpipe_hit,		0xdb),
	HISI_PMU_EVENT_ATTR(cring_rxdat_cnt,	0xfa),