--- zzzz-none-000/linux-3.10.107/arch/arm/mm/tlb-v7.S 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mm/tlb-v7.S 2021-02-04 17:41:59.000000000 +0000 @@ -35,7 +35,7 @@ ENTRY(v7wbi_flush_user_tlb_range) vma_vm_mm r3, r2 @ get vma->vm_mm mmid r3, r3 @ get vm_mm->context.id - dsb + dsb ish mov r0, r0, lsr #PAGE_SHIFT @ align address mov r1, r1, lsr #PAGE_SHIFT asid r3, r3 @ mask ASID @@ -56,8 +56,8 @@ add r0, r0, #PAGE_SZ cmp r0, r1 blo 1b - dsb - mov pc, lr + dsb ish + ret lr ENDPROC(v7wbi_flush_user_tlb_range) /* @@ -69,7 +69,7 @@ * - end - end address (exclusive, may not be aligned) */ ENTRY(v7wbi_flush_kern_tlb_range) - dsb + dsb ish mov r0, r0, lsr #PAGE_SHIFT @ align address mov r1, r1, lsr #PAGE_SHIFT mov r0, r0, lsl #PAGE_SHIFT @@ -84,9 +84,9 @@ add r0, r0, #PAGE_SZ cmp r0, r1 blo 1b - dsb + dsb ish isb - mov pc, lr + ret lr ENDPROC(v7wbi_flush_kern_tlb_range) __INIT