diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2017-05-24 10:43:18 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-05-30 14:15:14 +0300 |
commit | fe7296e19221c6dc125a06b52e28ccbdb76d9b58 (patch) | |
tree | 19eac9bcefe8cfc0f7bbcfc77473c4befa398215 /arch/arm/kernel/perf_event_v6.c | |
parent | 5ed02dbb497422bf225783f46e6eadd237d23d6b (diff) | |
download | linux-fe7296e19221c6dc125a06b52e28ccbdb76d9b58.tar.xz |
arm64: perf: Extend event config for ARMv8.1
Perf has supported ARMv8.1 feature with 16-bit evtCount filed [see c210ae8
arm64: perf: Extend event mask for ARMv8.1], event config should be
extended to 16-bit too, otherwise, if use -e event_name whose event_code
is more than 0x3ff, pmu_config_term will return -EINVAL because function
pmu_format_max_value depends on event config.
This patch extends event config to 16-bit.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/perf_event_v6.c')
0 files changed, 0 insertions, 0 deletions