]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: fix SPR PC6 limits
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 26 Jul 2022 15:29:34 +0000 (18:29 +0300)
committerLen Brown <len.brown@intel.com>
Thu, 28 Jul 2022 18:37:29 +0000 (14:37 -0400)
commit3bcf8965209e61f7a2fea2db112a7b68f63184e3
tree13ccb1354c55271d2262505b458d4013add6a977
parentb8ce8ee9284f3ab1ff9eec70123ad2c510371947
tools/power turbostat: fix SPR PC6 limits

Sapphire Rapids Xeon (SPR) supports 2 flavors of PC6 - PC6N (non-retention) and
PC6R (retention). Before this patch we used ICX package C-state limits, which
was wrong, because ICX has only one PC6 flavor. With this patch, we use SKX PC6
limits for SPR, because they are the same.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c