From: Songmao Tian <tiansm@lemote.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org, alsa-devel@alsa-project.org,
tiwai@suse.de, greg@kroah.com,
Atsushi Nemoto <anemo@mba.ocn.ne.jp>,
jiankemeng@gmail.com
Subject: Re: ALSA on MIPS platform
Date: Thu, 09 Aug 2007 09:24:45 +0800 [thread overview]
Message-ID: <46BA6CDD.7020907@lemote.com> (raw)
In-Reply-To: <20070807175402.GA24731@linux-mips.org>
Ralf Baechle wrote:
> On Tue, Aug 07, 2007 at 11:01:57PM +0900, Atsushi Nemoto wrote:
>
>
>> On Tue, 7 Aug 2007 10:18:04 +0400, "Dajie Tan" <jiankemeng@gmail.com> wrote:
>>
>>> static inline unsigned long virt_to_phys(volatile const void *address)
>>> {
>>> - return (unsigned long)address - PAGE_OFFSET + PHYS_OFFSET;
>>> + return ((unsigned long)address & 0x1fffffff) + PHYS_OFFSET;
>>> }
>>>
>> This makes virt_to_phys() a bit slower, and more importantly, breaks
>> 64-bit kernel.
>>
>
> It's ALSA that is doing funny things here so there is no point in fixing
> the arch code to work for ALSA.
>
> Ralf
>
>
>
arm has made a dma_mmap_coherent, but I don't quite understand the code
and I am not sure the situation is the same.
Tian
next prev parent reply other threads:[~2007-08-09 1:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 7:56 ALSA on MIPS platform Songmao Tian
2007-08-02 14:56 ` Atsushi Nemoto
2007-08-03 13:50 ` Songmao Tian
2007-08-03 13:59 ` Takashi Iwai
2007-08-03 15:57 ` Songmao Tian
2007-08-06 12:17 ` Takashi Iwai
2007-08-07 5:53 ` Dajie Tan
2007-08-07 6:18 ` Dajie Tan
2007-08-07 14:01 ` Atsushi Nemoto
2007-08-07 17:54 ` Ralf Baechle
2007-08-07 18:41 ` Takashi Iwai
2007-08-08 11:58 ` Ralf Baechle
2007-08-08 12:40 ` Maciej W. Rozycki
2007-08-08 12:57 ` Takashi Iwai
2007-08-09 1:24 ` Songmao Tian [this message]
2007-08-08 0:40 ` Songmao Tian
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=46BA6CDD.7020907@lemote.com \
--to=tiansm@lemote.com \
--cc=alsa-devel@alsa-project.org \
--cc=anemo@mba.ocn.ne.jp \
--cc=greg@kroah.com \
--cc=jiankemeng@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=tiwai@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).