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 <yu.liu@freescale.com> Acked-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6328 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									57be80f948
								
							
						
					
					
						commit
						2486516710
					
				| 
						 | 
				
			
			@ -279,7 +279,7 @@ static void IRQ_local_pipe (openpic_t *opp, int n_CPU, int n_IRQ)
 | 
			
		|||
    }
 | 
			
		||||
    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 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue