Re: [PATCH] documentation: iommu: add description of ARM System MMU binding

2013-04-24 Thread Will Deacon
On Tue, Apr 23, 2013 at 11:54:53PM +0100, Olav Haugan wrote: Hi Will, Hello again, On 4/18/2013 12:01 PM, Will Deacon wrote: No. The device-tree describes the *hardware*, as per usual. The StreamIDs are fixed properties of the SoC and we can't change them from Linux, so we describe all

Re: [PATCH 1/2 V2] iommu/amd: Add workaround for ERBT1312

2013-04-24 Thread Joerg Roedel
On Tue, Apr 23, 2013 at 09:22:45AM -0400, Don Dutile wrote: Given other threads on this mail list (and I've seen crashes with same problem) where this type of logging during a flood of IOMMU errors will lock up the machine, is there something that can be done to break the do-while loop

Re: [PATCH 2/3 v14] iommu/fsl: Add additional iommu attributes required by the PAMU driver.

2013-04-24 Thread Joerg Roedel
On Tue, Apr 23, 2013 at 02:10:25PM +, Sethi Varun-B16395 wrote: I think it's fine to have the header under linux, actually I also the intel-iommu header under linux. Yes, the difference is that VT-d runs on x86 and on ia64. So there is no single arch where the header could be placed. The

[PATCH 1/2 v15] iommu/fsl: Add additional iommu attributes required by the PAMU driver.

2013-04-24 Thread Varun Sethi
Added the following domain attributes for the FSL PAMU driver: 1. Added new iommu stash attribute, which allows setting of the LIODN specific stash id parameter through IOMMU API. 2. Added an attribute for enabling/disabling DMA to a particular memory window. 3. Added domain attribute to

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: [PATCH 1/2 V2] iommu/amd: Add workaround for ERBT1312

2013-04-24 Thread Don Dutile
On 04/24/2013 06:46 AM, Joerg Roedel wrote: On Tue, Apr 23, 2013 at 09:22:45AM -0400, Don Dutile wrote: Given other threads on this mail list (and I've seen crashes with same problem) where this type of logging during a flood of IOMMU errors will lock up the machine, is there something that

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:

Re: [PATCH] iommu: add a function to find an iommu group by id

2013-04-24 Thread Joerg Roedel
On Mon, Mar 25, 2013 at 10:23:49AM +1100, Alexey Kardashevskiy wrote: As IOMMU groups are exposed to the user space by their numbers, the user space can use them in various kernel APIs so the kernel might need an API to find a group by its ID. As an example, QEMU VFIO on PPC64 platform needs

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

2013-04-24 Thread Don Dutile
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, April 23, 2013 11:56 AM To: Yoder Stuart-B08248 Cc: Joerg Roedel;

Re: [PATCH] Reset PCIe devices to stop ongoing DMA

2013-04-24 Thread Don Dutile
On 04/24/2013 12:58 AM, Takao Indoh wrote: This patch resets PCIe devices on boot to stop ongoing DMA. When pci=pcie_reset_devices is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Problem: This patch solves the problem that