<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/internal.h, branch linux-2.6.36.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.36.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.36.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-08-15T05:06:31Z</updated>
<entry>
<title>Merge branch 'linus' into release</title>
<updated>2010-08-15T05:06:31Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2010-08-15T05:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95ee46aa8698f2000647dfb362400fadbb5807cf'/>
<id>urn:sha1:95ee46aa8698f2000647dfb362400fadbb5807cf</id>
<content type='text'>
Conflicts:
	drivers/acpi/debug.c

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: remove deprecated ACPI procfs I/F</title>
<updated>2010-08-15T04:27:51Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2010-07-15T02:46:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47f5c892b06797336a34f1096b4b617623aa1960'/>
<id>urn:sha1:47f5c892b06797336a34f1096b4b617623aa1960</id>
<content type='text'>
Rmove deprecated ACPI procfs I/F, including
/proc/acpi/debug_layer
/proc/acpi/debug_level
/proc/acpi/info
/proc/acpi/dsdt
/proc/acpi/fadt
/proc/acpi/sleep

because the sysfs I/F is already available
and has been working well for years.

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: introduce drivers/acpi/sysfs.c</title>
<updated>2010-08-15T04:26:30Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2010-07-15T02:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c8fce27e275fd7c6b75bc6455745f02d3903ee6'/>
<id>urn:sha1:1c8fce27e275fd7c6b75bc6455745f02d3903ee6</id>
<content type='text'>
Introduce drivers/acpi/sysfs.c.

code for ACPI sysfs I/F, including
#ifdef ACPI_DEBUG
/sys/module/acpi/parameters/debug_layer
/sys/module/acpi/parameters/debug_level
/sys/module/acpi/parameters/trace_method_name
/sys/module/acpi/parameters/trace_debug_layer
/sys/module/acpi/parameters/trace_debug_level
/sys/module/acpi/parameters/trace_state
#endif
/sys/module/acpi/parameters/acpica_version
/sys/firmware/acpi/tables/
/sys/firmware/acpi/interrupts/
is moved to this file.

No function change in this patch.

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: introduce drivers/acpi/debugfs.c</title>
<updated>2010-08-15T03:02:00Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2010-07-15T02:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a25ee9200eef07377e1703697afbb5d81f89e500'/>
<id>urn:sha1:a25ee9200eef07377e1703697afbb5d81f89e500</id>
<content type='text'>
Introduce drivers/acpi/debugfs.c.

Code for ACPI debugfs I/F,
i.e. /sys/kernel/debug/acpi/custom_method,
is moved to this file.

And make ACPI debugfs always built in,
even if CONFIG_ACPI_DEBUG is cleared.

BTW:this adds about 400bytes code to ACPI, when
CONFIG_ACPI_DEBUG is cleared.

[uaccess.h build fix from Andrew Morton &lt;akpm@linux-foundation.org&gt;]

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Provide /sys/kernel/debug/ec/...</title>
<updated>2010-08-03T13:49:08Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2010-07-16T11:11:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1195a098168fcacfef1cd80d05358e52fb366bf6'/>
<id>urn:sha1:1195a098168fcacfef1cd80d05358e52fb366bf6</id>
<content type='text'>
This patch provides the same information through debugfs, which previously was
provided through /proc/acpi/embedded_controller/*/info

This is the gpe the EC is connected to and whether the global lock
gets used.
The io ports used are added to /proc/ioports in another patch.
Beside the fact that /proc/acpi is deprecated for quite some time,
this info is not needed for applications and thus can be moved
to debugfs instead of a public interface like /sys.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;

CC: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
CC: Len Brown &lt;lenb@kernel.org&gt;
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>ACPI / EC / PM: Fix names of functions that block/unblock EC transactions</title>
<updated>2010-05-29T03:36:06Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-04-08T23:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe955682d2153b35dffcf1673dff0491096a3f0a'/>
<id>urn:sha1:fe955682d2153b35dffcf1673dff0491096a3f0a</id>
<content type='text'>
The names of the functions used for blocking/unblocking EC
transactions during suspend/hibernation suggest that the transactions
are suspended and resumed by them, while in fact they are disabled
and enabled.  Rename the functions (and the flag used by them) to
better reflect what they really do.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / EC / PM: Fix race between EC transactions and system suspend</title>
<updated>2010-05-29T03:35:55Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-04-08T23:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5a64513c6a171262082c250592c062e97a2c693'/>
<id>urn:sha1:d5a64513c6a171262082c250592c062e97a2c693</id>
<content type='text'>
There still is a race that may result in suspending the system in
the middle of an EC transaction in progress, which leads to problems
(like the kernel thinking that the ACPI global lock is held during
resume while in fact it's not).

To remove the race condition, modify the ACPI platform suspend and
hibernate callbacks so that EC transactions are blocked right after
executing the _PTS global control method and are allowed to happen
again right after the low-level wakeup.

Introduce acpi_pm_freeze() that will disable GPEs, wait until the
event queues are empty and block EC transactions.  Use it wherever
GPEs are disabled in preparation for switching local interrupts off.
Introduce acpi_pm_thaw() that will allow EC transactions to happen
again and enable runtime GPEs.  Use it to balance acpi_pm_freeze()
wherever necessary.

In addition to that use acpi_ec_resume_transactions_early() to
unblock EC transactions as early as reasonably possible during
resume.  Also unblock EC transactions in acpi_hibernation_finish()
and in the analogous suspend routine to make sure that the EC
transactions are enabled in all error paths.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=14668

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Reported-and-tested-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branches 'battery-2.6.34', 'bugzilla-10805', 'bugzilla-14668', 'bugzilla-531916-power-state', 'ht-warn-2.6.34', 'pnp', 'processor-rename', 'sony-2.6.34', 'suse-bugzilla-531547', 'tz-check', 'video' and 'misc-2.6.34' into release</title>
<updated>2010-03-15T01:30:17Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2010-03-15T01:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec28dcc6b4c00b78ad269ad5b85ebd5c2d504825'/>
<id>urn:sha1:ec28dcc6b4c00b78ad269ad5b85ebd5c2d504825</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI / EC / PM: Close race between EC and resume from hibernation</title>
<updated>2010-03-08T19:15:51Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-03-04T00:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6bb13aa1ea3bb26a4c783822347873f085b9000'/>
<id>urn:sha1:f6bb13aa1ea3bb26a4c783822347873f085b9000</id>
<content type='text'>
There is a race between resume from hibernation and the EC driver
that may result in restoring the hibernation image in the middle of
an EC transaction in progress, which in turn may lead to
unpredictable behavior of the platform.

To remove that race condition, add a helpers for suspending and
resuming EC transactions in a safe way to be executed by the ACPI
platform hibernate pre-restore and restore cleanup callbacks.

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

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Reported-and-tested-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>PCI / ACPI / PM: Platform support for PCI PME wake-up</title>
<updated>2010-02-23T00:21:02Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-02-17T22:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b67ea76172d4b1922c4b3c46c8ea8e9fec1ff38c'/>
<id>urn:sha1:b67ea76172d4b1922c4b3c46c8ea8e9fec1ff38c</id>
<content type='text'>
Although the majority of PCI devices can generate PMEs that in
principle may be used to wake up devices suspended at run time,
platform support is generally necessary to convert PMEs into wake-up
events that can be delivered to the kernel.  If ACPI is used for this
purpose, PME signals generated by a PCI device will trigger the ACPI
GPE associated with the device to generate an ACPI wake-up event that
we can set up a handler for, provided that everything is configured
correctly.

Unfortunately, the subset of PCI devices that have GPEs associated
with them is quite limited.  The devices without dedicated GPEs have
to rely on the GPEs associated with other devices (in the majority of
cases their upstream bridges and, possibly, the root bridge) to
generate ACPI wake-up events in response to PME signals from them.

Add ACPI platform support for PCI PME wake-up:
o Add a framework making is possible to use ACPI system notify
  handlers for run-time PM.
o Add new PCI platform callback -&gt;run_wake() to struct
  pci_platform_pm_ops allowing us to enable/disable the platform to
  generate wake-up events for given device.  Implemet this callback
  for the ACPI platform.
o Define ACPI wake-up handlers for PCI devices and PCI root buses and
  make the PCI-ACPI binding code register wake-up notifiers for all
  PCI devices present in the ACPI tables.
o Add function pci_dev_run_wake() which can be used by PCI drivers to
  check if given device is capable of generating wake-up events at
  run time.

Developed in cooperation with Matthew Garrett &lt;mjg@redhat.com&gt;.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
</feed>
