Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1207133rwi; Mon, 10 Oct 2022 12:49:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FY40jOCV5c2vqHTHEA1tn6Aa5mg5vWCsPG/M0XxWxZTOp39lM8qC3skzsuENHSH+xctMC X-Received: by 2002:a17:906:794b:b0:783:8db0:95a5 with SMTP id l11-20020a170906794b00b007838db095a5mr16442187ejo.728.1665431345367; Mon, 10 Oct 2022 12:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665431345; cv=none; d=google.com; s=arc-20160816; b=udq5G2Hd0o0+mZtUDEoUH8TMfKuH7rz+y7l1UGpbF/wb/3B1kbJxQHl4lKxyfeFELD axwTKzLavoN2Fk3IHhToQn821nlQy93eaqXbcTCRdpaHj7aedxSbwr8UNt7J8oqoF0Xy WfQKcR91XdYBwU1hVGHHOj/GB6+N4GLlRi/DTxdTZBK1S6DdejPZjdaUMMvi8gJExuym J9lWAuLlNjB9lq6xSIOs1qFZCcx4BK48lYZ7sbxD82RrVJrGgUGfzFkXMj/a6RWXo1/p MX0gOd7O8NduOBdc/YHX6dMRWBRzpOy/1plioqywuKVpZMShAOxBNn/xQqxq9MJU2Lzd pxFQ== 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=uHis3svgs5L1hzhXFr+UEtQzF9TVzWaGb1qz9Udi5vg6aTQYT6gnKsTMJts2cnOd9n zLCmPC4ZP6ZXw0tRnlxrS/dgYLECL782SNKFS92X+0d8CDOGP1P1r6u4xReTS6+gPJlK qSt8A2dbUvXYbdOsC8mFpmApS+RSvd1S8fBuDbLp61R9YFoNimoDOvTsJzBtEMP+l05R pIMJxPDVmX2y53BfddwF87XNqlxQaOHOFBCM8aLF331whzVW7jK4Ou5wsksruMh/9MUT /X1Z152dU2d6VzXSfS4oQ9+naMeyj5+XWFbOMp3C976XYDgylRrP8fWv9OvuOQ0D23XG GR3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gcFt76w5; 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 y10-20020a056402358a00b0045a3ac6ad61si10072684edc.307.2022.10.10.12.48.37; Mon, 10 Oct 2022 12:49:05 -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=gcFt76w5; 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 S229445AbiJJTX5 (ORCPT + 99 others); Mon, 10 Oct 2022 15:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiJJTXw (ORCPT ); Mon, 10 Oct 2022 15:23:52 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A84EF61119 for ; Mon, 10 Oct 2022 12:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665429831; x=1696965831; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LPkLGLb6ct3NaqkfE/fcmAkN388PX6Fn1d7MFn2Rg6I=; b=gcFt76w5TSVOZdxW5BMyTsQGTWLYvuu0C+Ffs4Y1EPTQJ6VGy8k1yzeJ 6MTDJMbFmXUQU9EcCAG2TgH/vV6IlKyYyAYxwQdkaYa26FV61EojR0zjH uh06TYdNUVFqO95kGKebH/TaozytCN+pTvk/V4zcb2hdM10Jya1Y0ay+6 bqnm81bSTpwsqN8L5dmjbtlZ7g4V7MfjLNaoZCIU7WwIURQKQglYUo0AB n+0MOoJl3pbWYQlDKjxTbQ57gc8xN9i66NlJtHUlIdEnk96E0achIeuP6 faHEk3OZzInymOVUDI4l7XBV41VBjW9YJWdkWi2dHRqgMhJToJznO3Dul g==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="284044531" X-IronPort-AV: E=Sophos;i="5.95,173,1661842800"; d="scan'208";a="284044531" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 12:23:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="694762689" X-IronPort-AV: E=Sophos;i="5.95,173,1661842800"; d="scan'208";a="694762689" Received: from unknown (HELO fred..) ([172.25.112.68]) by fmsmga004.fm.intel.com with ESMTP; 10 Oct 2022 12:23:50 -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, peterz@infradead.org Subject: [PATCH v2 2/6] x86/opcode: add LKGS instruction to x86-opcode-map Date: Mon, 10 Oct 2022 12:01:55 -0700 Message-Id: <20221010190159.11920-3-xin3.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221010190159.11920-1-xin3.li@intel.com> References: <20221010190159.11920-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, SPF_HELO_PASS,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