Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 748bea71714a10caadcf457c90975312aaf6fb17
      
https://github.com/tianocore/edk2/commit/748bea71714a10caadcf457c90975312aaf6fb17
  Author: John Schock <josch...@microsoft.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.c

  Log Message:
  -----------
  ArmPkg: ArmPsciResetSystemLib: PSCI warm reset fix

The current warm reset implementation attempts the PSCI SYSTEM_RESET2
command twice without clearing the local variable used for Arg1. This can
result in passing a random value as the reset type, which may cause the
PSCI call to behave unexpectedly and fall back to a cold reset.

This change addresses the issue by:
- Correcting the monitor call function ID.
- Explicitly zeroing the reset type field before invoking the PSCI
interface.

The updated warm reset flow has been tested and confirmed to invoke
SYSTEM_RESET2 as expected.

Signed-off-by: Kun Qin <kun....@microsoft.com>



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