From: Pete Zaitcev <zaitcev@redhat.com>
To: alexander.ehlert@uni-tuebingen.de, <linux-kernel@vger.kernel.org>
Subject: Re: Right Semantics for ioremap, remap_page_range
Date: Wed, 18 Jul 2001 15:16:42 -0400 [thread overview]
Message-ID: <200107181916.f6IJGgG04414@devserv.devel.redhat.com> (raw)
In-Reply-To: <mailman.995456342.9505.linux-kernel2news@redhat.com>
In-Reply-To: <mailman.995456342.9505.linux-kernel2news@redhat.com>
> base for 64Mb Ram Onboard. After ioremap() I actually like
> to do remap_page_range through fileops/mmap call.
Bad idea. The remap_page_range can remap actual memory only,
located on the CPU side of the I/O bridge.
What ioremap returns is useful in readb/writeb only, and
not to be fed into other functions.
Instead, use io_remap_page_range, lift the example from
drivers/video/fbmem.c.
-- Pete
next parent reply other threads:[~2001-07-18 19:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.995456342.9505.linux-kernel2news@redhat.com>
2001-07-18 19:16 ` Pete Zaitcev [this message]
[not found] <mailman.995466971.12450.linux-kernel2news@redhat.com>
2001-07-18 19:19 ` Right Semantics for ioremap, remap_page_range Pete Zaitcev
2001-07-18 11:36 Alexander Ehlert
2001-07-18 12:40 ` Richard B. Johnson
2001-07-18 12:52 ` Alexander Ehlert
2001-07-18 14:34 ` Martin Frey
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=200107181916.f6IJGgG04414@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=alexander.ehlert@uni-tuebingen.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