Reviewed-by: Ray Ni <[email protected]> Thanks, Ray ________________________________ From: Tan, Dun <[email protected]> Sent: Friday, May 10, 2024 18:08 To: [email protected] <[email protected]> Cc: Ni, Ray <[email protected]>; Laszlo Ersek <[email protected]>; Kumar, Rahul R <[email protected]>; Gerd Hoffmann <[email protected]>; Wu, Jiaxin <[email protected]> Subject: [PATCH 15/18] UefiCpuPkg:Remove code to handle APIC setting and Interrupt
Remove ProgramVirtualWireMode()/DisableLvtInterrupts() since APs won't be waken by INIT-SIPI-SIPI in CpuS3.c any more. The two functions has been executed in MpInitLibInitialize() in PeiMplib. Signed-off-by: Dun Tan <[email protected]> Cc: Ray Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> Cc: Rahul Kumar <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Jiaxin Wu <[email protected]> --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c index 9520451d92..65fe903fd3 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c @@ -105,11 +105,6 @@ InitializeCpuBeforeRebase ( IN BOOLEAN IsBsp ) { - ProgramVirtualWireMode (); - if (!IsBsp) { - DisableLvtInterrupts (); - } - // // Count down the number with lock mechanism. // -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118846): https://edk2.groups.io/g/devel/message/118846 Mute This Topic: https://groups.io/mt/106018141/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
