qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6328] powerpc/kvm: fix a openpic bug (Liu Yu)


From: Anthony Liguori
Subject: [Qemu-devel] [6328] powerpc/kvm: fix a openpic bug (Liu Yu)
Date: Thu, 15 Jan 2009 21:19:54 +0000

Revision: 6328
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6328
Author:   aliguori
Date:     2009-01-15 21:19:54 +0000 (Thu, 15 Jan 2009)

Log Message:
-----------
powerpc/kvm: fix a openpic bug (Liu Yu)

An external interrupt should not interrupted in-servicing interrupt with equal 
priority.

Signed-off-by: Liu Yu <address@hidden>
Acked-by: Hollis Blanchard <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

Modified Paths:
--------------
    trunk/hw/openpic.c

Modified: trunk/hw/openpic.c
===================================================================
--- trunk/hw/openpic.c  2009-01-15 21:18:42 UTC (rev 6327)
+++ trunk/hw/openpic.c  2009-01-15 21:19:54 UTC (rev 6328)
@@ -279,7 +279,7 @@
     }
     IRQ_get_next(opp, &dst->raised);
     if (IRQ_get_next(opp, &dst->servicing) != -1 &&
-        priority < dst->servicing.priority) {
+        priority <= dst->servicing.priority) {
         DPRINTF("%s: IRQ %d is hidden by servicing IRQ %d on CPU %d\n",
                 __func__, n_IRQ, dst->servicing.next, n_CPU);
         /* Already servicing a higher priority IRQ */






reply via email to

[Prev in Thread] Current Thread [Next in Thread]