mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: agx@sigxcpu.org
Cc: linux-kernel@vger.kernel.org, gregkh@suse.de
Subject: Re: sparc64: Oops in pci_alloc_consistent with cingergyT2
Date: Fri, 11 Nov 2005 12:09:50 -0800 (PST)	[thread overview]
Message-ID: <20051111.120950.06356722.davem@davemloft.net> (raw)
In-Reply-To: <20051111153354.GA19838@bogon.ms20.nix>

From: Guido Guenther <agx@sigxcpu.org>
Date: Fri, 11 Nov 2005 16:33:55 +0100

> This is due to the fact that cinergyt2_alloc_stream_urbs calls
> pci_alloc_consistent with a NULL argument for the pci dev (it's a USB
> device):
> 
> cinergyt2->streambuf = pci_alloc_consistent(NULL,
>                                               STREAM_URB_COUNT*STREAM_BUF_SIZE,
>                                               &cinergyt2->streambuf_dmahandle);
> 
> dma_alloc_coherent doesn't seem to be implemented on sparc64, what would
> be the right way to tackle this?

It should be using "usb_buffer_alloc()" or similar.

No USB driver should be calling the DMA mapping interfaces
directly.

Where is this driver?  I can't find it in the 2.6.x sources.

  parent reply	other threads:[~2005-11-11 20:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-11 15:33 Guido Guenther
2005-11-11 19:41 ` Alan Cox
2005-11-11 20:13   ` David S. Miller
2005-11-11 20:09 ` David S. Miller [this message]
2005-11-12 19:17   ` Guido Guenther
2005-11-13 19:10     ` Johannes Stezenbach

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=20051111.120950.06356722.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=agx@sigxcpu.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome