tools/power/turbostat: Remove Package C6 Retention on Ice Lake Server
authorChen Yu <yu.c.chen@intel.com>
Tue, 4 May 2021 14:52:34 +0000 (17:52 +0300)
committerLen Brown <len.brown@intel.com>
Tue, 4 May 2021 22:35:43 +0000 (18:35 -0400)
commit25368d7cefcd87a94ccabcc6f9f31796607bbe4e
tree0528795f9754e1a168c663d7fee3f15ba184fa32
parent13a779de4175df602366d129e41782ad7168cef0
tools/power/turbostat: Remove Package C6 Retention on Ice Lake Server

Currently the turbostat treats ICX the same way as SKX and shares the
code among them. But one difference is that ICX does not support Package
C6 Retention, unlike SKX and CLX.

So this patch:

1. Splitting SKX and ICX in turbostat.
2. Removing Package C6 Rentention for ICX.

And after this split, it would be easier to cutomize Ice Lake Server
in turbostat in the future.

Suggested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Reviewed-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c