Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 94f68d0b56a36d84e038751f9cd907c2cf637626
https://github.com/tianocore/edk2/commit/94f68d0b56a36d84e038751f9cd907c2cf637626
Author: Ray Ni <[email protected]>
Date: 2024-08-28 (Wed, 28 Aug 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
Log Message:
-----------
UefiCpuPkg/MpInitLib: Separate X2APIC enabling to subfunction
It's very confusing that auto X2 APIC enabling and APIC ID sorting
are all performed inside CollectProcessorCount().
The change is to separate the X2 APIC enabling to AutoEnableX2Apic()
and call that from MpInitLibInitialize().
SortApicId() is called from MpInitLibInitialize() as well.
Signed-off-by: Ray Ni <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Commit: 7ed398916605be3e9fd3b1bfc8f49cc36e86fd3f
https://github.com/tianocore/edk2/commit/7ed398916605be3e9fd3b1bfc8f49cc36e86fd3f
Author: Ray Ni <[email protected]>
Date: 2024-08-28 (Wed, 28 Aug 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
M UefiCpuPkg/Library/MpInitLib/MpLib.h
Log Message:
-----------
UefiCpuPkg/MpInitLib: Sync BSP's APIC mode to APs in InitConfig path
The change saves the BSP's initial APIC mode and syncs to all APs
in first time wakeup. It allows certain platforms to switch to X2 APIC
as early as possible and also independent on CpuFeaturePei/Dxe.
The platform should switch BSP to X2 APIC mode first before the
CpuMpPeim runs.
Signed-off-by: Ray Ni <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Commit: 319835abb8517fde84bff31740fb1e61b33a3ae8
https://github.com/tianocore/edk2/commit/319835abb8517fde84bff31740fb1e61b33a3ae8
Author: Ray Ni <[email protected]>
Date: 2024-08-28 (Wed, 28 Aug 2024)
Changed paths:
M UefiCpuPkg/Library/MpInitLib/MpLib.c
Log Message:
-----------
UefiCpuPkg/MpInitLib: Skip X2APIC enabling when BSP in X2APIC already
The BSP's APIC mode is synced to all APs in CollectProcessorCount().
So, it's safe to skip the X2 APIC enabling in AutoEnableX2Apic() which
runs later when BSP's APIC mode is X2 APIC already.
Signed-off-by: Ray Ni <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/84e7b74c8c64...319835abb851
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