Not so, there are two polls in ec.c, first is poll for change in status register,
which gave the name to the mode, and still exists; the other is for event
in embedded controller, which was introduced to properly solve #9998, and part of
it is removed by patch in #10919.
The notion of queue in embedded controller is new, it was never mentioned in
ACPI spec, so the driver was written with assumption that new query interrupt should
not arrive before we service previous one. There is even a chart in how interrupts
should occur near the EC query command...
I think, this is not a theoretical problem, but the problem we've tried to solve in
#9998, #10724, and so on.
See above, I still disable EC GPE for the time than we have pending query,
so we better not wait for it to check the status register
Well, with this patch of yours, I guess, we will not have too many problems in EC left :-)
Thanks again,
Alex.
--