Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ovmf for openSUSE:Factory checked in 
at 2026-03-11 20:49:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ovmf (Old)
 and      /work/SRC/openSUSE:Factory/.ovmf.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ovmf"

Wed Mar 11 20:49:24 2026 rev:130 rq:1337856 version:202602

Changes:
--------
--- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes        2026-03-05 
17:14:53.526011105 +0100
+++ /work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes      2026-03-11 
20:49:38.967977994 +0100
@@ -1,0 +2,12 @@
+Tue Mar 10 05:20:52 UTC 2026 - Richard Lyu <[email protected]>
+
+- Add patch to fix truncation screen issue (bsc#1259122)
+  - ovmf-MdeModulePkg-ConSplitterDxe-Set-default-ConOut-mode.patch
+
+-------------------------------------------------------------------
+Fri Mar  6 13:32:46 UTC 2026 - Fabian Vogt <[email protected]>
+
+- Add patch to fix crash on RISC-V without a TPM device:
+  * ovmf-OvmfPkg-RiscVVirt-PlatformPei-Do-not-set-PcdTpmBaseA.patch
+
+-------------------------------------------------------------------
+++ only whitespace diff in changes, re-diffing

New:
----
  ovmf-MdeModulePkg-ConSplitterDxe-Set-default-ConOut-mode.patch
  ovmf-OvmfPkg-RiscVVirt-PlatformPei-Do-not-set-PcdTpmBaseA.patch

----------(New B)----------
  New:/work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes-- Add patch to fix 
truncation screen issue (bsc#1259122)
/work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes:  - 
ovmf-MdeModulePkg-ConSplitterDxe-Set-default-ConOut-mode.patch
/work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes-
  New:/work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes-- Add patch to fix 
crash on RISC-V without a TPM device:
/work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes:  * 
ovmf-OvmfPkg-RiscVVirt-PlatformPei-Do-not-set-PcdTpmBaseA.patch
/work/SRC/openSUSE:Factory/.ovmf.new.8177/ovmf.changes-
----------(New E)----------

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

Other differences:
------------------
++++++ ovmf.spec ++++++
--- /var/tmp/diff_new_pack.S40On2/_old  2026-03-11 20:49:40.284031350 +0100
+++ /var/tmp/diff_new_pack.S40On2/_new  2026-03-11 20:49:40.284031350 +0100
@@ -61,6 +61,8 @@
 Patch2:         %{name}-pie.patch
 Patch3:         %{name}-disable-ia32-firmware-piepic.patch
 Patch4:         %{name}-OvmfPkg-Adjust-Memory-Layout-for-2MB-OVMF.patch
+# Bug 1259122 - [16.1][Build 5.19][aarch64] openQA test fails in qemu - 
truncation screen issue appears in qemu boot manager
+Patch5:         
%{name}-MdeModulePkg-ConSplitterDxe-Set-default-ConOut-mode.patch
 Patch6:         %{name}-ignore-spurious-GCC-12-warning.patch
 # Bug 1255113 - Build Failure for RISC-V 64 When Secure Boot is Enabled Due to 
SecureBootDefaultKeysInit module
 Patch7:         
%{name}-OvmfPkg-RiscVVirt-Make-SecureBootDefaultKeysInit-dri.patch
@@ -84,7 +86,9 @@
 Patch16:        
%{name}-Revert-ArmPkg-UefiCpuPkg-fix-boot-failure-with-LPA2.patch
 Patch17:        %{name}-Revert-UefiCpuPkg-ArmMmuLib-Add-support-for-LPA2.patch
 # Workaround for failing PEI boot on RISCV64 
(https://github.com/tianocore/edk2/issues/12206)
-Patch18:        ovmf-Revert-UefiCpuPkg-BaseRiscV64CpuTimerLib-Add-constru.patch
+Patch18:        
%{name}-Revert-UefiCpuPkg-BaseRiscV64CpuTimerLib-Add-constru.patch
+# https://github.com/tianocore/edk2/pull/12248
+Patch19:        
%{name}-OvmfPkg-RiscVVirt-PlatformPei-Do-not-set-PcdTpmBaseA.patch
 BuildRequires:  bc
 BuildRequires:  cross-arm-binutils
 BuildRequires:  cross-arm-gcc%{gcc_version}





++++++ ovmf-MdeModulePkg-ConSplitterDxe-Set-default-ConOut-mode.patch ++++++
>From cbb3afd30ac427bd0efb17222f6d9beb1d260156 Mon Sep 17 00:00:00 2001
From: Richard Lyu <[email protected]>
Date: Tue, 18 Nov 2025 17:29:13 +0800
Subject: [PATCH] MdeModulePkg/ConSplitterDxe: Set default ConOut mode to 0

REF: https://github.com/tianocore/edk2/issues/11765

The ConSplitterDxe driver was defaulting to the Console Output
(ConOut) MaxMode immediately after its virtual protocols were
installed. This MaxMode often exceeded the actual resolution
or capability of the physical console device, leading to severe
display corruption and incorrect line wrapping/positioning. This
commit changes the default mode to 0, guaranteeing stable display
behavior upon system boot.

Signed-off-by: Richard Lyu <[email protected]>
---
 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c 
b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c
index a3fa8f8e5e36..a4f455e25959 100644
--- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c
+++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c
@@ -1346,6 +1346,11 @@ ConSplitterConOutDriverBindingStart (
     FreePool (Info);
   }
 
+  Status = gST->ConOut->SetMode (gST->ConOut, 0);
+  if (EFI_ERROR (Status)) {
+    return Status;
+  }
+
   return Status;
 }
 
-- 
2.51.0


++++++ ovmf-OvmfPkg-RiscVVirt-PlatformPei-Do-not-set-PcdTpmBaseA.patch ++++++
>From b804e02f3402791e7b0d201b090de685d17d4800 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Fri, 6 Mar 2026 14:19:59 +0100
Subject: [PATCH] OvmfPkg/RiscVVirt/PlatformPei: Do not set PcdTpmBaseAddress
 to garbage

If there is no TPM device in the device tree, the TpmBase variable is not
initialized and contains garbage.

Instead of using 0 as sentinel (which may be a valid address), check the
size instead, which cannot be 0 for a memory-mapped device.

Signed-off-by: Fabian Vogt <[email protected]>
---
 OvmfPkg/RiscVVirt/PlatformPei/PlatformPeim.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/OvmfPkg/RiscVVirt/PlatformPei/PlatformPeim.c 
b/OvmfPkg/RiscVVirt/PlatformPei/PlatformPeim.c
index 3da71aa51b..fa157b4169 100644
--- a/OvmfPkg/RiscVVirt/PlatformPei/PlatformPeim.c
+++ b/OvmfPkg/RiscVVirt/PlatformPei/PlatformPeim.c
@@ -119,6 +119,11 @@ SetupTPMResources (
   UINT64        TpmBase;
   UINT64        TpmBaseSize;
 
+  //
+  // Empty TpmBaseSize indicates no TPM found.
+  //
+  TpmBaseSize = 0;
+
   //
   // Set Parent to suppress incorrect compiler/analyzer warnings.
   //
@@ -200,7 +205,7 @@ SetupTPMResources (
     }
   }
 
-  if (TpmBase) {
+  if (TpmBaseSize > 0) {
     BuildResourceDescriptorHob (
       EFI_RESOURCE_MEMORY_MAPPED_IO,
       EFI_RESOURCE_ATTRIBUTE_PRESENT     |
-- 
2.52.0

Reply via email to