commit | 22463cab3f96baf6b568200a35c7648438eea7ff | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Thu Jul 24 15:34:54 2014 +0200 |
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Fri Jan 16 18:03:04 2015 +0200 |
tree | dffa7b4a250428c3964aa1f4fd9d2b4227e52aac | |
parent | b8f80bffd51f4ef029051d6898d9c2e3e5637dc3 [diff] |
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 <laurent.pinchart+renesas@ideasonboard.com>