[PATCH 0/2] Minor fix and cleanup for hisi_pcie_pmu

Yicong Yang posted 2 patches 2 years, 2 months ago
drivers/perf/hisilicon/hisi_pcie_pmu.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
[PATCH 0/2] Minor fix and cleanup for hisi_pcie_pmu
Posted by Yicong Yang 2 years, 2 months ago
From: Yicong Yang <yangyicong@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
Re: [PATCH 0/2] Minor fix and cleanup for hisi_pcie_pmu
Posted by Will Deacon 2 years, 2 months ago
On Tue, 24 Oct 2023 17:29:52 +0800, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@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
> 
> [...]

Applied to will (for-next/perf), thanks!

[1/2] drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
      https://git.kernel.org/will/c/6d7d51e88e21
[2/2] drivers/perf: hisi_pcie: Initialize event->cpu only on success
      https://git.kernel.org/will/c/868f8a709874

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev