summaryrefslogtreecommitdiff
path: root/lib/fdt.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-12-11 16:05:16 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-06-25 06:00:18 +0530
commita5c8b52abe677977883655166796f167ef1e0084 (patch)
treed8434f779724e4d700d1dda0f781264f24a9ba50 /lib/fdt.c
parent04e2eee4b02edcafce96c9c37b31b1a3318291a4 (diff)
ARCv2: STAR 9000837815 workaround hardware exclusive transactions livelock
A quad core SMP build could get into hardware livelock with concurrent LLOCK/SCOND. Workaround that by adding a PREFETCHW which is serialized by SCU (System Coherency Unit). It brings the cache line in Exclusive state and makes others invalidate their lines. This gives enough time for winner to complete the LLOCK/SCOND, before others can get the line back. The prefetchw in the ll/sc loop is not nice but this is the only software workaround for current version of RTL. Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'lib/fdt.c')
0 files changed, 0 insertions, 0 deletions