[PATCH 1/3] bsp/qoriq: Fix tlbwe sequence

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 8 17:35:22 UTC 2020


---
 bsps/powerpc/qoriq/start/mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/powerpc/qoriq/start/mmu.c b/bsps/powerpc/qoriq/start/mmu.c
index 87ffc11cc2..b912613cc4 100644
--- a/bsps/powerpc/qoriq/start/mmu.c
+++ b/bsps/powerpc/qoriq/start/mmu.c
@@ -361,7 +361,7 @@ void qoriq_mmu_change_perm(uint32_t test, uint32_t set, uint32_t clear)
 				mas3 &= ~(clear & mask);
 				mas3 |= set & mask;
 				PPC_SET_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS3, mas3);
-				asm volatile ("isync; msync; tlbwe; isync" : : : "memory");
+				asm volatile ("msync; isync; tlbwe; isync" : : : "memory");
 			}
 		}
 	}
-- 
2.16.4



More information about the devel mailing list