iommu/ipmmu-vmsa: Set the PTE contiguous hint bit when possible
commit4ee3cc9c4a62659bc5f5ed59ea49a0b98b5ac670
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 15 May 2014 10:40:46 +0000 (15 12:40 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 09:22:24 +0000 (26 11:22 +0200)
treef439de08f59f9f9b70de278c301217ae8b71c115
parentbc28191b165bb07f2817219da1b8c20246d022f6
iommu/ipmmu-vmsa: Set the PTE contiguous hint bit when possible

The contiguous hint bit signals to the IOMMU that a range of 16 PTEs
refer to physically contiguous memory. It improves performances by
dividing the number of TLB lookups by 16, effectively implementing 64kB
page sizes.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c