]> 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)
commita5ffabc67114246de8276138df55a252aadf6e21
tree4204be45b5ae50eb412967080121664fe0ac4256
parentc70ae257e8bd65fc07368c44b85b44a72c837fb7
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