Zhao Yakui wrote: > On Thu, 2008-09-04 at 01:55 +0400, Alexey Starikovskiy wrote: >> Hi, >> Here is the patch, which moves almost all transaction functionality into interrupt handler, which is IMHO good. >> >> with the enabled DEBUG, the interrupt picture looks like this (single transaction): > Thanks for your work and efforts. Maybe you have tested the patch on > your laptop. But IMO this is not reasonable. In the following cases > maybe the patch can't work well. > a. EC GPE storm. According to ACPI spec the EC uses the pulse > interrupt and interrupt is firmware generated using an EC GPIO output, > which is connected with chipset GPIO input. If the pulse waveform is > very wide, maybe several EC GPE interrupts will be triggered although EC > firmware generates one pulse waveform. How can we read the corresponding > data from EC in the GPE interrupt service handler? Maybe the read/write > data is completely incorrect. > b. If there is no EC interrupt although OBF_1 bit is valid.(In theory > when OBF_1 is valid, EC should trigger GPE interrupt). In such case the > read/write flowchart will be wrong. Ok, both issues are solved by following patch. Interrupts are down to ~500 from 70000. Regards, Alex.