Re: [RESEND PATCH 0/4] iommu: add qcom_iommu for early "B" family devices

2017-07-14 Thread Archit Taneja
On 07/13/2017 05:37 PM, Rob Clark wrote: An iommu driver for Qualcomm "B" family devices which do implement the ARM SMMU spec, but not in a way that arm-smmu can support. (I initially added support to arm-smmu, but it was decided that approach was too intrusive and it would be cleaner to have

RE: [Qemu-devel] [RFC PATCH 7/8] VFIO: Add new IOCTL for IOMMU TLB invalidate propagation

2017-07-14 Thread Liu, Yi L
Hi Alex, Against to the opaque open, I'd like to propose the following definition based on the existing comments. Pls note that I've merged the pasid table binding and iommu tlb invalidation into a single IOCTL and make different flags to indicate the iommu operations. Per Kevin's comments, there

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Will Deacon
On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: > On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R wrote: > > Hi, > > > > On 7/13/2017 5:20 PM, Rob Clark wrote: > >> On Thu, Jul 13, 2017 at 1:35 AM, Sricharan R > >> wrote: > >>> Hi Vivek, > >>> > >>> On 7/13/2017 10:43 AM, Vivek Gautam wr

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: >> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R >> wrote: >> > Hi, >> > >> > On 7/13/2017 5:20 PM, Rob Clark wrote: >> >> On Thu, Jul 13, 2017 at 1:35 AM, Sricharan R >> >> wrote: >

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Will Deacon
On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote: > On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: > > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: > >> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R > >> wrote: > >> > Hi, > >> > > >> > On 7/13/2017 5:20 PM, Rob Clark w

Re: [Qemu-devel] [RFC PATCH 7/8] VFIO: Add new IOCTL for IOMMU TLB invalidate propagation

2017-07-14 Thread Alex Williamson
On Fri, 14 Jul 2017 08:58:02 + "Liu, Yi L" wrote: > Hi Alex, > > Against to the opaque open, I'd like to propose the following definition > based on the existing comments. Pls note that I've merged the pasid > table binding and iommu tlb invalidation into a single IOCTL and make > different

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 2:06 PM, Will Deacon wrote: > On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote: >> On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: >> > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: >> >> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R >> >> wrote:

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Will Deacon
On Fri, Jul 14, 2017 at 02:25:45PM -0400, Rob Clark wrote: > On Fri, Jul 14, 2017 at 2:06 PM, Will Deacon wrote: > > On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote: > >> On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: > >> > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote

Re: [RESEND PATCH 2/4] iommu: arm-smmu: split out register defines

2017-07-14 Thread Will Deacon
On Thu, Jul 13, 2017 at 08:07:45AM -0400, Rob Clark wrote: > I want to re-use some of these for qcom_iommu, which has (roughly) the > same context-bank registers. > > Signed-off-by: Rob Clark > --- > drivers/iommu/arm-smmu-regs.h | 227 > ++ > drivers/iom

Re: [PATCH v3 2/2] iommu/arm-smmu-v3:Enable ACPI based HiSilicon erratum 161010801

2017-07-14 Thread Will Deacon
On Wed, Jul 05, 2017 at 09:48:53AM +, Shameerali Kolothum Thodi wrote: > > > > -Original Message- > > From: Will Deacon [mailto:will.dea...@arm.com] > > Sent: Tuesday, July 04, 2017 6:38 PM > > To: Shameerali Kolothum Thodi > > Cc: lorenzo.pieral...@arm.com; marc.zyng...@arm.com; > >

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 3:01 PM, Will Deacon wrote: > On Fri, Jul 14, 2017 at 02:25:45PM -0400, Rob Clark wrote: >> On Fri, Jul 14, 2017 at 2:06 PM, Will Deacon wrote: >> > On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote: >> >> On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: >> >>

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Will Deacon
On Fri, Jul 14, 2017 at 03:34:42PM -0400, Rob Clark wrote: > On Fri, Jul 14, 2017 at 3:01 PM, Will Deacon wrote: > > On Fri, Jul 14, 2017 at 02:25:45PM -0400, Rob Clark wrote: > >> On Fri, Jul 14, 2017 at 2:06 PM, Will Deacon wrote: > >> > On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 3:36 PM, Will Deacon wrote: > On Fri, Jul 14, 2017 at 03:34:42PM -0400, Rob Clark wrote: >> On Fri, Jul 14, 2017 at 3:01 PM, Will Deacon wrote: >> > On Fri, Jul 14, 2017 at 02:25:45PM -0400, Rob Clark wrote: >> >> On Fri, Jul 14, 2017 at 2:06 PM, Will Deacon wrote: >> >>