mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Christoph Hellwig <hch@infradead.org>,
	Marc Zyngier <mzyngier@freesurf.fr>,
	rth@twiddle.net, linux-kernel@vger.kernel.org
Subject: Re: [Patch] DMA mapping API for Alpha
Date: Tue, 29 Apr 2003 16:08:24 +0400	[thread overview]
Message-ID: <20030429160824.A5767@jurassic.park.msu.ru> (raw)
In-Reply-To: <20030429122014.A27520@infradead.org>; from hch@infradead.org on Tue, Apr 29, 2003 at 12:20:14PM +0100

On Tue, Apr 29, 2003 at 12:20:14PM +0100, Christoph Hellwig wrote:
> Well, pci_* is a legacy API in Linux 2.5 now.  Currently architectures
> can either implement dma_* or pci_* and the other one will be emulated,
> but I hope we can get rid of this mess soon and dma_* is the one
> implemented on the architectures and pci_* emulated in a single
> place - and maybe it can go away two stables series from now.

This won't change the fact that alpha is PCI-centric (as well as
most other architectures) and in general "struct device" doesn't
provide sufficient DMA information, unlike "struct pci_dev".
pci_* being emulated means pci_dev to device translation and then
rather complex and ugly device to pci_dev translation in arch code.
Sigh...

Ivan.

  reply	other threads:[~2003-04-29 11:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-28 18:38 Marc Zyngier
2003-04-28 18:49 ` Jeff Garzik
2003-04-28 18:52   ` Marc Zyngier
2003-04-28 22:20     ` Alan Cox
2003-04-29  6:59 ` Christoph Hellwig
2003-04-29 11:05 ` Ivan Kokshaysky
2003-04-29 11:20   ` Christoph Hellwig
2003-04-29 12:08     ` Ivan Kokshaysky [this message]
2003-04-29 12:32       ` Christoph Hellwig
2003-04-29 12:59         ` Ivan Kokshaysky
2003-04-29 11:58   ` Marc Zyngier
2003-04-29 12:23     ` Ivan Kokshaysky
2003-04-29 12:37       ` Marc Zyngier
2003-04-29 12:41       ` Christoph Hellwig
2003-04-29 20:08         ` Ivan Kokshaysky
2003-05-01 10:56           ` David S. Miller
2003-04-30 12:07   ` Maciej W. Rozycki
2003-04-30 14:12     ` Jeff Garzik
2003-04-30 14:18       ` Marc Zyngier
2003-04-30 19:25         ` Maciej W. Rozycki
2003-04-29 20:22 James Bottomley
2003-04-29 20:46 ` Ivan Kokshaysky

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=20030429160824.A5767@jurassic.park.msu.ru \
    --to=ink@jurassic.park.msu.ru \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mzyngier@freesurf.fr \
    --cc=rth@twiddle.net \
    /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

all inboxes | Powered by JetHome®