diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2021-06-03 10:34:51 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-04 20:21:09 +0200 |
commit | 814be609baae62aaa6c02fa6f3ad66cff32a6d15 (patch) | |
tree | 6e61accff9d8c88f6323e07f582034fcc84425ef /fs/timerfd.c | |
parent | arm64: perf: Add more support on caps under sysfs (diff) | |
download | linux-814be609baae62aaa6c02fa6f3ad66cff32a6d15.tar.xz linux-814be609baae62aaa6c02fa6f3ad66cff32a6d15.zip |
drivers/perf: hisi: Fix data source control
'Data source' is a new function for HHA PMU and config / clear
interface was wrong by mistake. 'HHA_DATSRC_CTRL' register is
mainly used for data source configuration, if we enable bit0
as driver, it will go on count the event and we didn't check
it carefully. So fix the issue and do as the initial purpose.
Fixes: 932f6a99f9b0 ("drivers/perf: hisi: Add new functions for HHA PMU")
Reported-by: kernel test robot <lkp@intel.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1622709291-37996-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions