From: Ian Campbell Date: Fri, 15 Feb 2013 13:32:10 +0000 (+0000) Subject: xen: arm32: Use system wide TLB flushes, not just inner-shareable X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7281 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=22c670a96d7bb3eb79595b2bb567c5358793cc68;p=xen.git 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 Acked-by: Tim Deegan Committed-by: Ian Campbell --- diff --git a/xen/include/asm-arm/flushtlb.h b/xen/include/asm-arm/flushtlb.h index 210abfa386..5067e5daea 100644 --- a/xen/include/asm-arm/flushtlb.h +++ b/xen/include/asm-arm/flushtlb.h @@ -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();