Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7cea938ac5c98e5c2a3953cd4c6a0ca9dc78e2a4
      
https://github.com/tianocore/edk2/commit/7cea938ac5c98e5c2a3953cd4c6a0ca9dc78e2a4
  Author: Chao Li <lic...@loongson.cn>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M UefiCpuPkg/Library/MpInitLib/LoongArch64/MpLib.c

  Log Message:
  -----------
  UefiCpuPkg: Fix a bug about MP init on LoongArch

If the AP wakes up out of order for the 1st time, and the data in the
HOB is also out of order, then there will be a issue: if the big number
core wakes up before the small number core, the big number core will
modify the APIC number in the CpuMpData, which will cause the small
number core can not be wake up. Using the APIC number from the HOB to
wake up the APs can fix it.

Signed-off-by: Chao Li <lic...@loongson.cn>
Cc: Ray Ni <ray...@intel.com>
Cc: Jiaxin Wu <jiaxin...@intel.com>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Cc: Dun Tan <dun....@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Star Zeng <star.z...@intel.com>
Cc: Dongyan Qian <qiandong...@loongson.cn>
Cc: Xiangdong Meng <mengxiangd...@loongson.cn>


  Commit: fc215474c48295608f3e2a4f227554b810ceb2bb
      
https://github.com/tianocore/edk2/commit/fc215474c48295608f3e2a4f227554b810ceb2bb
  Author: Chao Li <lic...@loongson.cn>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h
    M 
UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/LoongArch64/ArchExceptionHandler.c
    M 
UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/LoongArch64/ExceptionHandlerAsm.S
    M UefiCpuPkg/Library/MpInitLib/LoongArch64/MpLib.c

  Log Message:
  -----------
  UefiCpuPkg: Enable the IPI vectors on LoongArch

Since the LoongArch AP boot SPEC is published, it can identify which IPI
by vector. Added IPI vector logic and enabled them.

Signed-off-by: Chao Li <lic...@loongson.cn>
Cc: Ray Ni <ray...@intel.com>
Cc: Jiaxin Wu <jiaxin...@intel.com>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Cc: Dun Tan <dun....@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Star Zeng <star.z...@intel.com>
Cc: Dongyan Qian <qiandong...@loongson.cn>
Cc: Xiangdong Meng <mengxiangd...@loongson.cn>


Compare: https://github.com/tianocore/edk2/compare/43e29830ef98...fc215474c482

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to