ARC: [mm] serious bug in vaddr based icache flush
authorVineet Gupta <vgupta@synopsys.com>
Thu, 9 May 2013 08:15:12 +0000 (13:45 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 9 May 2013 08:15:12 +0000 (13:45 +0530)
commitc917a36f5fe551748eb37bd1efdcccc1045a02ab
tree4204be45b5ae50eb412967080121664fe0ac4256
parenteacd0e950dc2100af54f2a94ae29105bf48ab921
ARC: [mm] serious bug in vaddr based icache flush

vaddr used to index the cache was clipped from the wrong end, and thus
would potentially fail to flush the correct lines.

The problem was dorment for so long because up until the recent
optimizations it was only used for ptrace break-point only flushes.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/cache_arc700.c