diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-09-20 16:22:03 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-10-12 18:11:43 -0400 |
commit | 28eda5b8b434b65e5feb0c58a7477f3f290d72d4 (patch) | |
tree | 1da72e320f15acf1649cef957de46360b780285d /arch/ia64/Kconfig | |
parent | edbe7075d144b35e8232ca32f373c1e0c26ff085 (diff) |
[IA64] add driver for ACPI methods to call native firmware
This driver for HPQ5001 devices installs a global ACPI OpRegion handler.
AML methods can use this OpRegion to call native firmware entry points.
ACPI does not define a mechanism for AML methods to call native firmware
interfaces such as PAL or SAL. This OpRegion handler adds such a mechanism.
After the handler is installed, an AML method can call native firmware by
storing the arguments and firmware entry point to specific offsets in the
OpRegion. When AML reads the "return value" offset from the OpRegion, this
handler loads up the arguments, makes the firmware call, and returns the
result.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/Kconfig')
-rw-r--r-- | arch/ia64/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 8c39913d1729..2e6310b8eab7 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -461,6 +461,16 @@ config IA64_ESI | |||
461 | firmware extensions, such as the ability to inject memory-errors | 461 | firmware extensions, such as the ability to inject memory-errors |
462 | for test-purposes. If you're unsure, say N. | 462 | for test-purposes. If you're unsure, say N. |
463 | 463 | ||
464 | config IA64_HP_AML_NFW | ||
465 | bool "Support ACPI AML calls to native firmware" | ||
466 | help | ||
467 | This driver installs a global ACPI Operation Region handler for | ||
468 | region 0xA1. AML methods can use this OpRegion to call arbitrary | ||
469 | native firmware functions. The driver installs the OpRegion | ||
470 | handler if there is an HPQ5001 device or if the user supplies | ||
471 | the "force" module parameter, e.g., with the "aml_nfw.force" | ||
472 | kernel command line option. | ||
473 | |||
464 | source "drivers/sn/Kconfig" | 474 | source "drivers/sn/Kconfig" |
465 | 475 | ||
466 | config KEXEC | 476 | config KEXEC |