From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59234 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPfxR-0001hW-MN for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:38:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPfxH-0000r8-R8 for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:38:41 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:57033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPfxH-0000ql-LX for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:38:31 -0500 Received: by pwj6 with SMTP id 6so2363571pwj.4 for ; Mon, 06 Dec 2010 10:38:30 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <0BD7805E-DFCF-4751-A6FF-EFAD361C0998@suse.de> References: <0BD7805E-DFCF-4751-A6FF-EFAD361C0998@suse.de> From: Blue Swirl Date: Mon, 6 Dec 2010 18:38:10 +0000 Message-ID: Subject: Re: [Qemu-devel] [PATCH, RFT] monitor: implement x86 info tlb for PAE and long modes Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel On Mon, Dec 6, 2010 at 11:12 AM, Alexander Graf wrote: > > On 05.12.2010, at 17:25, Blue Swirl wrote: > >> 'info tlb' didn't show correct information for PAE mode and >> x86_64 long mode. >> >> Implement the missing modes. Also print NX bit for PAE and long modes. >> Fix off-by-one error in 32 bit mode mask. >> >> Signed-off-by: Blue Swirl >> --- >> >> I didn't find an OS that enabled PAE, please test and report. > > Xen does. Just take a random recent xen kernel and run it with -kernel :). Thanks, it does (CR4 is 0xb0). I'm not sure all is correct, after 0x1000000 the dump looks messy: 0000000000c00000: 0000000000c00000 --PDA---W 0000000000e00000: 0000000000e00000 --PDA---W 0000000001000000: f000ff53f000f000 XG-D-C--W 0000000001001000: f000ff53f000e000 X--D----W 0000000001002000: f000ff53f000f000 XG-D-C--W 0000000001003000: f000ff53f000f000 XG-D-C--W 0000000001004000: f000e987f000f000 X---A--U-