linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to disable dcache on MPC82xx platform
@ 2005-08-09  2:30 Prashant Alange
  2005-08-09 14:37 ` Dan Malek
  0 siblings, 1 reply; 6+ messages in thread
From: Prashant Alange @ 2005-08-09  2:30 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all,

I am using alloc_bootmem_page() function to allocate memory required
in my custom ethernet driver . This driver reads buffer descriptors &
data from the memory allocated by bootmem page. This memory is updated
by CPM module. I am experiencing reliability issues with this driver.
It works fine for some time & then behaves abnormally. When driver
fails,  the values read from the allocated memory does not make any
sense. So I am thinking this could be because of cache since this
driver is working fine on non-os platform. I want to disable the
dcache for this memory region.

I am allocating about 700K of memory using alloc_bootmem_page() function.

Can anyone tell me how to do this?=20

I am running linux-2.4 on MCP8270 processor.

I tried flushing the dcache before accessing the memory but no luck.

Thanks for your time,
Prashant

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

end of thread, other threads:[~2005-08-09 22:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09  2:30 How to disable dcache on MPC82xx platform Prashant Alange
2005-08-09 14:37 ` Dan Malek
2005-08-09 14:57   ` Prashant Alange
2005-08-09 16:37     ` Dan Malek
2005-08-09 21:50       ` Prashant Alange
2005-08-09 22:28         ` Dan Malek

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).