<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/bus.c, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-08-03T15:15:59Z</updated>
<entry>
<title>ACPI: APEI build fix</title>
<updated>2011-08-03T15:15:59Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2011-07-16T22:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7e09d450b2e0b068e850d103b6ee1af537d1910'/>
<id>urn:sha1:a7e09d450b2e0b068e850d103b6ee1af537d1910</id>
<content type='text'>
as GHES is optional...

When # CONFIG_ACPI_APEI_GHES is not set:

(.init.text+0x4c22): undefined reference to `ghes_disable'

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Acked-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI, APEI, Add APEI bit support in generic _OSC call</title>
<updated>2011-07-14T03:38:20Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2011-07-13T05:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eccddd32ced0df8f9130024157bf8d37df860d76'/>
<id>urn:sha1:eccddd32ced0df8f9130024157bf8d37df860d76</id>
<content type='text'>
In APEI firmware first mode, hardware error is reported by hardware to
firmware firstly, then firmware reports the error to Linux in a GHES
error record via POLL/SCI/IRQ/NMI etc.

This may result in some issues if OS has no full APEI support.  So
some firmware implementation will work in a back-compatible mode by
default.  Where firmware will only notify OS in old-fashion, without
GHES record.  For example, for a fatal hardware error, only NMI is
signaled, no GHES record.

To gain full APEI power on these machines, APEI bit in generic _OSC
call can be specified to tell firmware that Linux has full APEI
support.  This patch adds the APEI bit support in generic _OSC call.

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Reviewed-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Reviewed-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Add D3 cold state</title>
<updated>2011-05-29T06:21:08Z</updated>
<author>
<name>Lin Ming</name>
</author>
<published>2011-05-04T14:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28c2103dad04dba29ba86e22dad5735db8f0e13c'/>
<id>urn:sha1:28c2103dad04dba29ba86e22dad5735db8f0e13c</id>
<content type='text'>
_SxW returns an Integer containing the lowest D-state supported in state
Sx. If OSPM has not indicated that it supports _PR3, then the value “3”
corresponds to D3.  If it has indicated _PR3 support, the value “3”
represents D3hot and the value “4” represents D3cold.

Linux does set _OSC._PR3, so we should fix it to expect that _SxW can
return 4.

Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Acked-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>PM: Drop pm_flags that is not necessary</title>
<updated>2011-03-14T23:43:16Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2011-02-15T20:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6831c6edc7b272a08dd2a6c71bb183a48fe98ae6'/>
<id>urn:sha1:6831c6edc7b272a08dd2a6c71bb183a48fe98ae6</id>
<content type='text'>
The variable pm_flags is used to prevent APM from being enabled
along with ACPI, which would lead to problems.  However, acpi_init()
is always called before apm_init() and after acpi_init() has
returned, it is known whether or not ACPI will be used.  Namely, if
acpi_disabled is not set after acpi_init() has returned, this means
that ACPI is enabled.  Thus, it is sufficient to check acpi_disabled
in apm_init() to prevent APM from being enabled in parallel with
ACPI.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Acked-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / ACPI: Remove references to pm_flags from bus.c</title>
<updated>2011-03-14T23:43:15Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2011-02-10T23:04:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd51e61cf4e8b220da37dc35e9c2dc2dc258b4de'/>
<id>urn:sha1:cd51e61cf4e8b220da37dc35e9c2dc2dc258b4de</id>
<content type='text'>
If direct references to pm_flags are removed from drivers/acpi/bus.c,
CONFIG_ACPI will not need to depend on CONFIG_PM any more.  Make that
happen.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Acked-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / PM: Drop acpi_power_nocheck</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-12-11T22:45:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53eac700b0df1fef8c957b9eedfd7f48120425e3'/>
<id>urn:sha1:53eac700b0df1fef8c957b9eedfd7f48120425e3</id>
<content type='text'>
Since acpi_bus_set_power() should not use __acpi_bus_get_power() to
update the device's device-&gt;power.state field before changing its
power state (this may cause device-&gt;power.state to be inconsistent
with the device power resources' reference counters), remove this
call from it.  In consequence, the acpi_power_nocheck variable is not
necessary any more, so it can be dropped along with the DMI table
used for setting that variable for HP Pavilion 05.

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 / PM: Drop acpi_bus_get_power()</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-12-11T22:44:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6767dcf2a4f6e62960912d0affec1e15a246191'/>
<id>urn:sha1:f6767dcf2a4f6e62960912d0affec1e15a246191</id>
<content type='text'>
There are no more users of acpi_bus_get_power(), so it can be
dropped.  Moreover, it should be dropped, because it modifies
the device-&gt;power.state field of an ACPI device without updating
the reference counters of the device's power resources, which is
wrong.

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 / Fan: Rework the handling of power resources</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-11-24T23:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=488a76c52606199100adf09c8eb7cbedbd94e9d9'/>
<id>urn:sha1:488a76c52606199100adf09c8eb7cbedbd94e9d9</id>
<content type='text'>
Use the new function acpi_bus_update_power() for manipulating power
resources used by ACPI fan devices, which allows them to be put into
the right state during initialization and resume.  Consequently,
remove the flags.force_power_state field from struct acpi_device,
which is not necessary any more.

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 / PM: Register acpi_power_driver early</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-11-24T23:10:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97d9a9e9f5ee68f20005ca5aa77c6b684e7cace8'/>
<id>urn:sha1:97d9a9e9f5ee68f20005ca5aa77c6b684e7cace8</id>
<content type='text'>
The ACPI device driver used for handling power resources,
acpi_power_driver, creates a struct acpi_power_resource object for
each ACPI device representing a power resource.  These objects are
then used when setting and reading the power states of devices using
the corresponding power resources.  Unfortunately, acpi_power_driver
is registered after acpi_scan_init() that may add devices using the
power resources before acpi_power_driver has a chance to create
struct acpi_power_resource objects for them (specifically, the power
resources may be referred to during the scanning process through
acpi_bus_get_power() before they have been initialized).

As the first step towards fixing this issue, move the registration
of acpi_power_driver into acpi_scan_init() so that power resource
devices can be initialized by it as soon as they have been found in
the namespace.

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 / PM: Add function for updating device power state consistently</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-11-24T23:09:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25eed40720fc9005c63a1f436e5f8a78836c26ff'/>
<id>urn:sha1:25eed40720fc9005c63a1f436e5f8a78836c26ff</id>
<content type='text'>
Add function acpi_bus_update_power() for reading the actual power
state of an ACPI device and updating its device-&gt;power.state field
in such a way that its power resources' reference counters will
remain consistent with that field.

For this purpose introduce __acpi_bus_set_power() setting the
power state of an ACPI device without updating its
device-&gt;power.state field and make acpi_bus_set_power() and
acpi_bus_update_power() use it (acpi_bus_set_power() retains the
current behavior for now).

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
