MIPS: Print GuestCtl1 on machine check exception
authorJames Hogan <james.hogan@imgtec.com>
Wed, 11 May 2016 14:50:32 +0000 (15:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commit4b62fad50efd1cff9017d3e4dcfcf5c4b6c13193
treeae7ebc8a3e3e6151cafb2c49cc932671f2275508
parent382208dc8c856b4d8ba602031412842b121decb2
MIPS: Print GuestCtl1 on machine check exception

The GuestCtl1 CP0 register can contain the GuestID used for root TLB
operations, which affects TLB matching. The other TLB registers are
already dumped out to the log on a machine check exception due to
multiple matching TLB entries, so also dump the value of the GuestCtl1
register if GuestIDs are supported.

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