]> git.hungrycats.org Git - linux/commit
[CPUFREQ] speedstep-ich SMT support.
authorDave Jones <davej@redhat.com>
Mon, 2 Aug 2004 21:14:21 +0000 (22:14 +0100)
committerDave Jones <davej@delerium.codemonkey.org.uk>
Mon, 2 Aug 2004 21:14:21 +0000 (22:14 +0100)
commit5bdfb4bea78d163dabd781f54a8cb0fe9eb1cb5f
tree190968244d4662a09fc236817348a0182de93f3c
parent20cb09d1b0d3bbad2cdddb27ee8644d5252b1b20
[CPUFREQ] speedstep-ich SMT support.
i have noticed that the most recent vanilla kernel oopses on a P4M-HT
(because only one CPU is registered in sysfs but 2 are informed of a
change of state). also there are some returns out of subroutines before
set_cpus_allowed() is performed to restore the mask prior to entering
the subroutine (this should not matter on uniprocessor systems, but
still...).

this patch should fix these 2 issues. for the first one, it registers
all logical cpu's and a tiny modification is made in cpufreq.c to
perform a policy change on all siblings.

From: Christian Hoelbling
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/speedstep-ich.c