Attention is currently required from: Nico Huber, Sean Rhodes, Tarun Tuli, Subrata Banik, Jonathan Zhang, Johnny Lin, Kapil Porwal, Christian Walter, Lean Sheng Tan, Werner Zeh, Tim Chu.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/72604 )
Change subject: soc/intel: Use common codeflow for MP init
......................................................................
Patch Set 2:
(1 comment)
File src/soc/intel/apollolake/cpu.c:
https://review.coreboot.org/c/coreboot/+/72604/comment/54c07b3d_d02e9546
PS2, Line 267: if (CONFIG(SOC_INTEL_COMMON_BLOCK_CPU_MPINIT))
: return;
This seems to be here because APL and GLK use different paths.
`cpu_bus_ops->init` used to bail out here on GLK (because the
common code handled it). But now common code would indirectly
call this function...
I think we are in trouble here, because of the singleton global
`mp_init_cpus` symbol. (soc/ code seems to be full of such single-
tons... not sure if that's a good path to follow)
If I understand things correctly, one way out of it would be
to avoid the `.init` for GLK, or have a function there that
calls mp_cpus_bus_init() conditionally. (Or figure out why APL
still doesn't use common code, ofc.)
I think APL did not need MP init to happen before calling FSP-S
Done. Hooked up cpu ops in devicetree and used different ops for apl and glk
--
To view, visit
https://review.coreboot.org/c/coreboot/+/72604
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia822468a6f15565b97e57612a294a0b80b45b932
Gerrit-Change-Number: 72604
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Reviewer: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Kapil Porwal
kapilporwal@google.com
Gerrit-Reviewer: Lean Sheng Tan
sheng.tan@9elements.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Sean Rhodes
sean@starlabs.systems
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Tarun Tuli
taruntuli@google.com
Gerrit-Reviewer: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Reviewer: Werner Zeh
werner.zeh@siemens.com
Gerrit-CC: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Sean Rhodes
sean@starlabs.systems
Gerrit-Attention: Tarun Tuli
taruntuli@google.com
Gerrit-Attention: Subrata Banik
subratabanik@google.com
Gerrit-Attention: Jonathan Zhang
jonzhang@fb.com
Gerrit-Attention: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Attention: Kapil Porwal
kapilporwal@google.com
Gerrit-Attention: Christian Walter
christian.walter@9elements.com
Gerrit-Attention: Lean Sheng Tan
sheng.tan@9elements.com
Gerrit-Attention: Werner Zeh
werner.zeh@siemens.com
Gerrit-Attention: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Comment-Date: Wed, 01 Feb 2023 07:21:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Comment-In-Reply-To: Arthur Heymans
arthur@aheymans.xyz
Gerrit-MessageType: comment