KVM: PPC: Provide functions for queueing up FP/VEC/VSX unavailable interrupts
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 22 Mar 2017 10:02:08 +0000 (21:02 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 20 Apr 2017 00:39:50 +0000 (10:39 +1000)
commit307d927967007acef98cfd3f0639c7a4bf234ede
tree1e79c7a93f74499beb5d848c8ea2af529522ad18
parentf7b1a77d3bfbdc7e91a1e48e0a3dc10e7d890e04
KVM: PPC: Provide functions for queueing up FP/VEC/VSX unavailable interrupts

This provides functions that can be used for generating interrupts
indicating that a given functional unit (floating point, vector, or
VSX) is unavailable.  These functions will be used in instruction
emulation code.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/booke.c