mirror-linux/arch/loongarch/kernel
Linus Torvalds 9551a26f17 LoongArch changes for v6.19
1, Add basic LoongArch32 support;
 2, Select HAVE_ARCH_BITREVERSE in Kconfig;
 3, Fix build and boot for CONFIG_RANDSTRUCT;
 4, Correct the calculation logic of thread_count;
 5, Some bug fixes and other small changes.
 
 Note: Build infrastructures of LoongArch32 are not enabled yet, because
 we need to adjust irqchip drivers and wait for GNU toolchain be upstream
 first.
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCAA0FiEEzOlt8mkP+tbeiYy5AoYrw/LiJnoFAmk2pCUWHGNoZW5odWFj
 YWlAa2VybmVsLm9yZwAKCRAChivD8uImevedD/9glTZwBqWOnBIaw1ldxfmoEQS2
 PCFxxZPG+cHO3Kgg5LrMgz/2UI2bOnrcx5a7Ma0v4TDFyH9Cp/p4NGosndsq5b1v
 3xoPXytKjiKJMyWNAZy7ytP8FmYs0v6rIu3ZvW6N4GPyNm3VC96LdxXtAXnio134
 TruTALLZ6U/EDUz6VmyRgWAR8HXgS08v3Vuh4giZABRHQAWM7u8tUxGZNvjkLqKb
 TsQz8Ko42VEkbwD5MCMIQrviJBOReycANU9jlmJ1JNsJVKjqcjtSpCpO5cnJg3iL
 93M3wiTy/iWrIdQwjGeXgqco8iQItozVIf0FwVum82OLyoxx7G9qZAx5aQg4zjkA
 JvFB0Quecs8e3HaGJCPGytv2r56cMTh73KzarZBXhCPDLun2pssLtqVwYxw/7KOB
 MoVOekFQs6+8Un9Rffrj6PGeZQwflpsp7Z4khEpf4qULuI6BpRCFLojFhwk6e4V/
 DzoYmdpg1TnwNlp74aMv7gWDfnBBfKXDAswbtyfU/aY0+jrf0f5pNfT100Dd0PAw
 VNzNjkH/JGml/0iqf7T3p6h/XalR7/obsg4O4L39I6A1CL3gkZf35jtMtzf7RsIp
 cVYtumlFvrU7hzKpKcq0OXFji7/8HbAOgrIno5MQGjFfKPJPk+wb5XpgWKdhVtC1
 Y94az2s8PmYA4/v9QA==
 =G9hi
 -----END PGP SIGNATURE-----

Merge tag 'loongarch-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson

Pull LoongArch updates from Huacai Chen:

 - Add basic LoongArch32 support

   Note: Build infrastructures of LoongArch32 are not enabled yet,
   because we need to adjust irqchip drivers and wait for GNU toolchain
   be upstream first.

 - Select HAVE_ARCH_BITREVERSE in Kconfig

 - Fix build and boot for CONFIG_RANDSTRUCT

 - Correct the calculation logic of thread_count

 - Some bug fixes and other small changes

* tag 'loongarch-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: (22 commits)
  LoongArch: Adjust default config files for 32BIT/64BIT
  LoongArch: Adjust VDSO/VSYSCALL for 32BIT/64BIT
  LoongArch: Adjust misc routines for 32BIT/64BIT
  LoongArch: Adjust user accessors for 32BIT/64BIT
  LoongArch: Adjust system call for 32BIT/64BIT
  LoongArch: Adjust module loader for 32BIT/64BIT
  LoongArch: Adjust time routines for 32BIT/64BIT
  LoongArch: Adjust process management for 32BIT/64BIT
  LoongArch: Adjust memory management for 32BIT/64BIT
  LoongArch: Adjust boot & setup for 32BIT/64BIT
  LoongArch: Adjust common macro definitions for 32BIT/64BIT
  LoongArch: Add adaptive CSR accessors for 32BIT/64BIT
  LoongArch: Add atomic operations for 32BIT/64BIT
  LoongArch: Add new PCI ID for pci_fixup_vgadev()
  LoongArch: Add and use some macros for AVEC
  LoongArch: Correct the calculation logic of thread_count
  LoongArch: Use unsigned long for _end and _text
  LoongArch: Use __pmd()/__pte() for swap entry conversions
  LoongArch: Fix arch_dup_task_struct() for CONFIG_RANDSTRUCT
  LoongArch: Fix build errors for CONFIG_RANDSTRUCT
  ...
2025-12-13 05:44:03 +12:00
..
.gitignore
Makefile LoongArch: Add ELF binary support for kexec_file 2025-10-02 22:39:08 +08:00
Makefile.syscalls LoongArch: Adjust system call for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
access-helper.h
acpi.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
alternative.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
asm-offsets.c arch: Add the macro COMPILE_OFFSETS to all the asm-offsets.c 2025-09-25 09:57:15 +02:00
cacheinfo.c LoongArch: Correct the cacheinfo sharing information 2025-01-25 18:51:33 +08:00
cpu-probe.c LoongArch: Adjust memory management for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
crash_dump.c
dma.c dma-mapping: Add helpers for dma_range_map bounds 2024-04-26 12:07:24 +02:00
efi-header.S LoongArch: Adjust boot & setup for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
efi.c LoongArch: Adjust boot & setup for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
elf.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
entry.S LoongArch: Adjust system call for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
env.c LoongArch: Adjust boot & setup for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
fpu.S LoongArch: Adjust process management for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
ftrace.c
ftrace_dyn.c LoongArch: ftrace: Use RCU in all users of __module_text_address(). 2025-03-10 11:54:45 +01:00
genex.S LoongArch: Move __arch_cpu_idle() to .cpuidle.text section 2025-05-14 22:17:52 +08:00
head.S LoongArch: Adjust boot & setup for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
hw_breakpoint.c LoongArch: Change 8 to 14 for LOONGARCH_MAX_{BRP,WRP} 2025-01-26 21:49:59 +08:00
idle.c LoongArch: Fix idle VS timer enqueue 2025-02-13 12:02:35 +08:00
image-vars.h efi/loongarch: Directly position the loaded image file 2023-12-19 11:16:37 +01:00
inst.c LoongArch: Handle new atomic instructions for probes 2025-10-02 22:39:35 +08:00
irq.c LoongArch: Switch to irq_set_nr_irqs() 2024-10-16 21:56:56 +02:00
jump_label.c
kdebugfs.c LoongArch: Add debugfs entries to switch SFB/TSO state 2025-01-26 21:49:59 +08:00
kexec_efi.c LoongArch: kexec: Initialize the kexec_buf structure 2025-11-10 08:37:07 +08:00
kexec_elf.c LoongArch: kexec: Initialize the kexec_buf structure 2025-11-10 08:37:07 +08:00
kfpu.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
kgdb.c LoongArch: Rework the arch_kgdb_breakpoint() implementation 2025-03-30 16:31:09 +08:00
kprobes.c LoongArch: Make the users of larch_insn_gen_break() constant 2024-07-20 22:41:07 +08:00
lbt.S LoongArch: Handle fp, lsx, lasx and lbt assembly symbols 2025-04-26 09:58:12 +08:00
machine_kexec.c LoongArch: Mask all interrupts during kexec/kdump 2025-11-20 14:42:05 +08:00
machine_kexec_file.c LoongArch: kexec: Initialize the kexec_buf structure 2025-11-10 08:37:07 +08:00
mcount.S fgraph: Replace fgraph_ret_regs with ftrace_regs 2024-12-26 10:50:02 -05:00
mcount_dyn.S fgraph: Replace fgraph_ret_regs with ftrace_regs 2024-12-26 10:50:02 -05:00
mem.c LoongArch: Consolidate max_pfn & max_low_pfn calculation 2025-11-10 08:37:06 +08:00
module-sections.c LoongArch: Adjust module loader for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
module.c LoongArch: Adjust module loader for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
numa.c LoongArch: Fix NUMA node parsing with numa_memblks 2025-11-20 14:42:05 +08:00
paravirt.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
perf_event.c LoongArch: Refine the init_hw_perf_events() function 2025-11-10 08:37:06 +08:00
perf_regs.c
proc.c LoongArch: Adjust time routines for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
process.c LoongArch: Adjust process management for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
ptrace.c LoongArch: Adjust process management for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
relocate.c LoongArch: Adjust boot & setup for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
relocate_kernel.S LoongArch: Make relocate_new_kernel_size be a .quad value 2025-08-03 22:49:47 +08:00
reset.c LoongArch: Fix idle VS timer enqueue 2025-02-13 12:02:35 +08:00
rethook.c
rethook.h
rethook_trampoline.S LoongArch: Add ORC stack unwinder support 2024-03-11 22:23:47 +08:00
setup.c LoongArch: Correct the calculation logic of thread_count 2025-12-06 10:39:49 +08:00
signal.c LoongArch: Save LBT before FPU in setup_sigcontext() 2025-08-20 22:23:44 +08:00
smp.c syscore: Pass context data to callbacks 2025-11-14 10:01:52 +01:00
stacktrace.c LoongArch: Fix unreliable stack for live patching 2025-09-18 19:44:08 +08:00
switch.S LoongArch: Adjust process management for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
syscall.c LoongArch: Adjust system call for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
sysrq.c
time.c LoongArch: Adjust VDSO/VSYSCALL for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
topology.c LoongArch: convert to use arch_cpu_is_hotpluggable() 2023-12-06 12:41:50 +09:00
traps.c LoongArch: Add adaptive CSR accessors for 32BIT/64BIT 2025-12-06 10:40:32 +08:00
unaligned.c LoongArch: Adjust misc routines for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
unwind.c LoongArch: Set unwind stack type to unknown rather than set error flag 2023-12-09 15:49:15 +08:00
unwind_guess.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
unwind_orc.c LoongArch: Don't use %pK through printk() in unwinder 2025-08-03 22:49:47 +08:00
unwind_prologue.c LoongArch: Fix build warnings about export.h 2025-06-26 20:07:18 +08:00
uprobes.c LoongArch: uprobes: Remove redundant code about resume_era 2025-05-14 22:18:10 +08:00
vdso.c LoongArch: vDSO: Check kcalloc() result in init_vdso() 2025-09-18 19:44:10 +08:00
vmlinux.lds.S LoongArch: Add support for relocating the kernel with RELR relocation 2024-07-20 22:41:07 +08:00