mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <mzyngier@freesurf.fr>
To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: rth@twiddle.net, linux-kernel@vger.kernel.org
Subject: Re: [Patch] DMA mapping API for Alpha
Date: 29 Apr 2003 14:37:51 +0200	[thread overview]
Message-ID: <wrpllxt5vj4.fsf@hina.wild-wind.fr.eu.org> (raw)
In-Reply-To: <20030429162322.B5767@jurassic.park.msu.ru>

>>>>> "Ivan" == Ivan Kokshaysky <ink@jurassic.park.msu.ru> writes:

Ivan> Agreed, but what if your EISA-PCI bridge has only 30 address
Ivan> lines wired to PCI? Yes, we can check this for EISA device
Ivan> because it has *real* PCI parent (thanks, Marc :-), but what
Ivan> about ISA/legacy/whatever drivers?  I doubt that all of them
Ivan> bother to set dma_mask pointer (so you can have an oops there).

If the driver is not ported to the device API, than we pass NULL as a
device pointer, and then we fallback to the old behaviour, aka
dma_mask=0x00ffffff. If the driver supplies a dev pointer, but fails
to set its dma_mask pointer, than it is a driver bug that should be
fixed.

And yes, the EISA subsystem should properly report the dma_mask to
attached devices (patches for that are in mm tree, and sent to Linus).

        M.
-- 
Places change, faces change. Life is so very strange.

  reply	other threads:[~2003-04-29 12:28 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
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 [this message]
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=wrpllxt5vj4.fsf@hina.wild-wind.fr.eu.org \
    --to=mzyngier@freesurf.fr \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-kernel@vger.kernel.org \
    --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®