Re: [PATCH 1/2] iommu/omap: Check for valid archdata in attach_dev

2014-09-04 Thread Laurent Pinchart
Hi Suman, Thank you for the patch. On Wednesday 03 September 2014 18:58:31 Suman Anna wrote: Any device requiring to be attached to an iommu_domain must have valid archdata containing the necessary iommu information, which is SoC-specific. Add a check in the omap_iommu_attach_dev to make

Re: [PATCH 1/2] iommu/omap: Check for valid archdata in attach_dev

2014-09-04 Thread Suman Anna
Hi Laurent, On Wednesday 03 September 2014 18:58:31 Suman Anna wrote: Any device requiring to be attached to an iommu_domain must have valid archdata containing the necessary iommu information, which is SoC-specific. Add a check in the omap_iommu_attach_dev to make sure that the device has

[PATCH 1/2] iommu/omap: Check for valid archdata in attach_dev

2014-09-03 Thread Suman Anna
Any device requiring to be attached to an iommu_domain must have valid archdata containing the necessary iommu information, which is SoC-specific. Add a check in the omap_iommu_attach_dev to make sure that the device has non-NULL archdata before accessing different SoC-specific fields of the