Change in coreboot[master]: soc/intel/alderlake, soc/common: Add method to determine the cpu type
Attention is currently required from: Arthur Heymans, Tim Wawrzynczak, Patrick Rudolph. Sridhar Siricilla has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59360 ) Change subject: soc/intel/alderlake, soc/common: Add method to determine the cpu type ...................................................................... Patch Set 7: (5 comments) File src/soc/intel/alderlake/cpu.c: https://review.coreboot.org/c/coreboot/+/59360/comment/42561a6f_8ede1b84 PS6, Line 74: 0xBE
could we define an enum for the possible model types ? Ack
File src/soc/intel/common/block/acpi/cpu_hybrid.c: https://review.coreboot.org/c/coreboot/+/59360/comment/ad6032df_ead33dc2 PS1, Line 25: return global_cpu_type_bitmask;
Done […] Ack
File src/soc/intel/common/block/acpi/cpu_hybrid.c: https://review.coreboot.org/c/coreboot/+/59360/comment/32d99a8c_06e8c3ca PS6, Line 15: uint8_t
`enum core_type` Ack
https://review.coreboot.org/c/coreboot/+/59360/comment/53e108f8_d63f9522 PS6, Line 15: uint8_t __weak get_soc_cpu_type(void) : { : return 0; : }
Should not be necessary to add this weak function, instead let's just make it mandatory for platform […] Agree, when Kconfig option is provided for a feature, it is better to force all dependent functions be implemented.
File src/soc/intel/common/block/include/intelblocks/acpi.h: https://review.coreboot.org/c/coreboot/+/59360/comment/f42932a0_69b0aab7 PS6, Line 17:
Since this can return incorrect data before MP-init, then this should have an 'INVALID' or 'UNKNOWN' […] Ack
-- To view, visit https://review.coreboot.org/c/coreboot/+/59360 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-Change-Id: If4ceb24d9bb1e808750bf618c29b2b9ea6d4191b Gerrit-Change-Number: 59360 Gerrit-PatchSet: 7 Gerrit-Owner: Sridhar Siricilla <sridhar.siricilla@intel.com> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak@chromium.org> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Arthur Heymans <arthur.heymans@9elements.com> Gerrit-CC: Arthur Heymans <arthur@aheymans.xyz> Gerrit-CC: Paul Menzel <paulepanter@mailbox.org> Gerrit-CC: Sridhar Siricilla <sridhar.siricilla@intel.corp-partner.google.com> Gerrit-Attention: Arthur Heymans <arthur.heymans@9elements.com> Gerrit-Attention: Tim Wawrzynczak <twawrzynczak@chromium.org> Gerrit-Attention: Arthur Heymans <arthur@aheymans.xyz> Gerrit-Attention: Patrick Rudolph <siro@das-labor.org> Gerrit-Comment-Date: Fri, 03 Dec 2021 18:34:15 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Arthur Heymans <arthur.heymans@9elements.com> Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak@chromium.org> Comment-In-Reply-To: Sridhar Siricilla <sridhar.siricilla@intel.com> Comment-In-Reply-To: Arthur Heymans <arthur@aheymans.xyz> Gerrit-MessageType: comment
participants (1)
-
Sridhar Siricilla (Code Review)