Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1424277 > unrolled thread
| Started by | Jacob Pan <jacob.jun.pan@linux.intel.com> |
|---|---|
| First post | 2016-06-16 19:00 +0200 |
| Last post | 2016-06-17 03:10 +0200 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/3] Tools/Power/Turbostat update for Denverton Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-06-16 19:00 +0200
[PATCH 3/3] tools/power/turbostat: add denverton rapl support Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-06-16 19:00 +0200
Re: [PATCH 3/3] tools/power/turbostat: add denverton rapl support Len Brown <lenb@kernel.org> - 2016-06-17 03:10 +0200
[PATCH 2/3] tools/power/turbostat: add denverton support Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-06-16 19:00 +0200
Re: [PATCH 2/3] tools/power/turbostat: add denverton support Len Brown <lenb@kernel.org> - 2016-06-17 03:10 +0200
| From | Jacob Pan <jacob.jun.pan@linux.intel.com> |
|---|---|
| Date | 2016-06-16 19:00 +0200 |
| Subject | [PATCH 0/3] Tools/Power/Turbostat update for Denverton |
| Message-ID | <rKIO6-2nS-3@gated-at.bofh.it> |
This simple series first address missing RAPL MSR handling such that new CPUs such as Denverton can be supported. Denverton specific bits are added later. Jacob Pan (3): tools/power/turbostat: handle missing rapl msrs tools/power/turbostat: add denverton support tools/power/turbostat: add denverton rapl support tools/power/x86/turbostat/turbostat.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) -- 1.9.1
[toc] | [next] | [standalone]
| From | Jacob Pan <jacob.jun.pan@linux.intel.com> |
|---|---|
| Date | 2016-06-16 19:00 +0200 |
| Subject | [PATCH 3/3] tools/power/turbostat: add denverton rapl support |
| Message-ID | <rKIO6-2nS-29@gated-at.bofh.it> |
| In reply to | #1424277 |
Denverton CPU RAPL supports package, core, and dram domains. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> --- tools/power/x86/turbostat/turbostat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index d219c4f..3c10d6d 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -2677,6 +2677,9 @@ void rapl_probe(unsigned int family, unsigned int model) case 0x4D: /* AVN */ do_rapl = RAPL_PKG | RAPL_CORES; break; + case 0x5f: /* DNV */ + do_rapl = RAPL_PKG | RAPL_DRAM | RAPL_DRAM_POWER_INFO | RAPL_DRAM_PERF_STATUS | RAPL_PKG_PERF_STATUS | RAPL_PKG_POWER_INFO | RAPL_CORES_ENERGY_STATUS; + break; default: return; } -- 1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Len Brown <lenb@kernel.org> |
|---|---|
| Date | 2016-06-17 03:10 +0200 |
| Subject | Re: [PATCH 3/3] tools/power/turbostat: add denverton rapl support |
| Message-ID | <rKQsh-84n-5@gated-at.bofh.it> |
| In reply to | #1424279 |
Applied, thanks! Len Brown, Intel Open Source Technology Center
[toc] | [prev] | [next] | [standalone]
| From | Jacob Pan <jacob.jun.pan@linux.intel.com> |
|---|---|
| Date | 2016-06-16 19:00 +0200 |
| Subject | [PATCH 2/3] tools/power/turbostat: add denverton support |
| Message-ID | <rKIO6-2nS-21@gated-at.bofh.it> |
| In reply to | #1424277 |
Denverton is an Atom based micro server which shares the same Goldmont architecture as Broxton. The available C-states on Denverton is a subset of Broxton with only C1, C1e, and C6. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> --- tools/power/x86/turbostat/turbostat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 26566e6..d219c4f 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -2218,6 +2218,7 @@ int probe_nhm_msrs(unsigned int family, unsigned int model) pkg_cstate_limits = phi_pkg_cstate_limits; break; case 0x5C: /* BXT */ + case 0x5F: /* DNV */ pkg_cstate_limits = bxt_pkg_cstate_limits; break; default: @@ -3315,6 +3316,7 @@ void process_cpuid() crystal_hz = 25000000; /* 25.0 MHz */ break; case 0x5C: /* BXT */ + case 0x5F: /* DNV */ crystal_hz = 19200000; /* 19.2 MHz */ break; default: -- 1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Len Brown <lenb@kernel.org> |
|---|---|
| Date | 2016-06-17 03:10 +0200 |
| Subject | Re: [PATCH 2/3] tools/power/turbostat: add denverton support |
| Message-ID | <rKQsh-84n-9@gated-at.bofh.it> |
| In reply to | #1424280 |
Applied, thanks! Len Brown, Intel Open Source Technology Center
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web