Add linux-samsung-soc@xxxxxxxxxxxxxxx mailing list. On 7 January 2015 at 18:31, Hongbo Zhang <hongbo.zhang@xxxxxxxxxx> wrote: > Hi Cho KyongHo, Joerg et al, > I found the latest Exynos IOMMU driver doesn't work, the line 481: > BUG_ON(!has_sysmmu(dev)); > in function __exynos_sysmmu_enable() in file exynos-iommu.c triggers > kernel panic. > > Then I found the dev->archdata.iommu isn't initialized at all, it > should be the root cause. > > Am I right? any comment, solution? > > Another problem is this driver is added support of device tree, but > there is no device tree nodes in the dts file, so I had to search from > internet and added those nodes manually. > > I've found these links of v12 and v13 patches > https://lkml.org/lkml/2014/4/27/171 > https://lkml.org/lkml/2014/5/12/34 > patch v13 was merged into mainline kernel, but as a part of v12, it > isn't complete and doesn't work alone, eg dts nodes are missing. > (I didn't research much dev->archdata.iommu initialization error is > introduced by which patch, but it seems in very old codes there is no > such problem) > > Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html