[Differential] [Closed] D3106: Fix possible coherency issues between PEs related to I-cache
zbb (Zbigniew Bodek)
phabric-noreply at FreeBSD.org
Fri Jul 17 14:34:04 UTC 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rS285655: Fix possible coherency issues between PEs related to I-cache (authored by zbb).
CHANGED PRIOR TO COMMIT
https://reviews.freebsd.org/D3106?vs=6995&id=7048#toc
REPOSITORY
rS FreeBSD src repository
CHANGES SINCE LAST UPDATE
https://reviews.freebsd.org/D3106?vs=6995&id=7048
REVISION DETAIL
https://reviews.freebsd.org/D3106
AFFECTED FILES
head/sys/arm64/arm64/cpufunc_asm.S
CHANGE DETAILS
diff --git a/head/sys/arm64/arm64/cpufunc_asm.S b/head/sys/arm64/arm64/cpufunc_asm.S
--- a/head/sys/arm64/arm64/cpufunc_asm.S
+++ b/head/sys/arm64/arm64/cpufunc_asm.S
@@ -61,17 +61,18 @@
add x1, x1, x2 /* Add these to the size */
bic x0, x0, x4 /* Clear the low bit of the address */
1:
+ dc \dcop, x0
+ dsb ish
.if \ic != 0
ic \icop, x0
+ dsb ish
.endif
- dc \dcop, x0
add x0, x0, x3 /* Move to the next line */
subs x1, x1, x3 /* Reduce the size */
b.hi 1b /* Check if we are done */
.if \ic != 0
isb
.endif
- dsb ish
ret
.endm
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: wma_semihalf.com, emaste, zbb, andrew
Cc: imp, andrew, freebsd-arm-list, emaste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3106.7048.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150717/f96fc2c3/attachment.bin>
More information about the freebsd-arm
mailing list