]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98c6a1a71e172fd080277655c75fc64806950c55
treeb2271201121c7ecd4d275b19772dcc1e64575712
parent516aecb8e1a562c0fd1f0ec727c7b60f7d9c0c50
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