1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-30 23:05:48 +00:00
Commit graph

701 commits

Author SHA1 Message Date
The Tumultuous Unicorn Of Darkness
7b0e6ba085
Put back correct fprintf() format in cpuid_serialize_raw_data_internal()
%08 and %016 removed by mistake in 10bac35920
2024-07-03 19:36:56 +02:00
The Tumultuous Unicorn Of Darkness
1bc636e2cf
Print a warning for unsupported CPU architectures
The goal is to warn people trying to build libcpuid on PPC, MIPS, RISC-V and so on.
2024-07-01 15:11:21 +02:00
The Tumultuous Unicorn Of Darkness
2dcd347807
Update docs 2024-07-01 11:00:06 +02:00
The Tumultuous Unicorn Of Darkness
92bf72bf4d
Revert "CI: disable docs pipeline for now"
This reverts commit 334cbea0ae.

GitHut Pages actived
2024-07-01 09:46:38 +02:00
The Tumultuous Unicorn Of Darkness
bfe8383346
README: update URLs 2024-07-01 09:46:13 +02:00
The Tumultuous Unicorn Of Darkness
ca7f84676b
Tests: put back delimiter when fixing test files 2024-07-01 09:44:07 +02:00
The Tumultuous Unicorn Of Darkness
48f82ab05a
Tests: do not print warnings 2024-06-30 20:05:10 +02:00
The Tumultuous Unicorn Of Darkness
7b87858dc2
Fix register type for match_arm_features()
D:\a\libcpuid\libcpuid\libcpuid\recog_arm.c(890,3): warning C4244: 'function': conversion from 'uint64_t' to 'uint32_t', possible loss of data [D:\a\libcpuid\libcpuid\libcpuid\libcpuid_vc10.vcxproj]

Indeed, it was an issue.
2024-06-30 20:04:35 +02:00
The Tumultuous Unicorn Of Darkness
10bac35920
Fix warnings about sscanf() and printf() formats
I do not have them on GCC (Linux x86_64), but it complains on macOS and Windows according to CI: https://github.com/anrieff/libcpuid/actions/runs/9731746775/job/26856558997
inttypes seems to be a better portable way to handle type like uint64_t.
2024-06-30 19:54:21 +02:00
The Tumultuous Unicorn Of Darkness
2c42dba70a
Delete update_tests.sh
In fact, run_tests.py --fix can do the same thing.
2024-06-30 14:43:54 +02:00
The Tumultuous Unicorn Of Darkness
7456289072
Do not warn about deprecated declarations in cpu_ident_internal() 2024-06-30 13:51:50 +02:00
The Tumultuous Unicorn Of Darkness
549206f59e
README: minor fix 2024-06-30 13:50:35 +02:00
The Tumultuous Unicorn Of Darkness
6f02f1f416
Update README.md and add CONTRIBUTING.md
- update supported CPU architectures
- update build instructions
- move contributing to a dedicated page
2024-06-30 13:42:24 +02:00
The Tumultuous Unicorn Of Darkness
5134a23dc0
Remove useless files
AM_INIT_AUTOMAKE([foreign]) is set in configure.ac, so these files are not mandatory
2024-06-30 12:53:33 +02:00
The Tumultuous Unicorn Of Darkness
c6a72849b8
Allow to build libcpuid without deprecated attributes
It helps to track internal usage of deprecated attributes.
2024-06-30 12:38:22 +02:00
The Tumultuous Unicorn Of Darkness
e740cbe798
utils: move bump_version.sh 2024-06-29 19:03:09 +02:00
The Tumultuous Unicorn Of Darkness
ef988303ae
Fix consistency 2024-06-29 19:01:41 +02:00
The Tumultuous Unicorn Of Darkness
23b6674ba1
Fill CPU purpose for AMD in cpuid_identify_amd() 2024-06-29 17:45:36 +02:00
The Tumultuous Unicorn Of Darkness
f3c6b8f1ef
Support for Extended CPU topology leaf in cpuid_identify_purpose_amd() 2024-06-29 17:35:44 +02:00
The Tumultuous Unicorn Of Darkness
e78f12464b
Add support for AMD leaf 80000026h 2024-06-29 17:35:33 +02:00
The Tumultuous Unicorn Of Darkness
f627d0ee6f
Tests: update CPUID 8FFFFFFF value
No comment.
2024-06-29 17:30:34 +02:00
The Tumultuous Unicorn Of Darkness
334cbea0ae
CI: disable docs pipeline for now 2024-06-29 17:03:47 +02:00
The Tumultuous Unicorn Of Darkness
959edc34e7
Add cpu_feature_level_t enumerated values for x86 CPUs
I had to fix run_tests.py to update all test files properly.
Fix #177
2024-06-29 17:01:50 +02:00
The Tumultuous Unicorn Of Darkness
c5885699f0
Add initial support for ARM CPUs
Close #200
2024-06-28 20:41:00 +02:00
The Tumultuous Unicorn Of Darkness
ca0f64099b
CI: generate docs 2024-06-26 18:12:28 +02:00
The Tumultuous Unicorn Of Darkness
9de7f85c80
Test: remove ice-lake-i3.test
Duplicate of tests/intel/x86-64/skylake/cannon-lake-core-i3-u.test
2024-06-24 16:36:45 +02:00
The Tumultuous Unicorn Of Darkness
ac57f69275
RDMSR: check if MSR_PERF_STATUS/MSR_TEMPERATURE_TARGET/MSR_PLATFORM_INFO are supported
Fix #185
2024-06-24 16:16:04 +02:00
The Tumultuous Unicorn Of Darkness
0dae8b8d92
check-consistency: fix processor definitions checks
Processor definitions checks were not working due to old harcoded values.
The tool pointed a typo in codename for "Athlon 64 (Sherman/512K)".
2024-06-23 20:10:22 +02:00
The Tumultuous Unicorn Of Darkness
1ac6898da0
Add cpu_clock_by_tsc() function
Fix #124
2024-06-16 16:53:34 +02:00
The Tumultuous Unicorn Of Darkness
ddb8000fd3
DB: add more AMD Phoenix (8000 series) 2024-06-01 10:43:05 +02:00
The Tumultuous Unicorn Of Darkness
838cfa6bce
DB: add AMD Hawk Point
Related to TheTumultuousUnicornOfDarkness/CPU-X#329
2024-06-01 09:53:15 +02:00
Pavol Žáčik
381b3352c6 Prevent intel_fn11 array overruns
First check whether we are past the array, only
then read and check its values.
2024-05-26 17:32:54 +02:00
Pavol Žáčik
550efe1a32 Fix cpuid_get_hypervisor when NULL data is provided
The data should be loaded into the local variable
`mydata`, not into the NULL parameter.
2024-05-26 17:32:54 +02:00
Pavol Žáčik
e66eee8c6b Fix handle leaks in rdmsr.c
All three leaks would occur in erroneous
function paths.
2024-05-26 17:32:54 +02:00
The Tumultuous Unicorn Of Darkness
954d9d43ef
Update CPU-X URL in Readme.md 2024-04-28 14:26:09 +02:00
The Tumultuous Unicorn Of Darkness
c0578a875c
CI: fix artifacts conflict
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
2024-04-28 14:15:58 +02:00
The Tumultuous Unicorn Of Darkness
e965155651
CI: update actions to Node20
All actions using Node16 are deprecated: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
2024-04-28 12:48:24 +02:00
The Tumultuous Unicorn Of Darkness
c3b478edd1
CI: update release notes 2024-04-28 12:39:23 +02:00
The Tumultuous Unicorn Of Darkness
a578c8d993
Release version 0.6.5 2024-04-28 12:23:59 +02:00
The Tumultuous Unicorn Of Darkness
2436e73081
List commits since last tag in bump_version.sh 2024-04-28 12:20:29 +02:00
The Tumultuous Unicorn Of Darkness
67319216d8
DB: add more AMD Van Gogh
Related to InstLatx64/InstLatx64@8684ca320e
2024-04-28 11:18:59 +02:00
The Tumultuous Unicorn Of Darkness
e47636f7b5
Tests: remove garbage in a test file 2024-04-28 11:03:58 +02:00
The Tumultuous Unicorn Of Darkness
61fdbbb5d6
DB: rename Intel 'Sapphire Rapids-SP (Xeon Max)' to 'Sapphire Rapids-HBM (Xeon Max)'
https://en.wikipedia.org/wiki/Sapphire_Rapids#Sapphire_Rapids-HBM_(High_Bandwidth_Memory/Xeon_Max_Series)
2024-04-28 11:02:29 +02:00
The Tumultuous Unicorn Of Darkness
0c7cb41379
DB: add Intel Emerald Rapids-SP 2024-04-28 11:00:30 +02:00
The Tumultuous Unicorn Of Darkness
13baa0d94e Tests: add results for Intel Meteor Lake-H 2024-04-14 17:19:12 +02:00
The Tumultuous Unicorn Of Darkness
d9f2683aab Add PURPOSE_LP_EFFICIENCY to cpu_purpose_t for Intel Meteor Lake 2024-04-14 17:19:12 +02:00
The Tumultuous Unicorn Of Darkness
587f2597d7 Tests: fix Bay Trail results
Since 7ad0a494a5, it shows that core count for Intel® Celeron® Processor J1900 and Intel Atom® Processor Z3740 was wrong.
According to Intel, new values are correct:
- https://www.intel.com/content/www/us/en/products/sku/78867/intel-celeron-processor-j1900-2m-cache-up-to-2-42-ghz/specifications.html?wapkw=J1900 ==> 4c/4t
- https://www.intel.com/content/www/us/en/products/sku/76759/intel-atom-processor-z3740-2m-cache-up-to-1-86-ghz/specifications.html ==> 4c/4t
2024-04-14 17:19:12 +02:00
The Tumultuous Unicorn Of Darkness
0b47460256 Rewrite cpu_identify_all() function to support heterogeneous RAW dumps
For Meteor Lake CPUs, performance and efficiency cores are mixed (unlike previous CPU generations), so the approach needs to be revisited.
2024-04-14 17:19:12 +02:00
The Tumultuous Unicorn Of Darkness
5bb1a2c7f9 DB: add initial support for Intel Meteor Lake 2024-04-14 17:19:12 +02:00
The Tumultuous Unicorn Of Darkness
e0cf171cd8
DB: add Intel Raport lake Refresh
Related to InstLatx64/InstLatx64@2a34937e15
2024-02-25 11:18:30 +01:00