Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 8d34c7afb3ea7354e8cd9151598b07e581962260
https://github.com/tianocore/edk2/commit/8d34c7afb3ea7354e8cd9151598b07e581962260
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A MdePkg/Include/Register/Amd/SmramSaveStateMap.h
M MdePkg/MdePkg.ci.yaml
Log Message:
-----------
MdePkg: Adds AMD SMRAM save state map
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Adds an SMM SMRAM save-state map for AMD processors.
SMRAM save state maps for the AMD processor family are now supported.
Save state map structure is added based on
AMD64 Architecture Programmer's Manual, Volume 2, Section 10.2.
The AMD legacy save state map for 32-bit architecture is defined.
The AMD64 save state map for 64-bit architecture is defined.
Also added Amd/SmramSaveStateMap.h to IgnoreFiles of EccCheck,
because structures defined in this file are derived from
Intel/SmramSaveStateMap.h.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Zhiguang Liu <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>
Commit: 4f3ddc6e154853f3422c1f1cd355bfff69c805fb
https://github.com/tianocore/edk2/commit/4f3ddc6e154853f3422c1f1cd355bfff69c805fb
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A UefiCpuPkg/Include/Library/MmSaveStateLib.h
M UefiCpuPkg/UefiCpuPkg.dec
Log Message:
-----------
UefiCpuPkg: Adds MmSaveStateLib library class
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Adds MmSaveStateLib Library class in UefiCpuPkg.dec.
Adds function declaration header file.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Commit: 775b337c78a059d7897a80c3248f176730386fe1
https://github.com/tianocore/edk2/commit/775b337c78a059d7897a80c3248f176730386fe1
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveState.c
A UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveStateLib.inf
A UefiCpuPkg/Library/MmSaveStateLib/MmSaveState.h
A UefiCpuPkg/Library/MmSaveStateLib/MmSaveStateCommon.c
M UefiCpuPkg/UefiCpuPkg.dsc
Log Message:
-----------
UefiCpuPkg: Implements MmSaveStateLib library instance
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Implements MmSaveStateLib Library class for
AMD cpu family.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Commit: 11dae72d3fba32ebc66cae99a57c9d217c261928
https://github.com/tianocore/edk2/commit/11dae72d3fba32ebc66cae99a57c9d217c261928
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
M UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c
M UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c
Log Message:
-----------
UefiCpuPkg/SmmCpuFeaturesLib: Restructure arch-dependent code
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
moves Intel-specific code to the arch-dependent file.
Other processor families might have different
implementation of these functions.
Hence, moving out of the common file.
Cc: Abner Chang <[email protected]>
Cc: Paul Grimes <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Commit: 867851dc30e9adf2124a1c853037c7ac139e6da0
https://github.com/tianocore/edk2/commit/867851dc30e9adf2124a1c853037c7ac139e6da0
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.c
A UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.inf
M UefiCpuPkg/UefiCpuPkg.dsc
Log Message:
-----------
UefiCpuPkg: Implements SmmCpuFeaturesLib for AMD Family
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Implements interfaces to read and write save state
registers of AMD's processor family.
Initializes processor SMMADDR and MASK depends
on PcdSmrrEnable flag.
Program or corrects the IP once control returns from SMM.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Commit: 065fa2dcc20ceb97011575b0b8cf8f2596f35371
https://github.com/tianocore/edk2/commit/065fa2dcc20ceb97011575b0b8cf8f2596f35371
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveState.c
A UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveStateLib.inf
M UefiCpuPkg/UefiCpuPkg.dsc
Log Message:
-----------
UefiCpuPkg: Implements MmSaveStateLib for Intel
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Implements MmSaveStateLib library interfaces
to read and write save state
registers for Intel processor family.
Moves Intel and AMD common functionality to common area.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Commit: fbb6f18e1c5a342285aafcdee5b53b66bf07989c
https://github.com/tianocore/edk2/commit/fbb6f18e1c5a342285aafcdee5b53b66bf07989c
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
M UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h
M UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.c
M UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
M UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c
Log Message:
-----------
UefiCpuPkg: Removes SmmCpuFeaturesReadSaveStateRegister
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Removes SmmCpuFeaturesReadSaveStateRegister and
SmmCpuFeaturesWirteSaveStateRegister function from
SmmCpuFeaturesLib library.
MmSaveStateLib library replaces the functionality of the above
functions.
Platform old/new need to use MmSaveStateLib library to read/write save
state registers.
Current implementation supports Intel and AMD.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Jordan Justen <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Commit: f2188fe5d1553ad1896e27b2514d2f8d0308da8a
https://github.com/tianocore/edk2/commit/f2188fe5d1553ad1896e27b2514d2f8d0308da8a
Author: Abdul Lateef Attar <[email protected]>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
M OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c
M OvmfPkg/OvmfPkgIa32.dsc
M OvmfPkg/OvmfPkgIa32X64.dsc
M OvmfPkg/OvmfPkgX64.dsc
Log Message:
-----------
OvmfPkg: Uses MmSaveStateLib library
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182
Uses new MmSaveStateLib library instance.
Cc: Paul Grimes <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Jordan Justen <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Acked-by: Jiewen Yao <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/ad7d3ace1ad4...f2188fe5d155
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits