<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/coretemp.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-25T21:11:21Z</updated>
<entry>
<title>hwmon: (coretemp) fix reading of microcode revision (v2)</title>
<updated>2010-10-25T21:11:21Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-10-08T08:59:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3247800676c4a04352cde72b9935b57ffc72ce15'/>
<id>urn:sha1:3247800676c4a04352cde72b9935b57ffc72ce15</id>
<content type='text'>
According to the documentation, simply reading the respective MSR
isn't sufficient: It should be written with zeros, cpuid(1) be
executed, and then read (see arch/x86/kernel/cpu/intel.c for an
example).

v2: Fail probe when microcode revision cannot be determined, but is
needed to check for proper operation.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Cc: Chen Gong &lt;gong.chen@linux.intel.com&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: ({core, pkg, via-cpu}temp) remove unnecessary CONFIG_HOTPLUG_CPU ifdefs</title>
<updated>2010-10-25T21:11:21Z</updated>
<author>
<name>Chen Gong</name>
</author>
<published>2010-10-09T02:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17c10d61c750619324ee2a46c5a9e03a435fe212'/>
<id>urn:sha1:17c10d61c750619324ee2a46c5a9e03a435fe212</id>
<content type='text'>
CONFIG_HOTPLUG_CPU is used too much in some drivers.
This patch clean them up.

Signed-off-by: Chen Gong &lt;gong.chen@linux.intel.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>x86/hwmon: remove inclusion of unnecessary headers from {core, pkg, via-cpu}temp.c</title>
<updated>2010-10-25T21:11:20Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-09-13T10:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9401ba13281f9cf36c85d4f8d3a52f9655e69b58'/>
<id>urn:sha1:9401ba13281f9cf36c85d4f8d3a52f9655e69b58</id>
<content type='text'>
These likely originate from these drivers being clones of one another
and/or other drivers which actually needed these includes.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>x86/hwmon: (coretemp) cosmetic cleanup</title>
<updated>2010-10-25T21:11:20Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-09-13T10:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e0a8755b6b701b3397c4c23ff182b7eb6ac6fe26'/>
<id>urn:sha1:e0a8755b6b701b3397c4c23ff182b7eb6ac6fe26</id>
<content type='text'>
"break" after "return" is at best bogus (good compilers even warn about
the "break" being unreachable).

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>x86/hwmon: {core, pkg, via}cpu_temp_device_remove() can all be __cpuinit</title>
<updated>2010-10-25T21:11:19Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-09-24T05:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5f42a6bc51454137b918f67310168c27d1dd1de'/>
<id>urn:sha1:a5f42a6bc51454137b918f67310168c27d1dd1de</id>
<content type='text'>
... as they're being called only from a __cpuinit function.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon (coretemp): Fix build breakage if SMP is undefined</title>
<updated>2010-09-28T11:18:51Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2010-09-28T01:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fff2017354a3a9906862aabbf2a1cae5b4330e40'/>
<id>urn:sha1:fff2017354a3a9906862aabbf2a1cae5b4330e40</id>
<content type='text'>
Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
a build breakage if CONFIG_SMP is undefined. This commit
fixes the problem.

This fix is only a workaround. For a real fix, cpu_sibling_mask() should
be defined in UP include code, eg in linux/smp.h, and asm/smp.h should not be
included directly. This fix is currently not possible because asm/smp.h defines
cpu_sibling_mask() unconditionally and is included directly from many source
files.

Reported-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Tested-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
</content>
</entry>
<entry>
<title>x86/hwmon: register alternate sibling upon CPU removal</title>
<updated>2010-09-24T18:44:19Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-09-13T10:23:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e40cc4bdfd4b89813f072f72bd9c7055814d3f0f'/>
<id>urn:sha1:e40cc4bdfd4b89813f072f72bd9c7055814d3f0f</id>
<content type='text'>
Just like pkgtemp registers another core of the same package when one
gets removed, coretemp should register another hyperthread (if
available) in that situation.

As pointed out in the patch fixing the respective code in pkgtemp, the
list protectng mutex must be dropped before calling
coretemp_device_add(), and due to the restructured loop (including an
explicit return) the "safe" variant of the list iterator isn't needed
anymore.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>x86/hwmon: fix initialization of coretemp</title>
<updated>2010-09-24T18:44:19Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-09-24T05:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a46590533ad7b0f3f640732081d7e1658145c0ba'/>
<id>urn:sha1:a46590533ad7b0f3f640732081d7e1658145c0ba</id>
<content type='text'>
Using cpuid_eax() to determine feature availability on other than
the current CPU is invalid. And feature availability should also be
checked in the hotplug code path.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>x86/hwmon: fix module init for hotplug-but-no-device-found case</title>
<updated>2010-09-24T18:44:18Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2010-09-13T10:05:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89a3fd35ba0318a7208e2c8d8ca6189f567d4a93'/>
<id>urn:sha1:89a3fd35ba0318a7208e2c8d8ca6189f567d4a93</id>
<content type='text'>
In commit 0dca94baeab4a1a514841b0a4c8e3a51dfb4d5ae the call to
platform_driver_unregister() was made conditional upon !HOTPLUG_CPU,
but the return value from coretemp_init() was left to indicate an
error. This isn't correct, as the negative return value indicates to
the module loader that initialization failed, which isn't intended
here and results in dangling pointers.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Chen Gong &lt;gong.chen@linux.intel.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (coretemp) Fix harmless build warning</title>
<updated>2010-08-25T13:42:08Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2010-08-25T13:42:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45ff34d32a19e9008e7202ba2a7c0d0f40420228'/>
<id>urn:sha1:45ff34d32a19e9008e7202ba2a7c0d0f40420228</id>
<content type='text'>
Fix the following build warning:

  CC [M]  drivers/hwmon/coretemp.o
drivers/hwmon/coretemp.c: In function "coretemp_init":
drivers/hwmon/coretemp.c:521: warning: unused variable "n"
drivers/hwmon/coretemp.c:521: warning: unused variable "p"

Introduced by commit 851b29cb3b196cb66452ec964ab5f66c9c9cd1ed. When
you drop code, you also have to drop the variables this code was
using.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Chen Gong &lt;gong.chen@linux.intel.com&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: Huaxu Wan &lt;huaxu.wan@intel.com&gt;
</content>
</entry>
</feed>
