Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-30 Thread Konrad Rzeszutek Wilk
...@lists.linux-foundation.org] On Behalf Of Don Dutile Sent: Thursday, April 25, 2013 1:11 AM To: Alex Williamson Cc: Yoder Stuart-B08248; iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On 04/23/2013 03:47 PM, Alex Williamson wrote: On Tue

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-30 Thread Alex Williamson
: iommu-boun...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Don Dutile Sent: Thursday, April 25, 2013 1:11 AM To: Alex Williamson Cc: Yoder Stuart-B08248; iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-30 Thread Don Dutile
...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Don Dutile Sent: Thursday, April 25, 2013 1:11 AM To: Alex Williamson Cc: Yoder Stuart-B08248; iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On 04/23/2013 03:47 PM

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-30 Thread Don Dutile
...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Don Dutile Sent: Thursday, April 25, 2013 1:11 AM To: Alex Williamson Cc: Yoder Stuart-B08248; iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On 04/23/2013 03:47 PM

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-30 Thread Konrad Rzeszutek Wilk
Does vfio work with swiotlb and if not, can/should swiotlb be extended? Or does the time and space overhead make it a moot point? It does not work with SWIOTLB as it uses the DMA API, not the IOMMU API. I think you got it reversed. vfio uses iommu api, not dma api. Right. That is what I

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-30 Thread Alex Williamson
On Tue, 2013-04-30 at 16:48 -0400, Don Dutile wrote: On 04/30/2013 03:11 PM, Konrad Rzeszutek Wilk wrote: Does vfio work with swiotlb and if not, can/should swiotlb be extended? Or does the time and space overhead make it a moot point? It does not work with SWIOTLB as it uses the DMA API,

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-26 Thread Andrew Cooks
25, 2013 1:11 AM To: Alex Williamson Cc: Yoder Stuart-B08248; iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On 04/23/2013 03:47 PM, Alex Williamson wrote: On Tue, 2013-04-23 at 19:16 +, Yoder Stuart-B08248 wrote: -Original

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-25 Thread Don Dutile
@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On 04/23/2013 03:47 PM, Alex Williamson wrote: On Tue, 2013-04-23 at 19:16 +, Yoder Stuart-B08248 wrote: -Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Tuesday

RE: RFC: vfio / iommu driver for hardware with no iommu

2013-04-24 Thread Sethi Varun-B16395
-Original Message- From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel Sent: Wednesday, April 24, 2013 4:27 PM To: Yoder Stuart-B08248 Cc: iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver

RE: RFC: vfio / iommu driver for hardware with no iommu

2013-04-24 Thread Yoder Stuart-B08248
-Original Message- From: Bhushan Bharat-R65777 Sent: Wednesday, April 24, 2013 6:04 AM To: Joerg Roedel; Yoder Stuart-B08248 Cc: iommu@lists.linux-foundation.org Subject: RE: RFC: vfio / iommu driver for hardware with no iommu -Original Message- From: iommu-boun

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-24 Thread Don Dutile
-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On Tue, 2013-04-23 at 16:13 +, Yoder Stuart-B08248 wrote: Joerg/Alex, We have embedded systems where we use QEMU/KVM and have the requirement to do device assignment, but have no iommu. So we would like to get

RE: RFC: vfio / iommu driver for hardware with no iommu

2013-04-23 Thread Sethi Varun-B16395
-Original Message- From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Alex Williamson Sent: Tuesday, April 23, 2013 10:26 PM To: Yoder Stuart-B08248 Cc: iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu

RE: RFC: vfio / iommu driver for hardware with no iommu

2013-04-23 Thread Yoder Stuart-B08248
-Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Tuesday, April 23, 2013 11:56 AM To: Yoder Stuart-B08248 Cc: Joerg Roedel; iommu@lists.linux-foundation.org Subject: Re: RFC: vfio / iommu driver for hardware with no iommu On Tue, 2013-04-23

Re: RFC: vfio / iommu driver for hardware with no iommu

2013-04-23 Thread Alex Williamson
/ iommu driver for hardware with no iommu On Tue, 2013-04-23 at 16:13 +, Yoder Stuart-B08248 wrote: Joerg/Alex, We have embedded systems where we use QEMU/KVM and have the requirement to do device assignment, but have no iommu. So we would like to get vfio-pci working