linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* consistent_alloc() on 82xx
@ 2005-06-08  9:29 Alex Zeffertt
  2005-06-08 16:12 ` Dan Malek
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Zeffertt @ 2005-06-08  9:29 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I need to allocate un-cached memory on an 82xx and consistent_alloc() in
arch/ppc/mm/cachemap.c appears to be the thing I need.  However, this
code only seems to be built for 8xx and 4xx platforms, and not 6xx
platforms. Specifically, it is built if CONFIG_NOT_COHERENT_CACHE is
defined, which is the case if

	CONFIG_8xx = y, or
	CONFIG_4xx = y, but not if
	CONFIG_6xx = y

Does anybody know why it isn't built for 6xx cores?

I'm working on the ATM driver and it seems that certain external memory
areas accessed by the PQII CPM by-pass the cache.  So it would seem to
me that CONFIG_NOT_COHERENT_CACHE would actually be applicable for these
processors too....

Alex

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

end of thread, other threads:[~2005-06-10 10:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-08  9:29 consistent_alloc() on 82xx Alex Zeffertt
2005-06-08 16:12 ` Dan Malek
2005-06-09  6:15   ` Pantelis Antoniou
2005-06-09  9:06     ` Alex Zeffertt
2005-06-09 18:05     ` Dan Malek
2005-06-09  9:04   ` Alex Zeffertt
2005-06-09 19:05     ` Dan Malek
2005-06-10 10:11       ` Alex Zeffertt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).