On Thu, Jan 17, 2008 at 11:52:43PM +0100, Andreas Herrmann3 wrote:Below is another potential fix for the problem here. Going through ACPI ioremap usages, we found at one place the mapping is cached for possible optimization reason and not unmapped later. Patch below always unmaps ioremap at this place in ACPICA. Thanks, Venki Index: linux-2.6.git/drivers/acpi/executer/exregion.c =================================================================== --- linux-2.6.git.orig/drivers/acpi/executer/exregion.c 2008-01-17 03:18:39.000000000 -0800 +++ linux-2.6.git/drivers/acpi/executer/exregion.c 2008-01-17 07:34:33.000000000 -0800 @@ -48,6 +48,8 @@ #define _COMPONENT ACPI_EXECUTER ACPI_MODULE_NAME("exregion") +static int ioremap_cache; + /******************************************************************************* * * FUNCTION: acpi_ex_system_memory_space_handler @@ -249,6 +251,13 @@ break; } + if (!ioremap_cache) { + acpi_os_unmap_memory(mem_info->mapped_logical_address, + window_size); + mem_info->mapped_logical_address = 0; + mem_info->mapped_physical_address = 0; + mem_info->mapped_length = 0; + } return_ACPI_STATUS(status); } --
| Linus Torvalds | Linux 2.6.27-rc5 |
| Jared Hulbert | [PATCH 00/10] AXFS: Advanced XIP filesystem |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Linus Torvalds | Linux 2.6.27-rc8 |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Mark McLoughlin | [PATCH] bridge: make bridge-nf-call-*tables default configurable |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
