summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/tlb.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-03-14 10:15:12 +0000
committerJames Hogan <james.hogan@imgtec.com>2017-03-28 14:49:26 +0100
commiteb0bab386622ecd5626462dc9eeeab082ac8b717 (patch)
treeada6da325f3e4d58c7e7a1e11d7ad915e541c429 /arch/mips/include/asm/tlb.h
parenta929bdc52be658fd622c2d0f9fdf1d333aea34fd (diff)
downloadtalos-op-linux-eb0bab386622ecd5626462dc9eeeab082ac8b717.tar.gz
talos-op-linux-eb0bab386622ecd5626462dc9eeeab082ac8b717.zip
MIPS: Add some missing guest CP0 accessors & defs
Add some missing guest accessors and register field definitions for KVM for MIPS VZ to make use of. Guest CP0_LLAddr register accessors and definitions for the LLB field allow KVM to clear the guest LLB to cancel in-progress LL/SC atomics on restore, and to emulate accesses by the guest to the CP0_LLAddr register. Bitwise modifiers and definitions for the guest CP0_Wired and CP0_Config1 registers allow KVM to modify fields within the CP0_Wired and CP0_Config1 registers. Finally a definition for the CP0_Config5.SBRI bit allows KVM to initialise and allow modification of the guest version of the SBRI bit. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org
Diffstat (limited to 'arch/mips/include/asm/tlb.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud