From: Christian Leber <christian@leber.de>
To: linux-kernel@vger.kernel.org
Subject: virt_to_page() with ioremap_nocache -> Ooops
Date: Wed, 5 May 2004 21:47:13 +0200 [thread overview]
Message-ID: <20040505194713.GA24904@core.home> (raw)
Hello,
I have implemented mmap with (nopage), the mmaping consists of normal
memory from __get_free_pages (set to RESERVED) and some registers/memory
that are on a PCI card (bar0), i mapped it with ioremap_nocache to to be
able to read and write it in kernelspace.
I tried to use virt_to_page(address_from_ioremap_nocache + some_offset)
and gave this back from the (nopage) function, but this leads to an
Oops. (with the other memory it works)
Where is here my error?
Regards
Christian Leber
--
"Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est." (Aurelius Augustinus)
Translation: <http://gnuhh.org/work/fsf-europe/augustinus.html>
reply other threads:[~2004-05-05 19:47 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=20040505194713.GA24904@core.home \
--to=christian@leber.de \
--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