From: Steve Capper Date: Wed, 2 Jul 2014 10:46:23 +0000 (+0100) Subject: arm64: mm: Make icache synchronisation logic huge page aware X-Git-Tag: omap-for-v3.16/fixes-rc4~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=923b8f5044da753e4985ab15c1374ced2cdf616c;p=pandora-kernel.git arm64: mm: Make icache synchronisation logic huge page aware The __sync_icache_dcache routine will only flush the dcache for the first page of a compound page, potentially leading to stale icache data residing further on in a hugetlb page. This patch addresses this issue by taking into consideration the order of the page when flushing the dcache. Reported-by: Mark Brown Tested-by: Mark Brown Signed-off-by: Steve Capper Acked-by: Will Deacon Signed-off-by: Catalin Marinas Cc: # v3.11+ --- Reading git-diff-tree failed