Re: [Qemu-devel] Template for developing a Qemu device with?PCIe?and MSI-X

2010-09-09 Thread Isaku Yamahata
ilto:yamah...@valinux.co.jp] > To: Adnan Khaleel [mailto:ad...@khaleel.us] > Cc: Cam Macdonell [mailto:c...@cs.ualberta.ca], qemu-devel@nongnu.org > Sent: Thu, 02 Sep 2010 21:20:12 -0500 > Subject: Re: [Qemu-devel] Template for developing a Qemu device with PCIe? >

Re: [Qemu-devel] Template for developing a Qemu device with PCIe?and MSI-X

2010-09-02 Thread Isaku Yamahata
On Thu, Sep 02, 2010 at 12:42:42PM -0500, Adnan Khaleel wrote: > I've tried everything you mentioned and I still get the same problem. The only > thing that seems to avoid that issue is if I reduce the aperture size from > 0x20ull to 0x200ull. I suppose that Cam is seeing the same issu

Re: [Qemu-devel] Template for developing a Qemu device with PCIe and MSI-X

2010-09-01 Thread Isaku Yamahata
rt); > if (rc < 0) { > return rc; > } > > pcie_cap_flr_init(&d->dev, &pcie_msix_flr); > pcie_cap_deverr_init(&d->dev); > pcie_cap_ari_init(&d->dev); > rc = pcie_aer_init(&d->dev, PCIE_MSIX_AER_OFFSET); >

Re: [Qemu-devel] Template for developing a Qemu device with PCIe and MSI-X

2010-09-01 Thread Adnan Khaleel
nit(&d->dev, &pcie_msix_flr); pcie_cap_deverr_init(&d->dev); pcie_cap_ari_init(&d->dev); rc = pcie_aer_init(&d->dev, PCIE_MSIX_AER_OFFSET); if (rc < 0) { return rc; } PRINT_DEBUG("%s: Init done\n", __FUNCTION__); return

Re: [Qemu-devel] Template for developing a Qemu device with PCIe and MSI-X

2010-08-27 Thread Cam Macdonell
gt; > From: Isaku Yamahata [mailto:yamah...@valinux.co.jp] > To: Adnan Khaleel [mailto:ad...@khaleel.us] > Cc: qemu-devel@nongnu.org > Sent: Wed, 18 Aug 2010 22:19:04 -0500 > Subject: Re: [Qemu-devel] Template for developing a Qemu device with PCIe >

Re: [Qemu-devel] Template for developing a Qemu device with?PCIe?and MSI-X

2010-08-27 Thread Isaku Yamahata
On Thu, Aug 26, 2010 at 01:17:38PM -0500, Adnan Khaleel wrote: > You also want to catch up pci api clean up. > pci_{set, get}_{byte, word, long, quad}(), > pci_config_set_vendor() ... > > Are you referring to the setting up of the config registers where we pass on > the vendor id and d

Re: [Qemu-devel] Template for developing a Qemu device with PCIe?and MSI-X

2010-08-26 Thread Isaku Yamahata
saku Yamahata [mailto:yamah...@valinux.co.jp] > To: Adnan Khaleel [mailto:ad...@khaleel.us] > Cc: qemu-devel@nongnu.org > Sent: Wed, 18 Aug 2010 22:19:04 -0500 > Subject: Re: [Qemu-devel] Template for developing a Qemu device with PCIe > and MSI-X > >

Re: [Qemu-devel] Template for developing a Qemu device with PCIe?and MSI-X

2010-08-19 Thread Isaku Yamahata
━ > From: Isaku Yamahata [mailto:yamah...@valinux.co.jp] > To: Adnan Khaleel [mailto:ad...@khaleel.us] > Cc: qemu-devel@nongnu.org > Sent: Wed, 18 Aug 2010 22:19:04 -0500 > Subject: Re: [Qemu-devel] Template for developing a Qemu device with PC

Re: [Qemu-devel] Template for developing a Qemu device with PCIe?and MSI-X

2010-08-19 Thread Isaku Yamahata
On Thu, Aug 19, 2010 at 12:01:40PM -0500, Adnan Khaleel wrote: > Hi Isaku, thank you very much for your very detailed response. I have a few > questions, see below. > > Thanks again, > > Adnan > > > Qemu doesn't support pcie at the moment. > Only partial patches have been merged, still

Re: [Qemu-devel] Template for developing a Qemu device with PCIe and MSI-X

2010-08-18 Thread Isaku Yamahata
On Wed, Aug 18, 2010 at 02:10:10PM -0500, Adnan Khaleel wrote: > Hello Qemu developers, > > I'm interested in developing a device model that plugs into Qemu that is based > on a PCIe interface and uses MSI-X. My goal is to ultimately attach a GPU > simulator to this PCIe interface and use the entir

[Qemu-devel] Template for developing a Qemu device with PCIe and MSI-X

2010-08-18 Thread Adnan Khaleel
Hello Qemu developers, I'm interested in developing a device model that plugs into Qemu that is based on a PCIe interface and uses MSI-X. My goal is to ultimately attach a GPU simulator to this PCIe interface and use the entire platfom (Qemu + GPU simulator) for studying cpu, gpu interactions.