Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ovmf for openSUSE:Factory checked in 
at 2023-02-17 16:43:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ovmf (Old)
 and      /work/SRC/openSUSE:Factory/.ovmf.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ovmf"

Fri Feb 17 16:43:47 2023 rev:88 rq:1066076 version:202211

Changes:
--------
--- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes        2023-02-08 
17:19:47.273794344 +0100
+++ /work/SRC/openSUSE:Factory/.ovmf.new.22824/ovmf.changes     2023-02-17 
16:43:51.470475006 +0100
@@ -1,0 +2,11 @@
+Wed Feb 15 15:01:46 UTC 2023 - Joey Lee <j...@suse.com>
+
+- Add ovmf-Revert-OvmfPkg-OvmfXen-Set-PcdFSBClock.patch to revert
+  71cdb91f313380152d7bf38cfeebe76f5b2d39ac patch (bsc#1205613)
+    - 71cdb91f313380152d7bf38cfeebe76f5b2d39ac OvmfPkg/OvmfXen: Set PcdFSBClock
+    - We are waiting better upsteam patch, revert the issue patch first.
+      Then PcdFSBClock will back to fixed variable.
+    - Reference: https://edk2.groups.io/g/devel/topic/94891128#96077
+                https://bugzilla.tianocore.org/show_bug.cgi?id=4340    
+
+-------------------------------------------------------------------

New:
----
  ovmf-Revert-OvmfPkg-OvmfXen-Set-PcdFSBClock.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ovmf.spec ++++++
--- /var/tmp/diff_new_pack.ro0R7k/_old  2023-02-17 16:43:52.370480074 +0100
+++ /var/tmp/diff_new_pack.ro0R7k/_new  2023-02-17 16:43:52.374480096 +0100
@@ -64,6 +64,8 @@
 Patch14:        
%{name}-OvmfPkg-PlatformInitLib-Fix-integrity-checking-faile.patch
 # Bug 1207095
 Patch15:        fix-aarch64.patch
+# Bug 1205613 - L3: win 2k22 UEFI xen VMs cannot boot in xen after upgrade
+Patch16:        %{name}-Revert-OvmfPkg-OvmfXen-Set-PcdFSBClock.patch
 BuildRequires:  bc
 BuildRequires:  cross-arm-binutils
 BuildRequires:  cross-arm-gcc%{gcc_version}
@@ -190,6 +192,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 # add openssl
 pushd CryptoPkg/Library/OpensslLib/openssl






++++++ ovmf-Revert-OvmfPkg-OvmfXen-Set-PcdFSBClock.patch ++++++
>From b8324bc3d5d44e5b1644a66f1b6e07b6e4ad9350 Mon Sep 17 00:00:00 2001
From: "Lee, Chun-Yi" <j...@suse.com>
Date: Wed, 15 Feb 2023 14:39:37 +0800
Subject: [PATCH] Revert "OvmfPkg/OvmfXen: Set PcdFSBClock"

This reverts commit 71cdb91f313380152d7bf38cfeebe76f5b2d39ac.
---
 OvmfPkg/OvmfXen.dsc                       | 4 +++-
 OvmfPkg/XenPlatformPei/Xen.c              | 4 ----
 OvmfPkg/XenPlatformPei/XenPlatformPei.inf | 1 -
 3 files changed, 3 insertions(+), 6 deletions(-)

Index: edk2-edk2-stable202208/OvmfPkg/OvmfXen.dsc
===================================================================
--- edk2-edk2-stable202208.orig/OvmfPkg/OvmfXen.dsc
+++ edk2-edk2-stable202208/OvmfPkg/OvmfXen.dsc
@@ -455,6 +455,9 @@
   # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
   gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 
0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
 
+  ## Xen vlapic's frequence is 100 MHz
+  gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
+
   # We populate DXE IPL tables with 1G pages preferably on Xen
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
 
@@ -485,7 +488,6 @@
   gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
 
-  gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
 
   # Set video resolution for text setup.
Index: edk2-edk2-stable202208/OvmfPkg/XenPlatformPei/Xen.c
===================================================================
--- edk2-edk2-stable202208.orig/OvmfPkg/XenPlatformPei/Xen.c
+++ edk2-edk2-stable202208/OvmfPkg/XenPlatformPei/Xen.c
@@ -634,9 +634,5 @@ CalibrateLapicTimer (
   Freq = DivU64x64Remainder (Dividend, TscTick2 - TscTick, NULL);
   DEBUG ((DEBUG_INFO, "APIC Freq % 8lu Hz\n", Freq));
 
-  ASSERT (Freq <= MAX_UINT32);
-  Status = PcdSet32S (PcdFSBClock, (UINT32)Freq);
-  ASSERT_EFI_ERROR (Status);
-
   UnmapXenPage (SharedInfo);
 }
Index: edk2-edk2-stable202208/OvmfPkg/XenPlatformPei/XenPlatformPei.inf
===================================================================
--- edk2-edk2-stable202208.orig/OvmfPkg/XenPlatformPei/XenPlatformPei.inf
+++ edk2-edk2-stable202208/OvmfPkg/XenPlatformPei/XenPlatformPei.inf
@@ -86,7 +86,6 @@
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
   gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask
-  gEfiMdePkgTokenSpaceGuid.PcdFSBClock
   gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy
   gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
 

Reply via email to