Linux SNPS ARC Archive on lore.kernel.org
 help / color / mirror / Atom feed
* How many colours does the ARC cache have?
@ 2023-02-10 17:06 Matthew Wilcox
  2023-02-16  4:59 ` Vineet Gupta
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2023-02-10 17:06 UTC (permalink / raw)
  To: linux-snps-arc

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)

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-18 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 17:06 How many colours does the ARC cache have? Matthew Wilcox
2023-02-16  4:59 ` Vineet Gupta
2023-02-18 19:03   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox