PPC: monitor: add ability to dump SLB entries
commit4e9200a0a0f89ad2b26f6aa42e1fca16b364a8c8
authorNishanth Aravamudan <nacc@us.ibm.com>
Tue, 1 Nov 2011 09:57:52 +0000 (1 09:57 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 01:49:25 +0000 (3 02:49 +0100)
tree737c43876799ae653c5595eb8532744a53d92ebd
parent8d3bc5178fbc06cdd89c064ae8f44e77c503e91e
PPC: monitor: add ability to dump SLB entries

When run with a PPC Book3S (server) CPU Currently 'info tlb' in the
qemu monitor reports "dump_mmu: unimplemented".  However, during
bringup work, it can be quite handy to have the SLB entries, which are
available in the CPUPPCState.  This patch adds an implementation of
info tlb for book3s, which dumps the SLB.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/helper.c