commit | 006dfb3c9c44192f06093d65b3a876fa5ad1319a | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Sun May 19 14:06:44 2013 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Thu May 23 14:25:09 2013 +0530 |
tree | d3ea1716d564a7390141f12b98c628cfe4b932eb | |
parent | 3e87974dec5ec25a8a4852d9292db6be659164e6 [diff] |
ARC: Use enough bits for determining page's cache color The current code uses 2 bits for determining page's dcache color, thus sorting pages into 4 bins, whereas the aliasing dcache really has 2 bins (8k page, 64k dcache - 4 way-set-assoc). This can cause extraneous flushes - e.g. color 0 and 2. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>