a question on nocache pool address which seems to have ended up as a nice comment?

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

 



Hi,
I was analyzing arch/sparc/mm/srmmu.c (linux 3.3)
In our system, the pgd table sits at c8000000 and the entry for c80000000 is at c8000320. (upper 8 bits is the index and *4 is the index address)
previously, I got srmmu_nocache_pool = c0540000. Does anybody know why __nocache_fix(0xc80000320) is c0540320?
This is equivalent to saying that nocache region 0xc8000000 is mapped to 0xc0540000 which is physical address 0x60540000.
I'm confused here..
I guess the virtual address 0xc8000000 which is in nocache region is rebased to previously allocated nocache physcial address 0x60540000 which is then equivalent to virtual address 0xc0540000. Having said that, it sounds perfectly correct.
another example of realizing something while asking.. Correct me if I'm wrong.
regards,
Chan
_______________________________________________
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