projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6f537
)
drivers/perf: hisi: Fix some event id for HiSilicon UC pmu
author
Junhao He
<hejunhao3@huawei.com>
Mon, 4 Dec 2023 11:04:25 +0000
(19:04 +0800)
committer
Will Deacon
<will@kernel.org>
Tue, 5 Dec 2023 12:35:41 +0000
(12:35 +0000)
Some event id of HiSilicon uncore UC PMU driver is incorrect, fix them.
Fixes:
312eca95e28d
("drivers/perf: hisi: Add support for HiSilicon UC PMU driver")
Signed-off-by: Junhao He <hejunhao3@huawei.com>
Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>
Link:
https://lore.kernel.org/r/20231204110425.20354-1-hejunhao3@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
b/drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
index 63da05e5831c1f98d9aef4ee2fbaddf223ae8297..636fb79647c8cc27ee1d4c3941fd55edd93e2f1c 100644
(file)
--- a/
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
+++ b/
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
@@
-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, 0x1
a
),
- HISI_PMU_EVENT_ATTR(cycles, 0x9
c
),
+ HISI_PMU_EVENT_ATTR(cpu_mru, 0x1
c
),
+ HISI_PMU_EVENT_ATTR(cycles, 0x9
5
),
HISI_PMU_EVENT_ATTR(spipe_hit, 0xb3),
HISI_PMU_EVENT_ATTR(hpipe_hit, 0xdb),
HISI_PMU_EVENT_ATTR(cring_rxdat_cnt, 0xfa),