 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] [IOEMU] Fix wrong INTx for pass-through device
 Tom Rotenberg wrote: Well, i don't think that your patch will work for all of the cases, as some platforms boot with non multi-function devices using interrupt pin other than INTA... i myself encountered 2 such Lenovo platforms. In general single function device should be linked to INTA, although most of OS can handle otherwise:) Back to the issue, even this abnormal machine can work with my patch, as our policy is handling _virtual_ INTx and providing consistent values to guest and xen, and physical INTx doesn't matter here. Could you pls. test my patch without yours to see if it can work? Thanks, So, i think we will need to use both patches together. What do u say? On Tue, Dec 29, 2009 at 4:01 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:On Tue, Dec 29, 2009 at 08:22:35AM +0800, Zhai, Edwin wrote:Your patch can also fix this issue, as using physical pin info for both guest and xen. Only potential issue is that guest will see a single function device is not linked to INTA, say assign 00:1a.7 to guest as 00:4.0. It should work, but seems doesn't comply with PCI spec.I had a vague memory that was the case, I have been meaning to check the spec.We have 2 options here: 1. always use INTA 2. Use INTA for virtual function 0, and physical value for others. Options 2 is more friendly to multiple-function device assignment, and is current used.2 seems to be a much better solution to me. Tom, could you see if Edwin's patch, without your patch, resolves the problem that you were seeing?Tom Rotenberg wrote: -- best rgds, edwin _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |