platform/x86: ISST: Allow additional TRL MSRs
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 5 Sep 2019 23:37:47 +0000 (16:37 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Sep 2019 10:19:35 +0000 (13:19 +0300)
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>
drivers/platform/x86/intel_speed_select_if/isst_if_common.c

index 68d7539..3de5a3c 100644 (file)
@@ -29,6 +29,8 @@ static struct isst_if_cmd_cb punit_callbacks[ISST_IF_DEV_MAX];
 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 {