public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: dma_cache_sync replacement call
Date: Wed, 15 Dec 2010 22:59:03 +0000	[thread overview]
Message-ID: <20101215225903.GJ9937@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <AANLkTi=p3eaVKUNvxLCThhDC534j_SX+TUtxYgGfu40Q@mail.gmail.com>

On Wed, Dec 15, 2010 at 02:54:57PM -0800, y bhanu wrote:
> I am porting a Linux wireless driver from MIPS to ARM (ixp4xx).
> 
> As dma_cache_sync() is not implemented for ARM ,I get some nasty errors:
> I am not sure whats the replacement for this deprecated call under ARM.
> 
> can  anyone help figure out what use instread of dma_cache_sync() &
> dma_cache_wback_inv() calls?

The answer is to complain to MIPS people as to why they are using their
own private DMA cache support rather than the DMA API (whose documentation
can be found in Documentation/DMA-API.txt).

The answer is there is no straight replacement - the answer is to fix the
driver to use the proper portable interfaces.

  reply	other threads:[~2010-12-15 22:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 22:54 dma_cache_sync replacement call y bhanu
2010-12-15 22:59 ` Russell King - ARM Linux [this message]
2010-12-16  2:08   ` y bhanu
2010-12-16 13:22     ` Arnd Bergmann

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=20101215225903.GJ9937@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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