diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-06-19 21:42:47 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 17:27:04 -0400 |
commit | 71b58cbb0c30d1f78636a48c4721529449d6ea37 (patch) | |
tree | b2271201121c7ecd4d275b19772dcc1e64575712 /include/acpi/achware.h | |
parent | 9c9f6d052dc6f469431461a97d49cf9c5558b8ad (diff) |
ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space
Allow users to enable/disable/clear a specific & valid GPE/Fixed Event
in user space.
This is useful for debugging, especially for some
interrupt storm issues.
All wakeup GPEs are disabled and they can not be enabled at runtime,
and we mark them as invalid.
All GPEs that don't have a _Lxx/_Exx method are marked as invalid.
All Fixed Events that don't have an event handler are marked as invalid
and they can't be enabled until an event handler is registered.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Ling Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'include/acpi/achware.h')
-rw-r--r-- | include/acpi/achware.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/acpi/achware.h b/include/acpi/achware.h index 45e985961f4c..97a72b193276 100644 --- a/include/acpi/achware.h +++ b/include/acpi/achware.h | |||
@@ -102,11 +102,9 @@ acpi_status | |||
102 | acpi_hw_clear_gpe_block(struct acpi_gpe_xrupt_info *gpe_xrupt_info, | 102 | acpi_hw_clear_gpe_block(struct acpi_gpe_xrupt_info *gpe_xrupt_info, |
103 | struct acpi_gpe_block_info *gpe_block); | 103 | struct acpi_gpe_block_info *gpe_block); |
104 | 104 | ||
105 | #ifdef ACPI_FUTURE_USAGE | ||
106 | acpi_status | 105 | acpi_status |
107 | acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info, | 106 | acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info, |
108 | acpi_event_status * event_status); | 107 | acpi_event_status * event_status); |
109 | #endif /* ACPI_FUTURE_USAGE */ | ||
110 | 108 | ||
111 | acpi_status acpi_hw_disable_all_gpes(void); | 109 | acpi_status acpi_hw_disable_all_gpes(void); |
112 | 110 | ||