summaryrefslogtreecommitdiff
path: root/Documentation/mn10300/ABI.txt
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-03-14 10:15:17 +0000
committerJames Hogan <james.hogan@imgtec.com>2017-03-28 14:53:45 +0100
commitc58cf741795ad5df08dcc13d1d0ccd05a853b2a6 (patch)
tree8a27946ddf3115ccd29201e209b7f5b732be0e41 /Documentation/mn10300/ABI.txt
parent59d7814ab26f925f209d532ae40f797f20359cec (diff)
downloadlwn-c58cf741795ad5df08dcc13d1d0ccd05a853b2a6.tar.gz
lwn-c58cf741795ad5df08dcc13d1d0ccd05a853b2a6.zip
KVM: MIPS: Update kvm_lose_fpu() for VZ
Update the implementation of kvm_lose_fpu() for VZ, where there is no need to enable the FPU/MSA in the root context if the FPU/MSA state is loaded but disabled in the guest context. The trap & emulate implementation needs to disable FPU/MSA in the root context when the guest disables them in order to catch the COP1 unusable or MSA disabled exception when they're used and pass it on to the guest. For VZ however as long as the context is loaded and enabled in the root context, the guest can enable and disable it in the guest context without the hypervisor having to do much, and will take guest exceptions without hypervisor intervention if used without being enabled in the guest context. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org
Diffstat (limited to 'Documentation/mn10300/ABI.txt')
0 files changed, 0 insertions, 0 deletions