ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space
authorZhang Rui <rui.zhang@intel.com>
Fri, 20 Jun 2008 01:42:47 +0000 (09:42 +0800)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:04 +0000 (23:27 +0200)
commit71b58cbb0c30d1f78636a48c4721529449d6ea37
treeb2271201121c7ecd4d275b19772dcc1e64575712
parent9c9f6d052dc6f469431461a97d49cf9c5558b8ad
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>
Documentation/ABI/testing/sysfs-firmware-acpi
drivers/acpi/events/evxfevnt.c
drivers/acpi/hardware/hwgpe.c
drivers/acpi/system.c
include/acpi/achware.h
include/acpi/acpixf.h