!2159 Enable HiSilicon Erratum 162001900 quirk for HIP08/09
Merge Pull Request from: @cj-xiaocai 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/2159 Signed-off-by:Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment