Re: [Qemu-devel] [PATCH] vfio-powerpc: enabled and supported on power

2012-05-24 Thread Alexey Kardashevskiy
On 25/05/12 01:12, Alex Williamson wrote: > On Thu, 2012-05-24 at 13:10 +1000, Alexey Kardashevskiy wrote: >> The patch introduces support of VFIO on POWER. >> >> The patch consists of: >> >> 1. IOMMU driver for VFIO. >> It does not use IOMMU API at all, instead it calls POWER >> IOMMU API directly

Re: [Qemu-devel] [PATCH] vfio-powerpc: enabled and supported on power

2012-05-24 Thread Benjamin Herrenschmidt
On Thu, 2012-05-24 at 09:12 -0600, Alex Williamson wrote: > > --- /dev/null > > +++ b/arch/powerpc/kernel/iommu_vfio.c > > Should this be drivers/vfio/vfio_iommu_powerpc.c? Very minor bike shed painting... too long file names suck, in this case what's the point of the "vfio" prefix for files alr

Re: [Qemu-devel] [PATCH] vfio-powerpc: enabled and supported on power

2012-05-24 Thread Alex Williamson
On Thu, 2012-05-24 at 13:10 +1000, Alexey Kardashevskiy wrote: > The patch introduces support of VFIO on POWER. > > The patch consists of: > > 1. IOMMU driver for VFIO. > It does not use IOMMU API at all, instead it calls POWER > IOMMU API directly (ppc_md callbacks). > > 2. A piece of code (mod

[Qemu-devel] [PATCH] vfio-powerpc: enabled and supported on power

2012-05-23 Thread Alexey Kardashevskiy
The patch introduces support of VFIO on POWER. The patch consists of: 1. IOMMU driver for VFIO. It does not use IOMMU API at all, instead it calls POWER IOMMU API directly (ppc_md callbacks). 2. A piece of code (module_init) which creates IOMMU groups. TBD: what is a better place for it? The pa