diff options
author | James Hogan <[email protected]> | 2015-02-06 10:56:27 +0000 |
---|---|---|
committer | James Hogan <[email protected]> | 2015-03-27 21:25:20 +0000 |
commit | c2537ed9fb8e17d713e5e67fcede047699d25814 (patch) | |
tree | 1a4d37e5ddfa872efda4ae2ea42c1655a27ec3d0 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 2b6009d646887cac8888f1ce8694af0beefce88b (diff) |
MIPS: KVM: Add MSA exception handling
Add guest exception handling for MIPS SIMD Architecture (MSA) floating
point exceptions and MSA disabled exceptions.
MSA floating point exceptions from the guest need passing to the guest
kernel, so for these a guest MSAFPE is emulated.
MSA disabled exceptions are normally handled by passing a reserved
instruction exception to the guest (because no guest MSA was supported),
but the hypervisor can now handle them if the guest has MSA by passing
an MSA disabled exception to the guest, or if the guest has MSA enabled
by transparently restoring the guest MSA context and enabling MSA and
the FPU.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Gleb Natapov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions