Linux 7.2-rc6 Fixes AMD Zen 5 CPU ID Bug Causing EPYC Boot Failures

Linux 7.2- rc6 fixes a critical bug where AMD Zen 5 processors were misidentified as Zen 6, preventing boot failures on EPYC 9006 Venice servers.

Linux 7.2-rc6 Fixes AMD Zen 5 CPU ID Bug Causing EPYC Boot Failures

7.2-rc6 arrived on August 2, 2024, with a critical fix that prevents Zen 5 servers from crashing. System administrators relying on EPYC 9006 Venice hardware now see stable boot sequences instead of virtualization failures. This patch resolves a misidentification bug that previously confused the kernel into treating Zen 5 chips as the next-generation Zen 6 architecture.

Kernel update corrects processor identification for EPYC 9006 Venice platforms

The Linux kernel development team addressed a specific error where the software incorrectly mapped processor identifiers. Previous kernel patches had assigned the CPU ID range 0xd0 to 0xd7 to the Zen 6 family. This mapping error caused the kernel to apply the wrong optimization paths and scheduling strategies for Zen 5 processors.

Linus Torvalds released version 7.2-rc6 to correct these identifier assignments. The update reassigns the 0xd0 to 0xd7 range to Zen 5 processors. It also expands the Zen 6 CPU ID ranges to include 0xc0 to 0xcf, 0xd8 to 0xef, 0x50 to 0x5f, and 0x80 to 0xaf. These changes ensure the kernel recognizes the correct microarchitecture for each chip generation.

The kernel release notes highlighted this as a key fix for system stability. The release notes stated, "This update includes a key fix: some AMD Zen 5 processors were incorrectly identified by the kernel as Zen 6." This correction prevents boot failures for EPYC 9006 Venice platforms running under Xen virtualization. The stable Linux 7.2 release is expected in mid-August 2024.

Discussion

0 comments

Log in to join the thread with a thoughtful take, question, or correction.

Add to the discussion