<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/k8temp.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-10-10T13:25:57Z</updated>
<entry>
<title>hwmon: Drop needless includes of &lt;linux/delay.h&gt;</title>
<updated>2012-10-10T13:25:57Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2012-10-10T13:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0657777fcefffbf79d4a5fa0952a3f1a4248c0da'/>
<id>urn:sha1:0657777fcefffbf79d4a5fa0952a3f1a4248c0da</id>
<content type='text'>
These drivers use no sleep or delay functions so they don't need to
include &lt;linux/delay.h&gt;.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
</content>
</entry>
<entry>
<title>hwmon: (k8temp) Convert to use devm_ functions</title>
<updated>2012-07-22T04:48:43Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2012-06-02T19:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0d44cbcc0b92d1dbec5dda3a5b7ea929c05d522'/>
<id>urn:sha1:a0d44cbcc0b92d1dbec5dda3a5b7ea929c05d522</id>
<content type='text'>
Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: use module_pci_driver</title>
<updated>2012-05-21T02:41:48Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-04-03T01:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f71f5a550a43a81943efbe0032190ec381006b53'/>
<id>urn:sha1:f71f5a550a43a81943efbe0032190ec381006b53</id>
<content type='text'>
This patch converts the drivers in drivers/hwmon/* to use module_pci_driver()
macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Andreas Herrmann &lt;andreas.herrmann3@amd.com&gt;
Cc: Clemens Ladisch &lt;clemens@ladisch.de&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>hwmon: (k8temp) fix checkpatch issues</title>
<updated>2012-03-19T01:26:42Z</updated>
<author>
<name>Frans Meulenbroeks</name>
</author>
<published>2012-01-10T22:01:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93092a644fb519ec520c3a1f3e05ef9d25b1dac4'/>
<id>urn:sha1:93092a644fb519ec520c3a1f3e05ef9d25b1dac4</id>
<content type='text'>
resolved:
WARNING: line over 80 characters
ERROR: do not use assignment in if condition

Signed-off-by: Frans Meulenbroeks &lt;fransmeulenbroeks@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: use DEFINE_PCI_DEVICE_TABLE</title>
<updated>2012-03-19T01:26:29Z</updated>
<author>
<name>Frans Meulenbroeks</name>
</author>
<published>2012-01-05T18:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=600151b9de97bd580f9dc09199a10f0c2b65cb97'/>
<id>urn:sha1:600151b9de97bd580f9dc09199a10f0c2b65cb97</id>
<content type='text'>
fix all checkpatch warnings about DEFINE_PCI_DEVICE_TABLE

Signed-off-by: Frans Meulenbroeks &lt;fransmeulenbroeks@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: Use helper functions to set and get driver data</title>
<updated>2011-05-25T18:43:31Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-05-25T18:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95de3b257516d21af6e0313c7bab119e4f80d6f4'/>
<id>urn:sha1:95de3b257516d21af6e0313c7bab119e4f80d6f4</id>
<content type='text'>
Use helper functions to set and get driver data. This is more elegant.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Andreas Herrmann &lt;andreas.herrmann3@amd.com&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (k8temp) Remove superfluous CPU family check</title>
<updated>2010-10-28T18:31:42Z</updated>
<author>
<name>Andreas Herrmann</name>
</author>
<published>2010-10-28T18:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=628b4504cf69fbe262b41c16a4a3fd61b091d61c'/>
<id>urn:sha1:628b4504cf69fbe262b41c16a4a3fd61b091d61c</id>
<content type='text'>
The family check in k8temp is not required because the driver is
already bound to a northbridge device only used with K8 CPUs.

Signed-off-by: Andreas Herrmann &lt;andreas.herrmann3@amd.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (k8temp) Differentiate between AM2 and ASB1</title>
<updated>2010-08-25T13:42:12Z</updated>
<author>
<name>Andreas Herrmann</name>
</author>
<published>2010-08-25T13:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a05e93f3b3fc2f53c1d0de3b17019e207c482349'/>
<id>urn:sha1:a05e93f3b3fc2f53c1d0de3b17019e207c482349</id>
<content type='text'>
Commit 8bf0223ed515be24de0c671eedaff49e78bebc9c (hwmon, k8temp: Fix
temperature reporting for ASB1 processor revisions) fixed temperature
reporting for ASB1 CPUs. But those CPU models (model 0x6b, 0x6f, 0x7f)
were packaged both as AM2 (desktop) and ASB1 (mobile). Thus the commit
leads to wrong temperature reporting for AM2 CPU parts.

The solution is to determine the package type for models 0x6b, 0x6f,
0x7f.

This is done using BrandId from CPUID Fn8000_0001_EBX[15:0]. See
"Constructing the processor Name String" in "Revision Guide for AMD
NPT Family 0Fh Processors" (Rev. 3.46).

Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: stable@kernel.org [.32.x, .33.x, .34.x, .35.x]
Reported-by: Vladislav Guberinic &lt;neosisani@gmail.com&gt;
Signed-off-by: Andreas Herrmann &lt;andreas.herrmann3@amd.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (k8temp) Adjust confusing if indentation</title>
<updated>2010-08-14T19:08:47Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2010-08-14T19:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df149d02ea8ee49cd14c6609cc7ef980d62dce80'/>
<id>urn:sha1:df149d02ea8ee49cd14c6609cc7ef980d62dce80</id>
<content type='text'>
Move the if(err) statement after the if into the if branch indicated by its
indentation.  The preceding if(err) test implies that err cannot be nonzero
unless the if branch is taken.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r disable braces5@
position p1,p2;
statement S1,S2;
@@

(
if (...) { ... }
|
if (...) S1@p1 S2@p2
)

@script:python@
p1 &lt;&lt; r.p1;
p2 &lt;&lt; r.p2;
@@

if (p1[0].column == p2[0].column):
 cocci.print_main("branch",p4)
 cocci.print_secs("after",p5)
// &lt;/smpl&gt;  

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions</title>
<updated>2010-07-09T14:22:47Z</updated>
<author>
<name>Andreas Herrmann</name>
</author>
<published>2010-07-09T14:22:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d535bad90dad4eb42ec6528043fcfb53627d4f89'/>
<id>urn:sha1:d535bad90dad4eb42ec6528043fcfb53627d4f89</id>
<content type='text'>
Reported temperature for ASB1 CPUs is too high.
Add ASB1 CPU revisions (these are also non-desktop variants) to the
list of CPUs for which the temperature fixup is not required.

Example: (from LENOVO ThinkPad Edge 13, 01972NG, system was idle)

  Current kernel reports

  $ sensors
  k8temp-pci-00c3
  Adapter: PCI adapter
  Core0 Temp:  +74.0 C
  Core0 Temp:  +70.0 C
  Core1 Temp:  +69.0 C
  Core1 Temp:  +70.0 C

  With this patch I have

  $ sensors
  k8temp-pci-00c3
  Adapter: PCI adapter
  Core0 Temp:  +54.0 C
  Core0 Temp:  +51.0 C
  Core1 Temp:  +48.0 C
  Core1 Temp:  +49.0 C

Cc: stable@kernel.org [.32.x .33.x, .34.x]
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Signed-off-by: Andreas Herrmann &lt;andreas.herrmann3@amd.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
</feed>
