linux_dsm_epyc7002/arch/nios2/mm
Nicholas Piggin 195568a10a nios2: flush_tlb_page use PID based flush
flush_tlb_page is for flushing user pages, so it should not be using
flush_tlb_one (which flushes all pages).

This patch implements it with the flush_tlb_range, which is a user
flush that does the right thing.

flush_tlb_one is made static to mm/tlb.c because it's a bit confusing.
It is used in do_page_fault to flush the kernel non-linear mappings,
so that is replaced with flush_tlb_kernel_page. The end result is that
functionality is identical.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
2019-03-07 05:29:35 +08:00
..
cacheflush.c nios2: update_mmu_cache clear the old entry from the TLB 2019-03-07 05:29:35 +08:00
dma-mapping.c nios2: use generic dma_noncoherent_ops 2018-07-25 13:33:09 +02:00
extable.c nios2: migrate exception table users off module.h and onto extable.h 2017-01-26 10:58:14 -05:00
fault.c nios2: flush_tlb_page use PID based flush 2019-03-07 05:29:35 +08:00
init.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
ioremap.c nios2: I/O Mapping 2014-12-08 12:55:52 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mmu_context.c nios2: Process management 2014-12-08 12:55:53 +08:00
pgtable.c nios2: Page table management 2014-12-08 12:55:53 +08:00
tlb.c nios2: flush_tlb_page use PID based flush 2019-03-07 05:29:35 +08:00
uaccess.c nios2: use generic strncpy_from_user() and strnlen_user() 2017-05-08 17:14:14 +08:00