<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/battery.c, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-12-16T05:07:21Z</updated>
<entry>
<title>battery: fix typo in comment</title>
<updated>2009-12-16T05:07:21Z</updated>
<author>
<name>Justin P. Mattock</name>
</author>
<published>2009-12-13T22:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2345baf4a8a0ac2e7e83f932048bb2d8ec1287e7'/>
<id>urn:sha1:2345baf4a8a0ac2e7e83f932048bb2d8ec1287e7</id>
<content type='text'>
Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'battery' into release</title>
<updated>2009-09-19T05:56:17Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-09-19T05:56:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a92d803227a523a9a5546e4e0dce1325a4b5926'/>
<id>urn:sha1:7a92d803227a523a9a5546e4e0dce1325a4b5926</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI battery: work around negative s16 battery current on Acer</title>
<updated>2009-08-30T01:39:54Z</updated>
<author>
<name>Hector Martin</name>
</author>
<published>2009-08-06T22:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc76f90b8a5cf4aceedf210d08d5e8292f820cec'/>
<id>urn:sha1:bc76f90b8a5cf4aceedf210d08d5e8292f820cec</id>
<content type='text'>
Acer Aspire 8930G laptops (and possibly others) report the battery current
as a 16-bit signed negative when it is charging.  It also reports it as
0x10000 when the current is 0.  This patch adds a quirk for this which
takes the absolute value of the reported current cast to an s16.  This is
a DSDT bug present in the latest BIOS revision (the EC register is 16 bits
signed and the DSDT attempts to take the 16-bit two's complement of this,
which works for discharge but not charge.  It also breaks zero values
because a 32-bit register is used and the high bits aren't thrown away).

I've enabled this for all Acer systems which report in mA units.  This
should be safe since it won't break compliant systems unless they report a
current above 32A, which is insane.  The patch also detects the valid
32-bit value -1, which indicates unknown status, and does not attempt the
fix in that case (note that this does not conflict with 16-bit -1, which
is 65535 as read normally and gets translated to 1mA).

Signed-off-by: Hector Martin &lt;hector@marcansoft.com&gt;
Acked-by: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Move definition of PREFIX from acpi_bus.h to internal..h</title>
<updated>2009-08-28T23:57:27Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-07-28T20:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a192a9580bcc41692be1f36b77c3b681827f566a'/>
<id>urn:sha1:a192a9580bcc41692be1f36b77c3b681827f566a</id>
<content type='text'>
Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
however, not all ACPI drivers use/want it -- and they
should not have to #undef PREFIX to define their own.

Add GPL commment to internal.h while we are there.

This does not change any actual console output,
asside from a whitespace fix.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: battery: fix CONFIG_ACPI_PROCFS_POWER=n build warning</title>
<updated>2009-06-18T04:38:27Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-06-18T04:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=586caae36cece718ff46b3a59b88af79e9f7a2e0'/>
<id>urn:sha1:586caae36cece718ff46b3a59b88af79e9f7a2e0</id>
<content type='text'>
drivers/acpi/battery.c:841: warning: label ‘end’ defined but not used

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: battery: use .notify method instead of installing handler directly</title>
<updated>2009-06-18T04:13:14Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-04-30T15:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d94066910943837558d2a461c6766da981260bf0'/>
<id>urn:sha1:d94066910943837558d2a461c6766da981260bf0</id>
<content type='text'>
This patch adds a .notify() method.  The presence of .notify() causes
Linux/ACPI to manage event handlers and notify handlers on our behalf,
so we don't have to install and remove them ourselves.

This driver apparently relies on seeing ALL notify events, not just
device-specific ones (because it used ACPI_ALL_NOTIFY).  We use the
ACPI_DRIVER_ALL_NOTIFY_EVENTS driver flag to request all events.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Alexey Starikovskiy &lt;alexey.y.starikovskiy@linux.intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "ACPI battery: fix async boot oops"</title>
<updated>2009-04-11T19:45:20Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-04-11T19:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0cbc861a3c05e634520b049b5cc27ad6febb51f'/>
<id>urn:sha1:b0cbc861a3c05e634520b049b5cc27ad6febb51f</id>
<content type='text'>
This reverts commit 5d38258ec026921a7b266f4047ebeaa75db358e5, since the
underlying problem got fixed properly in the previous commit ("async:
Fix module loading async-work regression").

Cc: Arkadiusz Miskiewicz &lt;a.miskiewicz@gmail.com&gt;
Cc: Vegard Nossum &lt;vegard.nossum@gmail.com&gt;
Cc: Len Brown &lt;len.brown@intel.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI battery: fix async boot oops</title>
<updated>2009-04-07T20:24:54Z</updated>
<author>
<name>Vegard Nossum</name>
</author>
<published>2009-04-07T08:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d38258ec026921a7b266f4047ebeaa75db358e5'/>
<id>urn:sha1:5d38258ec026921a7b266f4047ebeaa75db358e5</id>
<content type='text'>
&gt; BUG: unable to handle kernel NULL pointer dereference at (null)

What happens is that the battery module's init sections are being freed
before the async callback (which was marked __init) has run. This theory
is supported by the fact that the bad RIP value is a vmalloc address.

The immediate fix is to make this a non-init call.

(A better long-term fix is of course to wait with init-section unloading
until a module's async initcalls have been run, which would allow us to
discard this function which is still only run once, after all. Perhaps a
new async_initcall() function for the async/module API, if this is needed
for other modules in the future?)

Reported-by: Arkadiusz Miskiewicz &lt;a.miskiewicz@gmail.com&gt;
Signed-off-by: Vegard Nossum &lt;vegard.nossum@gmail.com&gt;
Tested-by: Alessandro Suardi &lt;alessandro.suardi@gmail.com&gt;
Tested-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'linus' into release</title>
<updated>2009-04-05T06:14:15Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-04-05T06:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=478c6a43fcbc6c11609f8cee7c7b57223907754f'/>
<id>urn:sha1:478c6a43fcbc6c11609f8cee7c7b57223907754f</id>
<content type='text'>
Conflicts:
	arch/x86/kernel/cpu/cpufreq/longhaul.c

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'constify' into release</title>
<updated>2009-04-05T05:51:16Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-04-05T05:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2fae0abf6a9c7a2da1a481b7adb4e24f7778992'/>
<id>urn:sha1:e2fae0abf6a9c7a2da1a481b7adb4e24f7778992</id>
<content type='text'>
</content>
</entry>
</feed>
