Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 1fc19a0d52abd550b0d0208c688a9eaf68aa78d5
      
https://github.com/tianocore/edk2/commit/1fc19a0d52abd550b0d0208c688a9eaf68aa78d5
  Author: Kun Qin <[email protected]>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c

  Log Message:
  -----------
  ArmPkg: ArmPsciMpServicesDxe: Fix core disable/enable if the timer expires

When an AP is waken up to perform some operation with a time out period
specified, the expired timer will put the core into `CpuStateFinished`
state. This will make the subsequent enable/disable AP core fail to
proceed, which is unexpected and inconsistent with the rest of the
handling in this module (`CpuStateIdle` and `CpuStateFinished` are
generally treated the same).

This change extends the accepted state of CPU to `CpuStateFinished` for
AP enable/disable interface to fix calls on timer expired APs.

Signed-off-by: Kun Qin <[email protected]>


  Commit: dfbb7de3c667e6d9c8be54ad538998790029f6c2
      
https://github.com/tianocore/edk2/commit/dfbb7de3c667e6d9c8be54ad538998790029f6c2
  Author: Shriram Masanamuthu Chinnathurai 
<[email protected]>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c

  Log Message:
  -----------
  ArmPkg: ArmPsciMpServicesDxe: Fix MPIDR usage from CoreInfo

The `GET_MPIDR_AFFINITY_BITS` macro masks MT_BIT in ArmReadMpidr (), but
`CoreInfo[Index].Mpidr` wasn't masked by the same macro which causes a
mismatch even if it is the same MPIDR value.

This change uses the same `GET_MPIDR_AFFINITY_BITS` macro for
`CoreInfo[Index].Mpidr` to fix the core index searching logic.

Signed-off-by: Kun Qin <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/c502e2c58e25...dfbb7de3c667

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

Reply via email to