Re: [RFC PATCH] kernel vfio: enabled and supported on power

Benjamin Herrenschmidt
2012-05-12T22:29:43Z

On Sat, 2012-05-12 at 17:31 +1000, Alexey Kardashevskiy wrote:
> And drivers/vfio/vfio_iommu_x86.c works perfect for POWER except a DMA
> window setup
> which I dropped for now and simply use quite popular configuration on
> power (1Gb DMA window starting
> from 0x0).
>
> As for me, it is too complicated. We do not need either
> - platform specific IOMMU chardev or
> - IOMMU API at all
>
> What do I miss?

I think we want to get rid of the "generic" iommu API and make it x86
specific at this stage. A lot of what the guest is going to do with the
iommu is really platform specific at this stage, especially when we
start adding the EEH functionality, which is PE-based, or when we want
to implement the guest calls for creating dynamic windows.

Cheers,
Ben.