]> 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)
commit68ad794e5f0c6d9f0c03aa9fb73fca6fef3e748f
tree8d9726f0d97bd6a0a0323657b03d4d017b707da7
parenta76d5234bd957d65edef37f1158b630baa05e236
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