Bug 2200

Summary: uncorrectly enabling GPEs
Product: ACPI Reporter: Shaohua (shaohua.li)
Component: ACPICA-CoreAssignee: Robert Moore (Robert.Moore)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: patch for the issue

Description Shaohua 2004-02-26 01:56:52 UTC
Current ACPI implementation will enable a GPE if its corresponding _Lxx or 
_Exx method is found. But some GPEs the methods stand are wakeup GPEs. we 
shouldn't enable it before system enters sleep state.
In my P4 box, keyboard is such kind of devices. keyboard can generate 0x15 GPE 
to wakeup system, and DSDT has a method '_L15'. In 2.6.2, after boot, every 
hitting keyboard generates a SCI interrupt. if 0x15 is not enabled, keyboard 
doesn't create SCI.
Comment 1 Shaohua 2004-02-26 02:02:33 UTC
Created attachment 2237 [details]
patch for the issue

This patch disables all GPEs found in _PRW methods. Because GPEs found in _PRW
methods stand wakeup capacable GPEs.
Comment 2 Robert Moore 2004-03-26 15:03:28 UTC
Added _PRW support in version 20040326
Comment 3 Robert Moore 2004-04-27 15:06:02 UTC
GPE support revamped in 20040427