]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Desktop Core2Duo/Core2Quad CPUs are unable to control frequency of single
authormav <mav@FreeBSD.org>
Sat, 14 Nov 2009 14:16:02 +0000 (14:16 +0000)
committermav <mav@FreeBSD.org>
Sat, 14 Nov 2009 14:16:02 +0000 (14:16 +0000)
commit2a6e8faff67e22f3f93aa31c0986d6ee6dafaac4
treeb255ff7514887127e30b5e056cb6c957a065abc6
parent54458befa17d26d05a8f24e936bc5e032ba901fe
Desktop Core2Duo/Core2Quad CPUs are unable to control frequency of single
CPU core, only pair of them. As result, both cores are running on highest
one of requested frequencies, and that is reported by status register.
Such behavior confuses frequency validation logic, as it runs on only
one core, as SMP is not yet launched, making EIST completely unusable.

To workaround this, add check for validation result. If we haven't found
at least two usable frequencies, then probably we are looking bad and have
to trust data provided by BIOS as-is.
sys/i386/cpufreq/est.c