Browse Source

tools/power/turbostat: Add Denverton RAPL support

The Denverton CPU RAPL supports package, core, and DRAM domains.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Jacob Pan 9 years ago
parent
commit
0f64490978
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tools/power/x86/turbostat/turbostat.c

+ 3 - 0
tools/power/x86/turbostat/turbostat.c

@@ -2663,6 +2663,9 @@ void rapl_probe(unsigned int family, unsigned int model)
 	case 0x4D:	/* AVN */
 	case 0x4D:	/* AVN */
 		do_rapl = RAPL_PKG | RAPL_CORES;
 		do_rapl = RAPL_PKG | RAPL_CORES;
 		break;
 		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:
 	default:
 		return;
 		return;
 	}
 	}