1 /******************************************************************************
3 * Module Name: evgpe - General Purpose Event handling and dispatch
5 *****************************************************************************/
8 * Copyright (C) 2000 - 2016, Intel Corp.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.
17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 * substantially similar to the "NO WARRANTY" disclaimer below
19 * ("Disclaimer") and any redistribution must be conditioned upon
20 * including a substantially similar Disclaimer requirement for further
21 * binary redistribution.
22 * 3. Neither the names of the above-listed copyright holders nor the names
23 * of any contributors may be used to endorse or promote products derived
24 * from this software without specific prior written permission.
26 * Alternatively, this software may be distributed under the terms of the
27 * GNU General Public License ("GPL") version 2 as published by the Free
28 * Software Foundation.
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 * POSSIBILITY OF SUCH DAMAGES.
49 #define _COMPONENT ACPI_EVENTS
50 ACPI_MODULE_NAME ("evgpe")
52 #if (!ACPI_REDUCED_HARDWARE) /* Entire module */
54 /* Local prototypes */
56 static void ACPI_SYSTEM_XFACE
57 AcpiEvAsynchExecuteGpeMethod (
60 static void ACPI_SYSTEM_XFACE
61 AcpiEvAsynchEnableGpe (
65 /*******************************************************************************
67 * FUNCTION: AcpiEvUpdateGpeEnableMask
69 * PARAMETERS: GpeEventInfo - GPE to update
73 * DESCRIPTION: Updates GPE register enable mask based upon whether there are
74 * runtime references to this GPE
76 ******************************************************************************/
79 AcpiEvUpdateGpeEnableMask (
80 ACPI_GPE_EVENT_INFO
*GpeEventInfo
)
82 ACPI_GPE_REGISTER_INFO
*GpeRegisterInfo
;
86 ACPI_FUNCTION_TRACE (EvUpdateGpeEnableMask
);
89 GpeRegisterInfo
= GpeEventInfo
->RegisterInfo
;
92 return_ACPI_STATUS (AE_NOT_EXIST
);
95 RegisterBit
= AcpiHwGetGpeRegisterBit (GpeEventInfo
);
97 /* Clear the run bit up front */
99 ACPI_CLEAR_BIT (GpeRegisterInfo
->EnableForRun
, RegisterBit
);
101 /* Set the mask bit only if there are references to this GPE */
103 if (GpeEventInfo
->RuntimeCount
)
105 ACPI_SET_BIT (GpeRegisterInfo
->EnableForRun
, (UINT8
) RegisterBit
);
108 GpeRegisterInfo
->EnableMask
= GpeRegisterInfo
->EnableForRun
;
109 return_ACPI_STATUS (AE_OK
);
113 /*******************************************************************************
115 * FUNCTION: AcpiEvEnableGpe
117 * PARAMETERS: GpeEventInfo - GPE to enable
121 * DESCRIPTION: Clear a GPE of stale events and enable it.
123 ******************************************************************************/
127 ACPI_GPE_EVENT_INFO
*GpeEventInfo
)
132 ACPI_FUNCTION_TRACE (EvEnableGpe
);
135 /* Clear the GPE (of stale events) */
137 Status
= AcpiHwClearGpe (GpeEventInfo
);
138 if (ACPI_FAILURE (Status
))
140 return_ACPI_STATUS (Status
);
143 /* Enable the requested GPE */
145 Status
= AcpiHwLowSetGpe (GpeEventInfo
, ACPI_GPE_ENABLE
);
146 return_ACPI_STATUS (Status
);
150 /*******************************************************************************
152 * FUNCTION: AcpiEvAddGpeReference
154 * PARAMETERS: GpeEventInfo - Add a reference to this GPE
158 * DESCRIPTION: Add a reference to a GPE. On the first reference, the GPE is
161 ******************************************************************************/
164 AcpiEvAddGpeReference (
165 ACPI_GPE_EVENT_INFO
*GpeEventInfo
)
167 ACPI_STATUS Status
= AE_OK
;
170 ACPI_FUNCTION_TRACE (EvAddGpeReference
);
173 if (GpeEventInfo
->RuntimeCount
== ACPI_UINT8_MAX
)
175 return_ACPI_STATUS (AE_LIMIT
);
178 GpeEventInfo
->RuntimeCount
++;
179 if (GpeEventInfo
->RuntimeCount
== 1)
181 /* Enable on first reference */
183 Status
= AcpiEvUpdateGpeEnableMask (GpeEventInfo
);
184 if (ACPI_SUCCESS (Status
))
186 Status
= AcpiEvEnableGpe (GpeEventInfo
);
189 if (ACPI_FAILURE (Status
))
191 GpeEventInfo
->RuntimeCount
--;
195 return_ACPI_STATUS (Status
);
199 /*******************************************************************************
201 * FUNCTION: AcpiEvRemoveGpeReference
203 * PARAMETERS: GpeEventInfo - Remove a reference to this GPE
207 * DESCRIPTION: Remove a reference to a GPE. When the last reference is
208 * removed, the GPE is hardware-disabled.
210 ******************************************************************************/
213 AcpiEvRemoveGpeReference (
214 ACPI_GPE_EVENT_INFO
*GpeEventInfo
)
216 ACPI_STATUS Status
= AE_OK
;
219 ACPI_FUNCTION_TRACE (EvRemoveGpeReference
);
222 if (!GpeEventInfo
->RuntimeCount
)
224 return_ACPI_STATUS (AE_LIMIT
);
227 GpeEventInfo
->RuntimeCount
--;
228 if (!GpeEventInfo
->RuntimeCount
)
230 /* Disable on last reference */
232 Status
= AcpiEvUpdateGpeEnableMask (GpeEventInfo
);
233 if (ACPI_SUCCESS (Status
))
235 Status
= AcpiHwLowSetGpe (GpeEventInfo
, ACPI_GPE_DISABLE
);
238 if (ACPI_FAILURE (Status
))
240 GpeEventInfo
->RuntimeCount
++;
244 return_ACPI_STATUS (Status
);
248 /*******************************************************************************
250 * FUNCTION: AcpiEvLowGetGpeInfo
252 * PARAMETERS: GpeNumber - Raw GPE number
253 * GpeBlock - A GPE info block
255 * RETURN: A GPE EventInfo struct. NULL if not a valid GPE (The GpeNumber
256 * is not within the specified GPE block)
258 * DESCRIPTION: Returns the EventInfo struct associated with this GPE. This is
259 * the low-level implementation of EvGetGpeEventInfo.
261 ******************************************************************************/
263 ACPI_GPE_EVENT_INFO
*
264 AcpiEvLowGetGpeInfo (
266 ACPI_GPE_BLOCK_INFO
*GpeBlock
)
272 * Validate that the GpeNumber is within the specified GpeBlock.
276 (GpeNumber
< GpeBlock
->BlockBaseNumber
))
281 GpeIndex
= GpeNumber
- GpeBlock
->BlockBaseNumber
;
282 if (GpeIndex
>= GpeBlock
->GpeCount
)
287 return (&GpeBlock
->EventInfo
[GpeIndex
]);
291 /*******************************************************************************
293 * FUNCTION: AcpiEvGetGpeEventInfo
295 * PARAMETERS: GpeDevice - Device node. NULL for GPE0/GPE1
296 * GpeNumber - Raw GPE number
298 * RETURN: A GPE EventInfo struct. NULL if not a valid GPE
300 * DESCRIPTION: Returns the EventInfo struct associated with this GPE.
301 * Validates the GpeBlock and the GpeNumber
303 * Should be called only when the GPE lists are semaphore locked
304 * and not subject to change.
306 ******************************************************************************/
308 ACPI_GPE_EVENT_INFO
*
309 AcpiEvGetGpeEventInfo (
310 ACPI_HANDLE GpeDevice
,
313 ACPI_OPERAND_OBJECT
*ObjDesc
;
314 ACPI_GPE_EVENT_INFO
*GpeInfo
;
318 ACPI_FUNCTION_ENTRY ();
321 /* A NULL GpeDevice means use the FADT-defined GPE block(s) */
325 /* Examine GPE Block 0 and 1 (These blocks are permanent) */
327 for (i
= 0; i
< ACPI_MAX_GPE_BLOCKS
; i
++)
329 GpeInfo
= AcpiEvLowGetGpeInfo (GpeNumber
,
330 AcpiGbl_GpeFadtBlocks
[i
]);
337 /* The GpeNumber was not in the range of either FADT GPE block */
342 /* A Non-NULL GpeDevice means this is a GPE Block Device */
344 ObjDesc
= AcpiNsGetAttachedObject ((ACPI_NAMESPACE_NODE
*) GpeDevice
);
346 !ObjDesc
->Device
.GpeBlock
)
351 return (AcpiEvLowGetGpeInfo (GpeNumber
, ObjDesc
->Device
.GpeBlock
));
355 /*******************************************************************************
357 * FUNCTION: AcpiEvGpeDetect
359 * PARAMETERS: GpeXruptList - Interrupt block for this interrupt.
360 * Can have multiple GPE blocks attached.
362 * RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED
364 * DESCRIPTION: Detect if any GP events have occurred. This function is
365 * executed at interrupt level.
367 ******************************************************************************/
371 ACPI_GPE_XRUPT_INFO
*GpeXruptList
)
374 ACPI_GPE_BLOCK_INFO
*GpeBlock
;
375 ACPI_NAMESPACE_NODE
*GpeDevice
;
376 ACPI_GPE_REGISTER_INFO
*GpeRegisterInfo
;
377 ACPI_GPE_EVENT_INFO
*GpeEventInfo
;
379 ACPI_GPE_HANDLER_INFO
*GpeHandlerInfo
;
380 UINT32 IntStatus
= ACPI_INTERRUPT_NOT_HANDLED
;
381 UINT8 EnabledStatusByte
;
384 ACPI_CPU_FLAGS Flags
;
389 ACPI_FUNCTION_NAME (EvGpeDetect
);
391 /* Check for the case where there are no GPEs */
399 * We need to obtain the GPE lock for both the data structs and registers
400 * Note: Not necessary to obtain the hardware lock, since the GPE
401 * registers are owned by the GpeLock.
403 Flags
= AcpiOsAcquireLock (AcpiGbl_GpeLock
);
405 /* Examine all GPE blocks attached to this interrupt level */
407 GpeBlock
= GpeXruptList
->GpeBlockListHead
;
410 GpeDevice
= GpeBlock
->Node
;
413 * Read all of the 8-bit GPE status and enable registers in this GPE
414 * block, saving all of them. Find all currently active GP events.
416 for (i
= 0; i
< GpeBlock
->RegisterCount
; i
++)
418 /* Get the next status/enable pair */
420 GpeRegisterInfo
= &GpeBlock
->RegisterInfo
[i
];
423 * Optimization: If there are no GPEs enabled within this
424 * register, we can safely ignore the entire register.
426 if (!(GpeRegisterInfo
->EnableForRun
|
427 GpeRegisterInfo
->EnableForWake
))
429 ACPI_DEBUG_PRINT ((ACPI_DB_INTERRUPTS
,
430 "Ignore disabled registers for GPE %02X-%02X: "
431 "RunEnable=%02X, WakeEnable=%02X\n",
432 GpeRegisterInfo
->BaseGpeNumber
,
433 GpeRegisterInfo
->BaseGpeNumber
+ (ACPI_GPE_REGISTER_WIDTH
- 1),
434 GpeRegisterInfo
->EnableForRun
,
435 GpeRegisterInfo
->EnableForWake
));
439 /* Read the Status Register */
441 Status
= AcpiHwRead (&StatusReg
, &GpeRegisterInfo
->StatusAddress
);
442 if (ACPI_FAILURE (Status
))
447 /* Read the Enable Register */
449 Status
= AcpiHwRead (&EnableReg
, &GpeRegisterInfo
->EnableAddress
);
450 if (ACPI_FAILURE (Status
))
455 ACPI_DEBUG_PRINT ((ACPI_DB_INTERRUPTS
,
456 "Read registers for GPE %02X-%02X: Status=%02X, Enable=%02X, "
457 "RunEnable=%02X, WakeEnable=%02X\n",
458 GpeRegisterInfo
->BaseGpeNumber
,
459 GpeRegisterInfo
->BaseGpeNumber
+ (ACPI_GPE_REGISTER_WIDTH
- 1),
460 StatusReg
, EnableReg
,
461 GpeRegisterInfo
->EnableForRun
,
462 GpeRegisterInfo
->EnableForWake
));
464 /* Check if there is anything active at all in this register */
466 EnabledStatusByte
= (UINT8
) (StatusReg
& EnableReg
);
467 if (!EnabledStatusByte
)
469 /* No active GPEs in this register, move on */
474 /* Now look at the individual GPEs in this byte register */
476 for (j
= 0; j
< ACPI_GPE_REGISTER_WIDTH
; j
++)
478 /* Examine one GPE bit */
480 GpeEventInfo
= &GpeBlock
->EventInfo
[((ACPI_SIZE
) i
*
481 ACPI_GPE_REGISTER_WIDTH
) + j
];
482 GpeNumber
= j
+ GpeRegisterInfo
->BaseGpeNumber
;
484 if (EnabledStatusByte
& (1 << j
))
486 /* Invoke global event handler if present */
489 if (AcpiGbl_GlobalEventHandler
)
491 AcpiGbl_GlobalEventHandler (ACPI_EVENT_TYPE_GPE
,
492 GpeDevice
, GpeNumber
,
493 AcpiGbl_GlobalEventHandlerContext
);
496 /* Found an active GPE */
498 if (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo
->Flags
) ==
499 ACPI_GPE_DISPATCH_RAW_HANDLER
)
501 /* Dispatch the event to a raw handler */
503 GpeHandlerInfo
= GpeEventInfo
->Dispatch
.Handler
;
506 * There is no protection around the namespace node
507 * and the GPE handler to ensure a safe destruction
509 * 1. The namespace node is expected to always
510 * exist after loading a table.
511 * 2. The GPE handler is expected to be flushed by
512 * AcpiOsWaitEventsComplete() before the
515 AcpiOsReleaseLock (AcpiGbl_GpeLock
, Flags
);
516 IntStatus
|= GpeHandlerInfo
->Address (
517 GpeDevice
, GpeNumber
, GpeHandlerInfo
->Context
);
518 Flags
= AcpiOsAcquireLock (AcpiGbl_GpeLock
);
523 * Dispatch the event to a standard handler or
526 IntStatus
|= AcpiEvGpeDispatch (GpeDevice
,
527 GpeEventInfo
, GpeNumber
);
533 GpeBlock
= GpeBlock
->Next
;
538 AcpiOsReleaseLock (AcpiGbl_GpeLock
, Flags
);
543 /*******************************************************************************
545 * FUNCTION: AcpiEvAsynchExecuteGpeMethod
547 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
551 * DESCRIPTION: Perform the actual execution of a GPE control method. This
552 * function is called from an invocation of AcpiOsExecute and
553 * therefore does NOT execute at interrupt level - so that
554 * the control method itself is not executed in the context of
555 * an interrupt handler.
557 ******************************************************************************/
559 static void ACPI_SYSTEM_XFACE
560 AcpiEvAsynchExecuteGpeMethod (
563 ACPI_GPE_EVENT_INFO
*GpeEventInfo
= Context
;
564 ACPI_STATUS Status
= AE_OK
;
565 ACPI_EVALUATE_INFO
*Info
;
566 ACPI_GPE_NOTIFY_INFO
*Notify
;
569 ACPI_FUNCTION_TRACE (EvAsynchExecuteGpeMethod
);
572 /* Do the correct dispatch - normal method or implicit notify */
574 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo
->Flags
))
576 case ACPI_GPE_DISPATCH_NOTIFY
:
579 * Dispatch a DEVICE_WAKE notify to the appropriate handler.
580 * NOTE: the request is queued for execution after this method
581 * completes. The notify handlers are NOT invoked synchronously
582 * from this thread -- because handlers may in turn run other
585 * June 2012: Expand implicit notify mechanism to support
586 * notifies on multiple device objects.
588 Notify
= GpeEventInfo
->Dispatch
.NotifyList
;
589 while (ACPI_SUCCESS (Status
) && Notify
)
591 Status
= AcpiEvQueueNotifyRequest (
592 Notify
->DeviceNode
, ACPI_NOTIFY_DEVICE_WAKE
);
594 Notify
= Notify
->Next
;
598 case ACPI_GPE_DISPATCH_METHOD
:
600 /* Allocate the evaluation information block */
602 Info
= ACPI_ALLOCATE_ZEROED (sizeof (ACPI_EVALUATE_INFO
));
605 Status
= AE_NO_MEMORY
;
610 * Invoke the GPE Method (_Lxx, _Exx) i.e., evaluate the
611 * _Lxx/_Exx control method that corresponds to this GPE
613 Info
->PrefixNode
= GpeEventInfo
->Dispatch
.MethodNode
;
614 Info
->Flags
= ACPI_IGNORE_RETURN_VALUE
;
616 Status
= AcpiNsEvaluate (Info
);
620 if (ACPI_FAILURE (Status
))
622 ACPI_EXCEPTION ((AE_INFO
, Status
,
623 "while evaluating GPE method [%4.4s]",
624 AcpiUtGetNodeName (GpeEventInfo
->Dispatch
.MethodNode
)));
630 goto ErrorExit
; /* Should never happen */
633 /* Defer enabling of GPE until all notify handlers are done */
635 Status
= AcpiOsExecute (OSL_NOTIFY_HANDLER
,
636 AcpiEvAsynchEnableGpe
, GpeEventInfo
);
637 if (ACPI_SUCCESS (Status
))
643 AcpiEvAsynchEnableGpe (GpeEventInfo
);
648 /*******************************************************************************
650 * FUNCTION: AcpiEvAsynchEnableGpe
652 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
653 * Callback from AcpiOsExecute
657 * DESCRIPTION: Asynchronous clear/enable for GPE. This allows the GPE to
658 * complete (i.e., finish execution of Notify)
660 ******************************************************************************/
662 static void ACPI_SYSTEM_XFACE
663 AcpiEvAsynchEnableGpe (
666 ACPI_GPE_EVENT_INFO
*GpeEventInfo
= Context
;
667 ACPI_CPU_FLAGS Flags
;
670 Flags
= AcpiOsAcquireLock (AcpiGbl_GpeLock
);
671 (void) AcpiEvFinishGpe (GpeEventInfo
);
672 AcpiOsReleaseLock (AcpiGbl_GpeLock
, Flags
);
678 /*******************************************************************************
680 * FUNCTION: AcpiEvFinishGpe
682 * PARAMETERS: GpeEventInfo - Info for this GPE
686 * DESCRIPTION: Clear/Enable a GPE. Common code that is used after execution
687 * of a GPE method or a synchronous or asynchronous GPE handler.
689 ******************************************************************************/
693 ACPI_GPE_EVENT_INFO
*GpeEventInfo
)
698 if ((GpeEventInfo
->Flags
& ACPI_GPE_XRUPT_TYPE_MASK
) ==
699 ACPI_GPE_LEVEL_TRIGGERED
)
702 * GPE is level-triggered, we clear the GPE status bit after
703 * handling the event.
705 Status
= AcpiHwClearGpe (GpeEventInfo
);
706 if (ACPI_FAILURE (Status
))
713 * Enable this GPE, conditionally. This means that the GPE will
714 * only be physically enabled if the EnableMask bit is set
717 (void) AcpiHwLowSetGpe (GpeEventInfo
, ACPI_GPE_CONDITIONAL_ENABLE
);
722 /*******************************************************************************
724 * FUNCTION: AcpiEvGpeDispatch
726 * PARAMETERS: GpeDevice - Device node. NULL for GPE0/GPE1
727 * GpeEventInfo - Info for this GPE
728 * GpeNumber - Number relative to the parent GPE block
730 * RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED
732 * DESCRIPTION: Dispatch a General Purpose Event to either a function (e.g. EC)
733 * or method (e.g. _Lxx/_Exx) handler.
735 * This function executes at interrupt level.
737 ******************************************************************************/
741 ACPI_NAMESPACE_NODE
*GpeDevice
,
742 ACPI_GPE_EVENT_INFO
*GpeEventInfo
,
749 ACPI_FUNCTION_TRACE (EvGpeDispatch
);
753 * Always disable the GPE so that it does not keep firing before
754 * any asynchronous activity completes (either from the execution
755 * of a GPE method or an asynchronous GPE handler.)
757 * If there is no handler or method to run, just disable the
758 * GPE and leave it disabled permanently to prevent further such
759 * pointless events from firing.
761 Status
= AcpiHwLowSetGpe (GpeEventInfo
, ACPI_GPE_DISABLE
);
762 if (ACPI_FAILURE (Status
))
764 ACPI_EXCEPTION ((AE_INFO
, Status
,
765 "Unable to disable GPE %02X", GpeNumber
));
766 return_UINT32 (ACPI_INTERRUPT_NOT_HANDLED
);
770 * If edge-triggered, clear the GPE status bit now. Note that
771 * level-triggered events are cleared after the GPE is serviced.
773 if ((GpeEventInfo
->Flags
& ACPI_GPE_XRUPT_TYPE_MASK
) ==
774 ACPI_GPE_EDGE_TRIGGERED
)
776 Status
= AcpiHwClearGpe (GpeEventInfo
);
777 if (ACPI_FAILURE (Status
))
779 ACPI_EXCEPTION ((AE_INFO
, Status
,
780 "Unable to clear GPE %02X", GpeNumber
));
781 (void) AcpiHwLowSetGpe (
782 GpeEventInfo
, ACPI_GPE_CONDITIONAL_ENABLE
);
783 return_UINT32 (ACPI_INTERRUPT_NOT_HANDLED
);
788 * Dispatch the GPE to either an installed handler or the control
789 * method associated with this GPE (_Lxx or _Exx). If a handler
790 * exists, we invoke it and do not attempt to run the method.
791 * If there is neither a handler nor a method, leave the GPE
794 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo
->Flags
))
796 case ACPI_GPE_DISPATCH_HANDLER
:
798 /* Invoke the installed handler (at interrupt level) */
800 ReturnValue
= GpeEventInfo
->Dispatch
.Handler
->Address (
801 GpeDevice
, GpeNumber
,
802 GpeEventInfo
->Dispatch
.Handler
->Context
);
804 /* If requested, clear (if level-triggered) and reenable the GPE */
806 if (ReturnValue
& ACPI_REENABLE_GPE
)
808 (void) AcpiEvFinishGpe (GpeEventInfo
);
812 case ACPI_GPE_DISPATCH_METHOD
:
813 case ACPI_GPE_DISPATCH_NOTIFY
:
815 * Execute the method associated with the GPE
816 * NOTE: Level-triggered GPEs are cleared after the method completes.
818 Status
= AcpiOsExecute (OSL_GPE_HANDLER
,
819 AcpiEvAsynchExecuteGpeMethod
, GpeEventInfo
);
820 if (ACPI_FAILURE (Status
))
822 ACPI_EXCEPTION ((AE_INFO
, Status
,
823 "Unable to queue handler for GPE %02X - event disabled",
830 * No handler or method to run!
831 * 03/2010: This case should no longer be possible. We will not allow
832 * a GPE to be enabled if it has no handler or method.
834 ACPI_ERROR ((AE_INFO
,
835 "No handler or method for GPE %02X, disabling event",
840 return_UINT32 (ACPI_INTERRUPT_HANDLED
);
843 #endif /* !ACPI_REDUCED_HARDWARE */