<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/processor_throttling.c, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-11-05T22:30:57Z</updated>
<entry>
<title>ACPI: Move dereference after NULL test</title>
<updated>2009-11-05T22:30:57Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2009-10-17T06:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cfa245b0b63c3d79568e78a1ee3d00654d5517d'/>
<id>urn:sha1:5cfa245b0b63c3d79568e78a1ee3d00654d5517d</id>
<content type='text'>
If the NULL test on pr is needed, then the dereference should be after the
NULL test.

A simplified version of the semantic match that detects this problem is as
follows (http://coccinelle.lip6.fr/):

// &lt;smpl&gt;
@match exists@
expression x, E;
identifier fld;
@@

* x-&gt;fld
  ... when != \(x = E\|&amp;x\)
* x == NULL
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>cpumask: use zalloc_cpumask_var() where possible</title>
<updated>2009-09-24T00:04:24Z</updated>
<author>
<name>Li Zefan</name>
</author>
<published>2009-06-15T06:58:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79f5599772ac2f138d7a75b8f3f06a93f09c75f7'/>
<id>urn:sha1:79f5599772ac2f138d7a75b8f3f06a93f09c75f7</id>
<content type='text'>
Remove open-coded zalloc_cpumask_var() and zalloc_cpumask_var_node().

Signed-off-by: Li Zefan &lt;lizf@cn.fujitsu.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Merge branch 'processor-procfs-2.6.32' into release</title>
<updated>2009-09-19T06:10:40Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-09-19T06:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbeee13570adfb0af494a07074958e4888c2351c'/>
<id>urn:sha1:cbeee13570adfb0af494a07074958e4888c2351c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI: Move definition of PREFIX from acpi_bus.h to internal..h</title>
<updated>2009-08-28T23:57:27Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-07-28T20:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a192a9580bcc41692be1f36b77c3b681827f566a'/>
<id>urn:sha1:a192a9580bcc41692be1f36b77c3b681827f566a</id>
<content type='text'>
Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
however, not all ACPI drivers use/want it -- and they
should not have to #undef PREFIX to define their own.

Add GPL commment to internal.h while we are there.

This does not change any actual console output,
asside from a whitespace fix.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>acpi processor: remove superfluous warning message</title>
<updated>2009-08-27T03:06:53Z</updated>
<author>
<name>Frans Pop</name>
</author>
<published>2009-08-26T21:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdf57de4e6abc389cc3f3bd94ec15cce74cf6f4b'/>
<id>urn:sha1:bdf57de4e6abc389cc3f3bd94ec15cce74cf6f4b</id>
<content type='text'>
This failure is very common on many platforms.  Handling it in the ACPI
processor driver is enough, and we don't need a warning message unless
CONFIG_ACPI_DEBUG is set.

Based on a patch from Zhang Rui.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13389

Signed-off-by: Frans Pop &lt;elendil@planet.nl&gt;
Acked-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI processor: force throttling state when BIOS returns incorrect value</title>
<updated>2009-08-27T03:06:53Z</updated>
<author>
<name>Frans Pop</name>
</author>
<published>2009-08-26T21:29:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a908002c7b1b666616103e9df2419b38d7c6f1f'/>
<id>urn:sha1:2a908002c7b1b666616103e9df2419b38d7c6f1f</id>
<content type='text'>
If the BIOS reports an invalid throttling state (which seems to be
fairly common after system boot), a reset is done to state T0.
Because of a check in acpi_processor_get_throttling_ptc(), the reset
never actually gets executed, which results in the error reoccurring
on every access of for example /proc/acpi/processor/CPU0/throttling.

Add a 'force' option to acpi_processor_set_throttling() to ensure
the reset really takes effect.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13389

This patch, together with the next one, fixes a regression introduced in
2.6.30, listed on the regression list. They have been available for 2.5
months now in bugzilla, but have not been picked up, despite various
reminders and without any reason given.

Google shows that numerous people are hitting this issue. The issue is in
itself relatively minor, but the bug in the code is clear.

The patches have been in all my kernels and today testing has shown that
throttling works correctly with the patches applied when the system
overheats (http://bugzilla.kernel.org/show_bug.cgi?id=13918#c14).

Signed-off-by: Frans Pop &lt;elendil@planet.nl&gt;
Acked-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI: Make ACPI processor proc I/F depend on the ACPI_PROCFS</title>
<updated>2009-06-24T05:13:15Z</updated>
<author>
<name>Zhao Yakui</name>
</author>
<published>2009-06-24T03:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=74cad4ee9839669ad920257678ea0bf0a818cd3b'/>
<id>urn:sha1:74cad4ee9839669ad920257678ea0bf0a818cd3b</id>
<content type='text'>
Now whether the ACPI processor proc I/F is registered depends on the
CONFIG_PROC. It had better depend on the CONFIG_ACPI_PROCFS.
When the CONFIG_ACPI_PROCFS is unset in kernel configuration, the
ACPI processor proc I/F won't be registered.

Signed-off-by: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI processor: remove spurious newline from warning message</title>
<updated>2009-05-30T01:26:26Z</updated>
<author>
<name>Frans Pop</name>
</author>
<published>2009-05-22T08:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=21671b88be331fb9c95891d5ee7d2e940e6b024c'/>
<id>urn:sha1:21671b88be331fb9c95891d5ee7d2e940e6b024c</id>
<content type='text'>
Commit 4973b22a ("ACPI processor: reset the throttling state once it's
invalid") introduced a new warning which prints a spurious newline.

The ACPI_WARNING macro that is used already takes care of adding a
newline, after adding ACPI_CA_VERSION to the message. Remove the newline
to avoid the message getting split into two lines.

Signed-off-by: Frans Pop &lt;elendil@planet.nl&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI processor: reset the throttling state once it's invalid</title>
<updated>2009-05-16T03:21:54Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2009-05-11T01:36:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4973b22aa8c70fe036e3e0039f104cf5bb7fe2b1'/>
<id>urn:sha1:4973b22aa8c70fe036e3e0039f104cf5bb7fe2b1</id>
<content type='text'>
If the BIOS hands us an invalid throttling state,
write a valid state.

http://bugzilla.kernel.org/show_bug.cgi?id=13259

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Tested-by: James Ettle &lt;theholyettlz@googlemail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI processor: introduce module parameter processor.ignore_tpc</title>
<updated>2009-05-16T03:21:43Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2009-05-11T01:35:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56c213fa012f2bad9eff908292ff2500f840b020'/>
<id>urn:sha1:56c213fa012f2bad9eff908292ff2500f840b020</id>
<content type='text'>
Introduce module parameter processor.ignore_tpc.

Some laptops are shipped with buggy _TPC,
this module parameter is used to to disable the buggy support.

http://bugzilla.kernel.org/show_bug.cgi?id=13259

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Tested-by: James Ettle &lt;theholyettlz@googlemail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
