Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v2)

2013-04-04 Thread Yoder Stuart-B08248
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, April 04, 2013 5:52 PM > To: Yoder Stuart-B08248 > Cc: Alex Williamson; Wood Scott-B07421; ag...@suse.de; Bhushan Bharat-R65777; > Sethi Varun-B16395; > k...@vger.kernel.org; qemu-devel@nongnu.org; io...@lists.linux-foundat

Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v2)

2013-04-04 Thread Scott Wood
On 04/04/2013 04:38:44 PM, Yoder Stuart-B08248 wrote: > > /* > > * VFIO_PAMU_MAP_MSI_BANK > > * > > * Maps the MSI bank at the specified index and iova. User space must > > * call this ioctl once for each MSI bank (count of banks is returned by > > * VFIO_IOMMU_GET_MSI_BANK_COUNT). >

Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v2)

2013-04-04 Thread Yoder Stuart-B08248
> > /* > > * VFIO_PAMU_MAP_MSI_BANK > > * > > * Maps the MSI bank at the specified index and iova. User space must > > * call this ioctl once for each MSI bank (count of banks is returned by > > * VFIO_IOMMU_GET_MSI_BANK_COUNT). > > * Caller provides struct vfio_pamu_msi_bank_map with all f

Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v2)

2013-04-04 Thread Alex Williamson
On Thu, 2013-04-04 at 17:32 +, Yoder Stuart-B08248 wrote: > Based on the email thread over the last couple of days, I have > below an more concrete proposal (v2) for new ioctls supporting vfio-pci > on SoCs with the Freescale PAMU. > > Example usage is as described by Scott: > > count = VFIO_

[Qemu-devel] RFC: vfio API changes needed for powerpc (v2)

2013-04-04 Thread Yoder Stuart-B08248
Based on the email thread over the last couple of days, I have below an more concrete proposal (v2) for new ioctls supporting vfio-pci on SoCs with the Freescale PAMU. Example usage is as described by Scott: count = VFIO_IOMMU_GET_MSI_BANK_COUNT VFIO_IOMMU_SET_ATTR(ATTR_GEOMETRY) VFIO_IOMMU_SET_A