• Alexei Fedorov's avatar
    fix(security): Set MDCR_EL3.MCCD bit · 12f6c064
    Alexei Fedorov authored
    
    
    This patch adds setting MDCR_EL3.MCCD in 'el3_arch_init_common'
    macro to disable cycle counting by PMCCNTR_EL0 in EL3 when
    FEAT_PMUv3p7 is implemented. This fixes failing test
    'Leak PMU CYCLE counter values from EL3 on PSCI suspend SMC'
    on FVP models with 'has_v8_7_pmu_extension' parameter set to
    1 or 2.
    Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
    Change-Id: I2ad3ef501b31ee11306f76cb5a61032ecfd0fbda
    12f6c064
el3_common_macros.S 17.8 KB