From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date: Thu, 5 Sep 2019 16:37:47 -0700
Subject: platform/x86: ISST: Allow additional TRL MSRs
Patch-mainline: v5.4-rc1
Git-commit: 92e0e87d0be5eb192fab1edb9b44e724c63416ce
References: jsc#SLE-10687
Additional Turbo Ratio Limit (TRL) MSRs are required to get bucket vs core
count relationship. So add them to the list of allowed MSRs.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Giovanni Gherdovich <ggherdovich@suse.cz>
---
drivers/platform/x86/intel_speed_select_if/isst_if_common.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/platform/x86/intel_speed_select_if/isst_if_common.c
+++ b/drivers/platform/x86/intel_speed_select_if/isst_if_common.c
@@ -29,6 +29,8 @@ static struct isst_if_cmd_cb punit_callb
static int punit_msr_white_list[] = {
MSR_TURBO_RATIO_LIMIT,
MSR_CONFIG_TDP_CONTROL,
+ MSR_TURBO_RATIO_LIMIT1,
+ MSR_TURBO_RATIO_LIMIT2,
};
struct isst_valid_cmd_ranges {