[rtems commit] bsp/qoriq: Fix tlbwe sequence

Sebastian Huber sebh at rtems.org
Sun Jul 5 16:00:53 UTC 2020


Module:    rtems
Branch:    master
Commit:    b4a786df18b35c982f9f6d5cfd04a6b072d1bb14
Changeset: http://git.rtems.org/rtems/commit/?id=b4a786df18b35c982f9f6d5cfd04a6b072d1bb14

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Apr  8 13:48:41 2020 +0200

bsp/qoriq: Fix tlbwe sequence

---

 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 87ffc11..b912613 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");
 			}
 		}
 	}



More information about the vc mailing list