Re: [Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to add DT device to SMMU

2017-07-05 Thread Wei Chen
t; To: Wei Chen > > > Cc: xen-devel@lists.xen.org; sstabell...@kernel.org; Steve Capper > > > ; Kaly Xin ; Julien Grall > > > ; nd > > > Subject: Re: [Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to > add > > > DT device to SMMU > &g

Re: [Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to add DT device to SMMU

2017-07-05 Thread Stefano Stabellini
t; > ; Kaly Xin ; Julien Grall > > ; nd > > Subject: Re: [Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to > > add > > DT device to SMMU > > > > On Fri, 30 Jun 2017, Wei Chen wrote: > > > In current code, we only have the iommu_add_device

Re: [Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to add DT device to SMMU

2017-07-03 Thread Wei Chen
PATCH 2/7] xen/arm: SMMU: Introduce a helper to add > DT device to SMMU > > On Fri, 30 Jun 2017, Wei Chen wrote: > > In current code, we only have the iommu_add_device to add PCI device > > to IOMMU. But for ARM SMMU, we don't have a separate helper to add > > platform

Re: [Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to add DT device to SMMU

2017-07-03 Thread Stefano Stabellini
On Fri, 30 Jun 2017, Wei Chen wrote: > In current code, we only have the iommu_add_device to add PCI device > to IOMMU. But for ARM SMMU, we don't have a separate helper to add > platform device with device tree to SMMU. This work was included in > the iommu_assign_dt_device. But sometimes, we just

[Xen-devel] [PATCH 2/7] xen/arm: SMMU: Introduce a helper to add DT device to SMMU

2017-06-29 Thread Wei Chen
In current code, we only have the iommu_add_device to add PCI device to IOMMU. But for ARM SMMU, we don't have a separate helper to add platform device with device tree to SMMU. This work was included in the iommu_assign_dt_device. But sometimes, we just want to add device to SMMU to do some prepar