1 comment:
File src/soc/intel/common/block/cpu/car/exit_car.S:
/* Reset CLOS selector to 0 */
mov $IA32_PQR_ASSOC, %ecx
rdmsr
and $~IA32_PQR_ASSOC_MASK, %edx
wrmsr
If we make following change, COS_MAPPED_TO_MSB has to be selected for all the programs. Right? […]
It's selected for JSL & TGL right now. When COS_MAPPED_TO_MSB is set, then we use bits 32 & 33 for setting the CLOS selector, otherwise (COS_MAPPED_TO_MSB is not set) it's bits 0 and 1 (https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/src/soc/intel/common/block/cpu/car/cache_as_ram.S#465), so the teardown code should clear the correct set of bits.
To view, visit change 48286. To unsubscribe, or for help writing mail filters, visit settings.