skylake: Update the thermal time window for throttling action
This patch reduces the thermal time window to 100 milliseconds for fast throttling action at prochot. BUG=chrome-os-partner:59397 BRANCH=None. TEST=Built for skylake platform and verified the thermal time window value. Change-Id: If79d213cb8e19277ffdb882267d2f8672df93446 Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-on: https://review.coreboot.org/17384 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
		
				
					committed by
					
						 Martin Roth
						Martin Roth
					
				
			
			
				
	
			
			
			
						parent
						
							5b8c4a7bca
						
					
				
				
					commit
					8b3004e2fc
				
			| @@ -205,6 +205,10 @@ static void configure_thermal_target(void) | ||||
| 		msr.lo |= (conf->tcc_offset & 0xf) << 24; | ||||
| 		wrmsr(MSR_TEMPERATURE_TARGET, msr); | ||||
| 	} | ||||
| 	msr = rdmsr(MSR_TEMPERATURE_TARGET); | ||||
| 	msr.lo &= ~0x7f; /* Bits 6:0 */ | ||||
| 	msr.lo |= 0xe6; /* setting 100ms thermal time window */ | ||||
| 	wrmsr(MSR_TEMPERATURE_TARGET, msr); | ||||
| } | ||||
|  | ||||
| static void configure_isst(void) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user