Skip to content

Commit

Permalink
DasharoPayloadPkg: Use INIT-SIPI-SIPI for first AP wakeup
Browse files Browse the repository at this point in the history
It has been observed on MinnowBoard Turbot that the detected CPU
count is lower than the number of all cores. In the tested unit, CPU is
dual core, so only the BSP is detected. However, similar situation is
observed on MTL laptop, where a total of 22 cores should be reported,
but only 1 is detected.

After EDK2 rebase a new PCD has been added, PcdFirstTimeWakeUpAPsBySipi
which, when enabled (by default), sends only SIPI to APs. When disabled
sends full INIT-SIPI-SIPI sequence. Only the latter case causes all the
APs to wake up and be detected.

Signed-off-by: Michał Żygowski <[email protected]>
Signed-off-by: Sergii Dmytruk <[email protected]>
  • Loading branch information
miczyg1 authored and SergiiDmytruk committed Sep 26, 2024
1 parent 4d1eaf5 commit 6b645e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DasharoPayloadPkg/DasharoPayloadPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@

gDasharoPayloadPkgTokenSpaceGuid.PcdSerialOnSuperIo|$(UART_ON_SUPERIO)

gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE

!if $(SECURE_BOOT_DEFAULT_ENABLE) == TRUE
gEfiSecurityPkgTokenSpaceGuid.PcdSecureBootDefaultEnable|1
!else
Expand Down

0 comments on commit 6b645e4

Please sign in to comment.