News: 0001480555

  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 Enables More Kernel Features With Linux 6.11

([Hardware] 6 Hours Ago LoongArch + Linux 6.11)


The LoongArch CPU architecture changes were submitted and subsequently merged on Monday for the ongoing [1]Linux 6.11 merge window. With the new kernel these Chinese processors support more kernel features for this MIPS-derived and RISC-V-inspired architecture.

The LoongArch highlights for Linux 6.11 amount to:

1, Define __ARCH_WANT_NEW_STAT in unistd.h;

2, Always enumerate MADT and setup logical-physical CPU mapping;

3, Add irq_work support via self IPIs;

4, Add RANDOMIZE_KSTACK_OFFSET support;

5, Add ARCH_HAS_PTE_DEVMAP support;

6, Add ARCH_HAS_DEBUG_VM_PGTABLE support;

7, Add writecombine support for DMW-based ioremap();

8, Add architectural preparation for CPUFreq;

9, Add ACPI standard hardware register based S3 support;

10, Add support for relocating the kernel with RELR relocation;

11, Some bug fixes and other small changes.

That goes along with [2]their recent CPUFreq driver enablement for Loongson 3, the ACPI hardware register based S3 support is useful, and supporting kernel features like randomizing the kernel stack offset are great to see now wired up for this additional CPU architecture.

More details on the LoongArch changes for Linux 6.11 via [3]this pull request that is now in mainline Git.



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

[2] https://www.phoronix.com/news/Loongson-CPUFreq-Driver

[3] https://lore.kernel.org/lkml/20240722144822.4040791-1-chenhuacai@loongson.cn/



qsmcomp

A diplomat is a person who can tell you to go to hell in such a way that you
actually look forward to the trip.
-- Caskie Stinnett, "Out of the Red"