RE: PCI PT: irq issue

2008-06-25 Thread Han, Weidong
Amit Shah wrote: On Monday 23 June 2008 20:46:18 Han, Weidong wrote: Amit Shah wrote: On Saturday 21 June 2008 09:41:18 Han, Weidong wrote: Amit Shah wrote: A couple of notes for the VT-d patch: - The pci_dev struct is now available in the pci_pt kernel structure, so just use that

Re: PCI PT: irq issue

2008-06-25 Thread Amit Shah
On Wednesday 25 June 2008 15:03:11 Han, Weidong wrote: Amit Shah wrote: On Monday 23 June 2008 20:46:18 Han, Weidong wrote: Amit Shah wrote: On Saturday 21 June 2008 09:41:18 Han, Weidong wrote: Amit Shah wrote: A couple of notes for the VT-d patch: - The pci_dev struct is now

Re: PCI PT: irq issue

2008-06-24 Thread Amit Shah
On Monday 23 June 2008 20:46:18 Han, Weidong wrote: Amit Shah wrote: On Saturday 21 June 2008 09:41:18 Han, Weidong wrote: Amit Shah wrote: A couple of notes for the VT-d patch: - The pci_dev struct is now available in the pci_pt kernel structure, so just use that information each time

RE: PCI PT: irq issue

2008-06-23 Thread Han, Weidong
Amit Shah wrote: On Thursday 19 June 2008 10:17:29 Amit Shah wrote: * On Wednesday 18 June 2008 18:26:16 Ben-Ami Yassour wrote: Amit, With the current implementation we have an issue if the driver on the host was never loaded. To be able to run kvm with passthrough we have to load and

Re: PCI PT: irq issue

2008-06-23 Thread Amit Shah
On Monday 23 June 2008 11:34:43 Han, Weidong wrote: Amit Shah wrote: Amit, it doesn't work with VT-d even passing correct IRQ. The output is as follows: irq 16: nobody cared (try booting with the irqpoll option) Pid: 0, comm: swapper Not tainted 2.6.26-rc3-00988-g6d9586a-dirty #5 Call

Re: PCI PT: irq issue

2008-06-23 Thread Amit Shah
On Saturday 21 June 2008 09:41:18 Han, Weidong wrote: Amit Shah wrote: A couple of notes for the VT-d patch: - The pci_dev struct is now available in the pci_pt kernel structure, so just use that information each time you want to add a device instead of searching for it each time. -

RE: PCI PT: irq issue

2008-06-23 Thread Han, Weidong
Amit Shah wrote: On Saturday 21 June 2008 09:41:18 Han, Weidong wrote: Amit Shah wrote: A couple of notes for the VT-d patch: - The pci_dev struct is now available in the pci_pt kernel structure, so just use that information each time you want to add a device instead of searching for it

RE: PCI PT: irq issue

2008-06-20 Thread Han, Weidong
Amit Shah wrote: On Thursday 19 June 2008 10:17:29 Amit Shah wrote: * On Wednesday 18 June 2008 18:26:16 Ben-Ami Yassour wrote: Amit, With the current implementation we have an issue if the driver on the host was never loaded. To be able to run kvm with passthrough we have to load and

PCI PT: irq issue

2008-06-18 Thread Ben-Ami Yassour
Amit, With the current implementation we have an issue if the driver on the host was never loaded. To be able to run kvm with passthrough we have to load and then unload the driver on the host at least once. After that it works ok. Note that after doing the load and unload the irq as reported