All of lore.kernel.org
 help / color / mirror / Atom feed
From: Subodh Nijsure <subodh@best.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: How does one get physical address for iorempped window?
Date: Thu, 15 Feb 2001 08:05:07 -0800 (PST)	[thread overview]
Message-ID: <200102151605.IAA16934@shell9.ba.best.com> (raw)


[ Perhaps not directly linux-ppc question ]

I am trying to get jffs working on my board and in trying to debug this
I need to know this.  The jffs driver requires that I map the flash address
space usinng ioremap_nocache or ioremap, when debugging I need to see exactly
which addresses its writing the CFI query commands.

My question is --

If I map memory window using ioremap_nocache() if I use virt_to_phys()
should one get back the actual physical address? If virt_to_phys is not
the correct function to use, how do I get  exact physical address?

Thanks.

/Subodh Nijsure

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

             reply	other threads:[~2001-02-15 16:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 16:05 Subodh Nijsure [this message]
2001-02-15 17:03 ` How does one get physical address for iorempped window? Dan Malek
  -- 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=200102151605.IAA16934@shell9.ba.best.com \
    --to=subodh@best.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 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.