<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/acpi/osl.c, branch v2.6.39-rc2</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v2.6.39-rc2</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v2.6.39-rc2'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2011-03-23T06:34:54Z</updated>
<entry>
<title>Merge branch 'linus' into release</title>
<updated>2011-03-23T06:34:54Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2011-03-23T06:34:54Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=02e2407858fd62053bf60349c0e72cd1c7a4a60e'/>
<id>urn:sha1:02e2407858fd62053bf60349c0e72cd1c7a4a60e</id>
<content type='text'>
Conflicts:
	arch/x86/kernel/acpi/sleep.c

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branches 'acpi-iomem', 'acpi-pm' and 'acpi-sci' into acpi-next</title>
<updated>2011-02-24T19:00:44Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-24T19:00:44Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=dd87cc53c42f3260b7eb7f60822de0fa9e58af59'/>
<id>urn:sha1:dd87cc53c42f3260b7eb7f60822de0fa9e58af59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI: Avoid calling request_irq() many times for the same interrupt</title>
<updated>2011-02-24T18:59:00Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:48:16Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=23fe36306ea489eef7dd88506bdcefdc8da39c91'/>
<id>urn:sha1:23fe36306ea489eef7dd88506bdcefdc8da39c91</id>
<content type='text'>
In principle acpi_os_install_interrupt_handler() may be called
multiple times for different interrupts, either from
acpi_ev_get_gpe_xrupt_block(), or from acpi_ev_install_sci_handler().
However, it always attempts to request the same interrupt,
acpi_gbl_FADT.sci_interrupt and it doesn't check whether or not this
interrupt has already been requested.

Modify this function so that it refuses to request interrupts other
than acpi_gbl_FADT.sci_interrupt and change
acpi_os_remove_interrupt_handler() so that it refuses to free such
interrupts.  Use the observation that the only supported ACPI
interrupt must be equal to acpi_gbl_FADT.sci_interrupt and drop an
unnecessary variable acpi_irq_irq.

This change has been tested on Toshiba Portege R500 and HP nx6325
without introducing any visible problems.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Introduce acpi_os_get_iomem()</title>
<updated>2011-02-24T18:58:42Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:38:25Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=13606a2de1996f8d83a9ce296f74022bdbadf712'/>
<id>urn:sha1:13606a2de1996f8d83a9ce296f74022bdbadf712</id>
<content type='text'>
Introduce function acpi_os_get_iomem() that may be used by its callers
to get a reference to an ACPI iomap.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Do not use krefs under a mutex in osl.c</title>
<updated>2011-02-24T18:58:42Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:38:15Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=b7c1fadd6c2eead56d0664a3a921980120de0c11'/>
<id>urn:sha1:b7c1fadd6c2eead56d0664a3a921980120de0c11</id>
<content type='text'>
The reference counting of ACPI iomaps is carried out entirely under
acpi_ioremap_lock, so it is sufficient to use simple counters instead
of krefs for this purpose.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Make acpi_os_map_memory() avoid creating unnecessary mappings</title>
<updated>2011-02-24T18:58:41Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:38:05Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7ffd0443f2502478545e23e194b7eb8e16376072'/>
<id>urn:sha1:7ffd0443f2502478545e23e194b7eb8e16376072</id>
<content type='text'>
Modify acpi_os_map_memory() so that it doesn't call acpi_os_ioremap()
unconditionally every time it is executed (except when
acpi_gbl_permanent_mmap is unset), which pretty much defeats the
purpose of maintaining the list of ACPI iomaps in osl.c.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Avoid walking the list of memory mappings in osl.c twice in a row</title>
<updated>2011-02-24T18:58:41Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:37:53Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7fe135dc058faea0ce319a03e3b6f98c5049955c'/>
<id>urn:sha1:7fe135dc058faea0ce319a03e3b6f98c5049955c</id>
<content type='text'>
Make acpi_os_unmap_generic_address() use acpi_map_lookup() to find
the desired iomap and drop the reference to it directly (and
eventually remove it if necessary) instead of calling
acpi_os_unmap_memory(), which requires us to walk the list of ACPI
iomaps twice in a row (first, to get the virtual address associated
with the iomap and second, to get the iomap itself).

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Change acpi_ioremap_lock into a mutex</title>
<updated>2011-02-24T18:58:41Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:37:42Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7bbb890358b96cb6f77adc6815f2072bdf813d5d'/>
<id>urn:sha1:7bbb890358b96cb6f77adc6815f2072bdf813d5d</id>
<content type='text'>
There's no reason why acpi_ioremap_lock has to be a spinlock,
because all of the functions it is used in may sleep anyway and
there's no reason why it should be locked with interrupts off.
Use a mutex instead (that's going to allow us to put some more
operations under the lock later).

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Do not export functions that are only used in osl.c</title>
<updated>2011-02-24T18:58:41Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-02-08T22:37:31Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=073b4964b3b75fd9e19bf3933b26d9c23591c9db'/>
<id>urn:sha1:073b4964b3b75fd9e19bf3933b26d9c23591c9db</id>
<content type='text'>
The functions acpi_os_map_generic_address() and
acpi_os_unmap_generic_address() are only used in drivers/acpi/osl.c,
so make them static and remove the extern definitions of them from
include/linux/acpi_io.h.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' into for-2.6.39</title>
<updated>2011-02-21T08:43:56Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2011-02-21T08:43:56Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=43d133c18b44e7d82d82ef0dcc2bddd55d5dfe81'/>
<id>urn:sha1:43d133c18b44e7d82d82ef0dcc2bddd55d5dfe81</id>
<content type='text'>
</content>
</entry>
</feed>
