From: Stepan Moskovchenko Date: Sat, 13 Nov 2010 03:29:47 +0000 (-0800) Subject: msm: iommu: Increase maximum MID size to 5 bits X-Git-Tag: v2.6.38-rc1~473^2^2~22 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=23513c3b39207c569da2c8afdced62ec43b4a272;p=linux-2.6-block.git msm: iommu: Increase maximum MID size to 5 bits On msm8x60, the MID field on the AXI connection to the IOMMU can be up to five bits wide. Thus, allow the IOMMU context platform data to map up to 32 MIDs. Signed-off-by: Stepan Moskovchenko Signed-off-by: Daniel Walker --- diff --git a/arch/arm/mach-msm/include/mach/iommu.h b/arch/arm/mach-msm/include/mach/iommu.h index 218ef5732a24..17fc79fc8bc2 100644 --- a/arch/arm/mach-msm/include/mach/iommu.h +++ b/arch/arm/mach-msm/include/mach/iommu.h @@ -26,7 +26,7 @@ * be present. These mappings are typically determined at design time and are * not expected to change at run time. */ -#define MAX_NUM_MIDS 16 +#define MAX_NUM_MIDS 32 /** * struct msm_iommu_dev - a single IOMMU hardware instance