News: 0001614306

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

LoongArch Ready With New Features In Linux 7.0

([Linux Kernel] 4 Hours Ago Linux 7.0 LoongArch)


The [1]Linux 7.0 kernel is shipping improvements for LoongArch, the Chinese CPU architecture inspired by MIPS64 and RISC-V and has been showing much potential for their domestic PC manufacturing.

With Linux 7.0 the LoongArch architecture now has SMT hot-plug support, 128-bit atomic CMPXCHNG compare and exchange support, the MEMFD_SECRET system call is now supported, and various other updates:

- Select HAVE_CMPXCHG_{LOCAL,DOUBLE}

- Add 128-bit atomic cmpxchg support

- Add HOTPLUG_SMT implementation

- Wire up memfd_secret system call

- Fix boot errors and unwind errors for KASAN

- Use BPF prog pack allocator and add BPF arena support

- Update dts files to add nand controllers

- Some bug fixes and other small changes

The LoongArch improvements landed via [2]this merge .

In case you missed my recent LoongArch hands-on benchmarking with their latest wares, see [3]Loongson 3B6000 Benchmarks: How China's LoongArch CPU Compares To AMD Zen 5, Intel Arrow Lake & Raspberry Pi 5 and [4]Arch Linux Running Well On LoongArch - Loongson 3B6000 Benchmarks .



[1] https://www.phoronix.com/search/Linux+7.0

[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64275e9fda3702bfb5ab3b95f7c2b9b414667164

[3] https://www.phoronix.com/review/loongson-3b6000-loongarch

[4] https://www.phoronix.com/review/arch-linux-loongarch



"I would suggest you to read through the following book and files:
* Kernighan & Pike, "The Practice of Programming"
* Documentation/CodingStyle
* drivers/net/aironet4500_proc.c
and consider, erm, discrepancies. On the second thought, reading K&R
might also be useful. IOW, no offense, but your C is bad beyond belief."

- Al Viro