All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: ralf@linux-mips.org, wgowcher@yahoo.com, linux-mips@linux-mips.org
Subject: Re: pci_alloc_consistent usage
Date: Tue, 27 May 2003 11:53:22 +0100	[thread overview]
Message-ID: <20030527115322.A7124@infradead.org> (raw)
In-Reply-To: <20030527.190749.39150100.nemoto@toshiba-tops.co.jp>; from anemo@mba.ocn.ne.jp on Tue, May 27, 2003 at 07:07:49PM +0900

On Tue, May 27, 2003 at 07:07:49PM +0900, Atsushi Nemoto wrote:
> >>>>> On Tue, 27 May 2003 11:17:40 +0200, Ralf Baechle <ralf@linux-mips.org> said:
> ralf> Use the value returned by pci_alloc_consistent in *dma_handle
> ralf> instead of trying to do any conversions with of
> ralf> pci_alloc_consistent's return value.
> 
> How about virt_to_page()?
> 
> Currently, many sound drivers (including ALSA) pass a
> pci_alloc_consistent's return value to virt_to_page.

You are not allow to do so.  Any driver doing this is broken.

  reply	other threads:[~2003-05-27 10:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-23 21:59 pci_alloc_consistent usage Wayne Gowcher
2003-05-27  9:17 ` Ralf Baechle
2003-05-27 10:07   ` Atsushi Nemoto
2003-05-27 10:53     ` Christoph Hellwig [this message]
2003-05-27 11:22       ` Ralf Baechle
2003-05-27 11:33         ` Christoph Hellwig
2003-05-27 11:45           ` Ralf Baechle
2003-05-28  1:30         ` Atsushi Nemoto
  -- strict thread matches above, loose matches on Subject: below --
2004-07-13 13:01 pci_alloc_consistent() usage Vadivelan Mani
2004-07-13 19:29 ` Ralf Baechle

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=20030527115322.A7124@infradead.org \
    --to=hch@infradead.org \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=wgowcher@yahoo.com \
    /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.