qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 05/28] PPC: Set MPIC IDE for IPI to 0


From: Elie Richa
Subject: Re: [Qemu-devel] [PATCH 05/28] PPC: Set MPIC IDE for IPI to 0
Date: Mon, 25 Jul 2011 10:46:20 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11



On 07/23/2011 12:49 PM, Alexander Graf wrote:
@@ -1304,6 +1304,10 @@ static void mpic_reset (void *opaque)
          mpp->src[i].ipvp = 0x80800000;
          mpp->src[i].ide  = 0x00000001;
      }
+    /* Set IDE for IPIs to 0 so we don't get spurious interrupts */
+    for (i = mpp->irq_ipi0; i<  MAX_IPI; i++) {

I suppose you meant i < mpp->irq_ipi0 + MAX_IPI in that loop condition right? ;)

+        mpp->src[i].ide = 0;
+    }
      /* Initialise IRQ destinations */
      for (i = 0; i<  MAX_CPU; i++) {
          mpp->dst[i].pctp      = 0x0000000F;



reply via email to

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