<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/acpi/sleep, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/acpi/sleep?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/acpi/sleep?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2009-01-09T08:30:47Z</updated>
<entry>
<title>ACPICA: create acpica/ directory</title>
<updated>2009-01-09T08:30:47Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-01-09T05:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=95b482a8d31116f3f5c2a5089569393234d06385'/>
<id>urn:sha1:95b482a8d31116f3f5c2a5089569393234d06385</id>
<content type='text'>
also, delete sleep/ and delete ACPI_CFLAGS from Makefile

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: remove private acpica headers from driver files</title>
<updated>2008-12-31T06:15:22Z</updated>
<author>
<name>Lin Ming</name>
<email>ming.m.lin@intel.com</email>
</author>
<published>2008-12-16T08:28:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ea7e96e0f2277107d9ea14c3f16c86ba82b2e560'/>
<id>urn:sha1:ea7e96e0f2277107d9ea14c3f16c86ba82b2e560</id>
<content type='text'>
External driver files should not include any private acpica headers.

Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: main.c: use new public GPE group enable/disable interfaces</title>
<updated>2008-12-31T06:11:19Z</updated>
<author>
<name>Lin Ming</name>
<email>ming.m.lin@intel.com</email>
</author>
<published>2008-12-16T08:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3d97e426aa97d60b3dac1b72923b90b491fbac20'/>
<id>urn:sha1:3d97e426aa97d60b3dac1b72923b90b491fbac20</id>
<content type='text'>
Avoid using internal functions: acpi_hw_disable_all_gpes and acpi_hw_enable_all_runtime_gpes
Use new public GPE group enable/disable interfaces: acpi_disable_all_gpes and acpi_enable_all_runtime_gpes

Also avoid using internal symbol ACPI_TABLE_INDEX_FACS, call acpi_get_table.

Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: wakeup.c: remove ACPI_FUNCTION_TRACE</title>
<updated>2008-12-31T06:08:13Z</updated>
<author>
<name>Lin Ming</name>
<email>ming.m.lin@intel.com</email>
</author>
<published>2008-12-16T08:51:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c1e3523ccbeca312e11557d2a75f90632a2fb5c7'/>
<id>urn:sha1:c1e3523ccbeca312e11557d2a75f90632a2fb5c7</id>
<content type='text'>
ACPI_FUNCTION_TRACE is an internal acpica function.
remove ACPI_FUNCTION_TRACE

Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: proc.c: remove ACPI_FUNCTION_TRACE</title>
<updated>2008-12-31T06:07:38Z</updated>
<author>
<name>Lin Ming</name>
<email>ming.m.lin@intel.com</email>
</author>
<published>2008-12-16T08:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=95d9a7a828aedef965234f348b916caa98be1e6c'/>
<id>urn:sha1:95d9a7a828aedef965234f348b916caa98be1e6c</id>
<content type='text'>
ACPI_FUNCTION_TRACE and return_VALUE are internal acpica functions.
remove ACPI_FUNCTION_TRACE
replace return_VALUE with return

Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI suspend: Blacklist boxes that require us to set SCI_EN directly on resume</title>
<updated>2008-11-26T22:53:13Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2008-11-26T22:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=65df78473ffbf3bff5e2034df1638acc4f3ddd50'/>
<id>urn:sha1:65df78473ffbf3bff5e2034df1638acc4f3ddd50</id>
<content type='text'>
Some Apple boxes evidently require us to set SCI_EN on resume
directly, because if we don't do that, they hung somewhere in the
resume code path.  Moreover, on these boxes it is not sufficient to
use acpi_enable() to turn ACPI on during resume.  All of this is
against the ACPI specification which states that (1) the BIOS is
supposed to return from the S3 sleep state with ACPI enabled
(SCI_EN set) and (2) the SCI_EN bit is owned by the hardware and we
are not supposed to change it.

For this reason, blacklist the affected systems so that the SCI_EN
bit is set during resume on them.

[NOTE: Unconditional setting SCI_EN for all system on resume doesn't
 work, because it makes some other systems crash (that's to be
 expected).  Also, it is not entirely clear right now if all of the
 Apple boxes require this workaround.]

This patch fixes the recent regression tracked as
http://bugzilla.kernel.org/show_bug.cgi?id=12038

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Tested-by: Tino Keitel &lt;tino.keitel@gmx.de&gt;
Tested-by: Bob Copeland &lt;me@bobcopeland.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>acpi: fix oops in acpi_system_wakeup_device_seq_show</title>
<updated>2008-11-16T18:09:34Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-11-16T18:09:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=77fb61a04a0483ad274ce5c51b02c46c12db3693'/>
<id>urn:sha1:77fb61a04a0483ad274ce5c51b02c46c12db3693</id>
<content type='text'>
Commit 0794469da3f7b2093575cbdfc1108308dd3641ce: ("ACPI: struct device -
replace bus_id with dev_name(), dev_set_name()") introduced a bug by
testing 'dev_name(ldev)' instead of 'ldev-&gt;bus' for NULL when printing
out the bus information.

So if ldev-&gt;bus was NULL, we'd oops.

Reported-and-tested-by: Bruno Prémont &lt;bonbons@linux-vserver.org&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Len Brown &lt;len.brown@intel.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ec' into release</title>
<updated>2008-11-12T02:17:26Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2008-11-12T02:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d1876ba4dead6ace7e9fbf16f83397e6486d0dfe'/>
<id>urn:sha1:d1876ba4dead6ace7e9fbf16f83397e6486d0dfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPICA: Use spinlock for acpi_{en|dis}able_gpe</title>
<updated>2008-11-11T23:35:42Z</updated>
<author>
<name>Alexey Starikovskiy</name>
<email>astarikovskiy@suse.de</email>
</author>
<published>2008-10-25T17:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0b7084ac67fb84f0cf2f8bc02d7e0dea8521dd2d'/>
<id>urn:sha1:0b7084ac67fb84f0cf2f8bc02d7e0dea8521dd2d</id>
<content type='text'>
Disabling gpe might interfere with gpe detection/handling,
thus producing "interrupt not handled" errors.
Ironically, disabling of GPE from interrupt context is already
under spinlock, so only userspace needs to start using it.

Signed-off-by: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: struct device - replace bus_id with dev_name(), dev_set_name()</title>
<updated>2008-11-07T02:37:19Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2008-10-30T00:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0794469da3f7b2093575cbdfc1108308dd3641ce'/>
<id>urn:sha1:0794469da3f7b2093575cbdfc1108308dd3641ce</id>
<content type='text'>
This patch is part of a larger patch series which will remove
the "char bus_id[20]" name string from struct device. The device
name is managed in the kobject anyway, and without any size
limitation, and just needlessly copied into "struct device".

To set and read the device name dev_name(dev) and dev_set_name(dev)
must be used. If your code uses static kobjects, which it shouldn't
do, "const char *init_name" can be used to statically provide the
name the registered device should have. At registration time, the
init_name field is cleared, to enforce the use of dev_name(dev) to
access the device name at a later time.

We need to get rid of all occurrences of bus_id in the entire tree
to be able to enable the new interface. Please apply this patch,
and possibly convert any remaining remaining occurrences of bus_id.

We want to submit a patch to -next, which will remove bus_id from
"struct device", to find the remaining pieces to convert, and finally
switch over to the new api, which will remove the 20 bytes array
and does no longer have a size limitation.

Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-Off-By: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
