intel_pstates: disable Atom Silvermont and Airmont CPUs

which need special support.

Change-Id: I576f6b78dfd4d9213a7da073adf4c664aeea18b4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4120
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Jérôme Duval 2021-06-27 14:23:25 +02:00
parent 13a4e5a056
commit 094ea67748

View File

@ -163,10 +163,11 @@ is_cpu_model_supported(cpu_ent* cpu)
return true;
const uint8 kSupportedFamily6Models[] = {
0x2a, 0x2d, 0x37, 0x3a, 0x3c, 0x3d, 0x3e, 0x3f, 0x45, 0x46, 0x47, 0x4a,
0x4c, 0x4d, 0x4e, 0x4f, 0x55, 0x56, 0x57, 0x5a, 0x5c, 0x5e, 0x5f, 0x75,
0x2a, 0x2d, 0x3a, 0x3c, 0x3d, 0x3e, 0x3f, 0x45, 0x46, 0x47, 0x4a,
0x4d, 0x4e, 0x4f, 0x55, 0x56, 0x57, 0x5a, 0x5c, 0x5e, 0x5f, 0x75,
0x7a, 0x85
};
/* TODO: support Atom Silvermont and Airmont: 0x37, 0x4c */
const int kSupportedFamily6ModelsCount
= sizeof(kSupportedFamily6Models) / sizeof(uint8);