Skip to content
Snippets Groups Projects
Commit 006dfb3c authored by Vineet Gupta's avatar Vineet Gupta
Browse files

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: default avatarVineet Gupta <vgupta@synopsys.com>
parent 3e87974d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment