Commit 9f7497f
fix: add CPU detection for Intel Emerald Rapids (Xeon Platinum 8575C)
Problem:
Intel Xeon Platinum 8575C (Emerald Rapids, model 207 = exmodel 12, model 15)
was incorrectly detected as PRESCOTT (Pentium 4 era) instead of SAPPHIRERAPIDS.
Root cause:
1. In get_corename() function, case 12 (exmodel 12) only handled model 6
(Arrow Lake) but missed model 15 (Emerald Rapids)
2. Missing break statement caused fall-through to case 15 (family 15,
which is Pentium 4), returning CORE_PRESCOTT incorrectly
Changes:
- cpuid_x86.c: Add case 15 (Emerald Rapids) to exmodel 12 switch and
add missing break statement
- dynamic.c: Add case 12 with model 15 for runtime detection of
Emerald Rapids processors
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 77986e4 commit 9f7497f
2 files changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2424 | 2424 | | |
2425 | 2425 | | |
2426 | 2426 | | |
| 2427 | + | |
2427 | 2428 | | |
2428 | 2429 | | |
2429 | 2430 | | |
| |||
2438 | 2439 | | |
2439 | 2440 | | |
2440 | 2441 | | |
| 2442 | + | |
2441 | 2443 | | |
2442 | 2444 | | |
2443 | 2445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
| 795 | + | |
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
807 | 827 | | |
808 | 828 | | |
809 | 829 | | |
| |||
0 commit comments