summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-usbc-tusb320.c
diff options
context:
space:
mode:
authorJunhao He <hejunhao3@huawei.com>2023-01-19 18:03:05 +0800
committerWill Deacon <will@kernel.org>2023-01-19 18:30:20 +0000
commit7f95da9d2dc4c20bb374c281ceb8fa40b6208f4b (patch)
tree9f03dc69eabc1bd00d1b07f99b63cb8c087d1d88 /drivers/extcon/extcon-usbc-tusb320.c
parentb7bfaa761d760e72a969d116517eaa12e404c262 (diff)
downloadlinux-stable-7f95da9d2dc4c20bb374c281ceb8fa40b6208f4b.tar.gz
linux-stable-7f95da9d2dc4c20bb374c281ceb8fa40b6208f4b.tar.bz2
linux-stable-7f95da9d2dc4c20bb374c281ceb8fa40b6208f4b.zip
drivers/perf: hisi: Advertise the PERF_PMU_CAP_NO_EXCLUDE capability
Missed initialization the variable of pmu::capabilities when extract the initialization code of hisi_pmu->pmu into a function. HISI UNCORE PMU drivers counters that not support context exclusion. So we have to advertise the PERF_PMU_CAP_NO_EXCLUDE capability. This ensures that perf will prevent us from handling events where any exclusion flags are set. Signed-off-by: Junhao He <hejunhao3@huawei.com> Link: https://lore.kernel.org/r/20230119100307.3660-2-hejunhao3@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/extcon/extcon-usbc-tusb320.c')
0 files changed, 0 insertions, 0 deletions