WSL2-Linux-Kernel/arch/xtensa/mm
Max Filippov e28bace5e7 xtensa: define update_mmu_tlb function
commit 1c4664faa3 upstream.

Before the commit f9ce0be71d ("mm: Cleanup faultaround and finish_fault()
codepaths") there was a call to update_mmu_cache in alloc_set_pte that
used to invalidate TLB entry caching invalid PTE that caused a page
fault. That commit removed that call so now invalid TLB entry survives
causing repetitive page faults on the CPU that took the initial fault
until that TLB entry is occasionally evicted. This issue is spotted by
the xtensa TLB sanity checker.

Fix this issue by defining update_mmu_tlb function that flushes TLB entry
for the faulting address.

Cc: stable@vger.kernel.org # 5.12+
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:23:03 +02:00
..
Makefile
cache.c xtensa: simplify coherent_kvaddr logic 2021-04-04 15:39:03 -07:00
fault.c
highmem.c
init.c mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ioremap.c
kasan_init.c
misc.S xtensa: simplify coherent_kvaddr logic 2021-04-04 15:39:03 -07:00
mmu.c xtensa: use CONFIG_USE_OF instead of CONFIG_OF 2021-09-27 06:08:58 -07:00
tlb.c xtensa: define update_mmu_tlb function 2022-04-08 14:23:03 +02:00