arm-trusted-firmware/bl2
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
..
aarch32 aarch32: stop speculative execution past exception returns 2020-03-01 06:44:30 -06:00
aarch64 BL2_AT_EL3: add PIE support 2020-01-24 22:34:25 +09:00
bl2.ld.S linker_script: move .data section to bl_common.ld.h 2020-04-25 20:09:08 +09:00
bl2.mk Add support for FEAT_MTPMU for Armv8.6 2020-12-11 12:49:20 +00:00
bl2_el3.ld.S linker_script: move .rela.dyn section to bl_common.ld.h 2020-06-29 15:51:50 +09:00
bl2_image_load_v2.c Fix MISRA C issues in BL1/BL2/BL31 2020-04-03 16:20:59 -05:00
bl2_main.c TF-A: Add support for Measured Boot driver in BL1 and BL2 2020-07-21 20:33:20 +00:00
bl2_private.h Move BL1 and BL2 private defines to bl_common.h 2019-01-15 13:52:32 +00:00