Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d82199a3 authored by Steve Capper's avatar Steve Capper Committed by Joonwoo Park
Browse files

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: default avatarMark Brown <broonie@linaro.org>
Tested-by: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarSteve Capper <steve.capper@linaro.org>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org> # v3.11+
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-commit: 923b8f5044da753e4985ab15c1374ced2cdf616c
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 4c6cbba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment