nios2: update_mmu_cache preload the TLB with the new PTE
authorNicholas Piggin <npiggin@gmail.com>
Wed, 7 Nov 2018 02:35:34 +0000 (10:35 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Wed, 6 Mar 2019 21:29:35 +0000 (05:29 +0800)
commit3ac23944de570df7a6309425aeef063be38f37c4
tree7c5a3a2fd805045dfbd4eaa507d25dbc89d9cd1c
parentb6a10463438d8775aa6aa09ece46e8af14345712
nios2: update_mmu_cache preload the TLB with the new PTE

Rather than flush the TLB entry when installing a new PTE to allow
the fast TLB reload to re-fill the TLB, just refill the TLB entry
when removing the old one.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/nios2/include/asm/tlbflush.h
arch/nios2/mm/cacheflush.c
arch/nios2/mm/tlb.c