Re: [PATCH] KVM: Use IRQF_ONESHOT for assigned device MSI interrupts

From: Avi Kivity
Date: Sun Jun 03 2012 - 04:42:32 EST


On 06/01/2012 09:26 PM, Jan Kiszka wrote:
>
>> you suggesting we need a request_edge_threaded_only_irq() API? Thanks,
>
> I'm just wondering if that restriction for threaded IRQs is really
> necessary for all use cases we have. Threaded MSIs do not appear to me
> like have to be handled that conservatively, but maybe I'm missing some
> detail.
>

btw, I'm hoping we can unthread assigned MSIs. If the delivery is
unicast, we can precalculate everything and all the handler has to do is
set the IRR, KVM_REQ_EVENT, and kick the vcpu. All of these can be done
from interrupt context with just RCU locking.

--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/