* virt_to_page() with ioremap_nocache -> Ooops
@ 2004-05-05 19:47 Christian Leber
0 siblings, 0 replies; only message in thread
From: Christian Leber @ 2004-05-05 19:47 UTC (permalink / raw)
To: linux-kernel
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-05 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-05 19:47 virt_to_page() with ioremap_nocache -> Ooops Christian Leber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox