From nobody Thu Oct 24 02:41:46 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 4XYqtf5vfXz5ZyD5; Thu, 24 Oct 2024 02:41:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYqtf2gXmz455s; Thu, 24 Oct 2024 02:41:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729737706; 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=ycP/MDoTVJ+/HUuS8Y9BECQQB1bpS+Tci34IsVTnIf4=; b=nPO2N43ZlpXbzpI7NMt6im13mqC790q2kSATZzY1CAJ3aosbCWMdEj0aUO+84a0oyTi/Pt 0kjElLtMfs/87qJkqqlIyrb5zJ3z4TJoM3Z51s4edurtr4FsiYvuckw5+O9r4yBYPh8Kvj FzcfGgMENRCqdS2y1qCHA/cDtEA7jHUjEJPAuGmY/Mp/lTaOReaWOGZg3Ow0QAU3HU8eCR s2xCC7MgKGwwqhnMYpISqdQwi7De/BUAuu8z22IlfXp7FCdJ94ZtO4QVAYY6l0oc86shkC L5n7R180IEV5KEPeh34YqCFq/vVomPlTlXyVK6VmgXb4Tf0ewOJcA0ThhABGew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729737706; 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=ycP/MDoTVJ+/HUuS8Y9BECQQB1bpS+Tci34IsVTnIf4=; b=EC/XnP2qoKgGnX3ZOPVTMr6EzrIpmNt0qtSUZNMlqC4q+rMuajXQ4A+dze1On+ETqPxEvr gJtEoZkNgd5RYu/TjfyLFU8A4hYH8V0uXVcFmLu6iYVJkZix2nGqlqSfo7Q2kFLfwVoIkG JiJqa/3GF+syTxCShfhpFXl/e0ezHOxXrSzJP7ETsZjw9fWkWhkM0ka5KI51myDTJvQXor lgkkqV8SVbKydXPFGDYb0jAwDY1yYvVr/Km+uyfn3bhu7kSt9P0luKOc8yIgjD4zW7sFtL f1ZkIuVkAH2ROB+uxraXe8R34OOfOPihhqQBE9kzHmuKuOrAJR8gyFrHw+4PTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729737706; a=rsa-sha256; cv=none; b=PGkDbb9OBeSsmnjS5jaLb1801exjQRFhX2Tpg8iXF+SBuHuYUI7KMexbRqc77QK8bB5OnE A7Q7yOX3RZly8tFT0xa271yisQ3Z3KnfCk/HEFtf03xjdEb8pEelVEZKWTghThLW0ZxV07 nL2XJ7N1BdQ1XAdLJT2oNl86mT9cOIvg8ArAWscTYpACG5NgwAwYr2Vh6wJG/a5n8e7IQc B6W5SVq3pvQinW4ZOMvotaQCSdi5KlSRz3aSz9a80m1I0GRnvwPfkTUnCoeWYnoUNLKRuI b27+9UyAoaOtpHyJeBNa2DVTwjH0DnAxp+5s0lFCkIG1cEIxIu7s4jCTjL8BgQ== 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 4XYqtf2CrRzPqS; Thu, 24 Oct 2024 02:41:46 +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 49O2fk8o078733; Thu, 24 Oct 2024 02:41:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49O2fkXb078730; Thu, 24 Oct 2024 02:41:46 GMT (envelope-from git) Date: Thu, 24 Oct 2024 02:41:46 GMT Message-Id: <202410240241.49O2fkXb078730@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 6308db659f2a - main - 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/main X-Git-Reftype: branch X-Git-Commit: 6308db659f2ad45b30bbf1d9c47abdc97d14ebb0 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6308db659f2ad45b30bbf1d9c47abdc97d14ebb0 commit 6308db659f2ad45b30bbf1d9c47abdc97d14ebb0 Author: Konstantin Belousov AuthorDate: 2024-10-23 23:21:11 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-24 02:41:10 +0000 x86 specialreg: add bit masks definitions for EFER features listed in AMD64 APM vol.2 rev. 3.42. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 197ae4bba7a1..ab172ec54ff6 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -105,6 +105,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