arm-trusted-firmware/include
Boyan Karatotev 33815eb719 fix(pmu): make MDCR_EL3.MTPME=1 out of reset
Make the default value for MTPME always be 1 to preserve the reset
behaviour on newer revisions and on older revisions where the bit is
RES0 it doesn't matter.

Before its introduction MDCR_EL3.MTPME was RES0. Upon its introduction
the field resets to 1, making the MTPMU architecturally "enabled". As
such, the logical action on TF-A's part is to "disable" it, which led to
the introduction of DISABLE_MTPMU.

This hinges on the assumption that MDCR_EL3.MTPME will always be 1
unless the above flag is set. Unfortunately this is not the case, as the
reset value is overwritten at reset with a macro that sets this bit to
0.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ie570774972f246b3aa41dc016ecbcc6fc2f581f6
2023-06-29 09:59:06 +01:00
..
arch fix(pmu): make MDCR_EL3.MTPME=1 out of reset 2023-06-29 09:59:06 +01:00
bl1 style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
bl32 refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
common refactor(fdt-wrappers): fix for unit testing errors 2023-06-26 15:03:08 -05:00
drivers fix(spi-nand): add Quad Enable management 2023-05-31 18:03:28 +02:00
dt-bindings feat(dt-bindings): add TZC400 bindings for STM32MP13 2022-03-22 09:09:23 +01:00
export fix: integer suffix macro definition 2023-06-20 15:22:19 +02:00
lib refactor(cm): introduce a real manage_extensions_nonsecure() 2023-06-29 09:59:06 +01:00
plat fix(plat/arm): add RAS_FFH_SUPPORT check for RAS EHF priority 2023-06-23 15:08:44 +05:30
services chore: remove unused and undefined function 2023-06-06 08:19:06 -07:00
tools_share feat(cert-create): add new option for CCA NV ctr 2023-05-25 16:40:43 -05:00