From: "Cestonaro, Thilo" <Thilo.Cestonaro@fujitsu-siemens.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: pci_alloc_consistent and memory >= 4GB pre CONFIG_ZONE_DMA32
Date: Fri, 1 Feb 2008 17:17:25 +0100 [thread overview]
Message-ID: <1C27BF3FB8EE3A4D8F901C22ADE1DE0768043556ED@ABGEX72E.FSC.NET> (raw)
Hey,
I've a problem with pci_alloc_consistent with Kernel 2.6.5 and memory >= 4GB on a x86_64 machine.
The device can't use the dma_addr which I retrieve from pci_alloc_consistent.
But if the machine has less then 4GB it works fine.
How can I prove that the adress I get from pci_alloc_consistent is dma compatible?
Should pci_alloc_consistent not be used in environments before CONFIG_ZONE_DMA32?
Is there a better way to get dma compatible memory since 2.6.1 (except using kmalloc and GFP_DMA, cause just below 16MB is not enough memory)?
I'm very appreciative for any answer / help.
Ciao Thilo
reply other threads:[~2008-02-01 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1C27BF3FB8EE3A4D8F901C22ADE1DE0768043556ED@ABGEX72E.FSC.NET \
--to=thilo.cestonaro@fujitsu-siemens.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®