[PATCH 0/2] Minor fix and cleanup for hisi_pcie_pmu
Yicong Yang
yangyicong at huawei.com
Tue Oct 24 02:29:52 PDT 2023
From: Yicong Yang <yangyicong at hisilicon.com>
This patchset includes 2 minor updates for the hisi_pcie_pmu:
- fix issue that we may touch others events in some case
- modify the event->cpu only on the success pmu::event_init()
Yicong Yang (2):
drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
drivers/perf: hisi_pcie: Initialize event->cpu only on success
drivers/perf/hisilicon/hisi_pcie_pmu.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--
2.24.0
More information about the linux-arm-kernel
mailing list