UPSTREAM: soc/intel/skylake: set TCC activation by BSP only
TCC activation functionality has package scope. It was set for all CPU in the system which is unnecessary. In this patch TCC activation is being set by the BSP only. BUG=chrome-os-partner:59397 BRANCH=None. TEST=Built for skylake platform and verified the TCC activation value before and after S3. Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-on: https://review.coreboot.org/17889 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Change-Id: Iacf64cbc40871bbec3bede65f196bf292e0149a6 Reviewed-on: https://chromium-review.googlesource.com/425252 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
22e7b86790
commit
f47ba97d63
1 changed files with 4 additions and 4 deletions
|
|
@ -197,7 +197,7 @@ static void configure_thermal_target(void)
|
|||
config_t *conf = dev->chip_info;
|
||||
msr_t msr;
|
||||
|
||||
/* Set TCC activaiton offset if supported */
|
||||
/* Set TCC activation offset if supported */
|
||||
msr = rdmsr(MSR_PLATFORM_INFO);
|
||||
if ((msr.lo & (1 << 30)) && conf->tcc_offset) {
|
||||
msr = rdmsr(MSR_TEMPERATURE_TARGET);
|
||||
|
|
@ -366,9 +366,6 @@ static void cpu_core_init(device_t cpu)
|
|||
/* Configure Intel Speed Shift */
|
||||
configure_isst();
|
||||
|
||||
/* Thermal throttle activation offset */
|
||||
configure_thermal_target();
|
||||
|
||||
/* Enable Direct Cache Access */
|
||||
configure_dca_cap();
|
||||
|
||||
|
|
@ -484,6 +481,9 @@ void soc_init_cpus(device_t dev)
|
|||
if (mp_init_with_smm(cpu_bus, &mp_ops)) {
|
||||
printk(BIOS_ERR, "MP initialization failure.\n");
|
||||
}
|
||||
|
||||
/* Thermal throttle activation offset */
|
||||
configure_thermal_target();
|
||||
}
|
||||
|
||||
int soc_skip_ucode_update(u32 current_patch_id, u32 new_patch_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue