@@ -99,6 +99,17 @@ static int show_cpuinfo(struct seq_file *m, void *v)
if (cpu_has_vz) seq_printf(m, "%s", " vz");
seq_printf(m, "\n");
+#ifdef CONFIG_KVM_MIPS_VZ
+ if (cpu_has_vz) {
+ seq_printf(m, "vz guestid\t\t: %s\n",
+ cpu_has_vzguestid ? "yes" : "no");
+ seq_printf(m, "vz virt irq\t\t: %s\n",
+ cpu_has_vzvirtirq ? "yes" : "no");
+ }
+ seq_printf(m, "tlbinv instructions\t: %s\n",
+ cpu_has_tlbinv ? "yes" : "no");
+#endif
+
if (cpu_has_mmips) {
seq_printf(m, "micromips kernel\t: %s\n",
(read_c0_config3() & MIPS_CONF3_ISA_OE) ? "yes" : "no");
Signed-off-by: Sanjay Lal <sanjayl@kymasys.com> --- arch/mips/kernel/proc.c | 11 +++++++++++ 1 file changed, 11 insertions(+)