All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: akpm@osdl.org, torvalds@osdl.org, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: PATCH] dma_get_required_mask()
Date: Mon, 28 Jun 2004 15:39:41 -0700	[thread overview]
Message-ID: <20040628153941.1317d9bf.davem@redhat.com> (raw)
In-Reply-To: <1088462407.2003.54.camel@mulgrave>

On 28 Jun 2004 17:40:06 -0500
James Bottomley <James.Bottomley@SteelEye.com> wrote:

> 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.

Perfect, I didn't notice that.

      reply	other threads:[~2004-06-28 22:41 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
2004-06-28 22:39     ` David S. 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=20040628153941.1317d9bf.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@osdl.org \
    --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.