Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm Add some dsb instructions to avoid Cortex A...
details: https://anonhg.NetBSD.org/src/rev/e1b5e67dfc39
branches: trunk
changeset: 333347:e1b5e67dfc39
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Oct 29 23:01:46 2014 +0000
description:
Add some dsb instructions to avoid Cortex A7 errata
diffstat:
sys/arch/arm/arm/cpufunc_asm_armv7.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 849f7f7fab31 -r e1b5e67dfc39 sys/arch/arm/arm/cpufunc_asm_armv7.S
--- a/sys/arch/arm/arm/cpufunc_asm_armv7.S Wed Oct 29 22:52:21 2014 +0000
+++ b/sys/arch/arm/arm/cpufunc_asm_armv7.S Wed Oct 29 23:01:46 2014 +0000
@@ -377,6 +377,7 @@
b 1b
.Lnext_level_inv:
+ dsb
mrc p15, 1, r0, c0, c0, 1 @ read CLIDR
ubfx ip, r0, #24, #3 @ narrow to LoC
add r3, r3, #2 @ go to next level
@@ -437,6 +438,7 @@
b 1b
.Lnext_level_wbinv:
+ dsb
mrc p15, 1, r0, c0, c0, 1 @ read CLIDR
ubfx ip, r0, #24, #3 @ narrow to LoC
add r3, r3, #2 @ go to next level
Home |
Main Index |
Thread Index |
Old Index