<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/apei, 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-09-29T19:18:28Z</updated>
<entry>
<title>Merge branches 'apei', 'battery-mwh-fix', 'bugzilla-10807', 'bugzilla-14736', 'bugzilla-14679', 'bugzilla-16396', 'launchpad-613381' and 'misc' into release</title>
<updated>2010-09-29T19:18:28Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2010-09-29T19:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdb8c58a1671beb51949412e053926acd5500b5f'/>
<id>urn:sha1:fdb8c58a1671beb51949412e053926acd5500b5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI, APEI, Fix ERST MOVE_DATA instruction implementation</title>
<updated>2010-09-29T18:10:09Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2010-09-29T11:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bbba38a61283a55f2061ab3e0910c572d19f462'/>
<id>urn:sha1:0bbba38a61283a55f2061ab3e0910c572d19f462</id>
<content type='text'>
The src_base and dst_base fields in apei_exec_context are physical
address, so they should be ioremaped before being used in ERST
MOVE_DATA instruction.

Reported-by: Javier Martinez Canillas &lt;martinez.javier@gmail.com&gt;
Reported-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI, APEI, Fix error path for memory allocation</title>
<updated>2010-09-29T18:02:35Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2010-09-29T11:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23f124ca3dda98496b7ccf897cfd66264a212b6c'/>
<id>urn:sha1:23f124ca3dda98496b7ccf897cfd66264a212b6c</id>
<content type='text'>
In ERST debug/test support patch, a dynamic allocated buffer is
used. The may-failed memory allocation should be tried firstly before
free the previous buffer.

APEI resource management memory allocation related error path is fixed
too.

v2:

- Fix error messages for APEI resources management

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI, APEI, HEST Fix the unsuitable usage of platform_data</title>
<updated>2010-09-29T18:02:26Z</updated>
<author>
<name>Jin Dongming</name>
</author>
<published>2010-09-29T11:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dd6b20e368765223c31569d364219785b24700b'/>
<id>urn:sha1:1dd6b20e368765223c31569d364219785b24700b</id>
<content type='text'>
platform_data in hest_parse_ghes() is used for saving the address of entry
information of erst_tab. When the device is failed to be added, platform_data
will be freed by platform_device_put(). But the value saved in platform_data
should not be freed here. If it is done, it will make system panic.

So I think platform_data should save the address of allocated memory
which saves entry information of erst_tab.

This patch fixed it and I confirmed it on x86_64 next-tree.

v2:
    Transport the pointer of hest_hdr to platform_data using
    platform_device_add_data()

Signed-off-by: Jin Dongming &lt;jin.dongming@np.css.fujitsu.com&gt;
Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI, APEI, Fix APEI related table size checking</title>
<updated>2010-09-29T17:59:18Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2010-09-29T11:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a78f965328482eee542217de79036c2a8791de8'/>
<id>urn:sha1:3a78f965328482eee542217de79036c2a8791de8</id>
<content type='text'>
On Huang Ying's machine:

erst_tab-&gt;header_length == sizeof(struct acpi_table_einj)

but Yinghai reported that on his machine,

erst_tab-&gt;header_length == sizeof(struct acpi_table_einj) -
sizeof(struct acpi_table_header)

To make erst table size checking code works on all systems, both
testing are treated as PASS.

Same situation applies to einj_tab-&gt;header_length, so corresponding
table size checking is changed in similar way too.

v2:

- Treat both table size as valid

Originally-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Fix typos</title>
<updated>2010-09-29T01:38:19Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2010-09-07T16:49:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58f87ed0d45141a90167f34c0959d607160a26df'/>
<id>urn:sha1:58f87ed0d45141a90167f34c0959d607160a26df</id>
<content type='text'>
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<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, APEI, ERST debug support</title>
<updated>2010-08-15T02:47:55Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2010-08-12T03:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ff729d506e8db82d76a93bc963df4d0a4d46b57'/>
<id>urn:sha1:2ff729d506e8db82d76a93bc963df4d0a4d46b57</id>
<content type='text'>
This patch adds debugging/testing support to ERST. A misc device is
implemented to export raw ERST read/write/clear etc operations to user
space. With this patch, we can add ERST testing support to
linuxfirmwarekit ISO (linuxfirmwarekit.org) to verify the kernel
support and the firmware implementation.

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>acpi: fix bogus preemption logic</title>
<updated>2010-08-12T15:43:29Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2010-08-11T21:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a7992c90828a65281c3c9cf180be3b432d277b2'/>
<id>urn:sha1:0a7992c90828a65281c3c9cf180be3b432d277b2</id>
<content type='text'>
The ACPI_PREEMPTION_POINT() logic was introduced in commit 8bd108d
(ACPICA: add preemption point after each opcode parse).  The follow up
commits abe1dfab6, 138d15692, c084ca70 tried to fix the preemption logic
back and forth, but nobody noticed that the usage of
in_atomic_preempt_off() in that context is wrong.

The check which guards the call of cond_resched() is:

    if (!in_atomic_preempt_off() &amp;&amp; !irqs_disabled())

in_atomic_preempt_off() is not intended for general use as the comment
above the macro definition clearly says:

 * Check whether we were atomic before we did preempt_disable():
 * (used by the scheduler, *after* releasing the kernel lock)

On a CONFIG_PREEMPT=n kernel the usage of in_atomic_preempt_off() works by
accident, but with CONFIG_PREEMPT=y it's just broken.

The whole purpose of the ACPI_PREEMPTION_POINT() is to reduce the latency
on a CONFIG_PREEMPT=n kernel, so make ACPI_PREEMPTION_POINT() depend on
CONFIG_PREEMPT=n and remove the in_atomic_preempt_off() check.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=16210

[akpm@linux-foundation.org: fix build]
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: Francois Valenduc &lt;francois.valenduc@tvcablenet.be&gt;
Cc: Lin Ming &lt;ming.m.lin@intel.com&gt;
Cc: &lt;stable@kernel.org&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, APEI, Manage GHES as platform devices</title>
<updated>2010-08-08T18:55:52Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2010-08-02T07:48:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ad6e9435596f692ff65f399da12816c94960185'/>
<id>urn:sha1:7ad6e9435596f692ff65f399da12816c94960185</id>
<content type='text'>
Register GHES during HEST initialization as platform devices. And make
GHES driver into platform device driver. So that the GHES driver
module can be loaded automatically when there are GHES available.

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
