Skip to content
Commit 4f6627ac authored by Rui Sousa's avatar Rui Sousa Committed by Russell King
Browse files

[ARM] 4568/1: fix l2x0 cache invalidate handling of unaligned addresses



The l2x0_inv_range() function doesn't handle unaligned addresses
correctly. It's necessary to clean the cache lines that are at the
start and end of the invalidate range, if the addresses are not aligned,
to prevent corruption of other data sharing the same cache line.

Signed-off-by: default avatarRui Sousa <rui.p.m.sousa@gmail.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c2f82897
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment