All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: "David S. Miller" <davem@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
	SCSI Mailing List <linux-scsi@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: PATCH] dma_get_required_mask()
Date: 28 Jun 2004 17:40:06 -0500	[thread overview]
Message-ID: <1088462407.2003.54.camel@mulgrave> (raw)
In-Reply-To: <20040628152839.23178136.davem@redhat.com>

On Mon, 2004-06-28 at 17:28, David S. Miller wrote:
> Maybe you should tweak the default implementation such that
> something reasonable happens on 64-bit platforms that
> define dma_addr_t as a 32-bit quantity. :-)

Actually, the default implementation should work on these platforms
too.  Since it's impossible to set a mask over 32 bits, then the best
dma_get_required_mask() will do is return a full spread of 32 bits,
since the memory mask is anded with the current dma mask.

James



  reply	other threads:[~2004-06-28 22:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28 21:10 PATCH] dma_get_required_mask() James Bottomley
2004-06-28 22:28 ` David S. Miller
2004-06-28 22:40   ` James Bottomley [this message]
2004-06-28 22:39     ` David S. Miller

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=1088462407.2003.54.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=akpm@osdl.org \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=torvalds@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.