Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48286 )
Change subject: src/soc/intel: Add support for CAR_HAS_SF_MASKS and select for TGL
......................................................................
Patch Set 18:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48286/18/src/soc/intel/common/block...
File src/soc/intel/common/block/cpu/car/exit_car.S:
https://review.coreboot.org/c/coreboot/+/48286/18/src/soc/intel/common/block...
PS18, Line 94: /* Reset CLOS selector to 0 */
: mov $IA32_PQR_ASSOC, %ecx
: rdmsr
: and $~IA32_PQR_ASSOC_MASK, %edx
: wrmsr
Shouldn't we have the same logic here as in NEM programming, e.g.,
```
mov $IA32_PQR_ASSOC, %ecx
rdmsr
#if CONFIG(COS_MAPPED_TO_MSB)
and $~IA32_PQR_ASSOC_MASK, %edx
#else
and $~IA32_PQR_ASSOC_MASK, %eax
#endif
wrmsr
```
--
To view, visit
https://review.coreboot.org/c/coreboot/+/48286
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iabf7f387fb5887aca10158788599452c3f2df7e8
Gerrit-Change-Number: 48286
Gerrit-PatchSet: 18
Gerrit-Owner: Shreesh Chhabbi
shreesh.chhabbi@intel.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Ravishankar Sarawadi
ravishankar.sarawadi@intel.com
Gerrit-Reviewer: Shreesh Chhabbi
shreesh.chhabbi@intel.corp-partner.google.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 14 Dec 2020 21:42:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment