<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/acpi/processor_perflib.c, branch linux-2.6.22.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2007-04-26T18:32:02+00:00</updated>
<entry>
<title>[CPUFREQ] Remove deprecated /proc/acpi/processor/performance write support</title>
<updated>2007-04-26T18:32:02+00:00</updated>
<author>
<name>Thomas Renninger</name>
<email>trenn@suse.de</email>
</author>
<published>2007-04-19T13:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=632786ce9ff6206951ee4c84fe5c0d5c1d12f4cc'/>
<id>urn:sha1:632786ce9ff6206951ee4c84fe5c0d5c1d12f4cc</id>
<content type='text'>
Remove deprecated /proc/acpi/processor/performance write support

Writing to /proc/acpi/processor/xy/performance interferes with sysfs
cpufreq interface. Also removes buggy cpufreq_set_policy exported symbol.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>ACPI: delete extra #defines in /drivers/acpi/ drivers</title>
<updated>2007-02-13T04:50:52+00:00</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2007-02-13T04:50:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7cda93e008e1a477970adbf82dba81a5d4f0ae40'/>
<id>urn:sha1:7cda93e008e1a477970adbf82dba81a5d4f0ae40</id>
<content type='text'>
Cosmetic only.

Except in a single case, #define ACPI_*_DRIVER_NAME
were invoked 0 or 1 times.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: clean up ACPI_MODULE_NAME() use</title>
<updated>2007-02-13T03:42:12+00:00</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2007-02-13T03:42:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f52fd66d2ea794010c2d7536cf8e6abed0ac4947'/>
<id>urn:sha1:f52fd66d2ea794010c2d7536cf8e6abed0ac4947</id>
<content type='text'>
cosmetic only

Make "module name" actually match the file name.
Invoke with ';' as leaving it off confuses Lindent and gcc doesn't care.
Fix indentation where Lindent did get confused.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPICA: use new ACPI headers.</title>
<updated>2007-02-03T02:14:28+00:00</updated>
<author>
<name>Alexey Starikovskiy</name>
<email>alexey.y.starikovskiy@intel.com</email>
</author>
<published>2007-02-02T16:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cee324b145a1e5488b34191de670e5ed1d346ebb'/>
<id>urn:sha1:cee324b145a1e5488b34191de670e5ed1d346ebb</id>
<content type='text'>
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPICA: minimal patch to integrate new tables into Linux</title>
<updated>2007-02-03T02:14:22+00:00</updated>
<author>
<name>Alexey Starikovskiy</name>
<email>alexey.y.starikovskiy@intel.com</email>
</author>
<published>2007-02-02T16:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ad71860a17ba33eb0e673e9e2cf5ba0d8e3e3fdd'/>
<id>urn:sha1:ad71860a17ba33eb0e673e9e2cf5ba0d8e3e3fdd</id>
<content type='text'>
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] ACPI: fix cpufreq regression</title>
<updated>2007-01-26T21:50:58+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2007-01-26T08:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e4233dec749a3519069d9390561b5636a75c7579'/>
<id>urn:sha1:e4233dec749a3519069d9390561b5636a75c7579</id>
<content type='text'>
Recently cpufreq support on my laptop (Lenovo T60) broke completely: when
it's plugged into AC it would never go higher than 1 GHz - neither 1.3 GHz
nor 1.83 GHz is possible - no matter which governor (userspace, speed or
ondemand) is used.

After some cpufreq debugging i tracked the regression back to the following
(totally correct) bug-fix commit:

   commit 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e
   Author: Dave Jones &lt;davej@redhat.com&gt;
   Date:   Wed Nov 22 20:42:01 2006 -0500

    [PATCH] Correct bound checking from the value returned from _PPC method.

This bugfix, which makes other laptops work, made a previously hidden
(BIOS) bug visible on my laptop.

The bug is the following: if the _PPC (Performance Present Capabilities)
optional ACPI object is queried /after/ bootup then the BIOS reports an
incorrect value of '2'.

My laptop (Lenovo T60) has the following performance states supported:

   0: 1833000
   1: 1333000
   2: 1000000

Per ACPI specification, a _PPC value of '0' means that all 3 performance
states are usable.  A _PPC value of '1' means states 1 ..  2 are usable, a
value of '2' means only state '2' (slowest) is usable.

now, the _PPC object is optional, and it also comes with notification.
Furthermore, when a CPU object is initialized, the _PPC object is
initialized as well.  So the following evaluation of the _PPC object is
superfluous:

 [&lt;c028ba5f&gt;] acpi_processor_get_platform_limit+0xa1/0xaf
 [&lt;c028c040&gt;] acpi_processor_register_performance+0x3b9/0x3ef
 [&lt;c0111a85&gt;] acpi_cpufreq_cpu_init+0xb7/0x596
 [&lt;c03dab74&gt;] cpufreq_add_dev+0x160/0x4a8
 [&lt;c02bed90&gt;] sysdev_driver_register+0x5a/0xa0
 [&lt;c03d9c4c&gt;] cpufreq_register_driver+0xb4/0x176
 [&lt;c068ac08&gt;] acpi_cpufreq_init+0xe5/0xeb
 [&lt;c010056e&gt;] init+0x14f/0x3dd

And this is the point where my laptop's BIOS returns the incorrect value of
'2'.  Note that it has not sent any notification event, so the value is
probably not really intentional (possibly spurious), and Windows likely
doesnt query it after bootup either.  Maybe the value is kept at '2'
normally, and is only set to the real value when a true asynchronous event
(such as AC plug event, battery switch, etc.) occurs.

So i /think/ this is a grey area of the ACPI spec: per the letter of the
spec the _PPC value only changes when notified, so there's no reason to
query it after the system has booted up.  So in my opinion the best (and
most compatible) strategy would be to do the change below, and to not
evaluate the _PPC object in the acpi_processor_get_performance_info() call,
but only evaluate it if _PPC is present during CPU object init, or if it's
notified during an asynchronous event.  This change is more permissive than
the previous logic, so it definitely shouldnt break any existing system.

This also happens to fix my laptop, which is merrily chugging along at
1.83 GHz now. Yay!

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Dave Jones &lt;davej@redhat.com&gt;
Acked-by: Len Brown &lt;lenb@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI: delete two spurious ACPI messages</title>
<updated>2007-01-11T04:16:36+00:00</updated>
<author>
<name>Venkatesh Pallipadi</name>
<email>venkatesh.pallipadi@intel.com</email>
</author>
<published>2007-01-11T04:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d6637b28ffb38f207015c990e481fde5bba233d7'/>
<id>urn:sha1:d6637b28ffb38f207015c990e481fde5bba233d7</id>
<content type='text'>
ACPI: Getting cpuindex for acpiid 0x4

acpi_processor-0742 [00] processor_preregister_: Error while parsing _PSD domain information. Assuming no coordination

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

Signed-off-by: Venkatesh Pallipadi &lt;venkatesh.pallipadi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Pull style into test branch</title>
<updated>2006-12-16T06:04:27+00:00</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2006-12-16T06:04:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cece901481bafbf14de8cbd3a89ae869ea881055'/>
<id>urn:sha1:cece901481bafbf14de8cbd3a89ae869ea881055</id>
<content type='text'>
Conflicts:

	drivers/acpi/button.c
	drivers/acpi/ec.c
	drivers/acpi/osl.c
	drivers/acpi/sbs.c
</content>
</entry>
<entry>
<title>[PATCH] Correct bound checking from the value returned from _PPC method.</title>
<updated>2006-11-23T17:18:55+00:00</updated>
<author>
<name>Dave Jones</name>
<email>davej@redhat.com</email>
</author>
<published>2006-11-23T01:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0916bd3ebb7cefdd0f432e8491abe24f4b5a101e'/>
<id>urn:sha1:0916bd3ebb7cefdd0f432e8491abe24f4b5a101e</id>
<content type='text'>
processor_perflib.c::acpi_processor_ppc_notifier() check if the value
returned by the processor's _PPC method is 0 and return failed if so.
This is wrong since 0 indicate that the bios think the processor can go
to the highest frequency.  This patch for example fix the HP NX 6125 to
allow its highest frequency to be available.

Signed-off-by: Bruno Ducrot &lt;ducrot@poupinou.org&gt;
Cc: "Pallipadi, Venkatesh" &lt;venkatesh.pallipadi@intel.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>ACPI: Remove unnecessary from/to-void* and to-void casts in drivers/acpi</title>
<updated>2006-10-14T05:51:07+00:00</updated>
<author>
<name>Jan Engelhardt</name>
<email>jengelh@linux01.gwdg.de</email>
</author>
<published>2006-09-30T22:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=50dd096973f1d95aa03c6a6d9e148d706b62b68e'/>
<id>urn:sha1:50dd096973f1d95aa03c6a6d9e148d706b62b68e</id>
<content type='text'>
Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
