arm-trusted-firmware/include/arch/aarch32
Javier Almansa Sobrino 0063dd1708 Add support for FEAT_MTPMU for Armv8.6
If FEAT_PMUv3 is implemented and PMEVTYPER<n>(_EL0).MT bit is implemented
as well, it is possible to control whether PMU counters take into account
events happening on other threads.

If FEAT_MTPMU is implemented, EL3 (or EL2) can override the MT bit
leaving it to effective state of 0 regardless of any write to it.

This patch introduces the DISABLE_MTPMU flag, which allows to diable
multithread event count from EL3 (or EL2). The flag is disabled
by default so the behavior is consistent with those architectures
that do not implement FEAT_MTPMU.

Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: Iee3a8470ae8ba13316af1bd40c8d4aa86e0cb85e
2020-12-11 12:49:20 +00:00
..
arch.h Add support for FEAT_MTPMU for Armv8.6 2020-12-11 12:49:20 +00:00
arch_features.h drivers: generic_delay_timer: Assert presence of Generic Timer 2019-02-06 09:54:42 +00:00
arch_helpers.h aarch64/arm: Add compiler barrier to barrier instructions 2020-10-27 16:15:00 +00:00
asm_macros.S Use Speculation Barrier instruction for v8.5 cores 2020-03-11 11:11:05 -05:00
assert_macros.S Reorganize architecture-dependent header files 2019-01-04 10:43:16 +00:00
console_macros.S console: update skeleton 2019-07-16 13:01:02 +00:00
el3_common_macros.S Add support for FEAT_MTPMU for Armv8.6 2020-12-11 12:49:20 +00:00
smccc_helpers.h Changes to support updated register usage in SMCCC v1.2 2019-11-26 12:56:30 -06:00
smccc_macros.S aarch32: stop speculative execution past exception returns 2020-03-01 06:44:30 -06:00