platform/x86: intel_pmc_core: Include Reserved IP for LTR
authorRajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Fri, 1 Feb 2019 07:32:29 +0000 (13:02 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 21 Feb 2019 13:40:49 +0000 (15:40 +0200)
commit2a13096ac7da07a1bfc9d91fc4a982020e7ded2b
tree0871079943d4d3344231ea0fc857c23f5c8c8c3b
parentcd89e92b7399a69512b8d855a2dd145c47399bf8
platform/x86: intel_pmc_core: Include Reserved IP for LTR

Recently introduced commit "platform/x86: intel_pmc_core: Show Latency
Tolerance info <51337cd94d18184601ac0fb4cf1a02b8bbabc3d7> skipped the
LTR from a reserved IP. Though this doesn't cause any functional issue
but it is needed for the consumers of "ltr_ignore" as the index printing
for "ltr_show" is missing. For example, w/o this change, a user that wants
to ignore LTR from ME would do something like

echo 5 > ltr_ignore

but the index for ME is 6. Printing a reserved IP helps to properly
calculate LTR ignore offsets.

Cc: "David E. Box" <david.e.box@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c
drivers/platform/x86/intel_pmc_core.h