linux/arch/mips/include/asm
Qi Zheng e3ecf7c7d0 mm: pgtable: convert some architectures to use tlb_remove_ptdesc()
Now, the nine architectures of csky, hexagon, loongarch, m68k, mips,
nios2, openrisc, sh and um do not select CONFIG_MMU_GATHER_RCU_TABLE_FREE,
and just call pagetable_dtor() + tlb_remove_page_ptdesc() (the wrapper of
tlb_remove_page()).  This is the same as the implementation of
tlb_remove_{ptdesc|table}() under !CONFIG_MMU_GATHER_TABLE_FREE, so
convert these architectures to use tlb_remove_ptdesc().

The ultimate goal is to make the architecture only use tlb_remove_ptdesc()
or tlb_remove_table() for page table pages.

[zhengqi.arch@bytedance.com: v2]
  Link: https://lkml.kernel.org/r/20250303072603.45423-1-zhengqi.arch@bytedance.com
[akpm@linux-foundation.org: remove trailing semi in arch/loongarch/include/asm/pgalloc.h]
Link: https://lkml.kernel.org/r/19db3e8673b67bad2f1df1ab37f1c89d99eacfea.1740454179.git.zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickens <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Matthew Wilcow (Oracle) <willy@infradead.org>
Cc: "Mike Rapoport (IBM)" <rppt@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-04-01 15:17:13 -07:00
..
dec MIPS: dec: prom: Remove unused unregister_prom_console() declaration 2024-08-29 10:44:08 +02:00
fw
ip32
mach-ath25
mach-ath79
mach-au1x00 MIPS: Remove unused function dump_au1000_dma_channel() in dma.c 2024-08-29 10:38:18 +02:00
mach-bcm47xx
mach-bcm63xx
mach-bmips
mach-cavium-octeon
mach-cobalt
mach-db1x00
mach-dec
mach-generic
mach-ingenic
mach-ip22
mach-ip27 arch, mm: move definition of node_data to generic code 2024-09-03 21:15:28 -07:00
mach-ip28
mach-ip30
mach-ip32
mach-jazz
mach-lantiq
mach-loongson2ef
mach-loongson32
mach-loongson64 mips: fix PCI_IOBASE definition 2025-03-18 22:42:42 +01:00
mach-malta
mach-n64
mach-pic32
mach-ralink mips: fix PCI_IOBASE definition 2025-03-18 22:42:42 +01:00
mach-rc32434 MIPS: Fix Macro name 2025-03-19 10:22:22 +01:00
mach-rm
mach-sibyte
mach-tx49xx
mips-boards MIPS: Remove unused mips_display/_scroll_message() declarations 2024-08-29 10:43:41 +02:00
octeon
pci
sgi
sibyte
sn
txx9
vdso MIPS: vdso: Switch to generic storage implementation 2025-02-21 09:54:02 +01:00
xtalk
Kbuild asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
abi.h
addrspace.h
amon.h
arch_hweight.h
asm-eva.h
asm-offsets.h
asm-prototypes.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h
barrier.h
bcache.h
bitops.h
bitrev.h
bmips-spaces.h
bmips.h
bootinfo.h
branch.h
break.h
bug.h
bugs.h
cache.h
cacheflush.h
cacheops.h
cachetype.h
cdmm.h
cevt-r4k.h
checksum.h
clocksource.h
cmp.h MIPS: Remove unused declarations in asm/cmp.h 2024-08-29 10:42:41 +02:00
cmpxchg.h
compat-signal.h
compat.h
compiler.h
cop2.h
cpu-features.h
cpu-info.h
cpu-type.h
cpu.h
cpufeature.h
debug.h
delay.h
div64.h
dma-direct.h
dma-mapping.h
dma.h
dmi.h
ds1287.h MIPS: ds1287: Match ds1287_set_base_clock() function types 2025-02-27 10:47:33 +01:00
dsemul.h
dsp.h
edac.h
elf.h
elfcore-compat.h
errno.h
eva.h
exec.h
extable.h
fixmap.h
floppy.h
fpregdef.h
fpu.h
fpu_emulator.h
ftrace.h MIPS: Use arch specific syscall name match function 2025-02-21 17:46:30 +01:00
futex.h
ginvt.h
gio_device.h
gt64120.h
hardirq.h
hazards.h
highmem.h
hpet.h
hugetlb.h mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear() 2025-02-27 17:40:57 +00:00
hw_irq.h
i8259.h
idle.h
inst.h
io.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
irq.h
irq_cpu.h
irq_gt641xx.h
irq_regs.h
irqflags.h
isa-rev.h
isadep.h
jazz.h
jazzdma.h
jump_label.h
kdebug.h
kexec.h
kgdb.h
kprobes.h
kvm_host.h KVM: Drop kvm_arch_sync_events() now that all implementations are nops 2025-02-26 13:17:23 -05:00
kvm_types.h
linkage.h
local.h
maar.h
machine.h
mc146818-time.h
mc146818rtc.h
mips-cm.h MIPS: cm: Fix warning if MIPS_CM is disabled 2025-03-19 10:22:40 +01:00
mips-cpc.h
mips-cps.h
mips-gic.h
mips-r2-to-r6-emul.h
mips_mt.h MIPS: MT: Remove unused function mips_mt_regdump() 2024-08-29 10:41:36 +02:00
mipsmtregs.h
mipsprom.h
mipsregs.h MIPS: kernel: Rename read/write_c0_ecc to read/writec0_errctl 2025-01-11 12:31:21 +01:00
mmiowb.h
mmu.h
mmu_context.h
mmzone.h MIPS: make setup_zero_pages() use memblock 2025-03-17 22:06:51 -07:00
module.h
msa.h
msc01_ic.h
paccess.h
page.h vdso: Introduce vdso/page.h 2024-10-16 00:13:04 +02:00
pci.h
perf_event.h
pgalloc.h mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
pgtable-32.h
pgtable-64.h mm: define general function pXd_init() 2024-11-11 17:22:27 -08:00
pgtable-bits.h
pgtable.h
pm-cps.h
pm.h
prefetch.h
processor.h
prom.h
ptrace.h MIPS: Export syscall stack arguments properly for remote use 2025-02-13 12:41:18 +01:00
r4k-timer.h
r4kcache.h
reboot.h
reg.h
regdef.h
rtlx.h
seccomp.h
setup.h
sgialib.h
sgiarcs.h
shmparam.h
sigcontext.h
signal.h
sim.h
smp-cps.h MIPS: CPS: Boot CPUs in secondary clusters 2025-02-21 10:19:37 +01:00
smp-ops.h
smp.h
sni.h
socket.h
sparsemem.h
spinlock.h
spinlock_types.h
spram.h
stackframe.h
stackprotector.h
stacktrace.h
string.h
switch_to.h mips: asm: fix warning when disabling MIPS_FP_SUPPORT 2024-10-30 23:45:28 +01:00
sync.h
syscall.h MIPS: fix mips_get_syscall_arg() for o32 2025-02-13 12:41:29 +01:00
syscalls.h
thread_info.h
time.h
timex.h
tlb.h
tlbdebug.h
tlbex.h
tlbflush.h
tlbmisc.h
topology.h
traps.h
txx9irq.h
txx9pio.h
txx9tmr.h
types.h
uaccess.h
uasm.h
unaligned-emul.h
unistd.h
unroll.h
uprobes.h
vdso.h
vermagic.h
vga.h asm/vga.h: don't bother with scr_mem{cpy,move}v() unless we need to 2024-11-11 21:51:42 +01:00
video.h
vmalloc.h
vpe.h
watch.h
wbflush.h
yamon-dt.h