From: Laurent Pinchart Date: Thu, 24 Jul 2014 13:34:54 +0000 (+0200) Subject: iommu/ipmmu-vmsa: Flush P[UM]D entry before freeing the child page table X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~107^2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22463cab3f96baf6b568200a35c7648438eea7ff;p=pandora-kernel.git iommu/ipmmu-vmsa: Flush P[UM]D entry before freeing the child page table When clearing PUD or PMD entries the child page table (if any) is freed and the PUD or PMD entry is then cleared. This result in a small race condition window during which a free page table could be accessed by the IPMMU. Fix it by clearing and flushing the PUD or PMD entry before freeing the child page table. Signed-off-by: Laurent Pinchart --- Reading git-diff-tree failed