News: 0001534721

  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)

ARM64 SMT Run-Time Controls Staged Ahead Of Linux 6.15

([Arm] 14 Minutes Ago SMT Toggling)


If you happen to have a rare ARM64 platform with Simultaneous Multi-Threading (SMT) support, with the upcoming Linux 6.15 kernel there is set to finally be run-time SMT controls similar to the functionality long available on x86/x86_64 processors.

Since 2023 HiSilicon has been working on [1]SMT run-time controls for ARM64 Linux to be able to offline sibling threads at run-time in situations where desired and to bring the SMT support back online as needed. The ARM64 SMT controls have been [2]revised since that point and now finally in 2025 the support is set to be upstreamed.

Queued by way of the ARM64 Linux Git branch "for-next/core", those ARM64 SMT control patches were queued up this past week -- along with [3]the renewed use of KPTI mitigations on some newer Arm processors .

The patches provide SMT run-time controls for both [4]OF-based systems and [5]ACPI-based systems . With Linux 6.15+ if running on an ARM64 processor that makes use of SMT, the /sys/devices/system/cpu/smt/control interface can be used for controlling the SMT state. Among the few ARM SoCs currently shipping with SMT is HiSilicon's Kunpeng 930 and thus their motivation for getting this run-time control support into the mainline kernel.



[1] https://www.phoronix.com/news/Linux-ARM64-Run-Time-SMT-Switch

[2] https://www.phoronix.com/news/ARM64-SMT-Controls-Linux

[3] https://www.phoronix.com/news/Arm-Linux-CVE-2024-7881-KPTI

[4] https://web.git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=5deb9c789ae468a71a7c11c92d21769f7cbf68fa

[5] https://web.git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=e6b18ebfaf6360a357455507ae3e965989461c71



phoronix

Gone With The Wind LITE(tm)
-- by Margaret Mitchell

A woman only likes men she can't have and the South gets trashed.

Gift of the Magi LITE(tm)
-- by O. Henry

A husband and wife forget to register their gift preferences.

The Old Man and the Sea LITE(tm)
-- by Ernest Hemingway

An old man goes fishing, but doesn't have much luck.