git: 9front

Download patch

ref: a82c7a0935910119516992f845f63214ba6117d3
parent: c83d6627b1ecdabdd1864e6c9a524aa90bfd1a9d
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
--