]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Add define for Config.VI (virtual icache) bit
authorJames Hogan <james.hogan@imgtec.com>
Wed, 15 Jun 2016 18:29:59 +0000 (19:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2016 21:58:38 +0000 (23:58 +0200)
commit6fe8bb69da3b7a0392c53865d91b768e904a9d42
tree8cd4c322296ff4d2c97ce2ac83fa01afefccbc6d
parenta4b50787b178815dbdd0ef3f2aa483215d836518
MIPS: Add define for Config.VI (virtual icache) bit

The Config.VI bit specifies that the instruction cache is virtually
tagged, which is checked in c-r4k.c's probe_pcache(). Add a proper
definition for it in mipsregs.h and make use of it.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/mipsregs.h
arch/mips/mm/c-r4k.c