public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* problem with cache flush routine for G5?
@ 2004-03-04 21:06 Chris Friesen
  2004-03-04 23:51 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 15+ messages in thread
From: Chris Friesen @ 2004-03-04 21:06 UTC (permalink / raw)
  To: Linux kernel, benh


We're running into issues with the "flush_data_cache" routine on the G5.

For the G5, the L1 dcache is 32K and the L2 cache is 512K. At 128 
bytes/cacheline, that's 256 and 4096 cachelines, respectively.

In the existing tree, NUM_CACHE_LINES is set to 128*8, or 1024.  Is this 
an oversight or am I missing something?

Also, I'm curious why the dcbf instruction is not used for this.

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com


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

end of thread, other threads:[~2004-03-08  7:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 21:06 problem with cache flush routine for G5? Chris Friesen
2004-03-04 23:51 ` Benjamin Herrenschmidt
2004-03-04 23:57   ` Tom Rini
2004-03-05  0:04     ` Benjamin Herrenschmidt
2004-03-05  0:44       ` Chris Friesen
2004-03-05 15:15       ` Tom Rini
2004-03-05 23:51         ` Benjamin Herrenschmidt
2004-03-05  0:37   ` Chris Friesen
2004-03-05  2:10     ` Benjamin Herrenschmidt
2004-03-05  5:39       ` Chris Friesen
2004-03-05  5:46         ` Benjamin Herrenschmidt
2004-03-05 17:21           ` Chris Friesen
2004-03-05 23:53             ` Benjamin Herrenschmidt
2004-03-06  1:34             ` Segher Boessenkool
2004-03-06  2:31             ` Anton Blanchard

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