Skip to content

Commit

Permalink
Add 20 intel_pstate and cpufreq scaling driver cases
Browse files Browse the repository at this point in the history
Signed-off-by: qwang59 <[email protected]>
  • Loading branch information
qwang59 committed Feb 27, 2024
1 parent 8e7f399 commit fab9066
Show file tree
Hide file tree
Showing 3 changed files with 1,129 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pstate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Release Notes for Intel Pstate cases

The cpufreq driver is a generic CPU frequency scaling driver that provides a framework
for managing the CPU frequency, while Intel_Pstate driver is a specific CPU frequency
for Intel® Architecture-based processors. These drivers are specifically optimized for
Intel_pstate and rely on the cpufreq sysfs attributes for configuration.

The tests file contains the cases that are applicable to both Intel® client and Server platforms.
At present, the tests do not cover non-HWP mode, but are exclusively designed for Hardware P-state mode.
HWP stands for Hardware-controlled Performance States, For more information on the HWP specifiction,
please consult the Intel® Software Developer's Manual.

You can run the cases one by one, e.g. command

```
./intel_pstate_tests.sh -t verify_sysfs_atts
```
You also can run the cases together with runtests command, e.g.

```
cd ..
./runtests -f pstate/tests -o logfile
```

These are the basic cases for CPU pstates, If you have good idea to
improve pstate cases, you are welcomed to send us the patches, thanks!
Loading

0 comments on commit fab9066

Please sign in to comment.