xen: arm32: Use system wide TLB flushes, not just inner-shareable
authorIan Campbell <ian.campbell@citrix.com>
Fri, 15 Feb 2013 13:32:10 +0000 (13:32 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 15 Feb 2013 13:32:10 +0000 (13:32 +0000)
We currently setup page table walks etc as outer-shareable. Given we don't
really make the distinction between inner- and outer-shareable yet err on
theside of safety.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/asm-arm/flushtlb.h

index 210abfa386a62386258f955533ba1456825e971d..5067e5daea916c1ff9317cf38fdbcc565b9f6df7 100644 (file)
@@ -19,7 +19,7 @@ static inline void flush_tlb_local(void)
 {
     dsb();
 
-    WRITE_CP32((uint32_t) 0, TLBIALLIS);
+    WRITE_CP32((uint32_t) 0, TLBIALL);
 
     dsb();
     isb();
@@ -30,7 +30,7 @@ static inline void flush_tlb_all_local(void)
 {
     dsb();
 
-    WRITE_CP32((uint32_t) 0, TLBIALLNSNHIS);
+    WRITE_CP32((uint32_t) 0, TLBIALLNSNH);
 
     dsb();
     isb();