kernel-hacking-2024-linux-s.../arch/mips/mm
Huacai Chen d191aaffe3 MIPS/tlbex: Fix LDDIR usage in setup_pw() for Loongson-3
LDDIR/LDPTE is Loongson-3's acceleration for Page Table Walking. If BD
(Base Directory, the 4th page directory) is not enabled, then GDOffset
is biased by BadVAddr[63:62]. So, if GDOffset (aka. BadVAddr[47:36] for
Loongson-3) is big enough, "0b11(BadVAddr[63:62])|BadVAddr[47:36]|...."
can far beyond pg_swapper_dir. This means the pg_swapper_dir may NOT be
accessed by LDDIR correctly, so fix it by set PWDirExt in CP0_PWCtl.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pei Huang <huangpei@loongson.cn>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-03-25 16:07:14 +01:00
..
c-octeon.c MIPS: reduce print level for cache information 2020-02-28 12:44:43 +01:00
c-r3k.c MIPS: reduce print level for cache information 2020-02-28 12:44:43 +01:00
c-r4k.c MIPS: c-r4k: Invalidate BMIPS5000 ZSCM prefetch lines 2020-03-16 16:09:56 +01:00
c-tx39.c MIPS: reduce print level for cache information 2020-02-28 12:44:43 +01:00
cache.c MIPS: remove the _dma_cache_wback_inv export 2019-06-03 16:00:08 +02:00
cerr-sb1.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
cex-gen.S
cex-oct.S
cex-sb1.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
context.c MIPS: Export mm switching functions used by KVM 2019-02-05 11:44:44 -08:00
dma-noncoherent.c dma-mapping: drop the dev argument to arch_sync_dma_for_* 2019-11-20 20:31:38 +01:00
extable.c
fault.c mips: add support for folded p4d page tables 2019-11-22 10:51:22 -08:00
highmem.c
hugetlbpage.c mips: add support for folded p4d page tables 2019-11-22 10:51:22 -08:00
init.c MIPS: mm: Place per_cpu on different nodes, if NUMA is enabled 2020-01-09 09:54:30 -08:00
ioremap.c mips: add support for folded p4d page tables 2019-11-22 10:51:22 -08:00
Makefile MIPS: Select R3k-style TLB in Kconfig 2019-09-03 14:20:43 +01:00
mmap.c mips: use generic mmap top-down layout and brk randomization 2019-09-24 15:54:12 -07:00
page-funcs.S
page.c MIPS: Loongson64: Rename CPU TYPES 2019-10-31 15:03:10 -07:00
pgtable-32.c mips: add support for folded p4d page tables 2019-11-22 10:51:22 -08:00
pgtable-64.c
pgtable.c
sc-debugfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sc-ip22.c
sc-mips.c MIPS: Ingenic: Fix bugs when detecting X1000's L2 cache. 2019-08-05 18:30:33 -07:00
sc-r5k.c
sc-rm7k.c
tlb-funcs.S
tlb-r3k.c MIPS: mm: Remove local_flush_tlb_mm() 2019-02-04 10:56:24 -08:00
tlb-r4k.c mips: add support for folded p4d page tables 2019-11-22 10:51:22 -08:00
tlbex-fault.S
tlbex.c MIPS/tlbex: Fix LDDIR usage in setup_pw() for Loongson-3 2020-03-25 16:07:14 +01:00
uasm-micromips.c mips: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_X 2018-12-07 13:30:48 -08:00
uasm-mips.c MIPS: uasm: Add div, mul and sel instructions for mipsr6 2019-03-19 15:26:06 -07:00
uasm.c MIPS: uasm: Add div, mul and sel instructions for mipsr6 2019-03-19 15:26:06 -07:00