Re: [PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-24 Thread Alex Williamson
On Thu, 20 Jul 2017 10:02:33 +0530 Anup Patel wrote: > Not allowing No-IOMMU mode for devices already having > iommu_ops on their bus is very conservative. > > We now have IOMMU (such as ARM SMMU) which can bypass > transcations when IOMMU is not configured for a given

Re: [PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-24 Thread Alex Williamson
On Thu, 20 Jul 2017 10:02:33 +0530 Anup Patel wrote: > Not allowing No-IOMMU mode for devices already having > iommu_ops on their bus is very conservative. > > We now have IOMMU (such as ARM SMMU) which can bypass > transcations when IOMMU is not configured for a given > device. In addition, it

Re: [PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-20 Thread Will Deacon
On Thu, Jul 20, 2017 at 10:02:33AM +0530, Anup Patel wrote: > Not allowing No-IOMMU mode for devices already having > iommu_ops on their bus is very conservative. > > We now have IOMMU (such as ARM SMMU) which can bypass > transcations when IOMMU is not configured for a given > device. In

Re: [PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-20 Thread Will Deacon
On Thu, Jul 20, 2017 at 10:02:33AM +0530, Anup Patel wrote: > Not allowing No-IOMMU mode for devices already having > iommu_ops on their bus is very conservative. > > We now have IOMMU (such as ARM SMMU) which can bypass > transcations when IOMMU is not configured for a given > device. In

[PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-19 Thread Anup Patel
Not allowing No-IOMMU mode for devices already having iommu_ops on their bus is very conservative. We now have IOMMU (such as ARM SMMU) which can bypass transcations when IOMMU is not configured for a given device. In addition, it is not necessary to have all devices on bus to be upstream to an

[PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-19 Thread Anup Patel
Not allowing No-IOMMU mode for devices already having iommu_ops on their bus is very conservative. We now have IOMMU (such as ARM SMMU) which can bypass transcations when IOMMU is not configured for a given device. In addition, it is not necessary to have all devices on bus to be upstream to an