From: Julien Grall Date: Wed, 23 Apr 2014 11:36:56 +0000 (+0100) Subject: xen/arm: create_xen_entries has to flush TLBs on every CPU X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5086 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c670b042d90f337cff110c6b9e079939371e8b3c;p=xen.git xen/arm: create_xen_entries has to flush TLBs on every CPU The function create_xen_entries creates mappings in second-level page tables which is shared between every CPU. Only flushing TLBs on local processor may result to wrong behaviour when io{re,un}map is used. Signed-off-by: Julien Grall Acked-by: Ian Campbell --- diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 362bc8d29e..eac228c848 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -845,7 +845,7 @@ static int create_xen_entries(enum xenmap_operation op, BUG(); } } - flush_xen_data_tlb_range_va_local(virt, PAGE_SIZE * nr_mfns); + flush_xen_data_tlb_range_va(virt, PAGE_SIZE * nr_mfns); rc = 0;