linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Matthew Wilcox <matthew@wil.cx>
Cc: James Bottomley <James.Bottomley@steeleye.com>,
	linux-arch@vger.kernel.org
Subject: Re: Removal of dma_cache_* functions?
Date: Tue, 4 Sep 2007 14:33:35 +0100	[thread overview]
Message-ID: <20070904133335.GC16556@linux-mips.org> (raw)
In-Reply-To: <20070904130747.GS14130@parisc-linux.org>

On Tue, Sep 04, 2007 at 07:07:47AM -0600, Matthew Wilcox wrote:

> BTW, Ralf, I found six MIPS users:
> 
> ./arch/mips/au1000/common/dbdma.c:      dma_cache_wback_inv((unsigned long)buf, nbytes);
> ./arch/mips/jazz/jazzdma.c: dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE);
> ./arch/mips/mm/dma-default.c: dma_cache_wback_inv((unsigned long) ret, size);
> ./drivers/net/sgiseeq.c:        dma_cache_wback_inv((unsigned long)&sp->srings->rxvector,
> ./drivers/scsi/dec_esp.c:       dma_cache_wback_inv((unsigned long) phys_to_virt(vaddress), length);
> ./include/asm-mips/floppy.h:    dma_cache_wback_inv((unsigned long)addr,size);

arch/mips/mm/dma-default.c is the implementation of the DMA API as
documented in the kernel; it needs to bang on the caches for non-coherent
I/O so will have to continue using the old functions though I may change
the function names.  sgiseeq I already fixed, the rest is being fixed
once as I'm writing this.

  Ralf

  reply	other threads:[~2007-09-04 13:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 11:56 Removal of dma_cache_* functions? Ralf Baechle
2007-09-04 12:42 ` Matthew Wilcox
2007-09-04 12:57   ` James Bottomley
2007-09-04 13:07     ` Ralf Baechle
2007-09-04 23:49       ` James Bottomley
2007-09-11 13:44       ` Jes Sorensen
2007-09-11 13:58         ` Ralf Baechle
2007-09-04 13:07     ` Matthew Wilcox
2007-09-04 13:33       ` Ralf Baechle [this message]
2007-09-06 11:39   ` [PATCH] Removal of dma_cache_(wback|inv|wback_inv) functions Ralf Baechle
2007-09-06 14:55     ` Paul Mackerras
2007-09-06 15:02     ` David Miller
2007-09-06 15:02     ` Kyle McMartin
2007-09-06 21:28     ` Håvard Skinnemoen

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=20070904133335.GC16556@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=James.Bottomley@steeleye.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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).