summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/AmdSev
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-05-23 21:45:04 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-05-25 13:34:26 +0000
commit07c0c2eb0a5970db614ebce1060fc79d6904bdfd (patch)
tree2ad9917e05737420e659392c11256b72157b775b /OvmfPkg/AmdSev
parent9c733f0b90b31a7e3711f60da314f2a5cfe5fe8a (diff)
downloadedk2-07c0c2eb0a5970db614ebce1060fc79d6904bdfd.tar.gz
edk2-07c0c2eb0a5970db614ebce1060fc79d6904bdfd.tar.bz2
edk2-07c0c2eb0a5970db614ebce1060fc79d6904bdfd.zip
OvmfPkg: fix PcdFSBClock
kvm FSB clock is 1GHz, not 100 MHz. Timings are off by factor 10. Fix all affected build configurations. Not changed: Microvm and Cloudhw (they have already have the correct value), and Xen (has no fixed frequency, the PCD is configured at runtime by platform initialization code). Fixes: c37cbc030d96 ("OvmfPkg: Switch timer in build time for OvmfPkg") Reported-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/AmdSev')
-rw-r--r--OvmfPkg/AmdSev/AmdSevX64.dsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
index bead9722ea..fc1fdb2e22 100644
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
@@ -578,7 +578,7 @@
!include OvmfPkg/OvmfTpmPcds.dsc.inc
- gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
+ gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
[PcdsDynamicHii]
!include OvmfPkg/OvmfTpmPcdsHii.dsc.inc