How many colours does the ARC cache have?

Matthew Wilcox willy at infradead.org
Fri Feb 10 09:06:38 PST 2023


I see a discrepancy here ...

arch/arc/include/asm/shmparam.h:
/* Handle upto 2 cache bins */
#define SHMLBA  (2 * PAGE_SIZE)

arch/arc/include/asm/cacheflush.h:
#define CACHE_COLORS_NUM        4


(there are some other problems with the arc cache flushing code; I'm
working on patches to address them, but those are things I understand a
little better.  I know nothing about the ARC architecture itself)



More information about the linux-snps-arc mailing list