Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: a3ee1eea96752cf2d4e0f70310facc109b7c4352
https://github.com/tianocore/edk2/commit/a3ee1eea96752cf2d4e0f70310facc109b7c4352
Author: Gerd Hoffmann <[email protected]>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
M UefiCpuPkg/Library/MpInitLib/MpLib.h
Log Message:
-----------
UefiCpuPkg/MpInitLib: Add support for multiple HOBs to GetMpHandOffHob
Rename the function to GetNextMpHandOffHob(), add MP_HAND_OFF parameter.
When called with NULL pointer return the body of the first HOB, otherwise
return the next in the chain.
Also add the function prototype to the MpLib.h header file.
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Commit: b48523046283e8ef670b5d2b9f53de6855f7d3bf
https://github.com/tianocore/edk2/commit/b48523046283e8ef670b5d2b9f53de6855f7d3bf
Author: Gerd Hoffmann <[email protected]>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
Log Message:
-----------
UefiCpuPkg/MpInitLib: Add support for multiple HOBs to GetBspNumber()
Rename the MpHandOff parameter to FirstMpHandOff. Add a loop so the
function inspects all HOBs present in the system.
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Commit: e2c9d8eba49754b644ed4599331395d777afc379
https://github.com/tianocore/edk2/commit/e2c9d8eba49754b644ed4599331395d777afc379
Author: Gerd Hoffmann <[email protected]>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
M UefiCpuPkg/Library/MpInitLib/MpLib.h
Log Message:
-----------
UefiCpuPkg/MpInitLib: Add support for multiple HOBs to SwitchApContext()
Rename the MpHandOff parameter to FirstMpHandOff. Add loops so the
function inspects all HOBs present in the system.
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Commit: c8e77454b5ffccfc39f48d5a792bc0aac311b634
https://github.com/tianocore/edk2/commit/c8e77454b5ffccfc39f48d5a792bc0aac311b634
Author: Gerd Hoffmann <[email protected]>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
Log Message:
-----------
UefiCpuPkg/MpInitLib: Add support for multiple HOBs to MpInitLibInitialize
Loop over all MP_HAND_OFF HOBs instead of expecting a single HOB
covering all CPUs in the system.
Add a new FirstMpHandOff variable, which caches the first HOB body for
faster lookups. It is also used to check whenever MP_HAND_OFF HOBs are
present. Using the MpHandOff pointer for that does not work any more
because the variable will be NULL at the end of HOB loops.
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Commit: 5e09b5d6d7eda2c88d12ee27db18b3c75ed24dd3
https://github.com/tianocore/edk2/commit/5e09b5d6d7eda2c88d12ee27db18b3c75ed24dd3
Author: Gerd Hoffmann <[email protected]>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/PeiMpLib.c
Log Message:
-----------
UefiCpuPkg/MpInitLib: Add support for multiple HOBs to SaveCpuMpData()
Add support for splitting Hand-Off data into multiple HOBs.
This is required for VMs with thousands of CPUs.
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
[[email protected]: define one local variable per line [Ray]]
Commit: d25421d0d8cd2493b30215ef80d2424ecb19c870
https://github.com/tianocore/edk2/commit/d25421d0d8cd2493b30215ef80d2424ecb19c870
Author: Gerd Hoffmann <[email protected]>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
Log Message:
-----------
UefiCpuPkg/MpInitLib: return early in GetBspNumber()
After finding the BSP Number return the result instead of
continuing to loop over the remaining processors.
Suggested-by: Laszlo Ersek <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
[[email protected]: s/ASSERT (FALSE)/ASSERT_EFI_ERROR (EFI_NOT_FOUND)/ [Ray]]
Compare: https://github.com/tianocore/edk2/compare/1f161a7915e1...d25421d0d8cd
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits