arm-trusted-firmware/lib
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 TF-A Aarch32: optimise memcpy4() 2020-07-23 18:35:49 +01:00
aarch64 Increase type widths to satisfy width requirements 2020-10-12 10:55:03 -05:00
bl_aux_params Introduce lightweight BL platform parameter library 2019-07-18 16:42:40 -07:00
compiler-rt compiler_rt: Import popcountdi2.c and popcountsi2.c files 2020-01-20 11:32:59 +01:00
coreboot Update in coreboot_get_memory_type API to include size as well 2020-10-16 02:23:35 +05:30
cpus Add support for Neoverse-N2 CPUs. 2020-11-30 19:12:56 +00:00
debugfs cert_create: add Platform owned secure partitions support 2020-08-12 14:30:18 +01:00
el3_runtime Aarch64: Add support for FEAT_MTE3 2020-12-02 13:53:03 +00:00
extensions Add support for FEAT_MTPMU for Armv8.6 2020-12-11 12:49:20 +00:00
fconf lib: fconf: Implement a parser to populate CoT 2020-09-15 16:13:26 +01:00
libc Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
libfdt libfdt: Upgrade libfdt source files 2020-10-02 12:15:48 +00:00
locks locks: bakery: use is_dcache_enabled() helper 2020-04-07 09:33:13 +02:00
optee Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci Merge "Increase type widths to satisfy width requirements" into integration 2020-10-18 14:51:00 +00:00
romlib Use abspath to dereference $BUILD_BASE 2020-08-04 18:02:02 +01:00
semihosting MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
xlat_tables Aarch32 xlat_tables lib: Fix MISRA-2012 defects 2020-07-29 12:48:34 +00:00
xlat_tables_v2 Increase type widths to satisfy width requirements 2020-10-12 10:55:03 -05:00
zlib Sanitise includes across codebase 2019-01-04 10:43:17 +00:00