diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c index 0ddfe591cd246c274933b9ce1caa715137982fbe..d6f74cbf0fed0df15c87e719b9be2008f9dfa61a 100644 --- a/arch/powerpc/mm/pgtable-radix.c +++ b/arch/powerpc/mm/pgtable-radix.c @@ -1108,7 +1108,12 @@ void radix__ptep_set_access_flags(struct vm_area_struct *vma, pte_t *ptep, __radix_pte_update(ptep, 0, new_pte); } else { __radix_pte_update(ptep, 0, set); - radix__flush_tlb_page_psize(mm, address, psize); + /* + * Book3S does not require a TLB flush when relaxing access + * restrictions when the address space is not attached to a + * NMMU, because the core MMU will reload the pte after taking + * an access fault, which is defined by the architectue. + */ } asm volatile("ptesync" : : : "memory"); }