diff options
author | Steve Capper <steve.capper@linaro.org> | 2014-07-02 11:46:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-23 00:26:57 +0100 |
commit | 81151e675fb49cc89af86b6e8dd1aaa12ccf9415 (patch) | |
tree | 15607d597f22c978f42e5739b9d56751a1435048 /virt | |
parent | ab1b3244377165e41b85c0953c075a75bd302ad2 (diff) |
arm64: mm: Make icache synchronisation logic huge page awarev3.10/topic/arm64-hugepages
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 <broonie@linaro.org>
Tested-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org> # v3.11+
(cherry picked from commit 923b8f5044da753e4985ab15c1374ced2cdf616c)
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
arch/arm64/mm/flush.c
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions