linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: "Prakash, Sathya" <Sathya.Prakash@lsi.com>, linux-scsi@vger.kernel.org
Subject: Re: Query regarding modifying the DMA Mask based on the available memory in the system
Date: Thu, 17 Apr 2008 16:44:37 +0200	[thread overview]
Message-ID: <87iqygk0bu.fsf@basil.nowhere.org> (raw)
In-Reply-To: <1208441932.3150.4.camel@localhost.localdomain> (James Bottomley's message of "Thu, 17 Apr 2008 09:18:52 -0500")

>
> For drivers that can alter their descriptor types, we have this
> function:
>
> dma_get_required_mask()

Are you sure we have it? It seems to be in drivers/base/platform.c
conditional on ARCH_HAS_DMA_GET_REQUIRED_MASK, but according to my
grep no architecture ever sets that flag.

I don't think it would be very hard to implement on x86 at least,
mind you. Just nobody seems to have done it so far.

-Andi


  reply	other threads:[~2008-04-17 15:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17  8:40 Query regarding modifying the DMA Mask based on the available memory in the system Prakash, Sathya
2008-04-17  8:43 ` David Miller
2008-04-17 10:06 ` Andi Kleen
2008-04-17 14:18 ` James Bottomley
2008-04-17 14:44   ` Andi Kleen [this message]
2008-04-17 15:03     ` James Bottomley
2008-04-17 15:06       ` Andi Kleen
2008-04-17 15:36         ` James Bottomley
2008-04-17 16:10           ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2008-04-17 17:36 Prakash, Sathya

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=87iqygk0bu.fsf@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=Sathya.Prakash@lsi.com \
    --cc=linux-scsi@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).