Re: [PATCH] iommu/mediatek: Use correct fwspec in mtk_iommu_add_device()

2019-01-23 Thread Frank Wunderlich
Tested-by: Frank Wunderlich

[PATCH] iommu/mediatek: Use correct fwspec in mtk_iommu_add_device()

2019-01-22 Thread Joerg Roedel
From: Joerg Roedel The mtk_iommu_add_device() function keeps the fwspec in an on-stack pointer and calls mtk_iommu_create_mapping(), which might change its source, dev->iommu_fwspec. This causes the on-stack pointer to be obsoleted and the device initialization to fail. Update the on-stack