shithub: riscv

Download patch

ref: e2124b109ecb0f5634f036e392d827b6ddebec54
parent: ca8d12b8e3c97ad8cf7b1ce32acd515a7a825f59
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Aug 25 17:22:51 EDT 2022

imx8: invalidate l2 cache as well (fixes not fully cleared BSS on cold boot)

--- a/sys/src/9/imx8/l.s
+++ b/sys/src/9/imx8/l.s
@@ -18,6 +18,7 @@
 
 	/* invalidate local caches */
 	BL	cachedwbinv(SB)
+	BL	l2cacheuwbinv(SB)
 	BL	cacheiinv(SB)
 
 	MOV	$(MACHADDR(0)-KZERO), R27