]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Drivers/PL390Gic/PL390GicDxe.c
ArmPkg/Drivers/PL390Gic: Removed acknowledge of special interrupts (spurious interrupt)
[mirror_edk2.git] / ArmPkg / Drivers / PL390Gic / PL390GicDxe.c
index 3292988502eb0c0715efec0bd5a3051d52cafd4f..f382431e90cf054afd6bbcd84f26c44fcaacfbfd 100644 (file)
@@ -259,9 +259,10 @@ IrqInterruptHandler (
   HARDWARE_INTERRUPT_HANDLER  InterruptHandler;
 
   GicInterrupt = MmioRead32 (PcdGet32(PcdGicInterruptInterfaceBase) + ARM_GIC_ICCIAR);
-  //TODO: Comment me
+
+  // Special Interrupts (ID1020-ID1023) have an Interrupt ID greater than the number of interrupt (ie: Spurious interrupt).
   if (GicInterrupt >= PcdGet32(PcdGicNumInterrupts)) {
-    MmioWrite32 (PcdGet32(PcdGicInterruptInterfaceBase) + ARM_GIC_ICCEIOR, GicInterrupt);
+    // The special interrupt do not need to be acknowledge
     return;
   }