Searching TLB entry for a page frame number.

Scott Wood scottwood at freescale.com
Tue Jan 24 06:33:14 EST 2012


On 01/23/2012 01:49 AM, Arshad, Farrukh wrote:
> 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.

Yes, and MAS7 contains the upper 4 bits.

-Scott



More information about the Linuxppc-dev mailing list