Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package librtas for openSUSE:Factory checked in at 2024-02-01 18:05:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librtas (Old)
and /work/SRC/openSUSE:Factory/.librtas.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librtas"
Thu Feb 1 18:05:23 2024 rev:48 rq:1143221 version:2.0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/librtas/librtas.changes 2024-01-05 21:43:42.059299260 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new.1815/librtas.changes 2024-02-01 18:06:03.696554208 +0100
@@ -1,0 +2,6 @@
+Thu Feb 1 08:44:01 UTC 2024 - Michal Suchanek
+
+- Update character device patches to current version.
+ * folded link-lpthread.patch into 0005-librtas-vpd-prefer-dev-papr-vpd-when-available.patch
+
+-------------------------------------------------------------------
Old:
----
link-lpthread.patch
BETA DEBUG BEGIN:
Old:- Update character device patches to current version.
* folded link-lpthread.patch into 0005-librtas-vpd-prefer-dev-papr-vpd-when-available.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librtas-doc.spec ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.284575509 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.288575654 +0100
@@ -1,7 +1,7 @@
#
# spec file for package librtas-doc
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,6 @@
Patch4: 0004-librtas-vendor-papr-miscdev.h.patch
Patch5: 0005-librtas-vpd-prefer-dev-papr-vpd-when-available.patch
Patch6: 0006-librtas-sysparm-prefer-dev-papr-sysparm-when-availab.patch
-Patch7: link-lpthread.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
++++++ librtas.spec ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.332577249 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.332577249 +0100
@@ -1,7 +1,7 @@
#
# spec file for package librtas
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -35,7 +35,6 @@
Patch4: 0004-librtas-vendor-papr-miscdev.h.patch
Patch5: 0005-librtas-vpd-prefer-dev-papr-vpd-when-available.patch
Patch6: 0006-librtas-sysparm-prefer-dev-papr-sysparm-when-availab.patch
-Patch7: link-lpthread.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
++++++ 0001-librtas-expose-low-level-RTAS-call-APIs-internally.patch ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.360578263 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.368578553 +0100
@@ -1,4 +1,4 @@
-From 0d48bdca32cbf7a83bcaa5a27e3454d24055e0cb Mon Sep 17 00:00:00 2001
+From 569da8e5f0d5009694dc2def350cb9cd2c1d81a6 Mon Sep 17 00:00:00 2001
From: Nathan Lynch
Date: Sat, 12 Aug 2023 12:41:36 -0500
Subject: [PATCH 1/6] librtas: expose low-level RTAS call APIs internally
@@ -10,6 +10,7 @@
they gain support for new interfaces offered by the kernel.
Signed-off-by: Nathan Lynch
+Signed-off-by: Tyrel Datwyler
---
librtas_src/internal.h | 5 +++++
librtas_src/syscall_calls.c | 11 ++++++-----
@@ -75,6 +76,6 @@
va_list ap;
int rc, token;
--
-2.42.0
+2.43.0
++++++ 0002-librtas-move-VPD-code-into-separate-module.patch ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.384579133 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.392579422 +0100
@@ -1,4 +1,4 @@
-From 12a2764fd7efe7c52b53579a67edb641d662f54f Mon Sep 17 00:00:00 2001
+From ee06898b1e7807a6e201b281ffc8ee3fa96136f4 Mon Sep 17 00:00:00 2001
From: Nathan Lynch
Date: Sat, 12 Aug 2023 12:44:38 -0500
Subject: [PATCH 2/6] librtas: move VPD code into separate module
@@ -8,6 +8,7 @@
code, so move it out of syscall_calls.c.
Signed-off-by: Nathan Lynch
+Signed-off-by: Tyrel Datwyler
---
Makefile.am | 1 +
librtas_src/syscall_calls.c | 67 ------------------------------
@@ -193,6 +194,6 @@
+ return rc ? rc : status;
+}
--
-2.42.0
+2.43.0
++++++ 0003-librtas-move-system-parameter-code-to-separate-modul.patch ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.404579857 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.408580002 +0100
@@ -1,4 +1,4 @@
-From 80dfb541257cb88519855543324478cbb0f1f1b3 Mon Sep 17 00:00:00 2001
+From c47176a5f1ce7bb16ba02b8c8520e02b285d7e9f Mon Sep 17 00:00:00 2001
From: Nathan Lynch
Date: Mon, 25 Sep 2023 11:32:33 -0500
Subject: [PATCH 3/6] librtas: move system parameter code to separate module
@@ -8,6 +8,7 @@
a nontrivial amount of code, so move it out of syscall_calls.c.
Signed-off-by: Nathan Lynch
+Signed-off-by: Tyrel Datwyler
---
Makefile.am | 3 +-
librtas_src/syscall_calls.c | 84 -----------------------------------
@@ -226,6 +227,6 @@
+ return rc ? rc : status;
+}
--
-2.42.0
+2.43.0
++++++ 0004-librtas-vendor-papr-miscdev.h.patch ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.424580582 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.428580727 +0100
@@ -1,4 +1,4 @@
-From ba86b513cbed32f5cdf8840b727457688a0737fb Mon Sep 17 00:00:00 2001
+From c914a1a701391c565203b10603ad0fbc52438bf7 Mon Sep 17 00:00:00 2001
From: Nathan Lynch
Date: Mon, 25 Sep 2023 11:41:22 -0500
Subject: [PATCH 4/6] librtas: vendor papr-miscdev.h
@@ -7,6 +7,7 @@
copy into the source tree.
Signed-off-by: Nathan Lynch
+Signed-off-by: Tyrel Datwyler
---
Makefile.am | 4 +++-
librtas_src/papr-miscdev.h | 9 +++++++++
@@ -44,6 +45,6 @@
+
+#endif /* _UAPI_PAPR_MISCDEV_H_ */
--
-2.42.0
+2.43.0
++++++ 0005-librtas-vpd-prefer-dev-papr-vpd-when-available.patch ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.440581161 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.444581306 +0100
@@ -1,12 +1,10 @@
-From 3fffa2c147a69fac72b0159be967ecbe9c751dfb Mon Sep 17 00:00:00 2001
+From 57d5e1c07b40e56f6209e7b806208818464f8e8d Mon Sep 17 00:00:00 2001
From: Nathan Lynch
Date: Sat, 12 Aug 2023 13:27:39 -0500
Subject: [PATCH 5/6] librtas/vpd: prefer /dev/papr-vpd when available
-Change rtas_get_vpd() to prefer the /dev/papr-vpd character device as
-proposed for the kernel here:
-
-https://lore.kernel.org/linuxppc-dev/20230822-papr-sys_rtas-vs-lockdown-v1-0...
+Change rtas_get_vpd() to prefer the /dev/papr-vpd character device
+expected in Linux v6.8.
On the first invocation of rtas_get_vpd(), probe for the new ABI and
initialize an internal function pointer according to the result. Use
@@ -46,17 +44,27 @@
For now, carry a copy of the kernel uapi header.
Signed-off-by: Nathan Lynch
+Signed-off-by: Tyrel Datwyler
---
- Makefile.am | 3 +-
+ Makefile.am | 5 +-
librtas_src/papr-vpd.h | 22 ++++++
librtas_src/vpd.c | 155 ++++++++++++++++++++++++++++++++++++-----
- 3 files changed, 161 insertions(+), 19 deletions(-)
+ 3 files changed, 162 insertions(+), 20 deletions(-)
create mode 100644 librtas_src/papr-vpd.h
diff --git a/Makefile.am b/Makefile.am
-index d0cabfb..d3513e9 100644
+index d0cabfb..89a6eaa 100644
--- a/Makefile.am
+++ b/Makefile.am
+@@ -26,7 +26,7 @@ LIBRTAS_AGE = 0
+ LIBRTAS_LIBRARY_VERSION = $(LIBRTAS_CURRENT):$(LIBRTAS_REVISION):$(LIBRTAS_AGE)
+
+ lib_LTLIBRARIES += librtas.la
+-librtas_la_LDFLAGS = -version-info $(LIBRTAS_LIBRARY_VERSION)
++librtas_la_LDFLAGS = -version-info $(LIBRTAS_LIBRARY_VERSION) -lpthread
+ librtas_la_SOURCES = \
+ librtas_src/vpd.c \
+ librtas_src/ofdt.c \
@@ -37,7 +37,8 @@ librtas_la_SOURCES = \
library_include_HEADERS += librtas_src/librtas.h
noinst_HEADERS += \
@@ -275,6 +283,6 @@
+ seq_next, bytes_ret);
+}
--
-2.42.0
+2.43.0
++++++ 0006-librtas-sysparm-prefer-dev-papr-sysparm-when-availab.patch ++++++
--- /var/tmp/diff_new_pack.0QuoGg/_old 2024-02-01 18:06:04.460581886 +0100
+++ /var/tmp/diff_new_pack.0QuoGg/_new 2024-02-01 18:06:04.464582031 +0100
@@ -1,12 +1,10 @@
-From c98bf4d902821cfeb83cd6037a36a0bf208f842c Mon Sep 17 00:00:00 2001
+From d8d4ee6f5052704ac82bb8aa8d8fe8816dac41cd Mon Sep 17 00:00:00 2001
From: Nathan Lynch
Date: Mon, 25 Sep 2023 11:42:26 -0500
Subject: [PATCH 6/6] librtas/sysparm: prefer /dev/papr-sysparm when available
Change rtas_get_sysparm() and rtas_set_sysparm() to prefer the
-/dev/papr-sysparm character device as proposed for the kernel here:
-
-[[[ FIXME ]]]
+/dev/papr-sysparm character device expected in Linux v6.8.
On the first invocation of either function, probe for the new ABI and
initialize internal function pointers according to the result. Use
@@ -24,6 +22,7 @@
For now, carry a copy of the kernel uapi header.
Signed-off-by: Nathan Lynch
+Signed-off-by: Tyrel Datwyler
---
Makefile.am | 1 +
librtas_src/papr-sysparm.h | 58 +++++++++++++++
@@ -32,7 +31,7 @@
create mode 100644 librtas_src/papr-sysparm.h
diff --git a/Makefile.am b/Makefile.am
-index d3513e9..29b3b76 100644
+index 89a6eaa..67257e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,6 +38,7 @@ library_include_HEADERS += librtas_src/librtas.h
@@ -282,6 +281,6 @@
+ return set_sysparm_fn(parameter, data);
+}
--
-2.42.0
+2.43.0