From: Jes Sorensen <jes@sgi.com>
To: Adhiraj <adhiraj@linsyssoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: pci_map_single() on IA64
Date: 07 Jun 2006 10:11:03 -0400 [thread overview]
Message-ID: <yq0ejy1rr7s.fsf@jaguar.mkp.net> (raw)
In-Reply-To: <1149671049.3499.27.camel@triumph>
>>>>> "Adhiraj" == Adhiraj <adhiraj@linsyssoft.com> writes:
Adhiraj> Hi all, How is it possible that on an IA64 machine, the
Adhiraj> address returned by pci_map_single() is above 4G (32 bits)
Adhiraj> when I have only 2G of physical memory?
Depends on how the physical memory is located on the system and how
the PCI bridge sees it.
Adhiraj> The DMA mask is set to 64 bits (using
Adhiraj> pci_set_dma_mask()). When I change it to 32 bit DMA mask, the
Adhiraj> problem goes away.
Forcing it to a 32 bit mask may force the box to use the IOMMU if it
has one, which not all IA64 systems do have. However, since you have
set the DMA mask to 64 bits then you're getting exactly what you are
asking for, so why is this a 'problem'? A 64 bit DMA mask means the
adapter can do 64 bit addressing, it has nothing to do with the width
of the databus.
Jes
next prev parent reply other threads:[~2006-06-07 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-07 9:04 Adhiraj
2006-06-07 14:11 ` Jes Sorensen [this message]
2006-06-07 14:21 ` Alex Williamson
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=yq0ejy1rr7s.fsf@jaguar.mkp.net \
--to=jes@sgi.com \
--cc=adhiraj@linsyssoft.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®