Attention is currently required from: TimLiu-SMCI, Jonathan Zhang, Johnny Lin, David Hendricks, Christian Walter, Arthur Heymans, Tim Chu.
Jian-Ming Wang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/72611 )
Change subject: soc/intel/xeon_sp: add MSR definition for SPR-SP
......................................................................
Patch Set 1:
(1 comment)
File src/soc/intel/xeon_sp/include/soc/msr.h:
https://review.coreboot.org/c/coreboot/+/72611/comment/2e85a9e1_85614fde
PS1, Line 44: #if (CONFIG(SOC_INTEL_SAPPHIRERAPIDS_SP))
Sounds good to me
Agreed. The problems found by David is due to spr has different arrangement of registers with previous platforms. Using #if to maintain all discrepancies in a single header might not friendly for maintenance and code review.
// In msr.h
#if (CONFIG(SOC_INTEL_SAPPHIRERAPIDS_SP))
#include <soc/msr_spr.h>
#elif (CONFIG(SOC_INTEL_COOPERLAKE_SP))
#include <soc/msr_cpx.h>
#elif (CONFIG(SOC_INTEL_SKYLAKE_SP))
#include <soc/msr_skx.h>
#endif
--
To view, visit
https://review.coreboot.org/c/coreboot/+/72611
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f2d8ac85d9fb1e75d51ad7b5fe5d9152900fc3b
Gerrit-Change-Number: 72611
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Jian-Ming Wang
jianmingW@supermicro.com
Gerrit-Reviewer: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Reviewer: Simon Chou
simonchou@supermicro.com.tw
Gerrit-Reviewer: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Reviewer: TimLiu-SMCI
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: TimLiu-SMCI
Gerrit-Attention: Jonathan Zhang
jonzhang@fb.com
Gerrit-Attention: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Attention: David Hendricks
david.hendricks@gmail.com
Gerrit-Attention: Christian Walter
christian.walter@9elements.com
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Comment-Date: Thu, 02 Feb 2023 04:41:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jonathan Zhang
jonzhang@fb.com
Comment-In-Reply-To: David Hendricks
david.hendricks@gmail.com
Gerrit-MessageType: comment