* setting caching properties of pte entries
@ 2003-06-11 15:45 Callebaut Benoit
0 siblings, 0 replies; only message in thread
From: Callebaut Benoit @ 2003-06-11 15:45 UTC (permalink / raw)
To: linuxppc-embedded mailing list
I,
To avoid cache problem when doing dma transfer on a MPC8245 I want to set
myself the WIMG flags of the pte entry for a mapped block of memory.
Where can I do this. I don't find the code responsible to create the pte and
to set those flags for the MPC8245.
The purpose of this is to do PowerPC initiated DMA on pre-allocated buffers.
And I have some problems with datas not well written sometime whith
copy_from_user.
Can this be related to the use of get_free_page instead of kmalloc ?
Or does someone have an idea to ensure cache coherency for the DMA transfer
without using bus snooping if possible. Like a manual management of the cache
(using flush_dcache_range and invalidate_dcache_range for example)
Thanks,
Benoit Callebaut
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-11 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 15:45 setting caching properties of pte entries Callebaut Benoit
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).