Loading
drivers/perf: hisi_pcie: Introduce hisi_pcie_pmu_get_event_ctrl_val()
mainline inclusion from mainline-v6.9-rc1 commit 4d473461e0948645efa82b4c025d014f40c373ff category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9HCSA CVE: NA Reference: https://lore.kernel.org/all/20240223103359.18669-1-yangyicong@huawei.com/ ------------------------------------------------------------------------ Factor out retrieving of the register value for the corresponding event from hisi_pcie_config_event_ctrl() into a new function hisi_pcie_pmu_get_event_ctrl_val() allowing future reuse. Signed-off-by:Yicong Yang <yangyicong@hisilicon.com> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240223103359.18669-3-yangyicong@huawei.com Signed-off-by:
Will Deacon <will@kernel.org> Signed-off-by:
Slim6882 <yangjunshuo@huawei.com>