| To: | Ralf Baechle <ralf@linux-mips.org>, David Daney <ddaney@caviumnetworks.com>, macro@linux-mips.org |
|---|---|
| Subject: | Dma addr should use Kuseg1 for MIPS32? |
| From: | figo zhang <figo1802@gmail.com> |
| Date: | Mon, 7 Dec 2009 20:55:12 +0800 |
| Cc: | linux-mips@linux-mips.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=rxjNrjYi7BwsSgoC3zO9Y5BlEF23URNA5DiaarGeTro=; b=TOUr3nWxktX5NyPlslRH9DQltANRMFEhK40M8zweUfYEYHej/P6Sk9/2bfWaHgkXJs EdBPz1rR3dwJD+xkxL24vIzxex4O8cNzXMauO+kP0L3tmC82nFAIda+WURbn9FN5alUb 3MGuPGf8RdoeDtvqBrc+BnE1cXEIfEcq0LqW8= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=UTgZz4HWSxgU3XFCEAlJiA9ta9Rh4TYmzGe9pYBBUKROi9IuZgTYRf5vOY6l/UQsJz b2i0k9XwZNyQt+eXz1dMRkkDcdMpLhYnzqqoP5k8qjmfU8xlGF1bEi8N+J7uPxQa1n29 +YpBQSRW5YptTWzExTksnGqF87LV8T5yoGfvM= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
|
hi, I am writing a driver for MIPS32. i wirte this code for DMA addr: dma_vaddr =(char*) __get_free_pages(GFP_KERNEL| GFP_DMA, order);
dma_phy = virt_to_phy(dma_vaddr); i write dma_phy to DMA base register, but why it cannot work? it should write Kseg1 space to DMA register? I remember that it is ok for ARM/X86 . Best, Figo.zhang |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v8 5/8] Loongson: YeeLoong: add hardware monitoring driver, Wu Zhangjin |
|---|---|
| Next by Date: | Re: Question: about Physical Address mapping, Ralf Baechle |
| Previous by Thread: | Question: about Physical Address mapping, Dennis.Yxun |
| Next by Thread: | Re: Dma addr should use Kuseg1 for MIPS32?, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |