[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] [VTD][PATCH] a time out mechanism for the sharedinterrupt issue for vtd
Xiaohui and Kevin will be out for about a week for
national holiday. I have looked into the issues you
raised:
1) Looks like irq_lock changes in vioapic_update_EOI()
and hvm_dpci_eoi() are not needed. You can go ahead and remove
them.
2) The change for hvm_pci_intx_assert() seems to be
needed by vmx/vmx_dirq_assist(). It is passing the return value of
viopic_irq_positive_edge() to convey info such as whether the interrupt is
masked or not. In vmx_dpirq_assist(), the return value is used to
determine whether to deassert the interrupt or wait for the interrupt for some
more time. If the return value is 0, it mean the interrupt is still masked
by the guest - guest is not ready to accept interrupt yet - so it deasserts the
interrupt.
My test shows it handles shared interrupt cases
including ioapic_ack=new (by temporarily commenting out ioapic_ack_new = 0)
pretty well thus fixes a major deficiency in PCI passthru
functionality.
Allen
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |