MIPS: dump_tlb: Preserve and dump GuestID
authorJames Hogan <james.hogan@imgtec.com>
Wed, 11 May 2016 14:50:31 +0000 (15:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commit382208dc8c856b4d8ba602031412842b121decb2
tree8d9726f0d97bd6a0a0323657b03d4d017b707da7
parent6ad816e77ed77538fe729050cf6631328c6113f7
MIPS: dump_tlb: Preserve and dump GuestID

The GuestID for root TLB operations (GuestCtl1.RID) is modified by TLB
reads, so needs preserving by dump_tlb() like the ASID field of EntryHi.

Also dump the GuestID of each entry if it exists alongside the ASID, as
it forms an important part of the TLB entry when VZ guests are used.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13230/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/dump_tlb.c