]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit221aaa6f5a86aa56e8f59f09b8f3ad397edd4e47
tree8d9726f0d97bd6a0a0323657b03d4d017b707da7
parenta6123157820c13f6f17912656adfcd51e97a9f9e
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