From: Joerg Roedel Date: Tue, 26 Jul 2016 14:02:37 +0000 (+0200) Subject: Merge branches 'x86/amd', 'x86/vt-d', 'arm/exynos', 'arm/mediatek', 'arm/msm', 'arm... X-Git-Tag: v4.14-rc1~2755^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f360d3241f5557f241d55b959e6e65070e77992e;p=platform%2Fkernel%2Flinux-rpi.git Merge branches 'x86/amd', 'x86/vt-d', 'arm/exynos', 'arm/mediatek', 'arm/msm', 'arm/rockchip', 'arm/smmu' and 'core' into next --- f360d3241f5557f241d55b959e6e65070e77992e diff --cc drivers/iommu/intel-iommu.c index 323dac9,a644d0c,0a97a6d,a644d0c,a644d0c,1070094,1070094,323dac9,cfe410e..9d2938e --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@@@@@@@@@ -4607,8 -4600,8 -4600,8 -4600,8 -4600,8 -4607,8 -4607,8 -4607,8 -4607,8 +4607,8 @@@@@@@@@@ static void free_all_cpu_cached_iovas(u if (!iommu) continue; ------ for (did = 0; did < 0xffff; did++) { ------ domain = get_iommu_domain(iommu, did); ++++++ for (did = 0; did < cap_ndoms(iommu->cap); did++) { - domain = get_iommu_domain(iommu, did); ++++++ + domain = get_iommu_domain(iommu, (u16)did); if (!domain) continue;