[PATCH] Avoid calling get_irq_server() with a real, not virtual irq.

Michal Ostrowski mostrows at watson.ibm.com
Thu Dec 14 23:46:16 EST 2006


If you set the priority level to 0xff, you've disabled the interrupt:
the XICS model prohibits it from being delivered.  


On the other hand, calling get_irq_server() is obviously wrong.
xics_remap_irq() calls xics_mask_real_irq() in the case that it was not
able to convert real->virt.  That being the case, how can we expect
xics_mask_real_irq to be able to do so in order to call
get_irq_server()?


-- 
Michal Ostrowski <mostrows at watson.ibm.com>


On Thu, 2006-12-14 at 16:40 +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2006-12-13 at 22:35 -0600, Michal Ostrowski wrote:
> 
> > We can use default_server when masking an interrupt vector.
> 
> Is that guaranteed by PAPR ?
> 
> Ben.
> 
> 




More information about the Linuxppc-dev mailing list