linux-yocto/arch/mips/mm
Thomas Bogendoerfer 841ecc979b MIPS: mm: kmalloc tlb_vpn array to avoid stack overflow
Owing to Config4.MMUSizeExt and VTLB/FTLB MMU features later MIPSr2+
cores can have more than 64 TLB entries.  Therefore allocate an array
for uniquification instead of placing too an small array on the stack.

Fixes: 35ad7e1815 ("MIPS: mm: tlb-r4k: Uniquify TLB entries on init")
Co-developed-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Cc: stable@vger.kernel.org # v6.17+: 9f048fa48740: MIPS: mm: Prevent a TLB shutdown on initial uniquification
Cc: stable@vger.kernel.org # v6.17+
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Klara Modin <klarasmodin@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2025-11-29 13:36:05 +01:00
..
c-octeon.c MIPS: c-octeon: Provide alternative SMP cache flush function 2023-04-05 09:45:09 +02:00
c-r3k.c MIPS: mm: Remove local_cache_flush_page 2023-04-05 10:08:53 +02:00
c-r4k.c Just cleanups and fixes 2024-01-17 11:20:50 -08:00
cache.c mips: mm: convert __flush_dcache_pages() to __flush_dcache_folio_pages() 2025-09-21 14:22:06 -07:00
cerr-sb1.c
cex-gen.S MIPS: Fix typos 2024-01-08 10:39:12 +01:00
cex-oct.S
cex-sb1.S
context.c MIPS: mm: Use the bitmap API to allocate bitmaps 2022-07-11 10:28:12 +02:00
dma-noncoherent.c dma-mapping: Simplify arch_setup_dma_ops() 2024-04-26 12:07:28 +02:00
extable.c
fault.c mips: module: rename MODULE_START to MODULES_VADDR 2024-05-14 00:31:43 -07:00
highmem.c
hugetlbpage.c mm/treewide: remove pXd_huge() 2024-04-25 20:55:47 -07:00
init.c arch, mm: make releasing of memory to page allocator more explicit 2025-03-17 22:06:53 -07:00
ioremap.c mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
ioremap64.c mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
maccess.c MIPS: uaccess: Added __get/__put_kernel_nofault 2021-04-06 14:36:56 +02:00
Makefile MIPS: Remove TX39XX support 2022-03-01 10:07:22 +01:00
mmap.c mm: make arch_get_unmapped_area() take vm_flags by default 2024-09-09 16:39:13 -07:00
page-funcs.S mips: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-15 10:22:23 +02:00
page.c MIPS: page: Use GPR number macros 2024-02-20 12:41:52 +01:00
pgtable-32.c arch: remove mk_pmd() 2025-05-11 17:48:04 -07:00
pgtable-64.c arch: remove mk_pmd() 2025-05-11 17:48:04 -07:00
pgtable.c asm-generic: pgalloc: provide generic __pgd_{alloc,free} 2025-01-25 20:22:24 -08:00
physaddr.c MIPS: Don't use %pK through printk 2025-07-28 09:58:49 +02:00
sc-debugfs.c
sc-ip22.c
sc-mips.c
sc-r5k.c
sc-rm7k.c
tlb-funcs.S mips: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-15 10:22:23 +02:00
tlb-r3k.c Just cleanups and fixes 2024-01-17 11:20:50 -08:00
tlb-r4k.c MIPS: mm: kmalloc tlb_vpn array to avoid stack overflow 2025-11-29 13:36:05 +01:00
tlbex-fault.S
tlbex.c MIPS: tlbex: Use GPR number macros 2024-02-20 12:41:52 +01:00
uasm-micromips.c
uasm-mips.c mips, uasm: Enable muhu opcode for MIPS R6 2021-10-06 12:28:02 -07:00
uasm.c mips, uasm: Enable muhu opcode for MIPS R6 2021-10-06 12:28:02 -07:00