From: Jes Sorensen <jes@linuxcare.com>
To: Timur Tabi <ttabi@interactivesi.com>
Cc: Linux MM mailing list <linux-mm@kvack.org>,
Linux Kernel Mailing list <linux-kernel@vger.rutgers.edu>
Subject: Re: phys-to-virt kernel mapping and ioremap()
Date: 20 Jul 2000 21:06:20 +0200 [thread overview]
Message-ID: <d3wvigr58z.fsf@lxplus015.cern.ch> (raw)
In-Reply-To: Timur Tabi's message of "Thu, 20 Jul 2000 13:53:05 -0500"
>>>>> "Timur" == Timur Tabi <ttabi@interactivesi.com> writes:
Timur> ** Reply to message from Jes Sorensen <jes@linuxcare.com> on 20
Timur> Jul 2000 20:41:51 +0200
Timur> 1) Doesn't this mapping break the phys_to_virt and virt_to_phys
Timur> macros?
>> Those two macros are not defined on ioremap'ed regions so it is
>> irrelevant.
Timur> In that case, how do I do virt-to-phys and phys-to-virt
Timur> translations on the memory addresses for ioremap'ed regions?
The answer is that you don't because you don't need to. You use
ioremap to mape it and you usae real/writel to access the space. You
are not allowed to treat PCI shared memory as regular memory.
Jes
PS: Please fix your mailer, it eats the References lines which is
really broken.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-07-20 19:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20000720174852Z156962-31297+1037@vger.rutgers.edu>
2000-07-20 18:41 ` phys-to-virt kernel mapping and ioremap() Jes Sorensen
2000-07-20 18:53 ` Timur Tabi
[not found] ` <20000720183534Z156966-31297+1096@vger.rutgers.edu>
2000-07-20 19:06 ` Jes Sorensen [this message]
2000-07-20 19:12 ` Ivan Passos
2000-07-20 18:06 Timur Tabi
2000-07-21 13:49 ` Jeff Garzik
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=d3wvigr58z.fsf@lxplus015.cern.ch \
--to=jes@linuxcare.com \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=ttabi@interactivesi.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.