> > No, prio = 0xff means "no pending interrupt available" (either there > really is none in the pending state, or interrupts are disabled generally, > or a specific interrupt which might otherwise be signalled to the CPU has > been disabled). > Ah, I see.
> > Priorities are set by the guest OS, which programs the GIC priority > registers with the priorities it wants to use for the interrupt. (0xff is > not actually a valid priority for an interrupt, which is why we can use it > as our "nothing is pending" value.) > I registered the handler in the driver using request_irq function hoping the OS will set the registers for me but it's not working. I don't know what's wrong and I'll check the qemu interrupt path and the driver.. Thank you. Chan Kim