xen: arm32: Use system wide TLB flushes, not just inner-shareable
PATCH 1/1 xen: arm32: Use system wide TLB flushes, not just inner-shareable
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 <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Tim Deegan <[email protected]>
--- xen/include/asm-arm/flushtlb.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
xen/include/asm-arm/flushtlb.h +2 -2
@@ -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 ();
Signature · 1 line
1.7.9.1
Quoted 5 lines · Ian Campbell
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 <[email protected]>
Acked-by Tim Deegan <[email protected]>
Quoted 31 lines
Cc Stefano Stabellini <[email protected]>Cc Tim Deegan <[email protected]>--- xen/include/asm-arm/flushtlb.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)xen/include/asm-arm/flushtlb.h +2
-2@@ -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 ();Signature · 1 line
1.7.9.1
Ian Campbell
AppliedQuoted 8 lines · Tim Deegan
Quoted 5 lines · Ian Campbell
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 <[email protected]>Acked-by Tim Deegan <[email protected]>
Applied, thanks.