From nobody Wed Oct 30 03:09:08 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdXCS4yCwz5bSwW; Wed, 30 Oct 2024 03:09:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdXCS270sz4XPL; Wed, 30 Oct 2024 03:09:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730257748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gLAUpJ5qAT8mhq0Mnojqd6s4tJQ5Gpjx42Se2IQlwCw=; b=HStzUDBG6m/fJV4sKlp/CKov5u5eG719iql9I2+yAO0RSVoc4RqZEjFy8xErpLL9UCd57x IBc/Li1zBzsFO5qhfAZN+moVowZ2EuDRCLQuiv9wsfecW0BkzNOaXfMv74I5qVQJP0QUcu pXHFcarmFhakQCgpspCpjW3qxrFma4Do+6uhvho7gFZJg16eGjLnn80SCPiIQMl80Hlb2A G9w+qBNm8pIuAZOVlDfjcJYVTa5Rhj+6S8FKaAq7IH2mYmXx+wBrGgBORId0TByy/8VEQn 0N4fGmi+hnY2rStZ9WIe5g/IfEqsnksb5Qq2Be52ZAsvFq4RwsU8kXihvo/4dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730257748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gLAUpJ5qAT8mhq0Mnojqd6s4tJQ5Gpjx42Se2IQlwCw=; b=pUSGxauAMQYwX+p3h3DiDE+RxGHFFYQJ2KH/deWmua/YwDc9luFFOC0cYUJKT3BXQ24gOi qdl2B+zm9Aahukn4E4XIaTQMqUpL9ybpSg/oqzKY1BAXXbY6eyiA+7bioKUVWKx8BjHQEA rETZ1CFG6nOPeD6o5kj3d+GDHSqz1YfSKy5DnjHKpPgealdjBXwOASFmyqOCZQ6m8jRj5I MFmRDreWyzkNgkU8yN02uxVHM/P20ku5rvwJt1MbS07dR/S/+jI3YBQ2Y9aBuWCKru5m1y SojjHafGR2ysYqykFjjBJLR776BZYQn8BeSCKzUfJYk+hDlTP1fqkGIzNPso5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730257748; a=rsa-sha256; cv=none; b=bfXgqXLcKjBZ+kWPtxV2WMzxPtRaCHYFaePckpNwyIFmBaw2RU7N96THfENhIu2YqEitc+ X1y/9UZoGZ7TcUs/Njt5c29IWqD+CG38iCFT9DpAoy1zwXLvjUJGJj35u5L68zJsYlFKIE hvlkAIe5Xm2R5xqV3P775/lsYQEgnTQWWHngyI4MOuAKqaWsaI3XThWLNDW8xEvT5zAx6q ouDCTyXa7GrroLB7z8AHLL40KgGWtsQSFIbFxpLxBW0sZOPf80Tkow+lEkrYvBBMTnC3+k zxsnPWddPu++9435duvjypEfzM//HmXaevowWGnOSiYj5RtUcJ0t8L0tIJj7Qw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdXCS1ZwXzql3; Wed, 30 Oct 2024 03:09:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49U398v4048887; Wed, 30 Oct 2024 03:09:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U398PL048884; Wed, 30 Oct 2024 03:09:08 GMT (envelope-from git) Date: Wed, 30 Oct 2024 03:09:08 GMT Message-Id: <202410300309.49U398PL048884@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: a00d2dd06189 - stable/14 - x86 specialreg: add bit masks definitions for EFER features List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a00d2dd06189b894ef7b7175a2fe98afbc5486c2 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a00d2dd06189b894ef7b7175a2fe98afbc5486c2 commit a00d2dd06189b894ef7b7175a2fe98afbc5486c2 Author: Konstantin Belousov AuthorDate: 2024-10-23 23:21:11 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-30 02:40:30 +0000 x86 specialreg: add bit masks definitions for EFER features (cherry picked from commit 6308db659f2ad45b30bbf1d9c47abdc97d14ebb0) --- sys/x86/include/specialreg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 87461bdeafea..1f9069e3c1e1 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -107,6 +107,9 @@ #define EFER_FFXSR 0x000004000 /* Fast FXSAVE/FSRSTOR */ #define EFER_TCE 0x000008000 /* Translation Cache Extension */ #define EFER_MCOMMIT 0x000020000 /* Enable MCOMMIT (AMD) */ +#define EFER_INTWB 0x000040000 /* Interruptible WBINVD */ +#define EFER_UAIE 0x000100000 /* Upper Address Ignore */ +#define EFER_AIBRSE 0x000200000 /* Automatic IBRS */ /* * Intel Extended Features registers