From: Prashant Alange <prashant.alange@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: How to disable dcache on MPC82xx platform
Date: Mon, 8 Aug 2005 19:30:49 -0700 [thread overview]
Message-ID: <6d145b42050808193058ee05b4@mail.gmail.com> (raw)
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
next reply other threads:[~2005-08-09 2:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 2:30 Prashant Alange [this message]
2005-08-09 14:37 ` How to disable dcache on MPC82xx platform 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d145b42050808193058ee05b4@mail.gmail.com \
--to=prashant.alange@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.