x86emul: work around SandyBridge errata
authorJan Beulich <jbeulich@suse.com>
Tue, 18 Dec 2018 14:19:47 +0000 (15:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 18 Dec 2018 14:19:47 +0000 (15:19 +0100)
commit0d4d9e8f55602415475e04a5dc8b4ad27845a7f9
tree47dac4d023cf4638cd0fe2cec45f7e71e1320f87
parent19232b378fab04997c0612e5c19e82c29b59d99e
x86emul: work around SandyBridge errata

There are a number of exception condition related errata on SandyBridge
CPUs, some of which are unexpected #UD (others, of no interest here, are
lack of mandated exceptions, or exceptions of unexpected type). Annotate
the one workaround we already have, and add two more.

Due to the exception recovery we have in place for stub invocations
these aren't security issues.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c