<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/OvmfPkg/Library/SmmRelocationLib, branch dependabot/github_actions/actions/github-script-8</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-8</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-8'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-04-18T17:13:55+00:00</updated>
<entry>
<title>OvmfPkg: Rename EDKII_PEI_MP_SERVICES2_PPI</title>
<updated>2025-04-18T17:13:55+00:00</updated>
<author>
<name>INDIA\sachinganesh</name>
<email>sachinganesh@ami.com</email>
</author>
<published>2025-02-20T09:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=997e4e393f4470b5b58e72009256624498903eee'/>
<id>urn:sha1:997e4e393f4470b5b58e72009256624498903eee</id>
<content type='text'>
EDKII_PEI_MP_SERVICES2_PPI has been renamed to EFI_PEI_MP_SERVICES2_PPI
and moved to MdePkg.

Relevant changes have been made here.

Signed-off-by: Sachin Ganesh &lt;sachinganesh@ami.com&gt;
</content>
</entry>
<entry>
<title>OvmfPkg/SmmRelocationLib: Add library instance for OVMF</title>
<updated>2024-05-08T01:53:58+00:00</updated>
<author>
<name>Jiaxin Wu</name>
<email>jiaxin.wu@intel.com</email>
</author>
<published>2024-04-08T01:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3dfd64305b7f46da6f98ae15c87227b0fb55f726'/>
<id>urn:sha1:3dfd64305b7f46da6f98ae15c87227b0fb55f726</id>
<content type='text'>
There are below 2 differences between AMD &amp; OVMF according
existing implementation:
1.The mode of the CPU check is different between the AMD &amp; OVMF.
OVMF:
CpuSaveState-&gt;x86.SMMRevId &amp; 0Xffff

AMD:
 LMAValue = (UINT32)AsmReadMsr64 (EFER_ADDRESS) &amp; LMA

2.Existing SmBase configuration is different between the
AMD &amp; OVMF.
OVMF:
 if ((CpuSaveState-&gt;x86.SMMRevId &amp; 0xFFFF) == 0) {
   CpuSaveState-&gt;x86.SMBASE = mSmBaseForAllCpus[CpuIndex];
 } else {
   CpuSaveState-&gt;x64.SMBASE = mSmBaseForAllCpus[CpuIndex];
 }

AMD:
 AmdCpuState-&gt;x64.SMBASE = mSmBaseForAllCpus[CpuIndex];

This patch provides the SmmRelocationLib library instance
for OVMF to handle the logic difference, and it won't change
the existing implementation code logic.

Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zeng Star &lt;star.zeng@intel.com&gt;
Cc: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Cc: Rahul Kumar &lt;rahul1.kumar@intel.com&gt;
Signed-off-by: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Tested-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Acked-by: Jiewen Yao &lt;Jiewen.yao@intel.com&gt;
</content>
</entry>
</feed>
