From 96137cf1426a1d6419ec9fd205e22b03b2af313d Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 5 Aug 2020 10:29:18 +0200 Subject: [PATCH] x86emul: AVX512PF insns aren't memory accesses These are prefetches, so should be treated just like other prefetches. Fixes: 467e91bde720 ("x86emul: support AVX512PF insns") Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/arch/x86/x86_emulate/x86_emulate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/x86_emulate/x86_emulate.c b/xen/arch/x86/x86_emulate/x86_emulate.c index c54ad589c4..41883ad6d8 100644 --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -12266,6 +12266,8 @@ x86_insn_is_mem_access(const struct x86_emulate_state *state, ... X86EMUL_OPC_F2(0x0f, 0x1f): /* NOP space */ case X86EMUL_OPC(0x0f, 0xb9): /* UD1 */ case X86EMUL_OPC(0x0f, 0xff): /* UD0 */ + case X86EMUL_OPC_EVEX_66(0x0f38, 0xc6): /* V{GATH,SCATT}ERPF*D* */ + case X86EMUL_OPC_EVEX_66(0x0f38, 0xc7): /* V{GATH,SCATT}ERPF*Q* */ return false; case X86EMUL_OPC(0x0f, 0x01): -- 2.39.5