diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/hwmon/peci/cputemp.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/hwmon/peci/cputemp.c')
| -rw-r--r-- | drivers/hwmon/peci/cputemp.c | 10 | 
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/hwmon/peci/cputemp.c b/drivers/hwmon/peci/cputemp.c index 30850a479f61..e5b65a382772 100644 --- a/drivers/hwmon/peci/cputemp.c +++ b/drivers/hwmon/peci/cputemp.c @@ -447,7 +447,7 @@ static const struct hwmon_ops peci_cputemp_ops = {  	.read = cputemp_read,  }; -static const struct hwmon_channel_info *peci_cputemp_info[] = { +static const struct hwmon_channel_info * const peci_cputemp_info[] = {  	HWMON_CHANNEL_INFO(temp,  			   /* Die temperature */  			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_MAX | @@ -537,6 +537,12 @@ static const struct cpu_info cpu_hsx = {  	.thermal_margin_to_millidegree = &dts_eight_dot_eight_to_millidegree,  }; +static const struct cpu_info cpu_skx = { +	.reg		= &resolved_cores_reg_hsx, +	.min_peci_revision = 0x33, +	.thermal_margin_to_millidegree = &dts_ten_dot_six_to_millidegree, +}; +  static const struct cpu_info cpu_icx = {  	.reg		= &resolved_cores_reg_icx,  	.min_peci_revision = 0x40, @@ -558,7 +564,7 @@ static const struct auxiliary_device_id peci_cputemp_ids[] = {  	},  	{  		.name = "peci_cpu.cputemp.skx", -		.driver_data = (kernel_ulong_t)&cpu_hsx, +		.driver_data = (kernel_ulong_t)&cpu_skx,  	},  	{  		.name = "peci_cpu.cputemp.icx",  |