diff options
author | Suzuki K. Poulose <suzuki.poulose@arm.com> | 2015-05-26 09:53:13 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-05-29 14:43:50 (GMT) |
commit | 312162900c2f53a6effa9c0e7987baf970bd45f0 (patch) | |
tree | 1b8bae4e4fc3c4a1dfca6389729991bc5a0f2375 /drivers/bus/Kconfig | |
parent | ab5b316d4b6d2f944ffcb4a742443207eda51cfb (diff) | |
download | linux-312162900c2f53a6effa9c0e7987baf970bd45f0.tar.xz |
arm-cci: Abstract handling for CCI events
Given that each CCI has different set of interfaces and
its associated events, it is good to abstract the validation of the
event codes to make it easier to add support for a new CCI model.
This patch also abstracts the mapping of a given event to a counter,
as there are some special counters for certain specific events.
We assume that the fixed hardware counters are always at the beginning,
so that we can use cci_model->fixed_hw_events as an upper bound to given
idx to check if we need to program the counter for an event.
Cc: Punit Agrawal <punit.agrawal@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/bus/Kconfig')
0 files changed, 0 insertions, 0 deletions