Message ID | 20221013200134.1487-3-xin3.li@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp465109wrs; Thu, 13 Oct 2022 13:24:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7hJcMMBy+BkjDXXfCZW4PjBIQ4z4urYnQEulfUmRxY/3/C5hCxkEKdqzNGs4hB7DRHbjzR X-Received: by 2002:a63:ed0a:0:b0:442:2514:95f5 with SMTP id d10-20020a63ed0a000000b00442251495f5mr1459263pgi.402.1665692657986; Thu, 13 Oct 2022 13:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665692657; cv=none; d=google.com; s=arc-20160816; b=j1AU4qYiGNK13okJ7nHep2q9l2uzl8J1Tx648+eDbhOEX4j8a7KKdj3a2g1u0D8QEd 6rDcuD2d72oKzHziC1kX39lN1j1ZRq66Dqjb6UGW1IJWkZqGcMuQzp/CIN0VbrpsqI5E 7AxXsu+9t6IE1mr5eoqQ5oNCV5zPN69nfT1WkHb2dV0XN1sRc4HGaDWY0W5wedGn8sDI EyCuJKIcxCbGT1iFJBv670LrcbMsnWkngoonQ+5Dt6KlRZQHpaO1YlQbGp4VDUD5BTMa dve19W2KXBzBe4dqcbM4uaR28+KVAo1QRWQD55oGN9nIX3nr7oc4Gt1/fk4r4BznR2uE Plzw== 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=m6d2gnKpfAgWaG0OuN3SPWtBkLRCOgdpeHpIalKNJqXCXyy7VF8WoUcTXlQdCHa12i wjMgKLncXkI8BIlAkq70kdZ7TzsO+8aoxeOEpFRt625nmV6iOF+eqmgw8iMoIX965Mtt 6nkVkJ6toGQ4xZOAF8oI5PIZtr69fcwUMulL4tv5h/x9ptCt5WUqSoXiYmB1bIuKv0mL PhwbIl0Vgl8djVvBZMc8RCK0Gzoc9LJSgj3zyxR/IsaYcYzmW2nLzvdFpQ05LhQaaJIY MdGOHuRpaAbkBy2fXpw7SOloG7OlAU/KL4n+8sUwAGvU43vAoqafX/7lJxV54VHZEkhN gO6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AKsPAOgk; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw4-20020a17090b4d0400b001fdb95c743bsi7295194pjb.83.2022.10.13.13.24.04; Thu, 13 Oct 2022 13:24:17 -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=AKsPAOgk; 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 S229864AbiJMUXn (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Thu, 13 Oct 2022 16:23:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbiJMUXa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Oct 2022 16:23:30 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44160159D51 for <linux-kernel@vger.kernel.org>; Thu, 13 Oct 2022 13:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665692610; x=1697228610; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LPkLGLb6ct3NaqkfE/fcmAkN388PX6Fn1d7MFn2Rg6I=; b=AKsPAOgkoT9uYH8ql73lDu8lsHfzzmqrJPwNvZfTfyPJTJ9Vpq5AQS8c ymDogrT/rbUPs8046tfSwqEcSRSbDMgswO95fJ0agkD4/IuvCeS+WDYv3 q6leno4kVs+9QgYx/HgZ7qqBO8I4FYkLlMrcEntArrPd1XtbUoztATvn5 C3GjjIMuBEL8ghykc0DCuQyzQgkIOTkBjmHx4pHqWjX8Tm3JtUUsPGj2B mp2SrTTYnH8inVeMNt4PIzYF6OrIQaSiSRxxADa4K+AayzVJudKuCiJFz FcKdpC50vMvP0cYbNfZEn0mwXz3PXgX+7e7RXUqATVyZWyUS7C5hDCJPm w==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="302808952" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="302808952" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2022 13:23:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="690271043" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="690271043" Received: from unknown (HELO fred..) ([172.25.112.68]) by fmsmga008.fm.intel.com with ESMTP; 13 Oct 2022 13:23:27 -0700 From: Xin Li <xin3.li@intel.com> 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, brgerst@gmail.com, chang.seok.bae@intel.com Subject: [PATCH v3 2/6] x86/opcode: add LKGS instruction to x86-opcode-map Date: Thu, 13 Oct 2022 13:01:30 -0700 Message-Id: <20221013200134.1487-3-xin3.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221013200134.1487-1-xin3.li@intel.com> References: <20221013200134.1487-1-xin3.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746605344442129929?= X-GMAIL-MSGID: =?utf-8?q?1746605344442129929?= |
Series |
Enable LKGS instruction
|
|
Commit Message
Li, Xin3
Oct. 13, 2022, 8:01 p.m. UTC
From: "H. Peter Anvin (Intel)" <hpa@zytor.com> 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) <hpa@zytor.com> Signed-off-by: Xin Li <xin3.li@intel.com> --- 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