Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ppc64-diag for openSUSE:Factory 
checked in at 2025-01-21 21:11:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ppc64-diag (Old)
 and      /work/SRC/openSUSE:Factory/.ppc64-diag.new.5589 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ppc64-diag"

Tue Jan 21 21:11:22 2025 rev:54 rq:1239297 version:2.7.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/ppc64-diag/ppc64-diag.changes    2024-09-17 
18:20:41.241123679 +0200
+++ /work/SRC/openSUSE:Factory/.ppc64-diag.new.5589/ppc64-diag.changes  
2025-01-21 21:12:01.638803852 +0100
@@ -1,0 +2,6 @@
+Tue Jan 21 14:09:50 UTC 2025 - Michal Suchanek <[email protected]>
+
+- Add support for Power11 in diag_nvme (bsc#1234980 ltc#210823)
+  * Added-Power11-support-for-diag_nvme.patch
+
+-------------------------------------------------------------------

New:
----
  Added-Power11-support-for-diag_nvme.patch

BETA DEBUG BEGIN:
  New:- Add support for Power11 in diag_nvme (bsc#1234980 ltc#210823)
  * Added-Power11-support-for-diag_nvme.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ ppc64-diag.spec ++++++
--- /var/tmp/diff_new_pack.IbI0Pu/_old  2025-01-21 21:12:02.098822706 +0100
+++ /var/tmp/diff_new_pack.IbI0Pu/_new  2025-01-21 21:12:02.102822869 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ppc64-diag
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 Source4:        ppc64-diag-nvme.timer
 #PATCH-FIX-OPENSUSE - ppc64-diag.varunused.patch - fix unused variables
 Patch1:         ppc64-diag.varunused.patch
+#PATCH-FIX-UPSTREAM - Added-Power11-support-for-diag_nvme.patch
+Patch2:         Added-Power11-support-for-diag_nvme.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison

++++++ Added-Power11-support-for-diag_nvme.patch ++++++
>From 6bfa2ec7a7f424b018fd2e21a70e9d2f04041832 Mon Sep 17 00:00:00 2001
From: Barnali Guha Thakurata <[email protected]>
Date: Tue, 22 Oct 2024 12:05:39 +0530
Subject: [PATCH] Added Power11 support for diag_nvme

Git-commit: 6bfa2ec7a7f424b018fd2e21a70e9d2f04041832

Without Patch:
# diag_nvme nvme0
diag_nvme is only supported in PowerVM LPARs and at least Power10 processors

With Patch:
# diag_nvme nvme0
Running diagnostics for nvme0

NVMe diag command completed successfully

Signed-off-by: Barnali Guha Thakurata <[email protected]>
Signed-off-by: Nilay Shroff <[email protected]>
Reviewed-by: Sathvika Vasireddy <[email protected]>
Tested-by: Sathvika Vasireddy <[email protected]>
---
 common/platform.c | 3 +++
 common/platform.h | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/common/platform.c b/common/platform.c
index 1359adb82101..801b9247be2a 100644
--- a/common/platform.c
+++ b/common/platform.c
@@ -96,6 +96,9 @@ get_processor(void)
        case PVR_POWER10:
                rc = POWER10;
                break;
+       case PVR_POWER11:
+               rc = POWER11;
+               break;
        default:
                rc = PROCESSOR_UNKNOWN;
                break;
diff --git a/common/platform.h b/common/platform.h
index b265d1e0937b..ae3ea21d80ed 100644
--- a/common/platform.h
+++ b/common/platform.h
@@ -36,6 +36,7 @@
 #define PVR_POWER8     0x004D
 #define PVR_POWER9     0x004E
 #define PVR_POWER10    0x0080
+#define PVR_POWER11    0x0082
 
 enum {
        PLATFORM_UNKNOWN = 0,
@@ -56,6 +57,7 @@ enum {
        POWER8,
        POWER9,
        POWER10,
+       POWER11,
 };
 
 extern const char *__platform_name[];
-- 
2.47.1

Reply via email to