diff options
author | Huang Ying <ying.huang@intel.com> | 2010-05-18 08:35:11 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-19 17:40:03 +0200 |
commit | 15651291a2f8c11e7e6a42d8bfde7a213ff13262 (patch) | |
tree | 0bbb96e22231e2b4da4ce9b264dfce8c54a52efc /drivers/acpi/Makefile | |
parent | Linus 2.6.34 (diff) | |
download | linux-15651291a2f8c11e7e6a42d8bfde7a213ff13262.tar.xz linux-15651291a2f8c11e7e6a42d8bfde7a213ff13262.zip |
ACPI, IO memory pre-mapping and atomic accessing
Some ACPI IO accessing need to be done in atomic context. For example,
APEI ERST operations may be used for permanent storage in hardware
error handler. That is, it may be called in atomic contexts such as
IRQ or NMI, etc. And, ERST/EINJ implement their operations via IO
memory/port accessing. But the IO memory accessing method provided by
ACPI (acpi_read/acpi_write) maps the IO memory during it is accessed,
so it can not be used in atomic context. To solve the issue, the IO
memory should be pre-mapped during EINJ/ERST initializing. A linked
list is used to record which memory area has been mapped, when memory
is accessed in hardware error handler, search the linked list for the
mapped virtual address from the given physical address.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index a8d8998dd5c5..93251fb599fa 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -19,6 +19,7 @@ obj-y += acpi.o \ # All the builtin files are in the "acpi." module_param namespace. acpi-y += osl.o utils.o reboot.o +acpi-y += atomicio.o acpi-y += hest.o # sleep related files |