From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752432AbdLLOWF (ORCPT ); Tue, 12 Dec 2017 09:22:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:56638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752373AbdLLOWD (ORCPT ); Tue, 12 Dec 2017 09:22:03 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10B7620C0F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mhiramat@kernel.org Date: Tue, 12 Dec 2017 23:21:59 +0900 From: Masami Hiramatsu To: Randy Dunlap , Ingo Molnar Cc: LKML , X86 ML , Josh Poimboeuf , Masami Hiramatsu Subject: Re: [PATCH v2] x86: update/correct opcodes map Message-Id: <20171212232159.e93ae44b8135e340d5123132@kernel.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Dec 2017 10:38:36 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Update x86-opcode-map.txt based on the October 2017 Intel SDM publication. > Correct INVPID to INVVPID. > Add UD0 and UD1 instruction opcodes. > Looks good to me :) Acked-by: Masami Hiramatsu Ingo, could you pull this change? Thank you, > Signed-off-by: Randy Dunlap > Cc: Masami Hiramatsu > Cc: Masami Hiramatsu > Cc: Josh Poimboeuf > Cc: x86 maintainers > --- > > v2 changes: > . correct email address. > . add full Grp10 table > . use # comments as requested > > arch/x86/lib/x86-opcode-map.txt | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > > --- lnx-415-rc3.orig/arch/x86/lib/x86-opcode-map.txt > +++ lnx-415-rc3/arch/x86/lib/x86-opcode-map.txt > @@ -533,7 +533,7 @@ b5: LGS Gv,Mp > b6: MOVZX Gv,Eb > b7: MOVZX Gv,Ew > b8: JMPE (!F3) | POPCNT Gv,Ev (F3) > -b9: Grp10 (1A) > +b9: Grp10 (1A) # all UD1 > ba: Grp8 Ev,Ib (1A) > bb: BTC Ev,Gv > bc: BSF Gv,Ev (!F3) | TZCNT Gv,Ev (F3) > @@ -607,7 +607,7 @@ fb: psubq Pq,Qq | vpsubq Vx,Hx,Wx (66),( > fc: paddb Pq,Qq | vpaddb Vx,Hx,Wx (66),(v1) > fd: paddw Pq,Qq | vpaddw Vx,Hx,Wx (66),(v1) > fe: paddd Pq,Qq | vpaddd Vx,Hx,Wx (66),(v1) > -ff: > +ff: UD0 > EndTable > > Table: 3-byte opcode 1 (0x0f 0x38) > @@ -717,7 +717,7 @@ AVXcode: 2 > 7e: vpermt2d/q Vx,Hx,Wx (66),(ev) > 7f: vpermt2ps/d Vx,Hx,Wx (66),(ev) > 80: INVEPT Gy,Mdq (66) > -81: INVPID Gy,Mdq (66) > +81: INVVPID Gy,Mdq (66) > 82: INVPCID Gy,Mdq (66) > 83: vpmultishiftqb Vx,Hx,Wx (66),(ev) > 88: vexpandps/d Vpd,Wpd (66),(ev) > @@ -970,6 +970,15 @@ GrpTable: Grp9 > EndTable > > GrpTable: Grp10 > +# all are UD1 > +0: UD1 > +1: UD1 > +2: UD1 > +3: UD1 > +4: UD1 > +5: UD1 > +6: UD1 > +7: UD1 > EndTable > > # Grp11A and Grp11B are expressed as Grp11 in Intel SDM > > -- Masami Hiramatsu