Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 range

Add some more Zen5 models.

Fixes: 3e4147f33f8b ("x86/CPU/AMD: Add X86_FEATURE_ZEN5")
Signed-off-by: Wenkuan Wang <Wenkuan.Wang@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240423144111.1362-1-bp@kernel.org

authored by

Wenkuan Wang and committed by
Borislav Petkov (AMD)
2718a7fd e70316d1

+1 -2
+1 -2
arch/x86/kernel/cpu/amd.c
··· 459 459 460 460 case 0x1a: 461 461 switch (c->x86_model) { 462 - case 0x00 ... 0x0f: 463 - case 0x20 ... 0x2f: 462 + case 0x00 ... 0x2f: 464 463 case 0x40 ... 0x4f: 465 464 case 0x70 ... 0x7f: 466 465 setup_force_cpu_cap(X86_FEATURE_ZEN5);