]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tools/power/turbostat: Add Denverton support
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Thu, 16 Jun 2016 16:48:21 +0000 (09:48 -0700)
committerLen Brown <len.brown@intel.com>
Thu, 1 Dec 2016 06:33:18 +0000 (01:33 -0500)
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>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 3a80f949e5ba2658349db0aaf10f22bc9e275857..16ccada7e439c2d89e59f81d3ccd38636b9791e8 100644 (file)
@@ -2204,6 +2204,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:
@@ -3301,6 +3302,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: