From: Takashi Iwai <tiwai@suse.de>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: wuzhangjin@gmail.com, Andreas Mohr <andi@lisas.de>,
linux-kernel@vger.kernel.org
Subject: Re: snd_usb_audio OOPS on MIPSEL - is that the mmap issue?
Date: Fri, 27 Nov 2009 09:36:06 +0100 [thread overview]
Message-ID: <s5h4oogpdop.wl%tiwai@suse.de> (raw)
In-Reply-To: <20091126181554.GB11737@linux-mips.org>
At Thu, 26 Nov 2009 18:15:54 +0000,
Ralf Baechle wrote:
>
> On Thu, Nov 26, 2009 at 10:09:04AM +0100, Takashi Iwai wrote:
>
> > I guess it won't, because usb audio driver provides its own page
> > callback. It uses vmalloced buffer as the primary buffer, then
> > copies to the urb transfer buffer. So, mmap should work as long as
> > the page returned from vmalloc_to_page() can be mapped.
>
> You mean mapping a page that is mapped to the vmalloc area of the kernel
> also to userland? That's a fairly safe way to create cache aliases on
> those platforms that suffer from them.
Yes. Thanks for clarification!
Takashi
prev parent reply other threads:[~2009-11-27 8:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-25 23:12 snd_usb_audio OOPS on MIPSEL - is that the mmap issue? Andreas Mohr
2009-11-26 1:20 ` Wu Zhangjin
2009-11-26 9:09 ` Takashi Iwai
2009-11-26 9:22 ` Andreas Mohr
2009-11-26 18:15 ` Ralf Baechle
2009-11-27 8:36 ` Takashi Iwai [this message]
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=s5h4oogpdop.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=andi@lisas.de \
--cc=linux-kernel@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=wuzhangjin@gmail.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.