From nobody Thu Oct 24 02:41:47 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 4XYqtg6wxNz5ZyD6; Thu, 24 Oct 2024 02:41:47 +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 4XYqtg3fJyz453c; Thu, 24 Oct 2024 02:41:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729737707; 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=TokU9/A+7J/Q24lVaIAAS2GGjVNNLlxSsk1jkF04gTc=; b=ENsAb8Zy/GifBxKxaFseSLOkh1U8yMDdlInYA8PwCdjuraH0pvKnSQ8iixat9YV4CGEyQH m5rJ+zTDe2ugIHVvhaZoS8RZ88j+/jCS8HQ7jqfp6X2espDtBErDNWA+IOLW0ZmKYZtAIX WMncErEHbP77rPkYCgY+bwIiM2GruX82jUJXjTj86KIKv3GUj9AuakYbNgyMN6dU/E/Grs /z1OGqPQ0wHvLnOWAMt3VGwja7PV6XhgkVyBXtL9VT08AwT5XtaekMukxFP/ltKflw2uwn JWnBGu6gIdU1I9mg/Q7jdQPrkt74Qq42Irr16uekBifyQsRrYoDgVDAtjbRNpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729737707; 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=TokU9/A+7J/Q24lVaIAAS2GGjVNNLlxSsk1jkF04gTc=; b=H4mPhPq0osrm3sQFUMGaUG+cS4BBk+wRVneajj7TrNSyVPeT/uYF+qI5T63OhJCYQfXIXh fgP1NGe1+YyGol90Yr5VJWwClmUQe/cGl0d8XW8W2ipucm8B5qjN/f/LiYA+5lxc4NABs0 TTjBKKOdUH++1ySDJbY9TdM+UVaeBHX633Q/wQnqNP75Ls614WUvgSCFipuQOuT5G2fgVO uB15xbI+6Dub9kOOnM+E4Ly8eNh+sGGQgLMQbRqT/atkXdGzIsQuPIaqe+wXEDrPqXVWfg tpc2nDTaWWHQLv1tdK273ghgKzASxUeb0ZbcV1nB1CFFZvJ8azEazIFd0ZbXNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729737707; a=rsa-sha256; cv=none; b=TtA4aACz+bHYOSR4ZJGiNsrMzEnwY+ohbhrYSpoIku+EupR9qhk35CR19/81yNXbeMI8o8 B9BOhst6xFyBLMqv4XhNG6CR0XyJIV+zWYGOaaGwavu2cjcFHHk50XgqARQbm0Yp5mIR7b MUI95j26RakhQuFXNTweilRi19dDni2IU53EkHt74hNX15YyEglwSp+WyuN7Zdo585MLbJ vrQmeN1gwsvCcYJRmjbD5rFjbDA9m8PjKfC/uZQbmZfwE9SEqxJKvu1ilzprxmHHPWlvUX 6lULT3HCpRTCMarbop32HipR9RDgj4+SrIToIBbdMVJLNUG06KoHPok8p+ariQ== 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 4XYqtg3DMwzPSC; Thu, 24 Oct 2024 02:41:47 +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 49O2flWI078797; Thu, 24 Oct 2024 02:41:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49O2flIK078794; Thu, 24 Oct 2024 02:41:47 GMT (envelope-from git) Date: Thu, 24 Oct 2024 02:41:47 GMT Message-Id: <202410240241.49O2flIK078794@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: 9f718b57b846 - main - x86 specialreg: add bit masks definitions for LASS and LAM 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: 9f718b57b846b8e1fa562584747fdae42ffed8f4 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9f718b57b846b8e1fa562584747fdae42ffed8f4 commit 9f718b57b846b8e1fa562584747fdae42ffed8f4 Author: Konstantin Belousov AuthorDate: 2024-10-23 23:40:01 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-24 02:41:11 +0000 x86 specialreg: add bit masks definitions for LASS and LAM features in CPUID Structured Extended Features %eax 0x7 leaf 1 %eax, from Intel SDM vol. 2 rev. 085. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/x86/include/specialreg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index ab172ec54ff6..51c513b6a5ab 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -534,6 +534,12 @@ #define CPUID_STDEXT3_CORE_CAP 0x40000000 #define CPUID_STDEXT3_SSBD 0x80000000 +/* + * CPUID instruction 7 Structured Extended Features, leaf 1 eax info + */ +#define CPUID_STDEXT4_LASS 0x00000040 +#define CPUID_STDEXT4_LAM 0x04000000 + /* CPUID_HYBRID_ID leaf 0x1a */ #define CPUID_HYBRID_CORE_MASK 0xff000000 #define CPUID_HYBRID_SMALL_CORE 0x20000000