Skip to content

Commit e64c22c

Browse files
ilkka-koskinenwilldeacon
authored andcommitted
perf/dwc_pcie: Fix the event numbers
According to Databook, L1 aux is event number 0x08 and TX L0s and RX L0S is 0x09. Fix the event numbers for the two events. Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com> Link: https://lore.kernel.org/r/20241205061914.5568-2-ilkka@os.amperecomputing.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent bce61d5 commit e64c22c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/perf/dwc_pcie_pmu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ static struct attribute *dwc_pcie_pmu_time_event_attrs[] = {
199199
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(L1_1, 0x05),
200200
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(L1_2, 0x06),
201201
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(CFG_RCVRY, 0x07),
202-
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(TX_RX_L0S, 0x08),
203-
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(L1_AUX, 0x09),
202+
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(L1_AUX, 0x08),
203+
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(TX_RX_L0S, 0x09),
204204

205205
/* Group #1 */
206206
DWC_PCIE_PMU_TIME_BASE_EVENT_ATTR(tx_pcie_tlp_data_payload, 0x20),

0 commit comments

Comments
 (0)