2013-06-11 16:42:58 +02:00
|
|
|
#
|
|
|
|
# spec file for package cpuid
|
|
|
|
#
|
Accepting request 1064033 from home:dirkmueller:Factory
- updaet to 20230120:
* Intel's 13th Generation Core datasheet provides stepping names as
well as numbers! So:
* cpuid.c: Added synth decoding for (0,6),(11,7) Raptor Lake B0 stepping.
* cpuid.c: Added synth decoding for (0,6),(11,15) Raptor Lake C0
steppings, and clarified case for unknown stepping.
* cpuid.man: Added 743844: 13th Generation Core datasheet.
* cpuid.c: Fixed (0,6)(12,15) synth typo: Emearld Rapids.
* cpuid.c: Added 6/eax IA32_HW_FEEDBACK_THREAD_CONFIG bit 25.
* cpuid.c: Added 7/0/edx SGX-KEYS: SGX attestation services.
* cpuid.c: Clarified 7/0/edx IA32_MCU_OPT_CTRL SRBDS mitigation MSR.
* cpuid.c: Clarified 7/0/edx IA32_TSX_FORCE_ABORT MSR.
* cpuid.c: Added 7/1/edx CET_SSS: shadow stacks w/o page faults.
* cpuid.c: Added several 7/2/edx bits.
* cpuid.c: In 0xd/0/eax, corrected CET_U & CET_S, which were IA32_XSS.
* cpuid.c: In 0xd/0/eax, removed the IA32_XSS bits, which aren't
relevant for XCR0.
* cpuid.c: For 0xd/1/ecx, enumerate the IA32_XSS bits instead of a
hex bitmask.
* cpuid.c: For 0xd, added IA32_XSS PASID state (couple places).
* cpuid.c: Renamed 0x1a: Native Model ID.
* cpuid.c: Added synth & uarch decoding for (0,6),(11,15) Raptor Lake
from MSR_CPUID_table*.
* cpuid.c: Added synth decoding for (0,6),(9,7),5 Pentium Gold G7400,
based on instlatx64 sample.
* cpuid.c: Added rudimentary synth decoding for future (0,6),(12,15)
Emerald Rapids CPUs.
* cpuid.c: Added 7/1/eax LASS: linear address space separation.
* cpuid.c: Corrected 0x18/n/edx maximum number of addressible IDs, which
should use minus-one notation.
OBS-URL: https://build.opensuse.org/request/show/1064033
OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=43
2023-02-09 17:09:24 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-06-11 16:42:58 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-01-17 14:18:19 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-06-11 16:42:58 +02:00
|
|
|
#
|
|
|
|
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
Name: cpuid
|
Accepting request 1079377 from home:eeich:branches:utilities
- Update to release 20230406:
* Fixed bug when interpreting leaf 0xb and 0x1f bit widths:
Interpret as bit *offsets*, not *widths* of leaf 4. This fixes off by 1
in (APIC width synth) and incorrectly shifted (APIC synth) PKG_ID & CORE_ID
values.
* For 0xb/*/eax & 0x1f/*/eax, rename field to "bit width of
level & previous levels" to reflect this definition.
* Support APIC bit fields for the newest 4 topology
layers: module, tile, die, die group. And for the mp version, also
the older cu & pkg levels.
* Use the extended APIC ID's when available in a variety of leaves.
* Support leaf 0xb method for AMD/Hygon.
* Added prelim Bergamo A1 stepping from sample from @YuuKi_AnS.
* Added 7/1/edx AMX-COMPLEX instructions.
* Added 7/2/edx UC-lock disable.
* Added 0x10/n/ecx non-contiguous 1s value supported.
* Added 0x1c/ecx event logging supported bitmap.
* Added 0x23/0/ebx decoding.
* Decode 0x80000026/1/ebx core type & native model.
* For 0x80000021/eax, capitalize REP STOSB & REP CMPSB to match
Intel versions in 7/1/eax.
* For 0x80000022/ecx, shorten description, show bitmask only in
hex.
* Update CPUID utility with new feature bits as documented in
the AMD Processor Programming Reference for Family 19h and Model 11h:
0x8000000a/edx extended LVT offset fault change
0x80000021/eax enhanced predictive store forwarding, FSRS, FSRC,
FsGsKernelGsBaseNonSerializing
0x80000022/ebx number of available UMC PMCs
0x80000022/ecx bitmask representing active UMCs
OBS-URL: https://build.opensuse.org/request/show/1079377
OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=45
2023-04-14 10:56:36 +02:00
|
|
|
Version: 20230406
|
2011-06-02 00:07:39 +02:00
|
|
|
Release: 0
|
2015-07-09 08:55:11 +02:00
|
|
|
Summary: x86 CPU identification tool
|
2018-04-20 09:53:27 +02:00
|
|
|
License: GPL-2.0-or-later
|
2011-06-02 00:07:39 +02:00
|
|
|
Group: System/Management
|
2020-03-06 09:31:52 +01:00
|
|
|
URL: http://etallen.com/cpuid.html
|
2021-11-15 23:43:30 +01:00
|
|
|
Source: http://etallen.com/cpuid/%name-%version.src.tar.gz
|
2013-06-11 16:42:58 +02:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: make
|
2021-11-15 23:43:30 +01:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
%description
|
2013-06-11 16:42:58 +02:00
|
|
|
cpuid executes the CPUID instruction on x86-family CPUs and decodes
|
|
|
|
the results into English descriptions. It knows about Intel, AMD, and
|
|
|
|
Cyrix CPUs, and is fairly complete.
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
%prep
|
2022-10-13 18:45:53 +02:00
|
|
|
%autosetup
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
%build
|
2011-06-02 08:41:32 +02:00
|
|
|
# remove -Werror=format-security which is used on Mandriva, as it produces
|
|
|
|
# a false positive compiler error on several printf calls:
|
2021-11-15 23:43:30 +01:00
|
|
|
CFLAGS=$(echo "%optflags -Wall" | sed 's/-Werror=format-security//g')
|
2020-04-29 00:14:17 +02:00
|
|
|
%make_build CFLAGS="$CFLAGS"
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
%install
|
2021-11-15 23:43:30 +01:00
|
|
|
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir/man1"
|
|
|
|
install -pm0755 cpuid cpuinfo2cpuid "%buildroot/%_bindir/"
|
|
|
|
install -pm0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1"
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
%files
|
2020-03-06 09:31:52 +01:00
|
|
|
%doc ChangeLog
|
|
|
|
%license LICENSE
|
2021-11-15 23:43:30 +01:00
|
|
|
%_bindir/*
|
2022-10-13 18:45:53 +02:00
|
|
|
%_mandir/man1/*.1*
|
2011-06-02 00:07:39 +02:00
|
|
|
|
|
|
|
%changelog
|