mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Whitelist AMD Zen 3 instead of blacklisting Zen 4
This commit is contained in:
parent
3858c12f91
commit
e3f6724532
|
@ -243,44 +243,16 @@ static const struct x86_cpu_id skip_tuxedo_dmi_string_check_match[] __initconst
|
||||||
X86_MATCH_VENDOR_FAM(AMD, 22, NULL),
|
X86_MATCH_VENDOR_FAM(AMD, 22, NULL),
|
||||||
X86_MATCH_VENDOR_FAM(AMD, 23, NULL), // Zen, Zen+, Zen 2
|
X86_MATCH_VENDOR_FAM(AMD, 23, NULL), // Zen, Zen+, Zen 2
|
||||||
X86_MATCH_VENDOR_FAM(AMD, 24, NULL), // Zen
|
X86_MATCH_VENDOR_FAM(AMD, 24, NULL), // Zen
|
||||||
X86_MATCH_VENDOR_FAM(AMD, 25, NULL), // Zen 3, Zen 4
|
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x01, NULL), // Zen 3 Epyc
|
||||||
|
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x08, NULL), // Zen 3 Threadripper
|
||||||
|
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x21, NULL), // Zen 3 Vermeer
|
||||||
|
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x40, NULL), // Zen 3+ Rembrandt
|
||||||
|
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x44, NULL), // Zen 3+ Rembrandt
|
||||||
|
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x50, NULL), // Zen 3 Cezanne
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct x86_cpu_id force_tuxedo_dmi_string_check_match[] __initconst = {
|
static const struct x86_cpu_id force_tuxedo_dmi_string_check_match[] __initconst = {
|
||||||
// Zen 4 model numbers
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x60, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x61, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x62, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x63, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x64, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x65, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x66, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x67, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x68, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x69, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x6a, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x6b, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x6c, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x6d, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x6e, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x6f, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x70, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x71, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x72, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x73, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x74, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x75, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x76, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x77, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x78, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x79, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x7a, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x7b, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x7c, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x7d, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x7e, NULL),
|
|
||||||
X86_MATCH_VENDOR_FAM_MODEL(AMD, 25, 0x7f, NULL),
|
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue