The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: ralf@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: RFC: Removal of pci_dma_* functions
Date: Fri, 24 Nov 2006 13:51:15 -0800 (PST)	[thread overview]
Message-ID: <20061124.135115.26533586.davem@davemloft.net> (raw)
In-Reply-To: <20061124170359.GA9355@linux-mips.org>

From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 24 Nov 2006 17:03:59 +0000

> A grep for
> 
>   pci_dac_dma_supported()
>   pci_dac_page_to_dma()
>   pci_dac_dma_to_page()
>   pci_dac_dma_to_offset()
>   pci_dac_dma_sync_single_for_cpu()
>   pci_dac_dma_sync_single_for_device()
> 
> reveals that only a some platforms implement these functions and there seems
> to be no single user.  Any objections against removing?  Or why did we ever
> add them anyay ...

They were meant for things like those Dolphin clustering cards that
can map arbitrary amounts of remote memory on the local system.

Unfortunately, none of the drivers for these things are upstream, but
I can nearly guarentee you that those drivers use these interfaces
because they map so much memory that they cannot tolerate the
limitations imposed by IOMMUs, even the ones with 2GB mapping windows
like on sparc64.

      reply	other threads:[~2006-11-24 21:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24 17:03 RFC: Removal of pci_dma_* functions Ralf Baechle
2006-11-24 21:51 ` David Miller [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=20061124.135115.26533586.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ralf@linux-mips.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