Unverified Commit 989fc5e4 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2523 [sync] PR-2159: Enable HiSilicon Erratum 162001900 quirk for HIP08/09

Merge Pull Request from: @openeuler-sync-bot 
 

Origin pull request: 
https://gitee.com/openeuler/kernel/pulls/2159 
 
Synchronizing mainline patches to fix the issue I798Y2.

Some HiSilicon SMMU PMCG suffers the erratum 162001900 that the PMU disable control sometimes fail to disable the counters. This will lead to error or inaccurate data since before we enable the counters the
counter's still counting for the event used in last perf session.

These patches try to fix this by hardening the global disable process.Before disable the PMU, writing an invalid event type (0xffff) to focibly stop the counters. Correspondingly restore each events on pmu::pmu_enable().

Yicong Yang (2):
  perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
  perf/smmuv3: Add MODULE_ALIAS for module auto loading

caijian (1):
  Revert "perf/smmuv3: Enable HiSilicon Erratum quirk"

https://gitee.com/openeuler/kernel/issues/I798Y2 
 
Link:https://gitee.com/openeuler/kernel/pulls/2523

 

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