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]>
  • Loading branch information
miczyg1 committed Sep 24, 2024
1 parent 4d1eaf5 commit 8eccede
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DasharoPayloadPkg/DasharoPayloadPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)

gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE

!if $(PS2_KEYBOARD_ENABLE) == TRUE
gDasharoPayloadPkgTokenSpaceGuid.PcdSkipPs2Detect|FALSE
Expand Down

0 comments on commit 8eccede

Please sign in to comment.