All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Malek <dan@mvista.com>
To: Subodh Nijsure <subodh@best.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: How does one get physical address for iorempped window?
Date: Thu, 15 Feb 2001 12:03:00 -0500	[thread overview]
Message-ID: <3A8C0BC4.DB7F6F7A@mvista.com> (raw)
In-Reply-To: 200102151605.IAA16934@shell9.ba.best.com


Subodh Nijsure wrote:

> If I map memory window using ioremap_nocache() if I use virt_to_phys()
> should one get back the actual physical address?

Ummmm....you give ioremap_nocache() a physical address to map, so
you have to know it........Using virt_to_phys() may not give you
the proper physical address, depending upon the platform.  I'm working
on a solution for 2.5 that will work.  Currently, it is wrapped into
a heavier weight virt_to_bus/phys() but that many not be the right
place.



	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-02-15 17:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 16:05 How does one get physical address for iorempped window? Subodh Nijsure
2001-02-15 17:03 ` Dan Malek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15 17:58 Subodh Nijsure
2001-02-15 18:10 ` Dan Malek
2001-02-18 16:28 ` Matt Porter
2001-02-19 17:59   ` Dan Malek
2001-02-19 19:15 mod+linuxppc-embedded
2001-02-19 19:53 ` Dan Malek
2001-02-19 21:12 mod+linuxppc-embedded

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=3A8C0BC4.DB7F6F7A@mvista.com \
    --to=dan@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=subodh@best.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.