Unverified Commit 4dc56098 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2657 Synchronize mainline hisilicon uncore pmu driver bugfix to openEuler-OLK-5.10

Merge Pull Request from: @ci-robot 
 
PR sync from: Junhao He <hejunhao3@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/UNRRU56PVDIZKKWNZB4RCJL4VQIKUHYT/ 
Synchronize mainline hisilicon uncore pmu driver bugfix to openEuler-OLK-5.10
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()
- dix use-after-free when register hisilicon ddrc pmu fails

Junhao He (1):
  perf: hisi: Fix use-after-free when register pmu fails

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


-- 
2.33.0
 
https://gitee.com/openeuler/kernel/issues/I8BOML 
 
Link:https://gitee.com/openeuler/kernel/pulls/2657

 

Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents dac6bbe8 3932bef1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment