From: Laurent Pinchart Date: Thu, 15 May 2014 10:40:45 +0000 (+0200) Subject: iommu/ipmmu-vmsa: Define driver-specific page directory sizes X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~8^2^6~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc28191b165bb07f2817219da1b8c20246d022f6;p=pandora-kernel.git iommu/ipmmu-vmsa: Define driver-specific page directory sizes The PTRS_PER_(PUD|PGD|PMD|PTE) macros evaluate to different values depending on whether LPAE is enabled. The IPMMU driver uses a long descriptor format regardless of LPAE, making those macros mismatch the IPMMU configuration on non-LPAE systems. Replace the macros by driver-specific versions that always evaluate to the right value. Signed-off-by: Laurent Pinchart Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed