From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay1.mentorg.com", Issuer "Entrust Certification Authority - L1B" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 0CE08B6F9B for ; Mon, 23 Jan 2012 18:49:21 +1100 (EST) Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1RpEeS-0004ye-Rj from Farrukh_Arshad@mentor.com for linuxppc-dev@lists.ozlabs.org; Sun, 22 Jan 2012 23:49:16 -0800 From: "Arshad, Farrukh" To: "linuxppc-dev@lists.ozlabs.org" Subject: Searching TLB entry for a page frame number. Date: Mon, 23 Jan 2012 07:49:14 +0000 Message-ID: <93CD5F41FDBC6042A6B449764F3B35CC050CDFE1@EU-MBX-03.mgc.mentorg.com> Content-Type: multipart/alternative; boundary="_000_93CD5F41FDBC6042A6B449764F3B35CC050CDFE1EUMBX03mgcmento_" MIME-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_000_93CD5F41FDBC6042A6B449764F3B35CC050CDFE1EUMBX03mgcmento_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings All, 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 know my pa= ge frame number. If I read TLB0 dump using tlbre instruction, the instructi= on output TLB0 entries in MAS0 - MAS3 registers. After the tlbre instructio= n the value of MAS3 register [32-51] RPN, Is this Real Page Number is the p= age 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 --_000_93CD5F41FDBC6042A6B449764F3B35CC050CDFE1EUMBX03mgcmento_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Greetings All,

 

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 pa= ge number. I know my page frame number. If I read TLB0 dump using tlbre ins= truction, the instruction output TLB0 entries in MAS0 – MAS3 registers. After the tlbre instruction the va= lue of MAS3 register [32-51] RPN, Is this Real Page Number is the page fram= e 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 – 0= 5

 

--_000_93CD5F41FDBC6042A6B449764F3B35CC050CDFE1EUMBX03mgcmento_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe002.messaging.microsoft.com [216.32.181.182]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id AD5F7B6FAC for ; Tue, 24 Jan 2012 06:33:24 +1100 (EST) Message-ID: <4F1DB5FA.7000008@freescale.com> Date: Mon, 23 Jan 2012 13:33:14 -0600 From: Scott Wood MIME-Version: 1.0 To: "Arshad, Farrukh" Subject: Re: Searching TLB entry for a page frame number. References: <93CD5F41FDBC6042A6B449764F3B35CC050CDFE1@EU-MBX-03.mgc.mentorg.com> In-Reply-To: <93CD5F41FDBC6042A6B449764F3B35CC050CDFE1@EU-MBX-03.mgc.mentorg.com> Content-Type: text/plain; charset="windows-1252" Cc: "linuxppc-dev@lists.ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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