ARM: 7615/1: cache-l2x0: aurora: Invalidate during clean operation with WT enable
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 7 Jan 2013 10:27:14 +0000 (11:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Jan 2013 15:04:17 +0000 (15:04 +0000)
commit8b827c60a1d984ef8c3ed175c99a33dd451348ff
tree59aac11c91a9452a3985a261f4994cf4567a3f6e
parentd106de38ca927f2a53cd56ef94c506e8f6bd37e1
ARM: 7615/1: cache-l2x0: aurora: Invalidate during clean operation with WT enable

This patch fixes a bug for Aurora L2 cache controller when the
write-through mode is enable. For the clean operation even if we don't
have to flush the lines we still need to invalidate them.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c