• Antonio Nino Diaz's avatar
    Apply workaround for errata 813419 of Cortex-A57 · ccbec91c
    Antonio Nino Diaz authored
    
    
    TLBI instructions for EL3 won't have the desired effect under specific
    circumstances in Cortex-A57 r0p0. The workaround is to execute DSB and
    TLBI twice each time.
    
    Even though this errata is only needed in r0p0, the current errata
    framework is not prepared to apply run-time workarounds. The current one
    is always applied if compiled in, regardless of the CPU or its revision.
    
    This errata has been enabled for Juno.
    
    The `DSB` instruction used when initializing the translation tables has
    been changed to `DSB ISH` as an optimization and to be consistent with
    the barriers used for the workaround.
    
    Change-Id: Ifc1d70b79cb5e0d87e90d88d376a59385667d338
    Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
    ccbec91c
xlat_tables.c 7.84 KB