linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Callebaut Benoit <callebaut@mailandnews.com>
To: Allen Curtis <acurtis@onz.com>
Cc: linuxppc-embedded mailing list <linuxppc-embedded@lists.linuxppc.org>
Subject: RE: PCI DMA support on the MPC8250
Date: Wed, 25 Jun 2003 10:24:45 -0400	[thread overview]
Message-ID: <3EFAF5FC@mailandnews.com> (raw)


>===== Original Message From Allen Curtis <acurtis@onz.com> =====
>>But the DMA transfers are working and are 5 time faster. You must only
program
>>them. It is just 5 registers to configure. You buffers in RAM must be
>>allocated with consistent_alloc to avoid caching on them and you must always
>>write physical addresses in the DMA registers( use virt_to_phys).
>>Note For  PCI addresses virt_to_phys doesn't work well. You must take the
>>addresses from the "remap" function code. I did it and it works very well.
>
>Do you have a patch for you DMA support?

No, but I will make one for the physical address lookup code, the small
changes to support DMA in the kernel (access of EUMBAR base address) and the
snippet of my code that I use in my driver.

It will be against a 2.4.17 Kernel( sorry )

Note : I have A generic DMA driver but it has a big setup time of 25000 cycles
making it interesting (better than memcpy) only for blocks larger than
2KBytes.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2003-06-25 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-25 14:24 Callebaut Benoit [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-25  7:01 PCI DMA support on the MPC8250 Callebaut Benoit
2003-06-25 13:17 ` Allen Curtis
2003-06-24 18:22 Jim Rowe

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=3EFAF5FC@mailandnews.com \
    --to=callebaut@mailandnews.com \
    --cc=acurtis@onz.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 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).