Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

AI Helping To Improve Linux's AMD Zen CPU Microarchitecture Detection

Дата публикации: 22-10-2026 19:21:54

A request for comments (RFC) was sent out last night on the Linux kernel mailing list in seeking to clean-up the AMD Zen microarchitecture detection within the kernel. This is for enhancing the kernel where there are code paths specific to a certain generation of AMD Zen processors or select generations such as Zen 3 through Zen 5 CPUs. AI was leveraged in helping to clean-up this AMD Zen code in the Linux kernel...

Основное содержимое страницы с новостью.

AMD

A request for comments (RFC) was sent out last night on the Linux kernel mailing list in seeking to clean-up the AMD Zen microarchitecture detection within the kernel. This is for enhancing the kernel where there are code paths specific to a certain generation of AMD Zen processors or select generations such as Zen 3 through Zen 5 CPUs. AI was leveraged in helping to clean-up this AMD Zen code in the Linux kernel.

AMD Linux engineer Borislav Petkov sent out of the RFC as an initial attempt at cleaning up the Zen microarchitecture deection. Boris explained in the LKML message:

"I have been wondering how to improve that Zen uarch detection and handling and be able to do range checks of uarches, i.e., "this code needs to run on Zen microarchitectures 3 to 5". And I asked AI.

It gave me a lot of blurb but the basic idea is good so I went and did it. See below.

It boots in a VM, I'm not even trying to cause the cat to catch fire by booting on a real machine but that will happen soon too.

The thing can easily be extended to pre-Zen but that is not really needed, I'd say.

X86_FEATURE_ZEN to mark all Zens remains, that will be a future patch. Perhaps something as simple as:

if (boot_cpu_data.x86_uarch)

but I have to move Hygon off of that usage. We'll see. Small steps."

Some of the initial code changes do help in making it more immediately clear what Zen generations are relevant for a given code path, e.g.

AMD Zen code improvement

We'll see where this AMD Zen code clean-up leads for the Linux kernel.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Linux 7.4 Fixes AMD CPU TLB Size Reporting For Zen 5 & Newer015.9923-10-2026
2Linux Kernel Build Times Ready To Be Significantly Reduced With Latest Patches06.0218-09-2026
3Linux 7.2-rc6 Fixes Some AMD Zen 5 CPUs Being Mistakenly Identified As Zen 609.8302-08-2026
4Linux Kernel Developers Plan To Remove "Assisted-By" Tag Requirement For AI/LLM Usage08.5213-10-2026
5GCC Patch Adjusting AMD Zen 5 Misprediction Cost Nets 12% Win In Benchmark011.8823-08-2026
6Auto Vectorizing The RISC-V Linux Kernel Shows Promising Results010.2811-10-2026
7Linux Kernel Developers Again Discussing AI Agent Attribution - Potentially Dropping It0702-07-2026
8AMD "Low Power" CPU Core Type Patches Queued Ahead Of Linux 7.308.5827-07-2026
9More AMD Zen 6 Prepping, Many ASUS / Lenovo / HP Laptop Improvements For Linux 7.20526-06-2026

Классификация: Мнения. Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 6.99. Источник: www.phoronix.com.