Lines Matching +full:0 +full:x0
73 * selects the socket type by either (model & 0x3) for family 0fh or the CPUID
78 * Family 0xf revisions B through E
80 #define A_SKTS_0 0
82 [0] = X86_SOCKET_754,
88 * Family 0xf revisions F and G
92 [0] = X86_SOCKET_S1g1,
97 * Family 0x10
101 [0] = X86_SOCKET_F1207,
110 * Family 0x11
118 * Family 0x12
127 * Family 0x14
131 [0] = X86_SOCKET_FT1
135 * Family 0x15 models 00 - 0f
145 * Family 0x15 models 10 - 1f
149 [0] = X86_SOCKET_FP2,
155 * Family 0x15 models 30-3f
159 [0] = X86_SOCKET_FP3,
164 * Family 0x15 models 60-6f
168 [0] = X86_SOCKET_FP4,
174 * Family 0x15 models 70-7f
178 [0] = X86_SOCKET_FP4,
184 * Family 0x16 models 00-0f
188 [0] = X86_SOCKET_FT3,
193 * Family 0x16 models 30-3f
197 [0] = X86_SOCKET_FT3B,
202 * Family 0x17 models 00-0f (Zen 1 - Naples, Ryzen)
212 * Family 0x17 models 10-2f (Zen 1 - APU: Raven Ridge)
218 [0] = X86_SOCKET_FP5,
223 * Family 0x17 models 30-3f (Zen 2 - Rome)
232 * Family 0x17 models 60-6f (Zen 2 - Renoir)
236 [0] = X86_SOCKET_FP6,
241 * Family 0x17 models 70-7f (Zen 2 - Matisse)
249 * Family 0x18 models 00-0f (Dhyana)
259 * Family 0x19 models 00-0f (Zen 3 - Milan)
268 * Family 0x19 models 20-2f (Zen 3 - Vermeer)
276 * Family 0x19 models 50-5f (Zen 3 - Cezanne)
280 [0] = X86_SOCKET_FP6,
285 * Family 0x19 models 10-1f (Zen 4 - Genoa)
294 * Family 0x19 models 40-4f (Zen 3 - Rembrandt)
298 [0] = X86_SOCKET_AM5,
304 * Family 0x19 models 60-6f (Zen 4 - Raphael)
308 [0] = X86_SOCKET_AM5,
321 * Family 0x17 models 90-97 (Zen 2 - Van Gogh)
328 * Family 0x17 models a0-af (Zen 2 - Mendocino)
336 * Family 0x19 models 70-7f (Zen 4 - Phoenix)
340 [0] = X86_SOCKET_AM5,
347 * Family 0x19 models a0-af (Zen 4c - Bergamo/Siena)
355 * Family 0x1a models 00-1f (Zen 5[c] - Turin)
363 * Family 0x1a models 20-2f (Zen 5 - Strix)
364 * Family 0x1a models 60-6f (Zen 5 - Krackan)
368 [0] = X86_SOCKET_AM5,
373 * Family 0x1a models 40-4f (Zen 5 - Granite Ridge)
377 [0] = X86_SOCKET_AM5,
382 * Family 0x1a models 70-77 (Zen 5 - Strix Halo)
462 * last 4 model bits (for family 0xf only) or Fn8000_0001_EBX[30:28] into a
483 * =============== AuthenticAMD Family 0xf ===============
487 * Rev B includes model 0x4 stepping 0 and model 0x5 stepping 0 and 1.
489 { 0xf, 0x04, 0x04, 0x0, 0x0, X86_CHIPREV_AMD_LEGACY_F_REV_B, "B",
491 { 0xf, 0x05, 0x05, 0x0, 0x1, X86_CHIPREV_AMD_LEGACY_F_REV_B, "B",
494 * Rev C0 includes model 0x4 stepping 8 and model 0x5 stepping 8
496 { 0xf, 0x04, 0x05, 0x8, 0x8, X86_CHIPREV_AMD_LEGACY_F_REV_C0, "C0",
499 * Rev CG is the rest of extended model 0x0 - i.e., everything
502 { 0xf, 0x00, 0x0f, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_F_REV_CG, "CG",
505 * Rev D has extended model 0x1.
507 { 0xf, 0x10, 0x1f, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_F_REV_D, "D",
510 * Rev E has extended model 0x2.
511 * Extended model 0x3 is unused but available to grow into.
513 { 0xf, 0x20, 0x3f, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_F_REV_E, "E",
516 * Rev F has extended models 0x4 and 0x5.
518 { 0xf, 0x40, 0x5f, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_F_REV_F, "F",
521 * Rev G has extended model 0x6.
523 { 0xf, 0x60, 0x6f, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_F_REV_G, "G",
527 * =============== AuthenticAMD Family 0x10 ===============
531 * Rev A has model 0 and stepping 0/1/2 for DR-{A0,A1,A2}.
532 * Give all of model 0 stepping range to rev A.
534 { 0x10, 0x00, 0x00, 0x0, 0x2, X86_CHIPREV_AMD_LEGACY_10_REV_A, "A",
538 * Rev B has model 2 and steppings 0/1/0xa/2 for DR-{B0,B1,BA,B2}.
541 { 0x10, 0x02, 0x02, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_10_REV_B, "B",
546 * Give all of models 4-6 stepping range 0-2 to rev C2.
548 { 0x10, 0x4, 0x6, 0x0, 0x2, X86_CHIPREV_AMD_LEGACY_10_REV_C2, "C2",
555 { 0x10, 0x4, 0x6, 0x3, 0xf, X86_CHIPREV_AMD_LEGACY_10_REV_C3, "C3",
560 * Give all of model 8 and 9 stepping 0 to rev D0.
562 { 0x10, 0x8, 0x9, 0x0, 0x0, X86_CHIPREV_AMD_LEGACY_10_REV_D0, "D0",
569 { 0x10, 0x8, 0x9, 0x1, 0xf, X86_CHIPREV_AMD_LEGACY_10_REV_D1, "D1",
573 * Rev E has models A and stepping 0
576 { 0x10, 0xA, 0xA, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_10_REV_E, "E",
579 { 0x10, 0x0, 0xff, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_10_UNKNOWN, "??",
583 * =============== AuthenticAMD Family 0x11 ===============
585 { 0x11, 0x03, 0x03, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_11_REV_B, "B",
587 { 0x11, 0x00, 0xff, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_11_UNKNOWN, "??",
591 * =============== AuthenticAMD Family 0x12 ===============
593 { 0x12, 0x01, 0x01, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_12_REV_B, "B",
595 { 0x12, 0x00, 0x00, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_12_UNKNOWN, "??",
599 * =============== AuthenticAMD Family 0x14 ===============
601 { 0x14, 0x01, 0x01, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_14_REV_B, "B",
603 { 0x14, 0x02, 0x02, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_14_REV_C, "C",
605 { 0x14, 0x00, 0xff, 0x0, 0xf, X86_CHIPREV_AMD_LEGACY_14_UNKNOWN, "??",
609 * =============== AuthenticAMD Family 0x15 ===============
611 { 0x15, 0x01, 0x01, 0x2, 0x2, X86_CHIPREV_AMD_OROCHI_REV_B2, "OR-B2",
613 { 0x15, 0x02, 0x02, 0x0, 0x0, X86_CHIPREV_AMD_OROCHI_REV_C0, "OR-C0",
615 { 0x15, 0x00, 0x0f, 0x0, 0xf, X86_CHIPREV_AMD_OROCHI_UNKNOWN, "OR-??",
618 { 0x15, 0x10, 0x10, 0x1, 0x1, X86_CHIPREV_AMD_TRINITY_REV_A1, "TN-A1",
620 { 0x15, 0x10, 0x1f, 0x0, 0xf, X86_CHIPREV_AMD_TRINITY_UNKNOWN, "TN-??",
623 { 0x15, 0x30, 0x30, 0x1, 0x1, X86_CHIPREV_AMD_KAVERI_REV_A1, "KV-A1",
625 { 0x15, 0x30, 0x3f, 0x0, 0xf, X86_CHIPREV_AMD_KAVERI_UNKNOWN, "KV-??",
633 { 0x15, 0x60, 0x60, 0x0, 0x0, X86_CHIPREV_AMD_CARRIZO_REV_A0, "CZ-A0",
635 { 0x15, 0x60, 0x60, 0x1, 0x1, X86_CHIPREV_AMD_CARRIZO_REV_A1, "CZ-A1",
646 { 0x15, 0x65, 0x65, 0x1, 0x1, X86_CHIPREV_AMD_CARRIZO_REV_DDR4,
648 { 0x15, 0x60, 0x6f, 0x0, 0xf, X86_CHIPREV_AMD_CARRIZO_UNKNOWN, "CZ-??",
651 { 0x15, 0x70, 0x70, 0x0, 0x0, X86_CHIPREV_AMD_STONEY_RIDGE_REV_A0,
653 { 0x15, 0x70, 0x7f, 0x0, 0xf, X86_CHIPREV_AMD_STONEY_RIDGE_UNKNOWN,
657 * =============== AuthenticAMD Family 0x16 ===============
659 { 0x16, 0x00, 0x00, 0x1, 0x1, X86_CHIPREV_AMD_KABINI_A1, "KB-A1",
661 { 0x16, 0x00, 0x0f, 0x0, 0xf, X86_CHIPREV_AMD_KABINI_UNKNOWN, "KB-??",
664 { 0x16, 0x30, 0x30, 0x1, 0x1, X86_CHIPREV_AMD_MULLINS_A1, "ML-A1",
666 { 0x16, 0x30, 0x3f, 0x0, 0xf, X86_CHIPREV_AMD_MULLINS_UNKNOWN, "ML-??",
670 * =============== AuthenticAMD Family 0x17 ===============
673 { 0x17, 0x00, 0x00, 0x0, 0x0, X86_CHIPREV_AMD_NAPLES_A0, "ZP-A0",
675 { 0x17, 0x01, 0x01, 0x1, 0x1, X86_CHIPREV_AMD_NAPLES_B1, "ZP-B1",
677 { 0x17, 0x01, 0x01, 0x2, 0x2, X86_CHIPREV_AMD_NAPLES_B2, "ZP-B2",
679 { 0x17, 0x00, 0x07, 0x0, 0xf, X86_CHIPREV_AMD_NAPLES_UNKNOWN, "ZP-??",
681 { 0x17, 0x08, 0x08, 0x2, 0x2, X86_CHIPREV_AMD_PINNACLE_RIDGE_B2,
683 { 0x17, 0x08, 0x0f, 0x0, 0xf, X86_CHIPREV_AMD_PINNACLE_RIDGE_UNKNOWN,
686 { 0x17, 0x11, 0x11, 0x0, 0x0, X86_CHIPREV_AMD_RAVEN_RIDGE_B0,
688 { 0x17, 0x11, 0x11, 0x1, 0x1, X86_CHIPREV_AMD_RAVEN_RIDGE_B1,
690 { 0x17, 0x10, 0x17, 0x0, 0xf, X86_CHIPREV_AMD_RAVEN_RIDGE_UNKNOWN,
692 { 0x17, 0x18, 0x18, 0x1, 0x1, X86_CHIPREV_AMD_PICASSO_B1, "PCO-B1",
694 { 0x17, 0x18, 0x1f, 0x0, 0xf, X86_CHIPREV_AMD_PICASSO_UNKNOWN, "PCO-??",
697 { 0x17, 0x20, 0x20, 0x1, 0x1, X86_CHIPREV_AMD_DALI_A1, "RV2X-A1",
699 { 0x17, 0x20, 0x2f, 0x0, 0xf, X86_CHIPREV_AMD_DALI_UNKNOWN, "RV2X-??",
703 { 0x17, 0x30, 0x30, 0x0, 0x0, X86_CHIPREV_AMD_ROME_A0, "SSP-A0",
705 { 0x17, 0x31, 0x31, 0x0, 0x0, X86_CHIPREV_AMD_ROME_B0, "SSP-B0",
707 { 0x17, 0x30, 0x3f, 0x0, 0xf, X86_CHIPREV_AMD_ROME_UNKNOWN, "SSP-??",
710 { 0x17, 0x60, 0x60, 0x1, 0x1, X86_CHIPREV_AMD_RENOIR_A1, "RN-A1",
712 { 0x17, 0x60, 0x67, 0x0, 0xf, X86_CHIPREV_AMD_RENOIR_UNKNOWN, "RN-??",
714 { 0x17, 0x68, 0x68, 0x1, 0x1, X86_CHIPREV_AMD_RENOIR_LCN_A1, "LCN-A1",
716 { 0x17, 0x68, 0x6f, 0x0, 0xf, X86_CHIPREV_AMD_RENOIR_UNKNOWN, "LCN-??",
719 { 0x17, 0x71, 0x71, 0x0, 0x0, X86_CHIPREV_AMD_MATISSE_B0, "MTS-B0",
721 { 0x17, 0x70, 0x7f, 0x0, 0xf, X86_CHIPREV_AMD_MATISSE_UNKNOWN, "MTS-??",
724 { 0x17, 0x90, 0x97, 0x0, 0xf, X86_CHIPREV_AMD_VAN_GOGH_UNKNOWN, "??",
726 { 0x17, 0x98, 0x9f, 0x0, 0xf, X86_CHIPREV_AMD_VAN_GOGH_UNKNOWN, "??",
729 { 0x17, 0xa0, 0xaf, 0x0, 0xf, X86_CHIPREV_AMD_MENDOCINO_UNKNOWN, "??",
733 * =============== HygonGenuine Family 0x18 ===============
735 { 0x18, 0x00, 0x00, 0x1, 0x1, X86_CHIPREV_HYGON_DHYANA_A1, "DN_A1",
737 { 0x18, 0x00, 0x0f, 0x0, 0xf, X86_CHIPREV_HYGON_DHYANA_UNKNOWN, "DN_??",
741 * =============== AuthenticAMD Family 0x19 ===============
744 { 0x19, 0x00, 0x00, 0x0, 0x0, X86_CHIPREV_AMD_MILAN_A0, "GN-A0",
746 { 0x19, 0x01, 0x01, 0x0, 0x0, X86_CHIPREV_AMD_MILAN_B0, "GN-B0",
748 { 0x19, 0x01, 0x01, 0x1, 0x1, X86_CHIPREV_AMD_MILAN_B1, "GN-B1",
751 { 0x19, 0x01, 0x01, 0x2, 0x2, X86_CHIPREV_AMD_MILAN_B2, "GN-B2",
753 { 0x19, 0x00, 0x0f, 0x0, 0xf, X86_CHIPREV_AMD_MILAN_UNKNOWN, "GN-??",
757 { 0x19, 0x10, 0x10, 0x0, 0x0, X86_CHIPREV_AMD_GENOA_A0, "RS-A0",
760 { 0x19, 0x10, 0x10, 0x1, 0x1, X86_CHIPREV_AMD_GENOA_A1, "RS-A1",
762 { 0x19, 0x11, 0x11, 0x0, 0x0, X86_CHIPREV_AMD_GENOA_B0, "RS-B0",
764 { 0x19, 0x11, 0x11, 0x1, 0x1, X86_CHIPREV_AMD_GENOA_B1, "RS-B1",
766 { 0x19, 0x10, 0x1f, 0x0, 0xf, X86_CHIPREV_AMD_GENOA_UNKNOWN, "RS-??",
769 { 0x19, 0x20, 0x20, 0x0, 0x0, X86_CHIPREV_AMD_VERMEER_A0, "VMR-A0",
771 { 0x19, 0x21, 0x21, 0x0, 0x0, X86_CHIPREV_AMD_VERMEER_B0, "VMR-B0",
773 { 0x19, 0x21, 0x21, 0x2, 0x2, X86_CHIPREV_AMD_VERMEER_B2, "VMR-B2",
775 { 0x19, 0x20, 0x2f, 0x0, 0xf, X86_CHIPREV_AMD_VERMEER_UNKNOWN, "VMR-??",
779 { 0x19, 0x40, 0x40, 0x0, 0x0, X86_CHIPREV_AMD_REMBRANDT_A0, "RMB-A0",
781 { 0x19, 0x44, 0x44, 0x0, 0x0, X86_CHIPREV_AMD_REMBRANDT_B0, "RMB-B0",
783 { 0x19, 0x44, 0x44, 0x1, 0x1, X86_CHIPREV_AMD_REMBRANDT_B1, "RMB-B1",
785 { 0x19, 0x40, 0x4f, 0x0, 0xf, X86_CHIPREV_AMD_REMBRANDT_UNKNOWN,
789 { 0x19, 0x50, 0x50, 0x0, 0x0, X86_CHIPREV_AMD_CEZANNE_A0, "CZN-A0",
791 { 0x19, 0x50, 0x5f, 0x0, 0xf, X86_CHIPREV_AMD_CEZANNE_UNKNOWN, "CZN-??",
795 { 0x19, 0x61, 0x61, 0x2, 0x2, X86_CHIPREV_AMD_RAPHAEL_B2, "RPL-B2",
797 { 0x19, 0x60, 0x6f, 0x0, 0xf, X86_CHIPREV_AMD_RAPHAEL_UNKNOWN, "RPL-??",
801 { 0x19, 0x74, 0x74, 0x1, 0x1, X86_CHIPREV_AMD_PHOENIX_A1, "PHX-A1",
803 { 0x19, 0x70, 0x7f, 0x0, 0xf, X86_CHIPREV_AMD_PHOENIX_UNKNOWN, "PHX-??",
807 { 0x19, 0xa0, 0xaf, 0x0, 0x0, X86_CHIPREV_AMD_BERGAMO_A0, "RSDN-A0",
809 { 0x19, 0xa0, 0xaf, 0x1, 0x1, X86_CHIPREV_AMD_BERGAMO_A1, "RSDN-A1",
811 { 0x19, 0xa0, 0xaf, 0x2, 0x2, X86_CHIPREV_AMD_BERGAMO_A2, "RSDN-A2",
813 { 0x19, 0xa0, 0xaf, 0x0, 0xf, X86_CHIPREV_AMD_BERGAMO_UNKNOWN, "???",
817 * =============== AuthenticAMD Family 0x1a ===============
820 { 0x1a, 0x00, 0x00, 0x0, 0x0, X86_CHIPREV_AMD_TURIN_A0, "BRH-A0",
823 { 0x1a, 0x01, 0x01, 0x0, 0x0, X86_CHIPREV_AMD_TURIN_B0, "BRH-B0",
826 { 0x1a, 0x01, 0x01, 0x1, 0x1, X86_CHIPREV_AMD_TURIN_B1, "BRH-B1",
828 { 0x1a, 0x02, 0x02, 0x0, 0x0, X86_CHIPREV_AMD_TURIN_C0, "BRH-C0",
830 { 0x1a, 0x02, 0x02, 0x1, 0x1, X86_CHIPREV_AMD_TURIN_C1, "BRH-C1",
832 { 0x1a, 0x00, 0x0f, 0x0, 0xf, X86_CHIPREV_AMD_TURIN_UNKNOWN, "BRH-???",
834 { 0x1a, 0x10, 0x10, 0x0, 0x0, X86_CHIPREV_AMD_DENSE_TURIN_A0,
836 { 0x1a, 0x11, 0x11, 0x0, 0x0, X86_CHIPREV_AMD_DENSE_TURIN_B0,
839 { 0x1a, 0x11, 0x11, 0x1, 0x1, X86_CHIPREV_AMD_DENSE_TURIN_B1,
841 { 0x1a, 0x10, 0x1f, 0x0, 0xf, X86_CHIPREV_AMD_DENSE_TURIN_UNKNOWN,
845 { 0x1a, 0x24, 0x24, 0x0, 0x0, X86_CHIPREV_AMD_STRIX_B0,
847 { 0x1a, 0x20, 0x2f, 0x0, 0xf, X86_CHIPREV_AMD_STRIX_UNKNOWN,
849 { 0x1a, 0x60, 0x60, 0x0, 0x0, X86_CHIPREV_AMD_KRACKAN_A0,
851 { 0x1a, 0x60, 0x6f, 0x0, 0xf, X86_CHIPREV_AMD_KRACKAN_UNKNOWN,
855 { 0x1a, 0x44, 0x44, 0x0, 0x0, X86_CHIPREV_AMD_GRANITE_RIDGE_B0,
857 { 0x1a, 0x40, 0x4f, 0x0, 0xf, X86_CHIPREV_AMD_GRANITE_RIDGE_UNKNOWN,
860 { 0x1a, 0x70, 0x70, 0x0, 0x0, X86_CHIPREV_AMD_STRIX_HALO_A0,
862 { 0x1a, 0x70, 0x77, 0x0, 0xf, X86_CHIPREV_AMD_STRIX_HALO_UNKNOWN,
875 cp.cp_eax = 0x80000001; in synth_amd_skt_cpuid()
881 if (family == 0x10) { in synth_amd_skt_cpuid()
884 val = pci_getl_func(0, 24, 2, 0x94); in synth_amd_skt_cpuid()
903 int found = 0; in synth_amd_info()
906 if (family < 0xf) in synth_amd_info()
909 for (i = 0, rmp = amd_revmap; i < ARRAY_SIZE(amd_revmap); i++, rmp++) { in synth_amd_info()
939 if ((platform & HW_VIRTUAL) != 0) { in synth_amd_info()
947 if (family == 0xf) { in synth_amd_info()
948 *skt_p = amd_skts[rmp->rm_sktidx][model & 0x3]; in synth_amd_info()
1068 if (strcmp(vendorstr, X86_VENDORSTR_Intel) == 0) in _cpuid_vendorstr_to_vendorcode()
1070 else if (strcmp(vendorstr, X86_VENDORSTR_AMD) == 0) in _cpuid_vendorstr_to_vendorcode()
1072 else if (strcmp(vendorstr, X86_VENDORSTR_HYGON) == 0) in _cpuid_vendorstr_to_vendorcode()
1074 else if (strcmp(vendorstr, X86_VENDORSTR_TM) == 0) in _cpuid_vendorstr_to_vendorcode()
1076 else if (strcmp(vendorstr, X86_VENDORSTR_CYRIX) == 0) in _cpuid_vendorstr_to_vendorcode()
1078 else if (strcmp(vendorstr, X86_VENDORSTR_UMC) == 0) in _cpuid_vendorstr_to_vendorcode()
1080 else if (strcmp(vendorstr, X86_VENDORSTR_NexGen) == 0) in _cpuid_vendorstr_to_vendorcode()
1082 else if (strcmp(vendorstr, X86_VENDORSTR_Centaur) == 0) in _cpuid_vendorstr_to_vendorcode()
1084 else if (strcmp(vendorstr, X86_VENDORSTR_Rise) == 0) in _cpuid_vendorstr_to_vendorcode()
1086 else if (strcmp(vendorstr, X86_VENDORSTR_SiS) == 0) in _cpuid_vendorstr_to_vendorcode()
1088 else if (strcmp(vendorstr, X86_VENDORSTR_NSC) == 0) in _cpuid_vendorstr_to_vendorcode()