Skip to content

Commit 6b4bb4f

Browse files
Yicong Yangwilldeacon
authored andcommitted
drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
Some event id of hisi-pcie-pmu is incorrect, fix them. Fixes: 8404b0f ("drivers/perf: hisi: Add driver for HiSilicon PCIe PMU") Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Yicong Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent cc91b94 commit 6b4bb4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/perf/hisilicon/hisi_pcie_pmu.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,10 +693,10 @@ static struct attribute *hisi_pcie_pmu_events_attr[] = {
693693
HISI_PCIE_PMU_EVENT_ATTR(rx_mrd_cnt, 0x10210),
694694
HISI_PCIE_PMU_EVENT_ATTR(tx_mrd_latency, 0x0011),
695695
HISI_PCIE_PMU_EVENT_ATTR(tx_mrd_cnt, 0x10011),
696-
HISI_PCIE_PMU_EVENT_ATTR(rx_mrd_flux, 0x1005),
697-
HISI_PCIE_PMU_EVENT_ATTR(rx_mrd_time, 0x11005),
698-
HISI_PCIE_PMU_EVENT_ATTR(tx_mrd_flux, 0x2004),
699-
HISI_PCIE_PMU_EVENT_ATTR(tx_mrd_time, 0x12004),
696+
HISI_PCIE_PMU_EVENT_ATTR(rx_mrd_flux, 0x0804),
697+
HISI_PCIE_PMU_EVENT_ATTR(rx_mrd_time, 0x10804),
698+
HISI_PCIE_PMU_EVENT_ATTR(tx_mrd_flux, 0x0405),
699+
HISI_PCIE_PMU_EVENT_ATTR(tx_mrd_time, 0x10405),
700700
NULL
701701
};
702702

0 commit comments

Comments
 (0)