From: wahmad <wahmad@snowshore.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: problem with pci_alloc_consistent
Date: Mon, 16 Sep 2002 18:38:15 -0400 [thread overview]
Message-ID: <3D808EAA@webmail.snowshore.com> (raw)
I am using pci_alloc_consistent() for obtaining contiguous memory that is
cache safe. Here is how I am calling the routine
pci_alloc_consistent(NULL,size,&dummy).
Note I am throwing away the bus address.
The memory that I get does not seem to be cache safe. My device doesn't see
the data untill I add flush_dcache_range(..). It is very undesirable for me
to add flushes and invalidates. I will appreciate any help in this matter.
I am using kernel version 2.4.20-pre5 for IBM PPC405GP and using version
2.95.3 for gcc on an x86 as a cross compiler.
I also have CONFIG_NOT_COHERENT_CACHE defined.
Thanks
Waqar
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2002-09-16 22:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3D808EAA@webmail.snowshore.com \
--to=wahmad@snowshore.com \
--cc=linuxppc-embedded@lists.linuxppc.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.