commit 0f26a4c6c034ba0135aeb5d152e093613ca7c5cb

OBS-URL: https://build.opensuse.org/package/show/Kernel:slowroll/kernel-source-longterm?expand=0&rev=8
This commit is contained in:
Kernel Bugs 2024-01-06 07:07:57 +00:00 committed by Git OBS Bridge
parent 33fa689ad4
commit 45c974b843
21 changed files with 2647 additions and 64 deletions

View File

@ -136,36 +136,18 @@ carefully try to keep the kernel ABI stable. Despite this, we sometimes have no
choice but to break binary compatibility. In this case, those kernel modules
must be rebuilt.
Additional kernel modules for one of the SUSE kernel flavors can be built in
three different ways:
Additional kernel modules for one of the SUSE kernel flavors can be built in the
following ways:
1. by configuring the kernel sources in a separate build directory, see [How to
configure the kernel sources](#how-to-configure-the-kernel-sources), or
2. by using one of the standard configurations in
1. by doing an ad-hoc module build, using one of the standard configurations in
`/usr/src/linux-obj/$ARCH/$FLAVOR`, or
3. by creating a Kernel Module Package (KMP) as described in the Kernel Module
2. by creating a Kernel Module Package (KMP) as described in the Kernel Module
Packages Manual,
<https://documentation.suse.com/sbp/all/html/SBP-KMP-Manual-SLE12SP2/index.html>.
The first method involves the following steps:
1. Install the kernel-source package.
2. Configure the kernel, see [How to configure the kernel
sources](#how-to-configure-the-kernel-sources).
3. Create files required for compiling external modules: `make modules_prepare`.
4. Compile the module(s) by changing into the module source directory and typing
`make -C $YOUR_BUILD_DIR M=$PWD`.
5. Install the module(s) by typing
`make -C $YOUR_BUILD_DIR M=$PWD modules_install`.
The second method involves the following steps:
1. Install the kernel-devel package.
2. Install the kernel-`$FLAVOR`-devel package. This is necessary for symbol
@ -326,6 +308,24 @@ Configuring the kernel sources for a specific configuration is straightforward:
eliminates the need to specify the locations of the kernel source and the
build directory.
* Update the configuration appropriately for the target use.
Configuration files for SUSE kernels include settings to integrate with
signing support provided by the Open Build Service. When using such a
configuration file directly, the build might fail due to missing files needed
for signing kernel modules.
The minimal steps to enable module signing and have the kernel build
automatically generate a new key pair are as follows:
$ ./source/scripts/config --enable CONFIG_MODULE_SIG \
--enable CONFIG_MODULE_SIG_ALL --undefine CONFIG_MODULE_SIG_KEY
$ make olddefconfig
Please refer to the upstream documentation located at
`/usr/src/linux/Documentation/admin-guide/module-signing.rst` for complete
information on how to configure module signing.
How to add custom patches
-------------------------
@ -403,24 +403,21 @@ tools, and their documentation:
References
----------
* General:
General:
* Documentation in the kernel source tree.
* Documentation in the kernel source tree,
* LWN.net (Linux Weekly News), <https://lwn.net/>,
* Kernel newbies, <https://kernelnewbies.org/>.
* LWN.net (Linux Weekly News), <https://lwn.net/>.
Loadable kernel modules:
* Kernel newbies, <https://kernelnewbies.org/>.
* Peter Jay Salzman, Michael Burian, Ori Pomerantz: The Linux Kernel Module
Programming Guide, Version 2.6,
<https://tldp.org/LDP/lkmpg/2.6/html/index.html>.
* Loadable kernel modules:
Kernel module packages:
* Peter Jay Salzman, Michael Burian, Ori Pomerantz: The Linux Kernel Module
Programming Guide, Version 2.6,
<https://tldp.org/LDP/lkmpg/2.6/html/index.html>.
* Kernel module packages:
* Kernel Module Packages Manual, SUSE Linux Enterprise 12 SP2 or later and
SUSE Linux Enterprise 15,
<https://documentation.suse.com/sbp/all/html/SBP-KMP-Manual-SLE12SP2/index.html>.
* SUSE SolidDriver Program, <https://drivers.suse.com/doc/SolidDriver/>.
* Kernel Module Packages Manual, SUSE Linux Enterprise 12 SP2 or later and SUSE
Linux Enterprise 15,
<https://documentation.suse.com/sbp/all/html/SBP-KMP-Manual-SLE12SP2/index.html>,
* SUSE SolidDriver Program, <https://drivers.suse.com/doc/SolidDriver/>.

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<package>kernel-longterm</package>
<package>kernel-syms-longterm</package>
</multibuild>

1605
config-options.changes Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,8 @@ COMPRESS_MODULES="zstd"
COMPRESS_VMLINUX="xz"
# Compile binary devicetrees on master and stable branches.
BUILD_DTBS="Yes"
# Generate a _multibuild file
MULTIBUILD="Yes"
# Use new style livepatch package names
LIVEPATCH=livepatch
# buildservice projects to build the kernel against

View File

@ -35,7 +35,11 @@ Summary: Device Tree files for $MACHINES
License: GPL-2.0-only
Group: System/Boot
URL: https://www.kernel.org/
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
$ARCH_RESTRICTIONS
%else
ExclusiveArch: do_not_build
%endif
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3
BuildRequires: xz

View File

@ -160,7 +160,11 @@ BuildRequires: u-boot-tools
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
@SOURCES@
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686
%if ! %build_default
@ -207,8 +211,9 @@ Requires: suse-kernel-rpm-scriptlets
Requires(preun): suse-kernel-rpm-scriptlets
Requires(postun): suse-kernel-rpm-scriptlets
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
# For /usr/lib/module-init-tools/weak-modules2 and /usr/lib/modprobe.d/*.conf
Requires(post): suse-module-tools
Requires: suse-module-tools
# For depmod (modutils is a dependency provided by both module-init-tools and
# kmod-compat)
Requires(post): modutils

View File

@ -85,7 +85,11 @@ BuildRequires: texlive-zapfding
URL: https://www.kernel.org/
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
@SOURCES@
%description

View File

@ -1,3 +1,201 @@
-------------------------------------------------------------------
Fri Jan 5 17:13:22 CET 2024 - rfrohl@suse.com
- Linux 6.1.71 (bsc#1218052).
- Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI
device probe" (bsc#1218052).
- tracing/kprobes: Fix symbol counting logic by looking at
modules as well (bsc#1218052).
- kallsyms: Make module_kallsyms_on_each_symbol generally
available (bsc#1218052).
- device property: Allow const parameter to dev_fwnode()
(bsc#1218052).
- spi: Constify spi parameters of chip select APIs (bsc#1218052).
- NFSD: fix possible oops when nfsd/pool_stats is closed
(bsc#1218052).
- ring-buffer: Fix slowpath of interrupted event (bsc#1218052).
- netfilter: nf_tables: skip set commit for deleted/destroyed sets
(bsc#1218052).
- ring-buffer: Remove useless update to write_stamp in
rb_try_to_discard() (bsc#1218052).
- tracing: Fix blocked reader of snapshot buffer (bsc#1218052).
- ring-buffer: Fix wake ups when buffer_percent is set to 100
(bsc#1218052).
- mm/memory-failure: check the mapcount of the precise page
(bsc#1218052).
- mm/memory-failure: cast index to loff_t before shifting it
(bsc#1218052).
- mm: migrate high-order folios in swap cache correctly
(bsc#1218052).
- mm/filemap: avoid buffered read/write race to read inconsistent
data (bsc#1218052).
- platform/x86: p2sb: Allow p2sb_bar() calls during PCI device
probe (bsc#1218052).
- ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
(bsc#1218052).
- block: renumber QUEUE_FLAG_HW_WC (bsc#1218052).
- spi: atmel: Fix clock issue when using devices with different
polarities (bsc#1218052).
- spi: Add APIs in spi core to set/get spi->chip_select and
spi->cs_gpiod (bsc#1218052).
- spi: Reintroduce spi_set_cs_timing() (bsc#1218052).
- linux/export: Ensure natural alignment of kcrctab array
(bsc#1218052).
- nfsd: call nfsd_last_thread() before final nfsd_put()
(bsc#1218052).
- nfsd: separate nfsd_last_thread() from nfsd_put() (bsc#1218052).
- iio: imu: adis16475: add spi_device_id table (bsc#1218052).
- spi: Introduce spi_get_device_match_data() helper (bsc#1218052).
- usb: fotg210-hcd: delete an incorrect bounds test (bsc#1218052).
- ARM: dts: Fix occasional boot hang for am3 usb (bsc#1218052).
- ksmbd: fix wrong allocation size update in smb2_open()
(bsc#1218052).
- ksmbd: avoid duplicate opinfo_put() call on error of
smb21_lease_break_ack() (bsc#1218052).
- ksmbd: lazy v2 lease break on smb2_write() (bsc#1218052).
- ksmbd: send v2 lease break notification for directory
(bsc#1218052).
- ksmbd: downgrade RWH lease caching state to RH for directory
(bsc#1218052).
- ksmbd: set v2 lease capability (bsc#1218052).
- ksmbd: set epoch in create context v2 lease (bsc#1218052).
- ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
(bsc#1218052).
- ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
(bsc#1218052).
- ksmbd: release interim response after sending status pending
response (bsc#1218052).
- ksmbd: move oplock handling after unlock parent dir
(bsc#1218052).
- ksmbd: separately allocate ci per dentry (bsc#1218052).
- ksmbd: fix possible deadlock in smb2_open (bsc#1218052).
- ksmbd: prevent memory leak on error return (bsc#1218052).
- ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
(bsc#1218052).
- ksmbd: no need to wait for binded connection termination at
logoff (bsc#1218052).
- ksmbd: add support for surrogate pair conversion (bsc#1218052).
- ksmbd: fix missing RDMA-capable flag for IPoIB device in
ksmbd_rdma_capable_netdev() (bsc#1218052).
- ksmbd: fix recursive locking in vfs helpers (bsc#1218052).
- ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
(bsc#1218052).
- ksmbd: reorganize ksmbd_iov_pin_rsp() (bsc#1218052).
- ksmbd: Remove unused field in ksmbd_user struct (bsc#1218052).
- ksmbd: fix potential double free on smb2_read_pipe() error path
(bsc#1218052).
- ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
(bsc#1218052).
- ksmbd: fix wrong error response status by using
set_smb2_rsp_status() (bsc#1218052).
- ksmbd: fix race condition between tree conn lookup and
disconnect (bsc#1218052).
- ksmbd: fix race condition from parallel smb2 lock requests
(bsc#1218052).
- ksmbd: fix race condition from parallel smb2 logoff requests
(bsc#1218052).
- ksmbd: fix race condition with fp (bsc#1218052).
- ksmbd: check iov vector index in ksmbd_conn_write()
(bsc#1218052).
- ksmbd: return invalid parameter error response if smb2 request
is invalid (bsc#1218052).
- ksmbd: fix passing freed memory 'aux_payload_buf' (bsc#1218052).
- ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
(bsc#1218052).
- ksmbd: remove experimental warning (bsc#1218052).
- ksmbd: add missing calling smb2_set_err_rsp() on error
(bsc#1218052).
- ksmbd: Fix one kernel-doc comment (bsc#1218052).
- ksmbd: fix `force create mode' and `force directory mode'
(bsc#1218052).
- ksmbd: fix wrong interim response on compound (bsc#1218052).
- ksmbd: add support for read compound (bsc#1218052).
- ksmbd: switch to use kmemdup_nul() helper (bsc#1218052).
- ksmbd: check if a mount point is crossed during path lookup
(bsc#1218052).
- ksmbd: Fix unsigned expression compared with zero (bsc#1218052).
- ksmbd: Replace one-element array with flexible-array member
(bsc#1218052).
- ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
(bsc#1218052).
- ksmbd: Replace the ternary conditional operator with min()
(bsc#1218052).
- ksmbd: use kvzalloc instead of kvmalloc (bsc#1218052).
- ksmbd: Change the return value of ksmbd_vfs_query_maximal_access
to void (bsc#1218052).
- ksmbd: return a literal instead of 'err' in
ksmbd_vfs_kern_path_locked() (bsc#1218052).
- ksmbd: use kzalloc() instead of __GFP_ZERO (bsc#1218052).
- ksmbd: remove unused ksmbd_tree_conn_share function
(bsc#1218052).
- ksmbd: add mnt_want_write to ksmbd vfs functions (bsc#1218052).
- ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
(bsc#1218052).
- ksmbd: call putname after using the last component
(bsc#1218052).
- ksmbd: fix uninitialized pointer read in smb2_create_link()
(bsc#1218052).
- ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
(bsc#1218052).
- ksmbd: fix racy issue from using ->d_parent and ->d_name
(bsc#1218052).
- fs: introduce lock_rename_child() helper (bsc#1218052).
- ksmbd: remove unused compression negotiate ctx packing
(bsc#1218052).
- ksmbd: avoid duplicate negotiate ctx offset increments
(bsc#1218052).
- ksmbd: set NegotiateContextCount once instead of every inc
(bsc#1218052).
- ksmbd: delete asynchronous work from list (bsc#1218052).
- ksmbd: remove unused is_char_allowed function (bsc#1218052).
- ksmbd: Fix parameter name and comment mismatch (bsc#1218052).
- ksmbd: Fix spelling mistake "excceed" -> "exceeded"
(bsc#1218052).
- ksmbd: update Kconfig to note Kerberos support and fix
indentation (bsc#1218052).
- ksmbd: Remove duplicated codes (bsc#1218052).
- ksmbd: fix typo, syncronous->synchronous (bsc#1218052).
- ksmbd: Implements sess->rpc_handle_list as xarray (bsc#1218052).
- ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
(bsc#1218052).
- ksmbd: Fix resource leak in smb2_lock() (bsc#1218052).
- ksmbd: use F_SETLK when unlocking a file (bsc#1218052).
- ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data
encryption for this share (bsc#1218052).
- ksmbd: replace one-element arrays with flexible-array members
(bsc#1218052).
- commit 0f26a4c
-------------------------------------------------------------------
Wed Jan 3 19:47:37 CET 2024 - msuchanek@suse.de
- mkspec: Add multibuild support (JSC-SLE#5501, boo#1211226, bsc#1218184)
When MULTIBUILD option in config.sh is enabled generate a _multibuild
file listing all spec files.
- commit f734347
-------------------------------------------------------------------
Wed Jan 3 18:49:19 CET 2024 - msuchanek@suse.de
- Build in the correct KOTD repository with multibuild
(JSC-SLE#5501, boo#1211226, bsc#1218184)
With multibuild setting repository flags is no longer supported for
individual spec files - see
https://github.com/openSUSE/open-build-service/issues/3574
Add ExclusiveArch conditional that depends on a macro set up by
bs-upload-kernel instead. With that each package should build only in
one repository - either standard or QA.
Note: bs-upload-kernel does not interpret rpm conditionals, and only
uses the first ExclusiveArch line to determine the architectures to
enable.
- commit aa5424d
-------------------------------------------------------------------
Wed Jan 3 11:44:52 CET 2024 - msuchanek@suse.de
- rpm/config.sh: Enable multibuild.
- commit 14b497b
-------------------------------------------------------------------
Mon Jan 1 15:08:39 CET 2024 - rfrohl@suse.com
@ -755,6 +953,84 @@ Mon Dec 11 12:22:27 CET 2023 - rfrohl@suse.com
- Update to 6.1.67.
- commit 7a503e9
-------------------------------------------------------------------
Fri Dec 8 11:23:50 CET 2023 - petr.pavlu@suse.com
- kernel-source: Remove config-options.changes (jsc#PED-5021)
The file doc/config-options.changes was used in the past to document
kernel config changes. It was introduced in 2010 but haven't received
any updates on any branch since 2015. The file is renamed by tar-up.sh
to config-options.changes.txt and shipped in the kernel-source RPM
package under /usr/share/doc. As its content now only contains outdated
information, retaining it can lead to confusion for users encountering
this file.
Config changes are nowadays described in associated Git commit messages,
which get automatically collected and are incorporated into changelogs
of kernel RPM packages.
Drop then this obsolete file, starting with its packaging logic.
For branch maintainers: Upon merging this commit on your branch, please
correspondingly delete the file doc/config-options.changes.
- commit adedbd2
-------------------------------------------------------------------
Fri Dec 8 09:57:11 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Simplify the list of references (jsc#PED-5021)
Reduce indentation in the list of references, make the style consistent
with README.md.
- commit 70e3c33
-------------------------------------------------------------------
Thu Dec 7 16:36:26 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Add how to update the config for module signing
(jsc#PED-5021)
Configuration files for SUSE kernels include settings to integrate with
signing support provided by the Open Build Service. This creates
problems if someone tries to use such a configuration file to build
a "standalone" kernel as described in doc/README.SUSE:
* Default configuration files available in the kernel-source repository
unset CONFIG_MODULE_SIG_ALL to leave module signing to
pesign-obs-integration. In case of a "standalone" build, this
integration is not available and the modules don't get signed.
* The kernel spec file overrides CONFIG_MODULE_SIG_KEY to
".kernel_signing_key.pem" which is a file populated by certificates
provided by OBS but otherwise not available. The value ends up in
/boot/config-$VERSION-$RELEASE-$FLAVOR and /proc/config.gz. If someone
decides to use one of these files as their base configuration then the
build fails with an error because the specified module signing key is
missing.
Add information on how to enable module signing and where to find the
relevant upstream documentation.
- commit a699dc3
-------------------------------------------------------------------
Wed Dec 6 16:37:18 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Remove how to build modules using kernel-source
(jsc#PED-5021)
Remove the first method how to build kernel modules from the readme. It
describes a process consisting of the kernel-source installation,
configuring this kernel and then performing an ad-hoc module build.
This method is not ideal as no modversion data is involved in the
process. It results in a module with no symbol CRCs which can be wrongly
loaded on an incompatible kernel.
Removing the method also simplifies the readme because only two main
methods how to build the modules are then described, either doing an
ad-hoc build using kernel-devel, or creating a proper Kernel Module
Package.
- commit 9285bb8
-------------------------------------------------------------------
Fri Dec 1 21:20:13 CET 2023 - msuchanek@suse.de
- kernel-binary: suse-module-tools is also required when installed
Requires(pre) adds dependency for the specific sciptlet.
However, suse-module-tools also ships modprobe.d files which may be
needed at posttrans time or any time the kernel is on the system for
generating ramdisk. Add plain Requires as well.
- commit 8c12816
-------------------------------------------------------------------
Fri Dec 1 15:54:32 CET 2023 - msuchanek@suse.de

View File

@ -18,8 +18,8 @@
%define srcversion 6.1
%define patchversion 6.1.70
%define git_commit 80524fb06f8f1e0f5aa90320d6bc2cb5ecfda3f0
%define patchversion 6.1.71
%define git_commit 0f26a4c6c034ba0135aeb5d152e093613ca7c5cb
%define variant -longterm%{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@ -113,9 +113,9 @@ Name: kernel-longterm
Summary: The Linux Kernel
License: GPL-2.0-only
Group: System/Kernel
Version: 6.1.70
Version: 6.1.71
%if 0%{?is_kotd}
Release: <RELEASE>.g80524fb
Release: <RELEASE>.g0f26a4c
%else
Release: 0
%endif
@ -173,7 +173,6 @@ Source35: group-source-files.pl
Source36: README.PATCH-POLICY.SUSE
Source37: README.SUSE
Source38: README.KSYMS
Source39: config-options.changes.txt
Source40: source-timestamp
Source46: split-modules
Source47: modversions
@ -243,7 +242,6 @@ NoSource: 35
NoSource: 36
NoSource: 37
NoSource: 38
NoSource: 39
NoSource: 40
NoSource: 46
NoSource: 47
@ -298,7 +296,11 @@ NoSource: 113
NoSource: 114
NoSource: 120
NoSource: 121
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: x86_64
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686
%if ! %build_default
@ -345,8 +347,9 @@ Requires: suse-kernel-rpm-scriptlets
Requires(preun): suse-kernel-rpm-scriptlets
Requires(postun): suse-kernel-rpm-scriptlets
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
# For /usr/lib/module-init-tools/weak-modules2 and /usr/lib/modprobe.d/*.conf
Requires(post): suse-module-tools
Requires: suse-module-tools
# For depmod (modutils is a dependency provided by both module-init-tools and
# kmod-compat)
Requires(post): modutils
@ -1262,8 +1265,9 @@ Requires: suse-kernel-rpm-scriptlets
Requires(preun): suse-kernel-rpm-scriptlets
Requires(postun): suse-kernel-rpm-scriptlets
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
# For /usr/lib/module-init-tools/weak-modules2 and /usr/lib/modprobe.d/*.conf
Requires(post): suse-module-tools
Requires: suse-module-tools
# For depmod (modutils is a dependency provided by both module-init-tools and
# kmod-compat)
Requires(post): modutils

View File

@ -51,7 +51,11 @@ BuildRequires: kernel
%define kernel_flavor ""
%endif
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
BuildRequires: dracut
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0-only

View File

@ -28,7 +28,11 @@ BuildRequires: kernel-default
# here as well to avoid that qa and build package build parallel
BuildRequires: kernel-obs-build
BuildRequires: modutils
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
Summary: Basic QA tests for the kernel
License: GPL-2.0-only
Group: SLES

View File

@ -1,3 +1,201 @@
-------------------------------------------------------------------
Fri Jan 5 17:13:22 CET 2024 - rfrohl@suse.com
- Linux 6.1.71 (bsc#1218052).
- Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI
device probe" (bsc#1218052).
- tracing/kprobes: Fix symbol counting logic by looking at
modules as well (bsc#1218052).
- kallsyms: Make module_kallsyms_on_each_symbol generally
available (bsc#1218052).
- device property: Allow const parameter to dev_fwnode()
(bsc#1218052).
- spi: Constify spi parameters of chip select APIs (bsc#1218052).
- NFSD: fix possible oops when nfsd/pool_stats is closed
(bsc#1218052).
- ring-buffer: Fix slowpath of interrupted event (bsc#1218052).
- netfilter: nf_tables: skip set commit for deleted/destroyed sets
(bsc#1218052).
- ring-buffer: Remove useless update to write_stamp in
rb_try_to_discard() (bsc#1218052).
- tracing: Fix blocked reader of snapshot buffer (bsc#1218052).
- ring-buffer: Fix wake ups when buffer_percent is set to 100
(bsc#1218052).
- mm/memory-failure: check the mapcount of the precise page
(bsc#1218052).
- mm/memory-failure: cast index to loff_t before shifting it
(bsc#1218052).
- mm: migrate high-order folios in swap cache correctly
(bsc#1218052).
- mm/filemap: avoid buffered read/write race to read inconsistent
data (bsc#1218052).
- platform/x86: p2sb: Allow p2sb_bar() calls during PCI device
probe (bsc#1218052).
- ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
(bsc#1218052).
- block: renumber QUEUE_FLAG_HW_WC (bsc#1218052).
- spi: atmel: Fix clock issue when using devices with different
polarities (bsc#1218052).
- spi: Add APIs in spi core to set/get spi->chip_select and
spi->cs_gpiod (bsc#1218052).
- spi: Reintroduce spi_set_cs_timing() (bsc#1218052).
- linux/export: Ensure natural alignment of kcrctab array
(bsc#1218052).
- nfsd: call nfsd_last_thread() before final nfsd_put()
(bsc#1218052).
- nfsd: separate nfsd_last_thread() from nfsd_put() (bsc#1218052).
- iio: imu: adis16475: add spi_device_id table (bsc#1218052).
- spi: Introduce spi_get_device_match_data() helper (bsc#1218052).
- usb: fotg210-hcd: delete an incorrect bounds test (bsc#1218052).
- ARM: dts: Fix occasional boot hang for am3 usb (bsc#1218052).
- ksmbd: fix wrong allocation size update in smb2_open()
(bsc#1218052).
- ksmbd: avoid duplicate opinfo_put() call on error of
smb21_lease_break_ack() (bsc#1218052).
- ksmbd: lazy v2 lease break on smb2_write() (bsc#1218052).
- ksmbd: send v2 lease break notification for directory
(bsc#1218052).
- ksmbd: downgrade RWH lease caching state to RH for directory
(bsc#1218052).
- ksmbd: set v2 lease capability (bsc#1218052).
- ksmbd: set epoch in create context v2 lease (bsc#1218052).
- ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
(bsc#1218052).
- ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
(bsc#1218052).
- ksmbd: release interim response after sending status pending
response (bsc#1218052).
- ksmbd: move oplock handling after unlock parent dir
(bsc#1218052).
- ksmbd: separately allocate ci per dentry (bsc#1218052).
- ksmbd: fix possible deadlock in smb2_open (bsc#1218052).
- ksmbd: prevent memory leak on error return (bsc#1218052).
- ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
(bsc#1218052).
- ksmbd: no need to wait for binded connection termination at
logoff (bsc#1218052).
- ksmbd: add support for surrogate pair conversion (bsc#1218052).
- ksmbd: fix missing RDMA-capable flag for IPoIB device in
ksmbd_rdma_capable_netdev() (bsc#1218052).
- ksmbd: fix recursive locking in vfs helpers (bsc#1218052).
- ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
(bsc#1218052).
- ksmbd: reorganize ksmbd_iov_pin_rsp() (bsc#1218052).
- ksmbd: Remove unused field in ksmbd_user struct (bsc#1218052).
- ksmbd: fix potential double free on smb2_read_pipe() error path
(bsc#1218052).
- ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
(bsc#1218052).
- ksmbd: fix wrong error response status by using
set_smb2_rsp_status() (bsc#1218052).
- ksmbd: fix race condition between tree conn lookup and
disconnect (bsc#1218052).
- ksmbd: fix race condition from parallel smb2 lock requests
(bsc#1218052).
- ksmbd: fix race condition from parallel smb2 logoff requests
(bsc#1218052).
- ksmbd: fix race condition with fp (bsc#1218052).
- ksmbd: check iov vector index in ksmbd_conn_write()
(bsc#1218052).
- ksmbd: return invalid parameter error response if smb2 request
is invalid (bsc#1218052).
- ksmbd: fix passing freed memory 'aux_payload_buf' (bsc#1218052).
- ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
(bsc#1218052).
- ksmbd: remove experimental warning (bsc#1218052).
- ksmbd: add missing calling smb2_set_err_rsp() on error
(bsc#1218052).
- ksmbd: Fix one kernel-doc comment (bsc#1218052).
- ksmbd: fix `force create mode' and `force directory mode'
(bsc#1218052).
- ksmbd: fix wrong interim response on compound (bsc#1218052).
- ksmbd: add support for read compound (bsc#1218052).
- ksmbd: switch to use kmemdup_nul() helper (bsc#1218052).
- ksmbd: check if a mount point is crossed during path lookup
(bsc#1218052).
- ksmbd: Fix unsigned expression compared with zero (bsc#1218052).
- ksmbd: Replace one-element array with flexible-array member
(bsc#1218052).
- ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
(bsc#1218052).
- ksmbd: Replace the ternary conditional operator with min()
(bsc#1218052).
- ksmbd: use kvzalloc instead of kvmalloc (bsc#1218052).
- ksmbd: Change the return value of ksmbd_vfs_query_maximal_access
to void (bsc#1218052).
- ksmbd: return a literal instead of 'err' in
ksmbd_vfs_kern_path_locked() (bsc#1218052).
- ksmbd: use kzalloc() instead of __GFP_ZERO (bsc#1218052).
- ksmbd: remove unused ksmbd_tree_conn_share function
(bsc#1218052).
- ksmbd: add mnt_want_write to ksmbd vfs functions (bsc#1218052).
- ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
(bsc#1218052).
- ksmbd: call putname after using the last component
(bsc#1218052).
- ksmbd: fix uninitialized pointer read in smb2_create_link()
(bsc#1218052).
- ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
(bsc#1218052).
- ksmbd: fix racy issue from using ->d_parent and ->d_name
(bsc#1218052).
- fs: introduce lock_rename_child() helper (bsc#1218052).
- ksmbd: remove unused compression negotiate ctx packing
(bsc#1218052).
- ksmbd: avoid duplicate negotiate ctx offset increments
(bsc#1218052).
- ksmbd: set NegotiateContextCount once instead of every inc
(bsc#1218052).
- ksmbd: delete asynchronous work from list (bsc#1218052).
- ksmbd: remove unused is_char_allowed function (bsc#1218052).
- ksmbd: Fix parameter name and comment mismatch (bsc#1218052).
- ksmbd: Fix spelling mistake "excceed" -> "exceeded"
(bsc#1218052).
- ksmbd: update Kconfig to note Kerberos support and fix
indentation (bsc#1218052).
- ksmbd: Remove duplicated codes (bsc#1218052).
- ksmbd: fix typo, syncronous->synchronous (bsc#1218052).
- ksmbd: Implements sess->rpc_handle_list as xarray (bsc#1218052).
- ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
(bsc#1218052).
- ksmbd: Fix resource leak in smb2_lock() (bsc#1218052).
- ksmbd: use F_SETLK when unlocking a file (bsc#1218052).
- ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data
encryption for this share (bsc#1218052).
- ksmbd: replace one-element arrays with flexible-array members
(bsc#1218052).
- commit 0f26a4c
-------------------------------------------------------------------
Wed Jan 3 19:47:37 CET 2024 - msuchanek@suse.de
- mkspec: Add multibuild support (JSC-SLE#5501, boo#1211226, bsc#1218184)
When MULTIBUILD option in config.sh is enabled generate a _multibuild
file listing all spec files.
- commit f734347
-------------------------------------------------------------------
Wed Jan 3 18:49:19 CET 2024 - msuchanek@suse.de
- Build in the correct KOTD repository with multibuild
(JSC-SLE#5501, boo#1211226, bsc#1218184)
With multibuild setting repository flags is no longer supported for
individual spec files - see
https://github.com/openSUSE/open-build-service/issues/3574
Add ExclusiveArch conditional that depends on a macro set up by
bs-upload-kernel instead. With that each package should build only in
one repository - either standard or QA.
Note: bs-upload-kernel does not interpret rpm conditionals, and only
uses the first ExclusiveArch line to determine the architectures to
enable.
- commit aa5424d
-------------------------------------------------------------------
Wed Jan 3 11:44:52 CET 2024 - msuchanek@suse.de
- rpm/config.sh: Enable multibuild.
- commit 14b497b
-------------------------------------------------------------------
Mon Jan 1 15:08:39 CET 2024 - rfrohl@suse.com
@ -755,6 +953,84 @@ Mon Dec 11 12:22:27 CET 2023 - rfrohl@suse.com
- Update to 6.1.67.
- commit 7a503e9
-------------------------------------------------------------------
Fri Dec 8 11:23:50 CET 2023 - petr.pavlu@suse.com
- kernel-source: Remove config-options.changes (jsc#PED-5021)
The file doc/config-options.changes was used in the past to document
kernel config changes. It was introduced in 2010 but haven't received
any updates on any branch since 2015. The file is renamed by tar-up.sh
to config-options.changes.txt and shipped in the kernel-source RPM
package under /usr/share/doc. As its content now only contains outdated
information, retaining it can lead to confusion for users encountering
this file.
Config changes are nowadays described in associated Git commit messages,
which get automatically collected and are incorporated into changelogs
of kernel RPM packages.
Drop then this obsolete file, starting with its packaging logic.
For branch maintainers: Upon merging this commit on your branch, please
correspondingly delete the file doc/config-options.changes.
- commit adedbd2
-------------------------------------------------------------------
Fri Dec 8 09:57:11 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Simplify the list of references (jsc#PED-5021)
Reduce indentation in the list of references, make the style consistent
with README.md.
- commit 70e3c33
-------------------------------------------------------------------
Thu Dec 7 16:36:26 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Add how to update the config for module signing
(jsc#PED-5021)
Configuration files for SUSE kernels include settings to integrate with
signing support provided by the Open Build Service. This creates
problems if someone tries to use such a configuration file to build
a "standalone" kernel as described in doc/README.SUSE:
* Default configuration files available in the kernel-source repository
unset CONFIG_MODULE_SIG_ALL to leave module signing to
pesign-obs-integration. In case of a "standalone" build, this
integration is not available and the modules don't get signed.
* The kernel spec file overrides CONFIG_MODULE_SIG_KEY to
".kernel_signing_key.pem" which is a file populated by certificates
provided by OBS but otherwise not available. The value ends up in
/boot/config-$VERSION-$RELEASE-$FLAVOR and /proc/config.gz. If someone
decides to use one of these files as their base configuration then the
build fails with an error because the specified module signing key is
missing.
Add information on how to enable module signing and where to find the
relevant upstream documentation.
- commit a699dc3
-------------------------------------------------------------------
Wed Dec 6 16:37:18 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Remove how to build modules using kernel-source
(jsc#PED-5021)
Remove the first method how to build kernel modules from the readme. It
describes a process consisting of the kernel-source installation,
configuring this kernel and then performing an ad-hoc module build.
This method is not ideal as no modversion data is involved in the
process. It results in a module with no symbol CRCs which can be wrongly
loaded on an incompatible kernel.
Removing the method also simplifies the readme because only two main
methods how to build the modules are then described, either doing an
ad-hoc build using kernel-devel, or creating a proper Kernel Module
Package.
- commit 9285bb8
-------------------------------------------------------------------
Fri Dec 1 21:20:13 CET 2023 - msuchanek@suse.de
- kernel-binary: suse-module-tools is also required when installed
Requires(pre) adds dependency for the specific sciptlet.
However, suse-module-tools also ships modprobe.d files which may be
needed at posttrans time or any time the kernel is on the system for
generating ramdisk. Add plain Requires as well.
- commit 8c12816
-------------------------------------------------------------------
Fri Dec 1 15:54:32 CET 2023 - msuchanek@suse.de

View File

@ -17,8 +17,8 @@
%define srcversion 6.1
%define patchversion 6.1.70
%define git_commit 80524fb06f8f1e0f5aa90320d6bc2cb5ecfda3f0
%define patchversion 6.1.71
%define git_commit 0f26a4c6c034ba0135aeb5d152e093613ca7c5cb
%define variant -longterm%{nil}
%include %_sourcedir/kernel-spec-macros
@ -31,9 +31,9 @@
%endif
Name: kernel-source-longterm
Version: 6.1.70
Version: 6.1.71
%if 0%{?is_kotd}
Release: <RELEASE>.g80524fb
Release: <RELEASE>.g0f26a4c
%else
Release: 0
%endif
@ -67,7 +67,6 @@ Source35: group-source-files.pl
Source36: README.PATCH-POLICY.SUSE
Source37: README.SUSE
Source38: README.KSYMS
Source39: config-options.changes.txt
Source40: source-timestamp
Source46: split-modules
Source47: modversions
@ -122,7 +121,11 @@ Source113: patches.kabi.tar.bz2
Source114: patches.drm.tar.bz2
Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
# Source is only complete with devel files.
Requires: kernel-devel%variant = %version-%source_rel
@ -254,7 +257,7 @@ popd
# Install the documentation and example Kernel Module Package.
DOC=/usr/share/doc/packages/%name-%kernelrelease
mkdir -p %buildroot/$DOC
cp %_sourcedir/README.SUSE %_sourcedir/config-options.changes.txt %buildroot/$DOC
cp %_sourcedir/README.SUSE %buildroot/$DOC
ln -s $DOC/README.SUSE %buildroot/%src_install_dir/
%if "%variant" == ""

View File

@ -67,7 +67,6 @@ Source35: group-source-files.pl
Source36: README.PATCH-POLICY.SUSE
Source37: README.SUSE
Source38: README.KSYMS
Source39: config-options.changes.txt
Source40: source-timestamp
Source46: split-modules
Source47: modversions
@ -122,7 +121,11 @@ Source113: patches.kabi.tar.bz2
Source114: patches.drm.tar.bz2
Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
# Source is only complete with devel files.
Requires: kernel-devel%variant = %version-%source_rel
@ -254,7 +257,7 @@ popd
# Install the documentation and example Kernel Module Package.
DOC=/usr/share/doc/packages/%name-%kernelrelease
mkdir -p %buildroot/$DOC
cp %_sourcedir/README.SUSE %_sourcedir/config-options.changes.txt %buildroot/$DOC
cp %_sourcedir/README.SUSE %buildroot/$DOC
ln -s $DOC/README.SUSE %buildroot/%src_install_dir/
%if "%variant" == ""

View File

@ -1,3 +1,201 @@
-------------------------------------------------------------------
Fri Jan 5 17:13:22 CET 2024 - rfrohl@suse.com
- Linux 6.1.71 (bsc#1218052).
- Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI
device probe" (bsc#1218052).
- tracing/kprobes: Fix symbol counting logic by looking at
modules as well (bsc#1218052).
- kallsyms: Make module_kallsyms_on_each_symbol generally
available (bsc#1218052).
- device property: Allow const parameter to dev_fwnode()
(bsc#1218052).
- spi: Constify spi parameters of chip select APIs (bsc#1218052).
- NFSD: fix possible oops when nfsd/pool_stats is closed
(bsc#1218052).
- ring-buffer: Fix slowpath of interrupted event (bsc#1218052).
- netfilter: nf_tables: skip set commit for deleted/destroyed sets
(bsc#1218052).
- ring-buffer: Remove useless update to write_stamp in
rb_try_to_discard() (bsc#1218052).
- tracing: Fix blocked reader of snapshot buffer (bsc#1218052).
- ring-buffer: Fix wake ups when buffer_percent is set to 100
(bsc#1218052).
- mm/memory-failure: check the mapcount of the precise page
(bsc#1218052).
- mm/memory-failure: cast index to loff_t before shifting it
(bsc#1218052).
- mm: migrate high-order folios in swap cache correctly
(bsc#1218052).
- mm/filemap: avoid buffered read/write race to read inconsistent
data (bsc#1218052).
- platform/x86: p2sb: Allow p2sb_bar() calls during PCI device
probe (bsc#1218052).
- ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
(bsc#1218052).
- block: renumber QUEUE_FLAG_HW_WC (bsc#1218052).
- spi: atmel: Fix clock issue when using devices with different
polarities (bsc#1218052).
- spi: Add APIs in spi core to set/get spi->chip_select and
spi->cs_gpiod (bsc#1218052).
- spi: Reintroduce spi_set_cs_timing() (bsc#1218052).
- linux/export: Ensure natural alignment of kcrctab array
(bsc#1218052).
- nfsd: call nfsd_last_thread() before final nfsd_put()
(bsc#1218052).
- nfsd: separate nfsd_last_thread() from nfsd_put() (bsc#1218052).
- iio: imu: adis16475: add spi_device_id table (bsc#1218052).
- spi: Introduce spi_get_device_match_data() helper (bsc#1218052).
- usb: fotg210-hcd: delete an incorrect bounds test (bsc#1218052).
- ARM: dts: Fix occasional boot hang for am3 usb (bsc#1218052).
- ksmbd: fix wrong allocation size update in smb2_open()
(bsc#1218052).
- ksmbd: avoid duplicate opinfo_put() call on error of
smb21_lease_break_ack() (bsc#1218052).
- ksmbd: lazy v2 lease break on smb2_write() (bsc#1218052).
- ksmbd: send v2 lease break notification for directory
(bsc#1218052).
- ksmbd: downgrade RWH lease caching state to RH for directory
(bsc#1218052).
- ksmbd: set v2 lease capability (bsc#1218052).
- ksmbd: set epoch in create context v2 lease (bsc#1218052).
- ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
(bsc#1218052).
- ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
(bsc#1218052).
- ksmbd: release interim response after sending status pending
response (bsc#1218052).
- ksmbd: move oplock handling after unlock parent dir
(bsc#1218052).
- ksmbd: separately allocate ci per dentry (bsc#1218052).
- ksmbd: fix possible deadlock in smb2_open (bsc#1218052).
- ksmbd: prevent memory leak on error return (bsc#1218052).
- ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
(bsc#1218052).
- ksmbd: no need to wait for binded connection termination at
logoff (bsc#1218052).
- ksmbd: add support for surrogate pair conversion (bsc#1218052).
- ksmbd: fix missing RDMA-capable flag for IPoIB device in
ksmbd_rdma_capable_netdev() (bsc#1218052).
- ksmbd: fix recursive locking in vfs helpers (bsc#1218052).
- ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
(bsc#1218052).
- ksmbd: reorganize ksmbd_iov_pin_rsp() (bsc#1218052).
- ksmbd: Remove unused field in ksmbd_user struct (bsc#1218052).
- ksmbd: fix potential double free on smb2_read_pipe() error path
(bsc#1218052).
- ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
(bsc#1218052).
- ksmbd: fix wrong error response status by using
set_smb2_rsp_status() (bsc#1218052).
- ksmbd: fix race condition between tree conn lookup and
disconnect (bsc#1218052).
- ksmbd: fix race condition from parallel smb2 lock requests
(bsc#1218052).
- ksmbd: fix race condition from parallel smb2 logoff requests
(bsc#1218052).
- ksmbd: fix race condition with fp (bsc#1218052).
- ksmbd: check iov vector index in ksmbd_conn_write()
(bsc#1218052).
- ksmbd: return invalid parameter error response if smb2 request
is invalid (bsc#1218052).
- ksmbd: fix passing freed memory 'aux_payload_buf' (bsc#1218052).
- ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
(bsc#1218052).
- ksmbd: remove experimental warning (bsc#1218052).
- ksmbd: add missing calling smb2_set_err_rsp() on error
(bsc#1218052).
- ksmbd: Fix one kernel-doc comment (bsc#1218052).
- ksmbd: fix `force create mode' and `force directory mode'
(bsc#1218052).
- ksmbd: fix wrong interim response on compound (bsc#1218052).
- ksmbd: add support for read compound (bsc#1218052).
- ksmbd: switch to use kmemdup_nul() helper (bsc#1218052).
- ksmbd: check if a mount point is crossed during path lookup
(bsc#1218052).
- ksmbd: Fix unsigned expression compared with zero (bsc#1218052).
- ksmbd: Replace one-element array with flexible-array member
(bsc#1218052).
- ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
(bsc#1218052).
- ksmbd: Replace the ternary conditional operator with min()
(bsc#1218052).
- ksmbd: use kvzalloc instead of kvmalloc (bsc#1218052).
- ksmbd: Change the return value of ksmbd_vfs_query_maximal_access
to void (bsc#1218052).
- ksmbd: return a literal instead of 'err' in
ksmbd_vfs_kern_path_locked() (bsc#1218052).
- ksmbd: use kzalloc() instead of __GFP_ZERO (bsc#1218052).
- ksmbd: remove unused ksmbd_tree_conn_share function
(bsc#1218052).
- ksmbd: add mnt_want_write to ksmbd vfs functions (bsc#1218052).
- ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
(bsc#1218052).
- ksmbd: call putname after using the last component
(bsc#1218052).
- ksmbd: fix uninitialized pointer read in smb2_create_link()
(bsc#1218052).
- ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
(bsc#1218052).
- ksmbd: fix racy issue from using ->d_parent and ->d_name
(bsc#1218052).
- fs: introduce lock_rename_child() helper (bsc#1218052).
- ksmbd: remove unused compression negotiate ctx packing
(bsc#1218052).
- ksmbd: avoid duplicate negotiate ctx offset increments
(bsc#1218052).
- ksmbd: set NegotiateContextCount once instead of every inc
(bsc#1218052).
- ksmbd: delete asynchronous work from list (bsc#1218052).
- ksmbd: remove unused is_char_allowed function (bsc#1218052).
- ksmbd: Fix parameter name and comment mismatch (bsc#1218052).
- ksmbd: Fix spelling mistake "excceed" -> "exceeded"
(bsc#1218052).
- ksmbd: update Kconfig to note Kerberos support and fix
indentation (bsc#1218052).
- ksmbd: Remove duplicated codes (bsc#1218052).
- ksmbd: fix typo, syncronous->synchronous (bsc#1218052).
- ksmbd: Implements sess->rpc_handle_list as xarray (bsc#1218052).
- ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
(bsc#1218052).
- ksmbd: Fix resource leak in smb2_lock() (bsc#1218052).
- ksmbd: use F_SETLK when unlocking a file (bsc#1218052).
- ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data
encryption for this share (bsc#1218052).
- ksmbd: replace one-element arrays with flexible-array members
(bsc#1218052).
- commit 0f26a4c
-------------------------------------------------------------------
Wed Jan 3 19:47:37 CET 2024 - msuchanek@suse.de
- mkspec: Add multibuild support (JSC-SLE#5501, boo#1211226, bsc#1218184)
When MULTIBUILD option in config.sh is enabled generate a _multibuild
file listing all spec files.
- commit f734347
-------------------------------------------------------------------
Wed Jan 3 18:49:19 CET 2024 - msuchanek@suse.de
- Build in the correct KOTD repository with multibuild
(JSC-SLE#5501, boo#1211226, bsc#1218184)
With multibuild setting repository flags is no longer supported for
individual spec files - see
https://github.com/openSUSE/open-build-service/issues/3574
Add ExclusiveArch conditional that depends on a macro set up by
bs-upload-kernel instead. With that each package should build only in
one repository - either standard or QA.
Note: bs-upload-kernel does not interpret rpm conditionals, and only
uses the first ExclusiveArch line to determine the architectures to
enable.
- commit aa5424d
-------------------------------------------------------------------
Wed Jan 3 11:44:52 CET 2024 - msuchanek@suse.de
- rpm/config.sh: Enable multibuild.
- commit 14b497b
-------------------------------------------------------------------
Mon Jan 1 15:08:39 CET 2024 - rfrohl@suse.com
@ -755,6 +953,84 @@ Mon Dec 11 12:22:27 CET 2023 - rfrohl@suse.com
- Update to 6.1.67.
- commit 7a503e9
-------------------------------------------------------------------
Fri Dec 8 11:23:50 CET 2023 - petr.pavlu@suse.com
- kernel-source: Remove config-options.changes (jsc#PED-5021)
The file doc/config-options.changes was used in the past to document
kernel config changes. It was introduced in 2010 but haven't received
any updates on any branch since 2015. The file is renamed by tar-up.sh
to config-options.changes.txt and shipped in the kernel-source RPM
package under /usr/share/doc. As its content now only contains outdated
information, retaining it can lead to confusion for users encountering
this file.
Config changes are nowadays described in associated Git commit messages,
which get automatically collected and are incorporated into changelogs
of kernel RPM packages.
Drop then this obsolete file, starting with its packaging logic.
For branch maintainers: Upon merging this commit on your branch, please
correspondingly delete the file doc/config-options.changes.
- commit adedbd2
-------------------------------------------------------------------
Fri Dec 8 09:57:11 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Simplify the list of references (jsc#PED-5021)
Reduce indentation in the list of references, make the style consistent
with README.md.
- commit 70e3c33
-------------------------------------------------------------------
Thu Dec 7 16:36:26 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Add how to update the config for module signing
(jsc#PED-5021)
Configuration files for SUSE kernels include settings to integrate with
signing support provided by the Open Build Service. This creates
problems if someone tries to use such a configuration file to build
a "standalone" kernel as described in doc/README.SUSE:
* Default configuration files available in the kernel-source repository
unset CONFIG_MODULE_SIG_ALL to leave module signing to
pesign-obs-integration. In case of a "standalone" build, this
integration is not available and the modules don't get signed.
* The kernel spec file overrides CONFIG_MODULE_SIG_KEY to
".kernel_signing_key.pem" which is a file populated by certificates
provided by OBS but otherwise not available. The value ends up in
/boot/config-$VERSION-$RELEASE-$FLAVOR and /proc/config.gz. If someone
decides to use one of these files as their base configuration then the
build fails with an error because the specified module signing key is
missing.
Add information on how to enable module signing and where to find the
relevant upstream documentation.
- commit a699dc3
-------------------------------------------------------------------
Wed Dec 6 16:37:18 CET 2023 - petr.pavlu@suse.com
- doc/README.SUSE: Remove how to build modules using kernel-source
(jsc#PED-5021)
Remove the first method how to build kernel modules from the readme. It
describes a process consisting of the kernel-source installation,
configuring this kernel and then performing an ad-hoc module build.
This method is not ideal as no modversion data is involved in the
process. It results in a module with no symbol CRCs which can be wrongly
loaded on an incompatible kernel.
Removing the method also simplifies the readme because only two main
methods how to build the modules are then described, either doing an
ad-hoc build using kernel-devel, or creating a proper Kernel Module
Package.
- commit 9285bb8
-------------------------------------------------------------------
Fri Dec 1 21:20:13 CET 2023 - msuchanek@suse.de
- kernel-binary: suse-module-tools is also required when installed
Requires(pre) adds dependency for the specific sciptlet.
However, suse-module-tools also ships modprobe.d files which may be
needed at posttrans time or any time the kernel is on the system for
generating ramdisk. Add plain Requires as well.
- commit 8c12816
-------------------------------------------------------------------
Fri Dec 1 15:54:32 CET 2023 - msuchanek@suse.de

View File

@ -16,7 +16,7 @@
#
%define git_commit 80524fb06f8f1e0f5aa90320d6bc2cb5ecfda3f0
%define git_commit 0f26a4c6c034ba0135aeb5d152e093613ca7c5cb
%define variant -longterm%{nil}
%include %_sourcedir/kernel-spec-macros
@ -25,10 +25,10 @@ Name: kernel-syms-longterm
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
Version: 6.1.70
Version: 6.1.71
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.g80524fb
Release: <RELEASE>.g0f26a4c
%else
Release: 0
%endif
@ -48,7 +48,11 @@ Provides: %name-srchash-%git_commit
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: x86_64
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
# Force bzip2 instead of lzma compression to

View File

@ -46,7 +46,11 @@ Provides: %name-srchash-%git_commit
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
# Force bzip2 instead of lzma compression to

10
mkspec
View File

@ -52,6 +52,7 @@ my $arg = $_[0];
return $arg =~ /^(0+|no|none)$/i ? "" : $arg;
}
my $build_dtbs = detect_false $vars{'BUILD_DTBS'};
my $multibuild = detect_false $vars{'MULTIBUILD'};
my $livepatch = detect_false $vars{'LIVEPATCH'};
my $livepatch_rt = detect_false $vars{'LIVEPATCH_RT'};
sub to_bool {
@ -559,14 +560,19 @@ sub do_spec {
sub copy_changes {
opendir(my $dh, $dir) or die "$dir: $!\n";
xopen(my $fh, '>', "$dir/_multibuild") if $multibuild;
print $fh "<multibuild>\n" if $fh;
while (my $name = readdir $dh) {
next unless $name =~ /\.spec$/;
next if $name eq "kernel-source$variant.spec";
$name =~ s/\.spec$/.changes/;
copy("$dir/kernel-source$variant.changes", "$dir/$name");
$name =~ s/\.spec$//;
copy("$dir/kernel-source$variant.changes", "$dir/$name.changes");
print $fh "\t<package>$name</package>\n" if $fh;
}
print $fh "</multibuild>\n" if $fh;
close($fh) if $fh;
closedir($dh);
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9815b8fa8cc372f07f93696098bb259cc312133b3a448ed866d5b2f3381eb754
size 10562915
oid sha256:42b7199030c0f8ccbe4c5e870e6d8259d15a1991f29d718db8704a382e034a9e
size 10650773

View File

@ -12308,6 +12308,108 @@
patches.kernel.org/6.1.70-112-wifi-nl80211-fix-deadlock-in-nl80211_set_cqm_r.patch
patches.kernel.org/6.1.70-113-loop-deprecate-autoloading-callback-loop_probe.patch
patches.kernel.org/6.1.70-114-Linux-6.1.70.patch
patches.kernel.org/6.1.71-001-ksmbd-replace-one-element-arrays-with-flexible.patch
patches.kernel.org/6.1.71-002-ksmbd-set-SMB2_SESSION_FLAG_ENCRYPT_DATA-when-.patch
patches.kernel.org/6.1.71-003-ksmbd-use-F_SETLK-when-unlocking-a-file.patch
patches.kernel.org/6.1.71-004-ksmbd-Fix-resource-leak-in-smb2_lock.patch
patches.kernel.org/6.1.71-005-ksmbd-Convert-to-use-sysfs_emit-sysfs_emit_at-.patch
patches.kernel.org/6.1.71-006-ksmbd-Implements-sess-rpc_handle_list-as-xarra.patch
patches.kernel.org/6.1.71-007-ksmbd-fix-typo-syncronous-synchronous.patch
patches.kernel.org/6.1.71-008-ksmbd-Remove-duplicated-codes.patch
patches.kernel.org/6.1.71-009-ksmbd-update-Kconfig-to-note-Kerberos-support-.patch
patches.kernel.org/6.1.71-010-ksmbd-Fix-spelling-mistake-excceed-exceeded.patch
patches.kernel.org/6.1.71-011-ksmbd-Fix-parameter-name-and-comment-mismatch.patch
patches.kernel.org/6.1.71-012-ksmbd-remove-unused-is_char_allowed-function.patch
patches.kernel.org/6.1.71-013-ksmbd-delete-asynchronous-work-from-list.patch
patches.kernel.org/6.1.71-014-ksmbd-set-NegotiateContextCount-once-instead-o.patch
patches.kernel.org/6.1.71-015-ksmbd-avoid-duplicate-negotiate-ctx-offset-inc.patch
patches.kernel.org/6.1.71-016-ksmbd-remove-unused-compression-negotiate-ctx-.patch
patches.kernel.org/6.1.71-017-fs-introduce-lock_rename_child-helper.patch
patches.kernel.org/6.1.71-018-ksmbd-fix-racy-issue-from-using-d_parent-and-d.patch
patches.kernel.org/6.1.71-019-ksmbd-fix-uninitialized-pointer-read-in-ksmbd_.patch
patches.kernel.org/6.1.71-020-ksmbd-fix-uninitialized-pointer-read-in-smb2_c.patch
patches.kernel.org/6.1.71-021-ksmbd-call-putname-after-using-the-last-compon.patch
patches.kernel.org/6.1.71-022-ksmbd-fix-posix_acls-and-acls-dereferencing-po.patch
patches.kernel.org/6.1.71-023-ksmbd-add-mnt_want_write-to-ksmbd-vfs-function.patch
patches.kernel.org/6.1.71-024-ksmbd-remove-unused-ksmbd_tree_conn_share-func.patch
patches.kernel.org/6.1.71-025-ksmbd-use-kzalloc-instead-of-__GFP_ZERO.patch
patches.kernel.org/6.1.71-026-ksmbd-return-a-literal-instead-of-err-in-ksmbd.patch
patches.kernel.org/6.1.71-027-ksmbd-Change-the-return-value-of-ksmbd_vfs_que.patch
patches.kernel.org/6.1.71-028-ksmbd-use-kvzalloc-instead-of-kvmalloc.patch
patches.kernel.org/6.1.71-029-ksmbd-Replace-the-ternary-conditional-operator.patch
patches.kernel.org/6.1.71-030-ksmbd-Use-struct_size-helper-in-ksmbd_negotiat.patch
patches.kernel.org/6.1.71-031-ksmbd-Replace-one-element-array-with-flexible-.patch
patches.kernel.org/6.1.71-032-ksmbd-Fix-unsigned-expression-compared-with-ze.patch
patches.kernel.org/6.1.71-033-ksmbd-check-if-a-mount-point-is-crossed-during.patch
patches.kernel.org/6.1.71-034-ksmbd-switch-to-use-kmemdup_nul-helper.patch
patches.kernel.org/6.1.71-035-ksmbd-add-support-for-read-compound.patch
patches.kernel.org/6.1.71-036-ksmbd-fix-wrong-interim-response-on-compound.patch
patches.kernel.org/6.1.71-037-ksmbd-fix-force-create-mode-and-force-director.patch
patches.kernel.org/6.1.71-038-ksmbd-Fix-one-kernel-doc-comment.patch
patches.kernel.org/6.1.71-039-ksmbd-add-missing-calling-smb2_set_err_rsp-on-.patch
patches.kernel.org/6.1.71-040-ksmbd-remove-experimental-warning.patch
patches.kernel.org/6.1.71-041-ksmbd-remove-unneeded-mark_inode_dirty-in-set_.patch
patches.kernel.org/6.1.71-042-ksmbd-fix-passing-freed-memory-aux_payload_buf.patch
patches.kernel.org/6.1.71-043-ksmbd-return-invalid-parameter-error-response-.patch
patches.kernel.org/6.1.71-044-ksmbd-check-iov-vector-index-in-ksmbd_conn_wri.patch
patches.kernel.org/6.1.71-045-ksmbd-fix-race-condition-with-fp.patch
patches.kernel.org/6.1.71-046-ksmbd-fix-race-condition-from-parallel-smb2-lo.patch
patches.kernel.org/6.1.71-047-ksmbd-fix-race-condition-from-parallel-smb2-lo.patch
patches.kernel.org/6.1.71-048-ksmbd-fix-race-condition-between-tree-conn-loo.patch
patches.kernel.org/6.1.71-049-ksmbd-fix-wrong-error-response-status-by-using.patch
patches.kernel.org/6.1.71-050-ksmbd-fix-Null-pointer-dereferences-in-ksmbd_u.patch
patches.kernel.org/6.1.71-051-ksmbd-fix-potential-double-free-on-smb2_read_p.patch
patches.kernel.org/6.1.71-052-ksmbd-Remove-unused-field-in-ksmbd_user-struct.patch
patches.kernel.org/6.1.71-053-ksmbd-reorganize-ksmbd_iov_pin_rsp.patch
patches.kernel.org/6.1.71-054-ksmbd-fix-kernel-doc-comment-of-ksmbd_vfs_setx.patch
patches.kernel.org/6.1.71-055-ksmbd-fix-recursive-locking-in-vfs-helpers.patch
patches.kernel.org/6.1.71-056-ksmbd-fix-missing-RDMA-capable-flag-for-IPoIB-.patch
patches.kernel.org/6.1.71-057-ksmbd-add-support-for-surrogate-pair-conversio.patch
patches.kernel.org/6.1.71-058-ksmbd-no-need-to-wait-for-binded-connection-te.patch
patches.kernel.org/6.1.71-059-ksmbd-fix-kernel-doc-comment-of-ksmbd_vfs_kern.patch
patches.kernel.org/6.1.71-060-ksmbd-prevent-memory-leak-on-error-return.patch
patches.kernel.org/6.1.71-061-ksmbd-fix-possible-deadlock-in-smb2_open.patch
patches.kernel.org/6.1.71-062-ksmbd-separately-allocate-ci-per-dentry.patch
patches.kernel.org/6.1.71-063-ksmbd-move-oplock-handling-after-unlock-parent.patch
patches.kernel.org/6.1.71-064-ksmbd-release-interim-response-after-sending-s.patch
patches.kernel.org/6.1.71-065-ksmbd-move-setting-SMB2_FLAGS_ASYNC_COMMAND-an.patch
patches.kernel.org/6.1.71-066-ksmbd-don-t-update-op_state-as-OPLOCK_STATE_NO.patch
patches.kernel.org/6.1.71-067-ksmbd-set-epoch-in-create-context-v2-lease.patch
patches.kernel.org/6.1.71-068-ksmbd-set-v2-lease-capability.patch
patches.kernel.org/6.1.71-069-ksmbd-downgrade-RWH-lease-caching-state-to-RH-.patch
patches.kernel.org/6.1.71-070-ksmbd-send-v2-lease-break-notification-for-dir.patch
patches.kernel.org/6.1.71-071-ksmbd-lazy-v2-lease-break-on-smb2_write.patch
patches.kernel.org/6.1.71-072-ksmbd-avoid-duplicate-opinfo_put-call-on-error.patch
patches.kernel.org/6.1.71-073-ksmbd-fix-wrong-allocation-size-update-in-smb2.patch
patches.kernel.org/6.1.71-074-ARM-dts-Fix-occasional-boot-hang-for-am3-usb.patch
patches.kernel.org/6.1.71-075-usb-fotg210-hcd-delete-an-incorrect-bounds-tes.patch
patches.kernel.org/6.1.71-076-spi-Introduce-spi_get_device_match_data-helper.patch
patches.kernel.org/6.1.71-077-iio-imu-adis16475-add-spi_device_id-table.patch
patches.kernel.org/6.1.71-078-nfsd-separate-nfsd_last_thread-from-nfsd_put.patch
patches.kernel.org/6.1.71-079-nfsd-call-nfsd_last_thread-before-final-nfsd_p.patch
patches.kernel.org/6.1.71-080-linux-export-Ensure-natural-alignment-of-kcrct.patch
patches.kernel.org/6.1.71-081-spi-Reintroduce-spi_set_cs_timing.patch
patches.kernel.org/6.1.71-082-spi-Add-APIs-in-spi-core-to-set-get-spi-chip_s.patch
patches.kernel.org/6.1.71-083-spi-atmel-Fix-clock-issue-when-using-devices-w.patch
patches.kernel.org/6.1.71-084-block-renumber-QUEUE_FLAG_HW_WC.patch
patches.kernel.org/6.1.71-085-ksmbd-fix-slab-out-of-bounds-in-smb_strndup_fr.patch
patches.kernel.org/6.1.71-086-platform-x86-p2sb-Allow-p2sb_bar-calls-during-.patch
patches.kernel.org/6.1.71-087-mm-filemap-avoid-buffered-read-write-race-to-r.patch
patches.kernel.org/6.1.71-088-mm-migrate-high-order-folios-in-swap-cache-cor.patch
patches.kernel.org/6.1.71-089-mm-memory-failure-cast-index-to-loff_t-before-.patch
patches.kernel.org/6.1.71-090-mm-memory-failure-check-the-mapcount-of-the-pr.patch
patches.kernel.org/6.1.71-091-ring-buffer-Fix-wake-ups-when-buffer_percent-i.patch
patches.kernel.org/6.1.71-092-tracing-Fix-blocked-reader-of-snapshot-buffer.patch
patches.kernel.org/6.1.71-093-ring-buffer-Remove-useless-update-to-write_sta.patch
patches.kernel.org/6.1.71-094-netfilter-nf_tables-skip-set-commit-for-delete.patch
patches.kernel.org/6.1.71-095-ring-buffer-Fix-slowpath-of-interrupted-event.patch
patches.kernel.org/6.1.71-096-NFSD-fix-possible-oops-when-nfsd-pool_stats-is.patch
patches.kernel.org/6.1.71-097-spi-Constify-spi-parameters-of-chip-select-API.patch
patches.kernel.org/6.1.71-098-device-property-Allow-const-parameter-to-dev_f.patch
patches.kernel.org/6.1.71-099-kallsyms-Make-module_kallsyms_on_each_symbol-g.patch
patches.kernel.org/6.1.71-100-tracing-kprobes-Fix-symbol-counting-logic-by-l.patch
patches.kernel.org/6.1.71-101-Revert-platform-x86-p2sb-Allow-p2sb_bar-calls-.patch
patches.kernel.org/6.1.71-102-Linux-6.1.71.patch
########################################################
# Build fixes that apply to the vanilla kernel too.

View File

@ -1,3 +1,3 @@
2024-01-01 14:10:12 +0000
GIT Revision: 80524fb06f8f1e0f5aa90320d6bc2cb5ecfda3f0
2024-01-05 16:14:43 +0000
GIT Revision: 0f26a4c6c034ba0135aeb5d152e093613ca7c5cb
GIT Branch: slowroll