All of lore.kernel.org
 help / color / mirror / Atom feed
From: mindentropy@gmail.com (mind entropy)
To: kernelnewbies@lists.kernelnewbies.org
Subject: On virt_to_phys doubts.
Date: Sat, 13 Sep 2014 19:22:22 +0530	[thread overview]
Message-ID: <CAM2a4uz=G6XywP4crSLMDkimJa8WJV5j5h5DP=a-xndsR6bGNg@mail.gmail.com> (raw)
In-Reply-To: <CAHkaATTZHyPFqekNw0E7UtNyGNxv19aCaRZmqUPbEd3yVTjoyg@mail.gmail.com>

On Sat, Sep 13, 2014 at 7:13 PM, Miles MH Chen <orca.chen@gmail.com> wrote:
> Kernel physical addr : 0x32d01fe0
> Platform phys offset : 0x30000000
> Page offset : 0xc0553fb4
>
> The page offset looks weird, since 32bit kernel has 2/2 or 3/1 or 1/3
> user/kernel virtual address  split. It is not reasonable to have 0xc0553fb4
> as page offset. You should c0000000 for 3/1 split.
>

My fault. I had done "0x%llx" in printk. Now I just did a %x and it
shows as 0xc0000000.

-Gautam.

  reply	other threads:[~2014-09-13 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-13  8:02 On virt_to_phys doubts mind entropy
2014-09-13  8:31 ` Miles MH Chen
2014-09-13 12:59   ` mind entropy
2014-09-13 13:43     ` Miles MH Chen
2014-09-13 13:52       ` mind entropy [this message]
2014-09-13 16:50         ` Miles MH Chen
2014-09-29 17:08           ` mind entropy

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='CAM2a4uz=G6XywP4crSLMDkimJa8WJV5j5h5DP=a-xndsR6bGNg@mail.gmail.com' \
    --to=mindentropy@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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.