powercap / RAPL: handle missing MSRs
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 31 May 2016 20:41:29 +0000 (13:41 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Jun 2016 23:33:50 +0000 (01:33 +0200)
Some RAPL MSRs may not exist on some CPUs, we need to continue
the topology detection and enumerate what is available.

This patch handles the missing MSRs, then reports to the powercap
layer only the features available.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

No differences found