Home
last modified time | relevance | path

Searched hist:"195568 a10a264a733ec7151a657ab054a0af768f" (Results 1 – 3 of 3) sorted by relevance

/linux/arch/nios2/mm/
H A Dtlb.cdiff 195568a10a264a733ec7151a657ab054a0af768f Mon Nov 05 03:00:15 CET 2018 Nicholas Piggin <npiggin@gmail.com> 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>
H A Dfault.cdiff 195568a10a264a733ec7151a657ab054a0af768f Mon Nov 05 03:00:15 CET 2018 Nicholas Piggin <npiggin@gmail.com> 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>
/linux/arch/nios2/include/asm/
H A Dtlbflush.hdiff 195568a10a264a733ec7151a657ab054a0af768f Mon Nov 05 03:00:15 CET 2018 Nicholas Piggin <npiggin@gmail.com> 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>