[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55dfd3fd-26c2-77d6-4961-3cef8d746f7f@citrix.com>
Date: Tue, 7 Apr 2020 18:16:58 +0100
From: Andrew Cooper <andrew.cooper3@...rix.com>
To: Masami Hiramatsu <mhiramat@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
CC: <tglx@...utronix.de>, <linux-kernel@...r.kernel.org>,
<hch@...radead.org>, <sean.j.christopherson@...el.com>,
<mingo@...hat.com>, <bp@...en8.de>, <hpa@...or.com>,
<x86@...nel.org>, <kenny@...ix.com>, <jeyu@...nel.org>,
<rasmus.villemoes@...vas.dk>, <pbonzini@...hat.com>,
<fenghua.yu@...el.com>, <xiaoyao.li@...el.com>,
<nadav.amit@...il.com>, <thellstrom@...are.com>,
<tony.luck@...el.com>, <rostedt@...dmis.org>,
<gregkh@...uxfoundation.org>, <jannh@...gle.com>,
<keescook@...omium.org>, <David.Laight@...lab.com>,
<dcovelli@...are.com>
Subject: Re: [PATCH 3/4] x86,module: Detect VMX vs SLD conflicts
On 07/04/2020 17:51, Masami Hiramatsu wrote:
> diff --git a/tools/arch/x86/tools/gen-insn-attr-x86.awk b/tools/arch/x86/tools/gen-insn-attr-x86.awk
> index d74d9e605723..ade80796453c 100644
> --- a/tools/arch/x86/tools/gen-insn-attr-x86.awk
> +++ b/tools/arch/x86/tools/gen-insn-attr-x86.awk
> @@ -70,6 +70,8 @@ BEGIN {
> mmx_expr = "^(emms|fxsave|fxrstor|ldmxcsr|stmxcsr)" # MMX/SSE nmemonics lacking operands
> fpu_expr = "^x87"
>
> + vmx_expr = "^VM.*" # All mnemonic start with "VM" are VMX instructions
Not really.
VMMCALL, VMLOAD, VMSAVE and VMRUN are SVM instructions.
VMASKMOV is a AVX instruction.
~Andrew
Powered by blists - more mailing lists