Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4e8e863f
Commit
4e8e863f
authored
Feb 27, 2014
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/power turbostat: Run on Broadwell
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
fc04cc67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
tools/power/x86/turbostat/turbostat.c
tools/power/x86/turbostat/turbostat.c
+11
-1
No files found.
tools/power/x86/turbostat/turbostat.c
View file @
4e8e863f
...
...
@@ -1492,6 +1492,9 @@ int has_nehalem_turbo_ratio_limit(unsigned int family, unsigned int model)
case
0x46
:
/* HSW */
case
0x37
:
/* BYT */
case
0x4D
:
/* AVN */
case
0x3D
:
/* BDW */
case
0x4F
:
/* BDX */
case
0x56
:
/* BDX-DE */
return
1
;
case
0x2E
:
/* Nehalem-EX Xeon - Beckton */
case
0x2F
:
/* Westmere-EX Xeon - Eagleton */
...
...
@@ -1605,9 +1608,12 @@ void rapl_probe(unsigned int family, unsigned int model)
case
0x3C
:
/* HSW */
case
0x45
:
/* HSW */
case
0x46
:
/* HSW */
case
0x3D
:
/* BDW */
do_rapl
=
RAPL_PKG
|
RAPL_CORES
|
RAPL_CORE_POLICY
|
RAPL_GFX
|
RAPL_PKG_POWER_INFO
;
break
;
case
0x3F
:
/* HSX */
case
0x4F
:
/* BDX */
case
0x56
:
/* BDX-DE */
do_rapl
=
RAPL_PKG
|
RAPL_DRAM
|
RAPL_DRAM_PERF_STATUS
|
RAPL_PKG_PERF_STATUS
|
RAPL_PKG_POWER_INFO
;
break
;
case
0x2D
:
...
...
@@ -1851,6 +1857,9 @@ int is_snb(unsigned int family, unsigned int model)
case
0x3F
:
/* HSW */
case
0x45
:
/* HSW */
case
0x46
:
/* HSW */
case
0x3D
:
/* BDW */
case
0x4F
:
/* BDX */
case
0x56
:
/* BDX-DE */
return
1
;
}
return
0
;
...
...
@@ -1862,7 +1871,8 @@ int has_c8_c9_c10(unsigned int family, unsigned int model)
return
0
;
switch
(
model
)
{
case
0x45
:
case
0x45
:
/* HSW */
case
0x3D
:
/* BDW */
return
1
;
}
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment