lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251006141228.3534607-1-chenhuacai@loongson.cn>
Date: Mon,  6 Oct 2025 22:12:28 +0800
From: Huacai Chen <chenhuacai@...ngson.cn>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
	Huacai Chen <chenhuacai@...nel.org>
Cc: loongarch@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Guo Ren <guoren@...nel.org>,
	Xuerui Wang <kernel@...0n.name>,
	Jiaxun Yang <jiaxun.yang@...goat.com>,
	Huacai Chen <chenhuacai@...ngson.cn>
Subject: [GIT PULL] LoongArch changes for v6.18

The following changes since commit e5f0a698b34ed76002dc5cff3804a61c80233a7a:

  Linux 6.17 (2025-09-28 14:39:22 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-6.18

for you to fetch changes up to 032676ff8217cab3273da56ee774b64c46b56b5e:

  LoongArch: Update Loongson-3 default config file (2025-10-05 11:52:43 +0800)

----------------------------------------------------------------
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.

Note: There is a conflict in arch/loongarch/Kconfig but can be simply
fixed by adjusting context.

----------------------------------------------------------------
Hengqi Chen (8):
      LoongArch: BPF: Remove duplicated flags check
      LoongArch: BPF: Remove duplicated bpf_flush_icache()
      LoongArch: BPF: No text_poke() for kernel text
      LoongArch: BPF: No support of struct argument in trampoline programs
      LoongArch: BPF: Don't align trampoline size
      LoongArch: BPF: Make trampoline size stable
      LoongArch: BPF: Make error handling robust in arch_prepare_bpf_trampoline()
      LoongArch: BPF: Sign-extend struct ops return values properly

Huacai Chen (6):
      Merge tag 'acpi-6.18-rc1' into loongarch-next
      LoongArch: Fix build error for LTO with LLVM-18
      LoongArch: Init acpi_gbl_use_global_lock to false
      LoongArch: Allow specify SIMD width via kernel parameters
      LoongArch: BPF: Fix uninitialized symbol 'retval_off'
      LoongArch: Update Loongson-3 default config file

Tiezhu Yang (3):
      LoongArch: Add cflag -fno-isolate-erroneous-paths-dereference
      LoongArch: Handle new atomic instructions for probes
      LoongArch: BPF: Optimize sign-extention mov instructions

Wentao Guan (1):
      LoongArch: Try VMA lock-based page fault handling first

Youling Tang (6):
      LoongArch: Add struct loongarch_image_header for kernel
      LoongArch: Add preparatory infrastructure for kexec_file
      LoongArch: Add EFI binary support for kexec_file
      LoongArch: Add ELF binary support for kexec_file
      LoongArch: Add crash dump support for kexec_file
      LoongArch: Automatically disable kaslr if boot from kexec_file

 arch/loongarch/Kconfig                     |  11 ++
 arch/loongarch/Makefile                    |   4 +-
 arch/loongarch/configs/loongson3_defconfig |  73 ++++++++-
 arch/loongarch/include/asm/image.h         |  52 +++++++
 arch/loongarch/include/asm/inst.h          |   5 +
 arch/loongarch/include/asm/kexec.h         |  12 ++
 arch/loongarch/kernel/Makefile             |   1 +
 arch/loongarch/kernel/cpu-probe.c          |  46 +++++-
 arch/loongarch/kernel/inst.c               |  12 ++
 arch/loongarch/kernel/kexec_efi.c          | 113 ++++++++++++++
 arch/loongarch/kernel/kexec_elf.c          | 105 +++++++++++++
 arch/loongarch/kernel/machine_kexec.c      |  37 +++--
 arch/loongarch/kernel/machine_kexec_file.c | 239 +++++++++++++++++++++++++++++
 arch/loongarch/kernel/relocate.c           |   4 +
 arch/loongarch/kernel/setup.c              |   1 +
 arch/loongarch/mm/fault.c                  |  58 ++++++-
 arch/loongarch/net/bpf_jit.c               |  86 ++++++++---
 17 files changed, 809 insertions(+), 50 deletions(-)
 create mode 100644 arch/loongarch/include/asm/image.h
 create mode 100644 arch/loongarch/kernel/kexec_efi.c
 create mode 100644 arch/loongarch/kernel/kexec_elf.c
 create mode 100644 arch/loongarch/kernel/machine_kexec_file.c


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ