]> git.hungrycats.org Git - linux/commit
[CPUFREQ] Sync p4-clockmod MSR access across logical CPUs.
authorDave Jones <davej@redhat.com>
Sat, 15 May 2004 23:37:38 +0000 (00:37 +0100)
committerDave Jones <davej@delerium.codemonkey.org.uk>
Sat, 15 May 2004 23:37:38 +0000 (00:37 +0100)
commit9dba63f482d9cdda530a01e565ed00054c16571b
tree065032991b522afdbe1fe274779f9d4e841ba92b
parenta2bd9297bb12d9f4d97644f8d8b959df219b26c9
[CPUFREQ] Sync p4-clockmod MSR access across logical CPUs.
As noted and debugged by Rutger Nijlunsing and verified in section 13.15.3 of Intel's
IA32 Intel Architecture Software Developer's Manual, Volume 3, the p4-clockmod
msr needs to be set to the same value on all logical CPUs ("siblings") to
function "properly".

This patch implements this, and uses cpufreq_p4_get instead of a local copy in
cpufreq_p4_setdc. The latter function now only does the actual setting, all
other (notification, verification and set_cpus_allowed()) stuff is done in
cpufreq_p4_target.
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c