Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1162463rwb; Thu, 6 Oct 2022 09:11:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5eRGd2qfEaMoVcRGBhn8zq2qSIuntPjwCOn0/Zb1gfDXJ6QkowV9+eA16c2+tIybUjfrD8 X-Received: by 2002:a17:907:783:b0:76e:f290:8b5 with SMTP id xd3-20020a170907078300b0076ef29008b5mr492025ejb.395.1665072681860; Thu, 06 Oct 2022 09:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665072681; cv=none; d=google.com; s=arc-20160816; b=rQdrFwlRWD1dTN9H2dzWzMuWGH+V+5nHHK4KSn6QbRa6Z4kEbJrquNit2m9eHmXDhM tXFDGvRn8GKztuPrU/wdlrIPhDWhgXM2XcROvozX9nglaYA0QFO3redHojuZzmb8H/oE bMYXNCFicV7puejzSu6BnbPoRszUyN8BSab0+lBCvmlp9kXOkPEaQA0cqzjvwMysPHgS BoRcYlAwRRlHTH1WjtnapBDxtHKavUzKPM3TsiqRCXgyazmnrohJgQfc53Rc8k25iyEL 4UjTFOPW0Rgfw8xwn69yniWDhAMQIUbvmi9nVkxCjkFriQeAQj4IWs2hKL25evBHRgx7 eFAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+3L/zBhMiW903xYBCmWze24Rs8tywihmXNz1C+Zm5Es=; b=GHcPXi/ELhFumDefs1iQiOwkwzYi+kl6mae1CAejV9OUz99mkh2hADbgYagMLQg/bY WIWG9ZSrPaMqCps6LLh3nCkWNTuaYJFe+U8QxuFY+OwXOGQ9LKQIJn3anETeH/FPB+YZ YvdsCpF+tzYXfOT5WanWFbFQiUGGCyJmtlS6sPdtW+e2xBjIhOOgBqDL7aq9dF2uy0oX D/uEusKvnMcByaPpgvnZ+RahiegPVO0YqkyQTzAHYzMc2AyOMtcAM40C6RXK+xdV+VAi fFCpIwJVsxQ8j+sXXdiZBLpXKpfmhLrN3D6Mq4UyAAtLYVTWpAk2iIAQ65KA6lGjda5h fFmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=b+BeOhmO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz5-20020a1709072ce500b007707e4ce2ebsi16457573ejc.234.2022.10.06.09.10.54; Thu, 06 Oct 2022 09:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=b+BeOhmO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbiJFQDx (ORCPT + 99 others); Thu, 6 Oct 2022 12:03:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232001AbiJFQDr (ORCPT ); Thu, 6 Oct 2022 12:03:47 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFF23ABD5D for ; Thu, 6 Oct 2022 09:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665072226; x=1696608226; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LPkLGLb6ct3NaqkfE/fcmAkN388PX6Fn1d7MFn2Rg6I=; b=b+BeOhmOTpR+IzH9SdsPYxkCa+McXP5HqwGj3fayUSzWbV/gwNRR+nUs FpQKlGVeJ7d020jFwCVbztyE1H4bDjOzbaeaShDDVCtLh89th1d7acARg PzMyS7DcHF2UyWKe2ZTuY6omC6pOoj9JmVBKYhQhIKKDrgerxkR0NVx6a p2B1zBjOtaCqKG6jdbtQFXRdpoCE1J8Xp6uOIG2GBWd4is4YgXn013ifh LGqRIEPgk/kWygf5DvCPWoYOo/dfT637GQx9sIK8oPE9Sin7KadELohhX 1evXnSHtwazhM0TdpK9uxgxzxvQ2mzzdbstY3WlPc23OElegyb+R71+gv A==; X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="304480701" X-IronPort-AV: E=Sophos;i="5.95,164,1661842800"; d="scan'208";a="304480701" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2022 09:02:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="687486225" X-IronPort-AV: E=Sophos;i="5.95,164,1661842800"; d="scan'208";a="687486225" Received: from unknown (HELO fred..) ([172.25.112.68]) by fmsmga008.fm.intel.com with ESMTP; 06 Oct 2022 09:02:35 -0700 From: Xin Li To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com Subject: [PATCH 2/6] x86/opcode: add LKGS instruction to x86-opcode-map Date: Thu, 6 Oct 2022 08:40:37 -0700 Message-Id: <20221006154041.13001-3-xin3.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006154041.13001-1-xin3.li@intel.com> References: <20221006154041.13001-1-xin3.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "H. Peter Anvin (Intel)" Add the instruction opcode used by LKGS. Opcode number is per public FRED draft spec v3.0 https://cdrdv2.intel.com/v1/dl/getContent/678938. Signed-off-by: H. Peter Anvin (Intel) Signed-off-by: Xin Li --- arch/x86/lib/x86-opcode-map.txt | 1 + tools/arch/x86/lib/x86-opcode-map.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/lib/x86-opcode-map.txt b/arch/x86/lib/x86-opcode-map.txt index d12d1358f96d..5168ee0360b2 100644 --- a/arch/x86/lib/x86-opcode-map.txt +++ b/arch/x86/lib/x86-opcode-map.txt @@ -1047,6 +1047,7 @@ GrpTable: Grp6 3: LTR Ew 4: VERR Ew 5: VERW Ew +6: LKGS Ew (F2) EndTable GrpTable: Grp7 diff --git a/tools/arch/x86/lib/x86-opcode-map.txt b/tools/arch/x86/lib/x86-opcode-map.txt index d12d1358f96d..5168ee0360b2 100644 --- a/tools/arch/x86/lib/x86-opcode-map.txt +++ b/tools/arch/x86/lib/x86-opcode-map.txt @@ -1047,6 +1047,7 @@ GrpTable: Grp6 3: LTR Ew 4: VERR Ew 5: VERW Ew +6: LKGS Ew (F2) EndTable GrpTable: Grp7 -- 2.34.1