mirror-linux/arch/loongarch/include/asm
Linus Torvalds fb5bc34731 LoongArch changes for v6.18
1, Init acpi_gbl_use_global_lock to false;
 2, Allow specify SIMD width via kernel parameters;
 3, Add kexec_file (both EFI & ELF format) support;
 4, Add PER_VMA_LOCK for page fault handling support;
 5, Improve BPF trampoline support;
 6, Update the default config file;
 7, Some bug fixes and other small changes.
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCAA0FiEEzOlt8mkP+tbeiYy5AoYrw/LiJnoFAmjiOxsWHGNoZW5odWFj
 YWlAa2VybmVsLm9yZwAKCRAChivD8uImevP0D/95aVCoh0RPHZr8XRZgQI8yvWUF
 kn5qS6k0quVtx+tU3hjGCfOYw4GRtBXbguYgdeSZrYuBP+rQoy0U66K10Tw5dARO
 yoyliTa07ZNvhxxci02qCWZOmOTGhJHOCKk+pe6pktadFgVKPtxx6B6lcsJLAZki
 e0DrcmlQXH+hUbi4rkVTr5s7Smi8DxS8AIcTdoSyZAuGVB827qBl6fSEb5WTiExx
 IQfhB2S94psJ6oY9xcEQmoP52VVP+n7l9KYW0czKZ19O+vmU91r6zOJ/JH8nK+CM
 1Ooz6/3RSE5Lz2Rk9cFJJCBjAgrQwJIb1Dkr//MQAfinIe4c+8/56Rw/J/wKVi6c
 UCq4YjV/O5m6J82tSP2ZS4XiideTJFmYDGJSyqIpppOrSZMCyYm4KyCVrw4RgmkH
 BD1jtWa7fYbCzLduwx4j2sV3NSBZHPKuArpTM/rcQOjnJ7SuiagTDf244Ggp1wlB
 y7f6le5wgUIlkB3xMRvldAQ7FGvTk9jOYPDGPyGc/lrzca8Db7iX4gx5ykC3VcYe
 RkMko7EGP2+Bc/cLusDPrLDsXGmRTnGer5fRbv/s7rmUSC3kkmzD548GeLm5Zb5F
 32kTkknraruCAMFZcho8sPGu5pTjE6tKIBBGvr9DhTJQxFMeF1TMHgcv6C8Ekryt
 Nw1NyDWLTX3aGruWjQ==
 =hrpy
 -----END PGP SIGNATURE-----

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

Pull LoongArch updates from Huacai Chen:

 - Initialize acpi_gbl_use_global_lock to false

 - Allow specify SIMD width via kernel parameters

 - Add kexec_file (both EFI & ELF format) support

 - Add PER_VMA_LOCK for page fault handling support

 - Improve BPF trampoline support

 - Update the default config file

 - Some bug fixes and other small changes

* tag 'loongarch-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: (23 commits)
  LoongArch: Update Loongson-3 default config file
  LoongArch: BPF: Sign-extend struct ops return values properly
  LoongArch: BPF: Make error handling robust in arch_prepare_bpf_trampoline()
  LoongArch: BPF: Make trampoline size stable
  LoongArch: BPF: Don't align trampoline size
  LoongArch: BPF: No support of struct argument in trampoline programs
  LoongArch: BPF: No text_poke() for kernel text
  LoongArch: BPF: Remove duplicated bpf_flush_icache()
  LoongArch: BPF: Remove duplicated flags check
  LoongArch: BPF: Fix uninitialized symbol 'retval_off'
  LoongArch: BPF: Optimize sign-extention mov instructions
  LoongArch: Handle new atomic instructions for probes
  LoongArch: Try VMA lock-based page fault handling first
  LoongArch: Automatically disable kaslr if boot from kexec_file
  LoongArch: Add crash dump support for kexec_file
  LoongArch: Add ELF binary support for kexec_file
  LoongArch: Add EFI binary support for kexec_file
  LoongArch: Add preparatory infrastructure for kexec_file
  LoongArch: Add struct loongarch_image_header for kernel
  LoongArch: Allow specify SIMD width via kernel parameters
  ...
2025-10-06 12:18:56 -07:00
..
vdso LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
Kbuild loongarch, um, xtensa: get rid of generated arch/$ARCH/include/asm/param.h 2025-06-24 22:02:05 -04:00
acenv.h LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled 2025-09-18 19:44:01 +08:00
acpi.h LoongArch: Increase max supported CPUs up to 2048 2025-05-30 21:45:43 +08:00
addrspace.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
alternative-asm.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
alternative.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
asm-extable.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
asm-offsets.h
asm-prototypes.h LoongArch: entry: Migrate ret_from_fork() to C 2025-04-29 08:27:10 +02:00
asm.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
asmmacro.h LoongArch: Add support for relocating the kernel with RELR relocation 2024-07-20 22:41:07 +08:00
atomic.h LoongArch: Improve hardware page table walker 2024-09-24 15:32:20 +08:00
barrier.h
bitops.h
bitrev.h
bootinfo.h LoongArch: Get correct cores_per_package for SMT systems 2024-10-21 22:11:18 +08:00
branch.h
bug.h objtool: Fix ANNOTATE_REACHABLE to be a normal annotation 2024-12-02 12:01:44 +01:00
cache.h LoongArch: Increase ARCH_DMA_MINALIGN up to 16 2025-03-30 16:31:09 +08:00
cacheflush.h LoongArch: Remove superfluous flush_dcache_page() definition 2024-03-19 15:50:34 +08:00
cacheops.h
checksum.h
clocksource.h
cmpxchg.h
cpu-features.h LoongArch: Rework CPU feature probe from CPUCFG/IOCSR 2024-09-24 15:32:20 +08:00
cpu-info.h LoongArch: Remove the deprecated notifier hook mechanism 2025-02-13 12:02:40 +08:00
cpu.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
cpufeature.h
crash_reserve.h LoongArch: Fix Kconfig item and left code related to CRASH_CORE 2024-04-24 12:36:07 +08:00
delay.h
dma.h
dmi.h
efi.h
elf.h
entry-common.h LoongArch: Enable HAVE_ARCH_STACKLEAK 2025-05-30 21:45:42 +08:00
exception.h LoongArch: Add ORC stack unwinder support 2024-03-11 22:23:47 +08:00
exec.h
extable.h
fixmap.h
fpregdef.h
fprobe.h fprobe: Add fprobe_header encoding feature 2024-12-26 10:50:05 -05:00
fpu.h LoongArch: Handle fp, lsx, lasx and lbt assembly symbols 2025-04-26 09:58:12 +08:00
ftrace.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
futex.h
gpr-num.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
hardirq.h LoongArch: Architectural preparation for AVEC irqchip 2024-08-23 20:40:27 +02:00
hugetlb.h mm/hugetlb: remove prepare_hugepage_range() 2025-07-13 16:38:19 -07:00
hw_breakpoint.h LoongArch: Change 8 to 14 for LOONGARCH_MAX_{BRP,WRP} 2025-01-26 21:49:59 +08:00
hw_irq.h LoongArch: Define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE 2024-08-26 23:11:32 +08:00
idle.h
image.h LoongArch: Add EFI binary support for kexec_file 2025-10-02 22:39:07 +08:00
inst.h LoongArch: Handle new atomic instructions for probes 2025-10-02 22:39:35 +08:00
io.h mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
irq.h LoongArch: Increase MAX_IO_PICS up to 8 2025-03-30 16:31:09 +08:00
irq_regs.h
irq_work.h LoongArch: Add irq_work support via self IPIs 2024-07-20 22:40:58 +08:00
irqflags.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
jump_label.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
kasan.h kasan: introduce ARCH_DEFER_KASAN and unify static key across modes 2025-09-21 14:21:58 -07:00
kdebug.h
kexec.h LoongArch: Add ELF binary support for kexec_file 2025-10-02 22:39:08 +08:00
kfence.h LoongArch: Use accessors to page table entries instead of direct dereference 2024-08-07 17:37:11 +08:00
kgdb.h
kprobes.h
kvm_csr.h LoongArch: KVM: Add PMU support for guest 2024-09-12 20:53:40 +08:00
kvm_eiointc.h LoongArch: KVM: Add EIOINTC read and write functions 2024-11-13 16:18:27 +08:00
kvm_host.h LoongArch: KVM: Add stat information with kernel irqchip 2025-07-21 09:26:32 +08:00
kvm_ipi.h LoongArch: KVM: Add IPI read and write function 2024-11-13 16:18:27 +08:00
kvm_mmu.h LoongArch: KVM: Fix VM migration failure with PTW enabled 2025-09-18 19:44:22 +08:00
kvm_para.h LoongArch: KVM: Add hypercall service support for usermode VMM 2025-01-13 21:37:17 +08:00
kvm_pch_pic.h LoongArch: KVM: Set version information at initial stage 2025-09-23 23:37:09 +08:00
kvm_types.h
kvm_vcpu.h LoongArch: KVM: Add ecode parameter for exception handlers 2025-05-20 20:20:18 +08:00
lbt.h LoongArch: Handle fp, lsx, lasx and lbt assembly symbols 2025-04-26 09:58:12 +08:00
linkage.h
local.h
loongarch.h LoongArch: Complete KSave registers definition 2025-08-03 22:49:47 +08:00
loongson.h
mmu.h
mmu_context.h LoongArch: Improve hardware page table walker 2024-09-24 15:32:20 +08:00
module.h LoongArch: Add ORC stack unwinder support 2024-03-11 22:23:47 +08:00
module.lds.h
numa.h LoongArch: Introduce the numa_memblks conversion 2025-05-30 21:45:43 +08:00
orc_header.h LoongArch: Add ORC stack unwinder support 2024-03-11 22:23:47 +08:00
orc_lookup.h LoongArch: Add ORC stack unwinder support 2024-03-11 22:23:47 +08:00
orc_types.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
page.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
paravirt.h LoongArch: Revert qspinlock to test-and-set simple lock on VM 2024-09-11 23:26:32 +08:00
paravirt_api_clock.h LoongArch: KVM: Add PV IPI support on guest side 2024-05-06 22:00:47 +08:00
pci.h
percpu.h LoongArch: Simplify _percpu_read() and _percpu_write() 2024-09-24 15:32:20 +08:00
perf_event.h LoongArch: Fix callchain parse error with kernel tracepoint events again 2024-05-14 12:24:18 +08:00
pgalloc.h mm: pass mm down to pagetable_{pte,pmd}_ctor 2025-05-11 17:48:21 -07:00
pgtable-bits.h mm: remove devmap related functions and page table bits 2025-07-09 22:42:18 -07:00
pgtable.h mm: remove devmap related functions and page table bits 2025-07-09 22:42:18 -07:00
prefetch.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
processor.h
ptrace.h LoongArch: Fix MAX_REG_OFFSET calculation 2025-05-14 22:17:43 +08:00
qspinlock.h LoongArch: Revert qspinlock to test-and-set simple lock on VM 2024-09-11 23:26:32 +08:00
regdef.h
seccomp.h
serial.h
set_memory.h arch: introduce set_direct_map_valid_noflush() 2024-11-07 14:25:15 -08:00
setup.h LoongArch: Add support for relocating the kernel with RELR relocation 2024-07-20 22:41:07 +08:00
smp.h LoongArch: Handle KCOV __init vs inline mismatches 2025-06-26 20:07:18 +08:00
sparsemem.h LoongArch: Introduce the numa_memblks conversion 2025-05-30 21:45:43 +08:00
spinlock.h
spinlock_types.h
stackframe.h LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE 2025-08-20 22:23:44 +08:00
stackprotector.h
stacktrace.h LoongArch: Enable HAVE_ARCH_STACKLEAK 2025-05-30 21:45:42 +08:00
string.h
suspend.h
switch_to.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
thread_info.h LoongArch: Fix bitflag conflict for TIF_FIXADE 2025-09-20 09:55:56 +02:00
time.h
timex.h
tlb.h LoongArch: Fix a build error due to __tlb_remove_tlb_entry() 2024-04-24 12:36:07 +08:00
tlbflush.h
topology.h LoongArch: Introduce the numa_memblks conversion 2025-05-30 21:45:43 +08:00
types.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
uaccess.h
unistd.h LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h 2024-07-20 22:40:58 +08:00
unwind.h LoongArch: Add ORC stack unwinder support 2024-03-11 22:23:47 +08:00
unwind_hints.h LoongArch: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers 2025-06-26 20:07:10 +08:00
uprobes.h LoongArch: uprobes: Remove redundant code about resume_era 2025-05-14 22:18:10 +08:00
vdso.h LoongArch: vDSO: Switch to generic storage implementation 2025-02-21 09:54:02 +01:00
vermagic.h
video.h arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
vmalloc.h
xor.h
xor_simd.h