SHA256
1
0
forked from pool/cpuid
cpuid/cpuid.spec
Jan Engelhardt dcfb060635 Accepting request 1040204 from home:vlefebvre:branches:utilities
- Update to release 20221201
  * Clarified synth decoding for Intel Xeon D-1700.
  * Added uarch & synth decoding for AMD 4800S Desktop Kit, based on
    instlatx64 sample.
  * Added uarch decoding for AMD Genoa A1, based on instlatx64 sample
  * Added uarch decoding for (0,6),(12,15) Emerald Rapids, from LX*.
  * Added synth & uarch decoding for (10,15),(10,1) Bergamo.
	* Added 0x8000000a/edx bits: ROGPT, VNMI, IBS virtualization.
	* Added 0x8000001b/eax bit: IBS L3 miss filtering support.
	* Added 0x8000001f/eax bits: RMPQUERY instruction support,
	  VMPL supervisor shadow stack support, VMGEXIT parameter support,
	  virtual TOM MSR support, IBS virtual support for SEV-ES guests,
	  SMT protection support, SVSM communication page MSR support,
	  VIRT_RMPUPDATE & VIRT_PSMASH MSR support.
	* Added 0x80000020/0/ecx bit: L3 range reservation support.
	* Added 0x80000021/eax bits: automatic IBRS,
	  CPUID disable for non-privileged.
	* Added 0x80000022/eax bit: AMD LBR & PMC freezing.
	* Added 0x80000022/ebx field: number of LBR stack entries.
	* Added 0x80000023 leaf: Multi-Key Encrypted Memory Capabilities.
	* Added 0x80000026 leaf: AMD Extended CPU Topology.
	* cpuid.c: use lseek64 and cpuset_setaffinity, Added 0x80000022/eax
    AMD LBR V2 flag, from LX*.

OBS-URL: https://build.opensuse.org/request/show/1040204
OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=40
2022-12-05 10:16:52 +00:00

58 lines
1.8 KiB
RPMSpec

#
# spec file for package cpuid
#
# Copyright (c) 2022 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: cpuid
Version: 20221201
Release: 0
Summary: x86 CPU identification tool
License: GPL-2.0-or-later
Group: System/Management
URL: http://etallen.com/cpuid.html
Source: http://etallen.com/cpuid/%name-%version.src.tar.gz
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: make
ExclusiveArch: %ix86 x86_64
%description
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.
%prep
%autosetup
%build
# remove -Werror=format-security which is used on Mandriva, as it produces
# a false positive compiler error on several printf calls:
CFLAGS=$(echo "%optflags -Wall" | sed 's/-Werror=format-security//g')
%make_build CFLAGS="$CFLAGS"
%install
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir/man1"
install -pm0755 cpuid cpuinfo2cpuid "%buildroot/%_bindir/"
install -pm0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1"
%files
%doc ChangeLog
%license LICENSE
%_bindir/*
%_mandir/man1/*.1*
%changelog