linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Searching TLB entry for a page frame number.
@ 2012-01-23  7:49 Arshad, Farrukh
  2012-01-23 19:33 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Arshad, Farrukh @ 2012-01-23  7:49 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

Greetings All,

I have a quick question regarding TLB dump for P1022. Please excuse me for being naïve. I want to dump the TLB entry for a page number. I know my page frame number. If I read TLB0 dump using tlbre instruction, the instruction output TLB0 entries in MAS0 - MAS3 registers. After the tlbre instruction the value of MAS3 register [32-51] RPN, Is this Real Page Number is the page frame number for which I am searching the TLB entry.


Best Regards

Farrukh Arshad
Sr. Software Development Engineer
Mentor Graphics Pakistan
Ph:   +92 - 423 - 609 - 92 - 09
Cell: +92 - 303 - 444 - 77 - 05


[-- Attachment #2: Type: text/html, Size: 3035 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Searching TLB entry for a page frame number.
  2012-01-23  7:49 Searching TLB entry for a page frame number Arshad, Farrukh
@ 2012-01-23 19:33 ` Scott Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2012-01-23 19:33 UTC (permalink / raw)
  To: Arshad, Farrukh; +Cc: linuxppc-dev@lists.ozlabs.org

On 01/23/2012 01:49 AM, Arshad, Farrukh wrote:
> Greetings All,
>=20
> =20
>=20
> I have a quick question regarding TLB dump for P1022. Please excuse me
> for being na=EFve. I want to dump the TLB entry for a page number. I kn=
ow
> my page frame number. If I read TLB0 dump using tlbre instruction, the
> instruction output TLB0 entries in MAS0 =96 MAS3 registers. After the
> tlbre instruction the value of MAS3 register [32-51] RPN, Is this Real
> Page Number is the page frame number for which I am searching the TLB e=
ntry.

Yes, and MAS7 contains the upper 4 bits.

-Scott

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-23 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-23  7:49 Searching TLB entry for a page frame number Arshad, Farrukh
2012-01-23 19:33 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).