]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03b4c29db42f4c431801cda0251835b99ec657e0
tree4204be45b5ae50eb412967080121664fe0ac4256
parentf04a371dff8f01bb1c4280df2ca2a30716a5e2ce
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