[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel][PATCH]Change to new interrupt deliver mechanism



You (anthony.xu) said:
>>   BTW, in my experience, the vector doesn't set to VIOSAPIC at
>> HVMOP_set_param hypercall. Thus I'll implement to find the GSI at
>> interrupt injection phase.
> 
> In this case,
> 
> Can we call set_callback_irq with hardware irq inside Qemu rather than
> platform_pci, just after platform_pci is initiated in Qemu?
> 
> It seems resolve this issue.
>
> What's your opinion about this?

  Sorry, I don't know this issue for detail. I think that the guest
OS sets interrupt mask register of VIOSAPIC until setting own vector.
I assume that the guest OS might change the vector for such hardware
in active state.

> BTW I found we use viosapic_set_irq to pend the platform_pci interrupt.
> It may be no correct, because platform_pic interrupt is like "edge"
> triggered interrupt, but VIOSAPIC for this irq is programmed to a "level"
> triggered due to it is PCI device.
> I'll fix this.

  Thank you.

- Tsunehisa Doi

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.