]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: dump_tlb: Dump FrameMask register if exists
authorJames Hogan <james.hogan@imgtec.com>
Wed, 15 Jul 2015 15:17:46 +0000 (16:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:07:48 +0000 (12:07 +0200)
commit171c57a85d708f6817de674c12b2c5700428dab3
treedd4bb0bbc25a26aacdc4b99d57ae3dc69d69380a
parent0a718bfb08239ed9a9a3f31f5c9cd34385c05d10
MIPS: dump_tlb: Dump FrameMask register if exists

The FrameMask register is relevant to the TLB so it should be dumped by
dump_tlb_regs(), however it is only present in certain cores (r10000,
r12000, r14000, r16000). Add dumping of it, conditional upon
current_cpu_type().

Suggested-by: Joshua Kinard <kumba@gentoo.org>
Suggested-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10724/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/dump_tlb.c