All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86emul: don't read mask register on AVX512F-incapable platforms
@ 2019-03-28 17:03 Jan Beulich
  2019-03-28 17:44 ` George Dunlap
  2019-03-29  7:42 ` [PATCH v2] " Jan Beulich
  0 siblings, 2 replies; 11+ messages in thread
From: Jan Beulich @ 2019-03-28 17:03 UTC (permalink / raw)
  To: xen-devel
  Cc: George Dunlap, Andrew Cooper, Wei Liu, Juergen Gross, Roger Pau Monne

Reported-by: George Dunlap <george.dunlap@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
This is surely a stable tree candidate, unless it could still make it
into 4.12 before the release.

--- a/xen/arch/x86/x86_emulate/x86_emulate.c
+++ b/xen/arch/x86/x86_emulate/x86_emulate.c
@@ -3511,7 +3511,7 @@ x86_emulate(
     }
 
     /* With a memory operand, fetch the mask register in use (if any). */
-    if ( ea.type == OP_MEM && evex.opmsk )
+    if ( ea.type == OP_MEM && cpu_has_avx512f && evex.opmsk )
     {
         uint8_t *stb = get_stub(stub);
 



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-04-01 15:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-28 17:03 [PATCH] x86emul: don't read mask register on AVX512F-incapable platforms Jan Beulich
2019-03-28 17:44 ` George Dunlap
2019-03-28 18:03   ` Andrew Cooper
2019-03-29  6:59     ` Jan Beulich
2019-03-29  7:42 ` [PATCH v2] " Jan Beulich
2019-03-29  9:19   ` Andrew Cooper
2019-03-29  9:36     ` Jan Beulich
2019-03-29 10:02       ` Andrew Cooper
2019-03-29 10:56         ` Jan Beulich
2019-04-01 14:14           ` Andrew Cooper
2019-04-01 15:02             ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.