Events: Add a flag to disable internal auto GPE clearing.

Clearing the status bit means OSPM acknowledges the GPE and the hardware
then can bring follow-up events up. Acklowdging it too early causes OSPM
seeing level triggered GPE storms or missing edge-triggered GPEs if the
OSPM driver responds slowly. Some drivers may choose to implement GPE
condition clearing code in a position that is different from where it
should be disabled or re-enabled, in which case, the internal auto GPE
clearing operations should be abandoned.

This flag facilitates such driver designs and implementations.

Note that drivers will need to invoke AcpiClearGpe() manually in a proper
position where the causes and conditions of the GPE have been solved and
the GPE status can be safely cleared. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Events: Add a flag to disable internal auto GPE disabling.

The ACPI specification around the GPE handling is talking about a threaded
IRQ model (which also known as poll mode comparing to the IRQ mode). GPE
is disabled in the IRQ context and re-enabled in the IRQ thread (task
context) after the interrupt has been correctly handled.

For IRQ mode interrupt handler (ACPICA GPE dispatcher can only be
implemented in this mode), disabling IRQ is useless as IRQ is automatically
disabled in the handler. There is no hardware in the real world can trigger
an IRQ on the same CPU to preempt the handler of the same IRQ.

And the automatic IRQ disabling is harmful to low power IO drivers where
IRQ enabling/disabling is managed by power references and storm conditions.
The IRQ disabling/enabling out of the drivers' control can mess up the IRQ
enabling state where:
1. Enabling IRQ means there is more than 1 requests and no storms;
2. Disabling IRQ means there is no request or there is a storm.

This patch adds a flag to control the ACPICA internal GPE disabling to
facilitate low power IO drivers to work from the GPE controller's point of
view.

Since we will have users for the new GPE flag to enable a runtime idle
style GPE driver, this patch also enables AcpiInstallGpeHandler() to
configure NO_AUTO_x flags. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>