Re: On virt_to_phys doubts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 13, 2014 at 7:13 PM, Miles MH Chen <orca.chen@xxxxxxxxx> 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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux