Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 458ac31f authored by Rohit Vaswani's avatar Rohit Vaswani Committed by Trilok Soni
Browse files

arm64: Add support for Cortex-A57 Erratum 832075



This Erratum explains the problem that a Cortex-A57 might deadlock
when WB exclusive load/store instructions are mixed with device loads.
An interrupt will break the deadlock.
This erratum requires a particular sequence of the code:
a) A pair of exclusive load and exclusive store instructions.
The exclusive store is to write-back memory location.
b) A branch instruction has a source register which is the same as
the destination register of the older exclusive store.
c) Following the branch instruction, there are six or more loads
to device memory locations

The workaround is to substitute the ldr instruction for load from
device memory to be ldar

Change-Id: I52bdc942aaa93c4b21caf3f9c9b8fe605ec50689
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent c1a5a21e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment