Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: cd6f2152237713d12723a55aa258c7ae91577dff
      
https://github.com/tianocore/edk2/commit/cd6f2152237713d12723a55aa258c7ae91577dff
  Author: Tom Lendacky <[email protected]>
  Date:   2024-02-03 (Sat, 03 Feb 2024)

  Changed paths:
    M OvmfPkg/ResetVector/Ia32/AmdSev.asm

  Log Message:
  -----------
  OvmfPkg/ResetVector: Fix SNP CPUID table processing results for ECX/EDX

The current support within the boot SNP CPUID table processing mistakenly
swaps the ECX and EDX results. It does not have an effect at this time
because current CPUID results checking does not check ECX or EDX. However,
any future CPUID checks that need to check ECX or EDX may have erroneous
behavior.

Fix the assembler code to save ECX and EDX to the proper locations.

Fixes: 34819f2caccb ("OvmfPkg/ResetVector: use SEV-SNP-validated CPUID values")
Signed-off-by: Tom Lendacky <[email protected]>
Reviewed-by: Michael Roth <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to