diff --git a/README.SUSE b/README.SUSE index 7aa62b6..5ad6a15 100644 --- a/README.SUSE +++ b/README.SUSE @@ -187,8 +187,17 @@ will report one of the following: * third-party support: "supported: external", * unsupported modules: no supported tag. -At runtime, the setting of the "unsupported" kernel command line parameter and -`/proc/sys/kernel/unsupported` determines whether unsupported modules can be +At runtime, the support status of a module can be obtained by reading +`/sys/module/$MODULE/supported`. + +Note that this information is available only if the module was not built +directly into the kernel. Builtin modules are implicitly supported. + +The aggregated support status for the entire kernel can be inspected by reading +`/sys/kernel/supported`. The value is also included in Oopses. + +The setting of the "unsupported" kernel command line parameter and +`/proc/sys/kernel/unsupported` controls whether unsupported modules can be loaded or not, and whether or not loading an unsupported module causes a warning in the system log: @@ -196,9 +205,9 @@ in the system log: * 1 = warn when loading unsupported modules, * 2 = don't warn. -Irrespective of this setting, loading an externally supported or unsupported -module both set a kernel taint flag. The taint flags are included in Oopses. The -taint status of the kernel can be inspected in `/proc/sys/kernel/tainted`. +Irrespective of this setting, loading an unsupported module sets a kernel taint +flag. The taint status of the kernel can be inspected in +`/proc/sys/kernel/tainted`. The taint flags are also included in Oopses. Relevant bits have the following meaning: | Bit | Log | Number | Reason that got the kernel tainted | @@ -209,7 +218,9 @@ Relevant bits have the following meaning: | 16 | ␣/X | 65536 | module with third-party support was loaded | | 31 | ␣/N | 2147483648 | unsupported module was loaded | -Bits 16 and 31 are specific to the SUSE kernels. +Bits 16 and 31 are specific to the SUSE kernels. Since SLE15-SP6, loading an +externally supported module does not taint the kernel, but bit 16 (X) is still +tracked per module and can be read in `/sys/module/$MODULE/taint`. Out-of-tree modules do not have the supported flag set by default; that is, they are marked as unsupported. For building externally supported diff --git a/config.tar.bz2 b/config.tar.bz2 index 1271597..15d25d7 100644 --- a/config.tar.bz2 +++ b/config.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:af3cb10ce57e9688677df72ad8dd4db9ddffcaa5be156b9284a8fd30f83a83d5 -size 145231 +oid sha256:13d294dc1cc7edb140dfcbd0fea71e69c40c4e42d33308d5a94c3972301e643f +size 145620 diff --git a/dtb-aarch64.changes b/dtb-aarch64.changes index d29016b..1ab76ec 100644 --- a/dtb-aarch64.changes +++ b/dtb-aarch64.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/dtb-aarch64.spec b/dtb-aarch64.spec index db8e0f0..83b6ff1 100644 --- a/dtb-aarch64.spec +++ b/dtb-aarch64.spec @@ -27,7 +27,7 @@ Name: dtb-aarch64 Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif @@ -35,15 +35,17 @@ Summary: Device Tree files for $MACHINES License: GPL-2.0-only Group: System/Boot URL: https://www.kernel.org/ +BuildRequires: cpp +BuildRequires: dtc >= 1.4.3 +BuildRequires: xz %if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} ExclusiveArch: aarch64 %else ExclusiveArch: do_not_build %endif -BuildRequires: cpp -BuildRequires: dtc >= 1.4.3 -BuildRequires: xz -Requires: kernel = %version + +%define dtbdir /boot/dtb-%kernelrelease + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc Source14: series.conf @@ -183,6 +185,7 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 +Requires: kernel = %version %description Device Tree files for $MACHINES. @@ -196,6 +199,24 @@ Requires(post): coreutils %description -n dtb-allwinner Device Tree files for Allwinner based arm64 systems. +%post -n dtb-allwinner +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-allwinner -f dtb-allwinner.list +%else +%files -n dtb-allwinner +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/allwinner +%{dtbdir}/allwinner/*.dtb + %package -n dtb-altera Summary: Altera based arm64 systems Group: System/Boot @@ -205,6 +226,24 @@ Requires(post): coreutils %description -n dtb-altera Device Tree files for Altera based arm64 systems. +%post -n dtb-altera +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-altera -f dtb-altera.list +%else +%files -n dtb-altera +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/altera +%{dtbdir}/altera/*.dtb + %package -n dtb-amazon Summary: Amazon based arm64 systems Group: System/Boot @@ -215,6 +254,24 @@ Requires(post): coreutils %description -n dtb-amazon Device Tree files for Amazon based arm64 systems. +%post -n dtb-amazon +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-amazon -f dtb-amazon.list +%else +%files -n dtb-amazon +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/amazon +%{dtbdir}/amazon/*.dtb + %package -n dtb-amd Summary: AMD based arm64 systems Group: System/Boot @@ -224,6 +281,24 @@ Requires(post): coreutils %description -n dtb-amd Device Tree files for AMD based arm64 systems. +%post -n dtb-amd +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-amd -f dtb-amd.list +%else +%files -n dtb-amd +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/amd +%{dtbdir}/amd/*.dtb + %package -n dtb-amlogic Summary: Amlogic based arm64 systems Group: System/Boot @@ -233,6 +308,24 @@ Requires(post): coreutils %description -n dtb-amlogic Device Tree files for Amlogic based arm64 systems. +%post -n dtb-amlogic +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-amlogic -f dtb-amlogic.list +%else +%files -n dtb-amlogic +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/amlogic +%{dtbdir}/amlogic/*.dtb + %package -n dtb-apm Summary: AppliedMicro based arm64 systems Group: System/Boot @@ -243,6 +336,24 @@ Requires(post): coreutils %description -n dtb-apm Device Tree files for AppliedMicro based arm64 systems. +%post -n dtb-apm +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-apm -f dtb-apm.list +%else +%files -n dtb-apm +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/apm +%{dtbdir}/apm/*.dtb + %package -n dtb-apple Summary: Apple SOC based arm64 systems Group: System/Boot @@ -252,6 +363,24 @@ Requires(post): coreutils %description -n dtb-apple Device Tree files for Apple SOC based arm64 systems. +%post -n dtb-apple +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-apple -f dtb-apple.list +%else +%files -n dtb-apple +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/apple +%{dtbdir}/apple/*.dtb + %package -n dtb-arm Summary: ARM Ltd. based arm64 systems Group: System/Boot @@ -263,6 +392,24 @@ Requires(post): coreutils %description -n dtb-arm Device Tree files for ARM Ltd. based arm64 systems. +%post -n dtb-arm +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-arm -f dtb-arm.list +%else +%files -n dtb-arm +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/arm +%{dtbdir}/arm/*.dtb + %package -n dtb-broadcom Summary: Broadcom based arm64 systems Group: System/Boot @@ -272,6 +419,24 @@ Requires(post): coreutils %description -n dtb-broadcom Device Tree files for Broadcom based arm64 systems. +%post -n dtb-broadcom +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-broadcom -f dtb-broadcom.list +%else +%files -n dtb-broadcom +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/broadcom +%{dtbdir}/broadcom/*.dtb + %package -n dtb-cavium Summary: Cavium based arm64 systems Group: System/Boot @@ -282,6 +447,24 @@ Requires(post): coreutils %description -n dtb-cavium Device Tree files for Cavium based arm64 systems. +%post -n dtb-cavium +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-cavium -f dtb-cavium.list +%else +%files -n dtb-cavium +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/cavium +%{dtbdir}/cavium/*.dtb + %package -n dtb-exynos Summary: Samsung Exynos based arm64 systems Group: System/Boot @@ -291,6 +474,24 @@ Requires(post): coreutils %description -n dtb-exynos Device Tree files for Samsung Exynos based arm64 systems. +%post -n dtb-exynos +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-exynos -f dtb-exynos.list +%else +%files -n dtb-exynos +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/exynos +%{dtbdir}/exynos/*.dtb + %package -n dtb-freescale Summary: NXP (Freescale) based arm64 systems Group: System/Boot @@ -300,6 +501,24 @@ Requires(post): coreutils %description -n dtb-freescale Device Tree files for NXP (Freescale) based arm64 systems. +%post -n dtb-freescale +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-freescale -f dtb-freescale.list +%else +%files -n dtb-freescale +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/freescale +%{dtbdir}/freescale/*.dtb + %package -n dtb-hisilicon Summary: HiSilicon based arm64 systems Group: System/Boot @@ -310,6 +529,24 @@ Requires(post): coreutils %description -n dtb-hisilicon Device Tree files for HiSilicon based arm64 systems. +%post -n dtb-hisilicon +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-hisilicon -f dtb-hisilicon.list +%else +%files -n dtb-hisilicon +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/hisilicon +%{dtbdir}/hisilicon/*.dtb + %package -n dtb-lg Summary: LG based arm64 systems Group: System/Boot @@ -319,6 +556,24 @@ Requires(post): coreutils %description -n dtb-lg Device Tree files for LG based arm64 systems. +%post -n dtb-lg +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-lg -f dtb-lg.list +%else +%files -n dtb-lg +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/lg +%{dtbdir}/lg/*.dtb + %package -n dtb-marvell Summary: Marvell based arm64 systems Group: System/Boot @@ -328,6 +583,24 @@ Requires(post): coreutils %description -n dtb-marvell Device Tree files for Marvell based arm64 systems. +%post -n dtb-marvell +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-marvell -f dtb-marvell.list +%else +%files -n dtb-marvell +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/marvell +%{dtbdir}/marvell/*.dtb + %package -n dtb-mediatek Summary: MediaTek based arm64 systems Group: System/Boot @@ -337,6 +610,24 @@ Requires(post): coreutils %description -n dtb-mediatek Device Tree files for MediaTek based arm64 systems. +%post -n dtb-mediatek +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-mediatek -f dtb-mediatek.list +%else +%files -n dtb-mediatek +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/mediatek +%{dtbdir}/mediatek/*.dtb + %package -n dtb-nvidia Summary: Nvidia based arm64 systems Group: System/Boot @@ -346,6 +637,24 @@ Requires(post): coreutils %description -n dtb-nvidia Device Tree files for Nvidia based arm64 systems. +%post -n dtb-nvidia +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-nvidia -f dtb-nvidia.list +%else +%files -n dtb-nvidia +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/nvidia +%{dtbdir}/nvidia/*.dtb + %package -n dtb-qcom Summary: Qualcomm based arm64 systems Group: System/Boot @@ -355,6 +664,24 @@ Requires(post): coreutils %description -n dtb-qcom Device Tree files for Qualcomm based arm64 systems. +%post -n dtb-qcom +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-qcom -f dtb-qcom.list +%else +%files -n dtb-qcom +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/qcom +%{dtbdir}/qcom/*.dtb + %package -n dtb-renesas Summary: Renesas based arm64 systems Group: System/Boot @@ -364,6 +691,24 @@ Requires(post): coreutils %description -n dtb-renesas Device Tree files for Renesas based arm64 systems. +%post -n dtb-renesas +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-renesas -f dtb-renesas.list +%else +%files -n dtb-renesas +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/renesas +%{dtbdir}/renesas/*.dtb + %package -n dtb-rockchip Summary: Rockchip based arm64 systems Group: System/Boot @@ -373,6 +718,24 @@ Requires(post): coreutils %description -n dtb-rockchip Device Tree files for Rockchip based arm64 systems. +%post -n dtb-rockchip +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-rockchip -f dtb-rockchip.list +%else +%files -n dtb-rockchip +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/rockchip +%{dtbdir}/rockchip/*.dtb + %package -n dtb-socionext Summary: Socionext based arm64 systems Group: System/Boot @@ -382,6 +745,24 @@ Requires(post): coreutils %description -n dtb-socionext Device Tree files for Socionext based arm64 systems. +%post -n dtb-socionext +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-socionext -f dtb-socionext.list +%else +%files -n dtb-socionext +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/socionext +%{dtbdir}/socionext/*.dtb + %package -n dtb-sprd Summary: Spreadtrum based arm64 systems Group: System/Boot @@ -391,6 +772,24 @@ Requires(post): coreutils %description -n dtb-sprd Device Tree files for Spreadtrum based arm64 systems. +%post -n dtb-sprd +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-sprd -f dtb-sprd.list +%else +%files -n dtb-sprd +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/sprd +%{dtbdir}/sprd/*.dtb + %package -n dtb-xilinx Summary: Xilinx based arm64 systems Group: System/Boot @@ -400,6 +799,24 @@ Requires(post): coreutils %description -n dtb-xilinx Device Tree files for Xilinx based arm64 systems. +%post -n dtb-xilinx +cd /boot +# If /boot/dtb is a symlink, remove it, so that we can replace it. +[ -d dtb ] && [ -L dtb ] && rm -f dtb +# Unless /boot/dtb exists as real directory, create a symlink. +[ -d dtb ] || ln -sf dtb-%kernelrelease dtb + +%ifarch aarch64 riscv64 +%files -n dtb-xilinx -f dtb-xilinx.list +%else +%files -n dtb-xilinx +%endif +%defattr(-,root,root) +%ghost /boot/dtb +%dir %{dtbdir} +%dir %{dtbdir}/xilinx +%{dtbdir}/xilinx/*.dtb + %prep @@ -408,7 +825,6 @@ Device Tree files for Xilinx based arm64 systems. cd linux-%srcversion %_sourcedir/apply-patches %_sourcedir/series.conf .. - %build source=linux-%srcversion cp $source/COPYING . @@ -426,10 +842,7 @@ for dts in allwinner/*.dts altera/*.dts amazon/*.dts amd/*.dts amlogic/*.dts apm dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts done -%define dtbdir /boot/dtb-%kernelrelease - %install - cd pp for dts in allwinner/*.dts altera/*.dts amazon/*.dts amd/*.dts amlogic/*.dts apm/*.dts apple/*.dts arm/*.dts broadcom/*.dts cavium/*.dts exynos/*.dts freescale/*.dts hisilicon/*.dts lg/*.dts marvell/*.dts mediatek/*.dts nvidia/*.dts qcom/*.dts renesas/*.dts rockchip/*.dts socionext/*.dts sprd/*.dts xilinx/*.dts ; do target=${dts%*.dts} @@ -446,418 +859,4 @@ for dts in allwinner/*.dts altera/*.dts amazon/*.dts amd/*.dts amlogic/*.dts apm done cd - -%post -n dtb-allwinner -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-altera -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-amazon -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-amd -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-amlogic -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-apm -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-apple -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-arm -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-broadcom -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-cavium -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-exynos -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-freescale -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-hisilicon -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-lg -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-marvell -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-mediatek -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-nvidia -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-qcom -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-renesas -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-rockchip -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-socionext -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-sprd -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%post -n dtb-xilinx -cd /boot -# If /boot/dtb is a symlink, remove it, so that we can replace it. -[ -d dtb ] && [ -L dtb ] && rm -f dtb -# Unless /boot/dtb exists as real directory, create a symlink. -[ -d dtb ] || ln -sf dtb-%kernelrelease dtb - -%ifarch aarch64 riscv64 -%files -n dtb-allwinner -f dtb-allwinner.list -%else -%files -n dtb-allwinner -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/allwinner -%{dtbdir}/allwinner/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-altera -f dtb-altera.list -%else -%files -n dtb-altera -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/altera -%{dtbdir}/altera/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-amazon -f dtb-amazon.list -%else -%files -n dtb-amazon -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/amazon -%{dtbdir}/amazon/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-amd -f dtb-amd.list -%else -%files -n dtb-amd -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/amd -%{dtbdir}/amd/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-amlogic -f dtb-amlogic.list -%else -%files -n dtb-amlogic -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/amlogic -%{dtbdir}/amlogic/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-apm -f dtb-apm.list -%else -%files -n dtb-apm -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/apm -%{dtbdir}/apm/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-apple -f dtb-apple.list -%else -%files -n dtb-apple -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/apple -%{dtbdir}/apple/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-arm -f dtb-arm.list -%else -%files -n dtb-arm -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/arm -%{dtbdir}/arm/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-broadcom -f dtb-broadcom.list -%else -%files -n dtb-broadcom -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/broadcom -%{dtbdir}/broadcom/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-cavium -f dtb-cavium.list -%else -%files -n dtb-cavium -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/cavium -%{dtbdir}/cavium/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-exynos -f dtb-exynos.list -%else -%files -n dtb-exynos -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/exynos -%{dtbdir}/exynos/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-freescale -f dtb-freescale.list -%else -%files -n dtb-freescale -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/freescale -%{dtbdir}/freescale/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-hisilicon -f dtb-hisilicon.list -%else -%files -n dtb-hisilicon -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/hisilicon -%{dtbdir}/hisilicon/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-lg -f dtb-lg.list -%else -%files -n dtb-lg -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/lg -%{dtbdir}/lg/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-marvell -f dtb-marvell.list -%else -%files -n dtb-marvell -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/marvell -%{dtbdir}/marvell/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-mediatek -f dtb-mediatek.list -%else -%files -n dtb-mediatek -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/mediatek -%{dtbdir}/mediatek/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-nvidia -f dtb-nvidia.list -%else -%files -n dtb-nvidia -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/nvidia -%{dtbdir}/nvidia/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-qcom -f dtb-qcom.list -%else -%files -n dtb-qcom -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/qcom -%{dtbdir}/qcom/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-renesas -f dtb-renesas.list -%else -%files -n dtb-renesas -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/renesas -%{dtbdir}/renesas/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-rockchip -f dtb-rockchip.list -%else -%files -n dtb-rockchip -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/rockchip -%{dtbdir}/rockchip/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-socionext -f dtb-socionext.list -%else -%files -n dtb-socionext -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/socionext -%{dtbdir}/socionext/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-sprd -f dtb-sprd.list -%else -%files -n dtb-sprd -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/sprd -%{dtbdir}/sprd/*.dtb - -%ifarch aarch64 riscv64 -%files -n dtb-xilinx -f dtb-xilinx.list -%else -%files -n dtb-xilinx -%endif -%defattr(-,root,root) -%ghost /boot/dtb -%dir %{dtbdir} -%dir %{dtbdir}/xilinx -%{dtbdir}/xilinx/*.dtb - %changelog diff --git a/dtb.spec.in.in b/dtb.spec.in.in index 569936e..279536a 100644 --- a/dtb.spec.in.in +++ b/dtb.spec.in.in @@ -35,16 +35,19 @@ Summary: Device Tree files for $MACHINES License: GPL-2.0-only Group: System/Boot URL: https://www.kernel.org/ +BuildRequires: cpp +BuildRequires: dtc >= 1.4.3 +BuildRequires: xz %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 -Requires: kernel = %version + +%define dtbdir /boot/dtb-%kernelrelease + @SOURCES@ +Requires: kernel = %version %description Device Tree files for $MACHINES. @@ -57,7 +60,6 @@ $SUBPKG_DESC cd linux-%srcversion %_sourcedir/apply-patches %_sourcedir/series.conf .. - %build source=linux-%srcversion cp $source/COPYING . @@ -75,10 +77,7 @@ for dts in $ALL_SUPPORTED_DTB; do dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts done -%define dtbdir /boot/dtb-%kernelrelease - %install - cd pp for dts in $ALL_SUPPORTED_DTB; do target=${dts%*.dts} @@ -95,6 +94,4 @@ for dts in $ALL_SUPPORTED_DTB; do done cd - -$SUBPKG_POST -$SUBPKG_FILES %changelog diff --git a/kabi.tar.bz2 b/kabi.tar.bz2 index ada0b46..ecf3927 100644 --- a/kabi.tar.bz2 +++ b/kabi.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:113057b1a544de591b49f86f3ab2bc40baa835838d2fbb5ae8b0352eb9f01325 -size 1576 +oid sha256:c07f8cb0137ba18b6990857c7074633c49886b58d11a04f6f835f89534c57b26 +size 6904667 diff --git a/kernel-64kb.changes b/kernel-64kb.changes index d29016b..1ab76ec 100644 --- a/kernel-64kb.changes +++ b/kernel-64kb.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-64kb.spec b/kernel-64kb.spec index e886b63..ffdae88 100644 --- a/kernel-64kb.spec +++ b/kernel-64kb.spec @@ -19,7 +19,7 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %define compress_modules zstd %define compress_vmlinux xz @@ -29,96 +29,22 @@ %define split_base 0 %define split_optional 0 %define supported_modules_check 1 +%define build_flavor 64kb %include %_sourcedir/kernel-spec-macros -%define build_flavor 64kb -%define build_default ("%build_flavor" == "default") -%define build_vanilla ("%build_flavor" == "vanilla") -%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} - -%if ! %build_vanilla -%define src_install_dir /usr/src/linux-%kernelrelease%variant -%else -%define src_install_dir /usr/src/linux-%kernelrelease-vanilla -%endif -%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj -%define rpm_install_dir %buildroot%obj_install_dir -%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj - -%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) - %define klp_symbols 1 -%endif - %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) -%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) -%define cpu_arch_flavor %cpu_arch/%build_flavor - -%global certs %( for f in %_sourcedir/*.crt; do \ - if ! test -e "$f"; then \ - continue \ - fi \ - h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ - if [ -z "$h" ] ; then \ - echo Cannot parse "$f" >&2 \ - confinue \ - fi \ - cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ - echo Found signing certificate "$f" "($cert)" >&2 \ - cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ - mkdir -p %_sourcedir/.kernel_signing_certs \ - openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ - echo -n "$cert" "" \ -done ) - -%ifarch %ix86 x86_64 -%define image vmlinuz -%endif -%ifarch ppc ppc64 ppc64le -%define image vmlinux -%endif -%ifarch s390 s390x -%define image image -%endif -%ifarch %arm -%define image zImage -%endif -%ifarch aarch64 riscv64 -%define image Image -%endif - -# Define some CONFIG variables as rpm macros as well. (rpm cannot handle -# defining them all at once.) -%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC -%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} -%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") - -%if "%CONFIG_MODULES" != "y" - %define klp_symbols 0 -%endif - -%ifarch %ix86 x86_64 -%define install_vdso 1 -%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 -%define separate_vdso 1 -%endif -%else -%define install_vdso 0 -%endif - -%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor - Name: kernel-64kb -Summary: Kernel with 64kb PAGE_SIZE -License: GPL-2.0-only -Group: System/Kernel Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif +Summary: Kernel with 64kb PAGE_SIZE +License: GPL-2.0-only +Group: System/Kernel URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh @@ -159,6 +85,85 @@ BuildRequires: u-boot-tools # Remove some packages that are installed automatically by the build system, # but are not needed to build the kernel #!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: aarch64 +%else +ExclusiveArch: do_not_build +%endif + +%ifarch %ix86 x86_64 +%define image vmlinuz +%endif +%ifarch ppc ppc64 ppc64le +%define image vmlinux +%endif +%ifarch s390 s390x +%define image image +%endif +%ifarch %arm +%define image zImage +%endif +%ifarch aarch64 riscv64 +%define image Image +%endif + +%ifarch %ix86 x86_64 +%define install_vdso 1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define separate_vdso 1 +%endif +%else +%define install_vdso 0 +%endif + +%define build_default ("%build_flavor" == "default") +%define build_vanilla ("%build_flavor" == "vanilla") +%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} + +%if ! %build_vanilla +%define src_install_dir /usr/src/linux-%kernelrelease%variant +%else +%define src_install_dir /usr/src/linux-%kernelrelease-vanilla +%endif +%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj +%define rpm_install_dir %buildroot%obj_install_dir +%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj +%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor + +%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) +%define cpu_arch_flavor %cpu_arch/%build_flavor + +%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) + %define klp_symbols 1 +%endif + +# Define some CONFIG variables as rpm macros as well. (rpm cannot handle +# defining them all at once.) +%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC +%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} +%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") + +%if "%CONFIG_MODULES" != "y" + %define klp_symbols 0 +%endif + +%global certs %( space="" ; for f in %_sourcedir/*.crt; do \ + if ! test -e "$f"; then \ + continue \ + fi \ + h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ + if [ -z "$h" ] ; then \ + echo Cannot parse "$f" >&2 \ + confinue \ + fi \ + cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ + echo Found signing certificate "$f" "($cert)" >&2 \ + cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ + mkdir -p %_sourcedir/.kernel_signing_certs \ + openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ + echo -n "$space$cert" ; space=" " \ +done ) + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc Source14: series.conf @@ -298,18 +303,13 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 -%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} -ExclusiveArch: aarch64 -%else -ExclusiveArch: do_not_build -%endif + %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 %if ! %build_default BuildArch: i686 %endif %endif - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -367,7 +367,7 @@ Requires(post): dracut # the grub entry has correct title (bnc#757565) Requires(post): distribution-release -%if 0%{?usrmerged} +%if %{usrmerged} # make sure we have a post-usrmerge system Conflicts: filesystem < 16 %endif @@ -435,6 +435,768 @@ configured with 64kb page size granule. %source_timestamp + +%pre +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%post +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%preun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%postun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%posttrans +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%files -f kernel-main.files + +%if "%CONFIG_MODULES" == "y" && %split_base +%package base +Summary: Kernel with 64kb PAGE_SIZE - base modules +Group: System/Kernel +Url: http://www.kernel.org/ +Provides: kernel-base = %version-%source_rel +Provides: multiversion(kernel) +Conflicts: %name = %version-%source_rel +Requires(pre): suse-kernel-rpm-scriptlets +Requires(post): suse-kernel-rpm-scriptlets +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 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 +# This Requires is wrong, because the post/postun scripts have a +# test -x update-bootloader, having perl-Bootloader is not a hard requirement. +# But, there is no way to tell rpm or yast to schedule the installation +# of perl-Bootloader before kernel-binary.rpm if both are in the list of +# packages to install/update. Likewise, this is true for dracut. +# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry +Requires(post): perl-Bootloader >= 0.4.15 +Requires(post): dracut +# Install the package providing /etc/SuSE-release early enough, so that +# the grub entry has correct title (bnc#757565) +Requires(post): distribution-release + +%if %{usrmerged} +# make sure we have a post-usrmerge system +Conflicts: filesystem < 16 +%endif + +Obsoletes: microcode_ctl < 1.18 + +%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') + if not fd then io.stderr:write(err) end + unpack = table.unpack or unpack + for l in fd:lines() do + if #l > 0 and l:sub(1,1) ~= '#' then + words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end + package, version = unpack(words) + print('Conflicts: ' .. package .. ' < '.. version .. '\n') + end + end + fd:close() +} + +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +Provides: kernel = %version-%source_rel +Provides: kernel-%build_flavor-base-srchash-%git_commit +Provides: kernel-srchash-%git_commit + +%obsolete_rebuilds %name-base +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif + +%description base +This kernel is identical to the default kernel, but is configured with +64kb page size granule. Its main purpose is to serve as compatibility +kernel for systems that were installed when the default kernel was still +configured with 64kb page size granule. + +This package contains only the base modules, required in all installs. + + +%source_timestamp +%pre base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files base -f kernel-base.files +%endif + +%package extra +Summary: Kernel with 64kb PAGE_SIZE - Unsupported kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-extra_%_target_cpu = %version-%source_rel +Provides: kernel-extra = %version-%source_rel +Provides: multiversion(kernel) +Requires: %{name}_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-extra +Supplements: packageand(product(SLED):%{name}_%_target_cpu) +Supplements: packageand(product(sle-we):%{name}_%_target_cpu) +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-extra = %version-%release +Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel +%endif +%endif + +%description extra +This kernel is identical to the default kernel, but is configured with +64kb page size granule. Its main purpose is to serve as compatibility +kernel for systems that were installed when the default kernel was still +configured with 64kb page size granule. + +This package contains additional modules not supported by SUSE. + + +%source_timestamp + +%pre extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%if %split_extra + +%files extra -f kernel-extra.files +%endif + +%if %split_extra && %split_optional +%package optional +Summary: Kernel with 64kb PAGE_SIZE - Optional kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-optional_%_target_cpu = %version-%source_rel +Provides: kernel-optional = %version-%source_rel +Provides: multiversion(kernel) +Requires: %name-extra_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-optional +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-optional = %version-%release +Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel +%endif +%endif + +%description optional +This kernel is identical to the default kernel, but is configured with +64kb page size granule. Its main purpose is to serve as compatibility +kernel for systems that were installed when the default kernel was still +configured with 64kb page size granule. + +This package contains optional modules only for openSUSE Leap. + + +%source_timestamp + +%pre optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files optional -f kernel-optional.files +%endif + +%if "%CONFIG_KMSG_IDS" == "y" + +%package man +Summary: The collection of man pages generated by the kmsg script +Group: System/Kernel + +%description man +This package includes the man pages that have been generated from the +kmsg message documentation comments. + + +%source_timestamp +%files man +/usr/share/man/man9/* +%endif + +%if 0%{?separate_vdso} +%package vdso +Summary: vdso binaries for debugging purposes +Group: System/Kernel + +%description vdso +This package includes the vdso binaries. They can be used for debugging. The +actual binary linked to the programs is loaded from the in-memory image, not +from this package. + + +%source_timestamp +%files vdso +%modules_dir/vdso/ +%endif + +%package devel +Summary: Development files necessary for building kernel modules +Group: Development/Sources +Provides: %name-devel = %version-%source_rel +Provides: multiversion(kernel) +%if ! %build_vanilla && ! %vanilla_only +Requires: kernel-devel%variant = %version-%source_rel +Recommends: make +Recommends: gcc +Recommends: perl +# for objtool +Requires: libelf-devel +Supplements: packageand(%name:kernel-devel%variant) +%else +Requires: kernel-source-vanilla = %version-%source_rel +Supplements: packageand(%name:kernel-source-vanilla) +%endif +%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" +Requires: dwarves >= 1.22 +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-devel = %version-%release +%endif +%endif +%obsolete_rebuilds %name-devel +PreReq: coreutils + +%description devel +This package contains files necessary for building kernel modules (and +kernel module packages) against the %build_flavor flavor of the kernel. + + +%source_timestamp + +%if "%CONFIG_MODULES" == "y" + +%pre devel + +# handle update from an older kernel-source with linux-obj as symlink +if [ -h /usr/src/linux-obj ]; then + rm -vf /usr/src/linux-obj +fi + +%post devel +%relink_function + +relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" + +%files devel -f kernel-devel.files +%dir /usr/src/linux-obj +%dir /usr/src/linux-obj/%cpu_arch +%ghost /usr/src/linux-obj/%cpu_arch_flavor +%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list +%if "%kmp_target_cpu" != "%cpu_arch" +%obj_install_dir/%kmp_target_cpu +/usr/src/linux-obj/%kmp_target_cpu +%endif + +%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) +%if "%livepatch" == "kgraft" +%define patch_package %{livepatch}-patch +%else +%define patch_package kernel-%{livepatch} +%endif +%package %{livepatch} +Summary: Metapackage to pull in matching %patch_package package +Group: System/Kernel +Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} +Provides: multiversion(kernel) +%if "%variant" != "-rt" +Provides: kernel-default-kgraft = %version +Provides: kernel-xen-kgraft = %version +%if "%livepatch" != "kgraft" +Obsoletes: kernel-default-kgraft < %version +Obsoletes: kernel-xen-kgraft < %version +%endif +%endif + +%description %{livepatch} +This is a metapackage that pulls in the matching %patch_package package for a +given kernel version. The advantage of the metapackage is that its name is +static, unlike the %{patch_package}--flavor package names. + +%files %{livepatch} +# rpmlint complains about empty packages, so lets own something +%dir %modules_dir +%endif + +%if 0%{?klp_symbols} && "%livepatch" != "" +%package %{livepatch}-devel +Summary: Kernel symbols file used during kGraft patch development +Group: System/Kernel +Provides: klp-symbols = %version + +%description %{livepatch}-devel +This package brings a file named Symbols.list, which contains a list of all +kernel symbols and its respective kernel object . This list is to be used by +the klp-convert tool, which helps livepatch developers by enabling automatic +symbol resolution. + +%files %{livepatch}-devel -f livepatch-files +%endif + +%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" +%package -n cluster-md-kmp-%build_flavor +Summary: Clustering support for MD devices +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: cluster-md-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: cluster-md-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:cluster-md-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n cluster-md-kmp-%build_flavor +Clustering support for MD devices. This enables locking and +synchronization across multiple systems on the cluster, so all +nodes in the cluster can access the MD devices simultaneously. + +%pre -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files + +%package -n dlm-kmp-%build_flavor +Summary: DLM kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: dlm-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: dlm-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:dlm-kmp-%build_flavor) + +%description -n dlm-kmp-%build_flavor +DLM stands for Distributed Lock Manager, a means to synchronize access to +shared resources over the cluster. + +%pre -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n dlm-kmp-%build_flavor -f dlm-kmp.files + +%package -n gfs2-kmp-%build_flavor +Summary: GFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: gfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: gfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:gfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n gfs2-kmp-%build_flavor +GFS2 is Global Filesystem, a shared device filesystem. + +%pre -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files + +%package -n kselftests-kmp-%build_flavor +Summary: Kernel sefltests +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: kselftests-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kselftests-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:kselftests-kmp-%build_flavor) + +%description -n kselftests-kmp-%build_flavor +This package contains kernel modules which are part of the upstream kernel +selftest effort. kselftest is the name of the upstream kernel target to build +and run all selftests. You can also run each test individually from the +respective upstream tools/testing/selftests/ directory, this package is +intended to be used using individial upstream selftest scripts given only +select supported selftest drivers are enabled. + +It should always be possible to always run the latest linux-next version of the +selftest scripts and tests against any older kernel selftest driver. Certain +tests facilities may be backported onto older kernels to enable further +testing. + +Selftests also provide for a vehicle or proof of concept issues to be +reproduced, verified and corrected. + +Selftest drivers are intended to be supported only in testing and QA +environments, they are not intended to be run on production systems. + +%pre -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files + +%package -n ocfs2-kmp-%build_flavor +Summary: OCFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: ocfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: ocfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:ocfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n ocfs2-kmp-%build_flavor +OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices +accessible simultaneously from multiple nodes of a cluster. + +%pre -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files + +%package -n reiserfs-kmp-%build_flavor +Summary: Reiserfs kernel module +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: reiserfs-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: reiserfs-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:reiserfs-kmp-%build_flavor) + +%description -n reiserfs-kmp-%build_flavor +The reiserfs file system is no longer supported in SLE15. This package +provides the reiserfs module for the installation system. + +%pre -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files + +%endif # %CONFIG_SUSE_KERNEL_SUPPORTED +%endif # %CONFIG_MODULES + %prep if ! [ -e %{S:0} ]; then echo "The %name-%version.nosrc.rpm package does not contain the" \ @@ -795,7 +1557,7 @@ add_vmlinux() # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if "%CONFIG_EFI_STUB" == "y" -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -803,7 +1565,7 @@ BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" %endif %if ! %sb_efi_only %ifarch s390x ppc64 ppc64le -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -1075,7 +1837,7 @@ if [ -f %my_builddir/livepatch-files.no_dir ] ; then fi # does not exist for non-modularized kernels -%if 0%{?usrmerged} +%if %{usrmerged} mkdir -p %{buildroot}%modules_dir %endif shopt -s nullglob dotglob @@ -1085,7 +1847,7 @@ shopt -s nullglob dotglob echo "%modules_dir/source" cd %buildroot for file in boot/symtypes*; do -%if 0%{?usrmerged} +%if %{usrmerged} l="${file##*/}" l="%modules_dir/${l//-%kernelrelease-%build_flavor}" mv "$file" "%{buildroot}$l" @@ -1130,19 +1892,19 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files echo -n "%%ghost " fi ;; -%if 0%{?usrmerged} +%if %{usrmerged} boot/vmlinuz-*) echo -n "%%attr(0644, root, root) " ;; %endif boot/symtypes*) -%if 0%{?usrmerged} +%if %{usrmerged} echo "%exclude $l" %endif continue ;; esac -%if 0%{?usrmerged} +%if %{usrmerged} mv "$f" "./$l" ln -s "..$l" $f # the find in the CONFIG_MODULES condition below also finds the files @@ -1166,7 +1928,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \ -o -name '*.ko' -prune \ -o \( -type f \ -%if 0%{?usrmerged} +%if %{usrmerged} ! -path '*/symtypes*' ! -path '*/vmlinu*' \ %endif \) -printf '/%%p\n' @@ -1214,7 +1976,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files %if 0%{?sle_version} > 150300 modprobe_d_dir=/lib/modprobe.d %endif - %if 0%{?usrmerged} + %if %{usrmerged} modprobe_d_dir=/usr/lib/modprobe.d %endif @@ -1248,765 +2010,4 @@ fi # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%files -f kernel-main.files - -%if "%CONFIG_MODULES" == "y" && %split_base -%package base -Summary: Kernel with 64kb PAGE_SIZE - base modules -Group: System/Kernel -Url: http://www.kernel.org/ -Provides: kernel-base = %version-%source_rel -Provides: multiversion(kernel) -Conflicts: %name = %version-%source_rel -Requires(pre): suse-kernel-rpm-scriptlets -Requires(post): suse-kernel-rpm-scriptlets -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 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 -# This Requires is wrong, because the post/postun scripts have a -# test -x update-bootloader, having perl-Bootloader is not a hard requirement. -# But, there is no way to tell rpm or yast to schedule the installation -# of perl-Bootloader before kernel-binary.rpm if both are in the list of -# packages to install/update. Likewise, this is true for dracut. -# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry -Requires(post): perl-Bootloader >= 0.4.15 -Requires(post): dracut -# Install the package providing /etc/SuSE-release early enough, so that -# the grub entry has correct title (bnc#757565) -Requires(post): distribution-release - -%if 0%{?usrmerged} -# make sure we have a post-usrmerge system -Conflicts: filesystem < 16 -%endif - -Obsoletes: microcode_ctl < 1.18 - -%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') - if not fd then io.stderr:write(err) end - unpack = table.unpack or unpack - for l in fd:lines() do - if #l > 0 and l:sub(1,1) ~= '#' then - words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end - package, version = unpack(words) - print('Conflicts: ' .. package .. ' < '.. version .. '\n') - end - end - fd:close() -} - -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-%git_commit -Provides: kernel-srchash-%git_commit - -%obsolete_rebuilds %name-base -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif - -%description base -This kernel is identical to the default kernel, but is configured with -64kb page size granule. Its main purpose is to serve as compatibility -kernel for systems that were installed when the default kernel was still -configured with 64kb page size granule. - -This package contains only the base modules, required in all installs. - - -%source_timestamp -%pre base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files base -f kernel-base.files -%endif - -%package extra -Summary: Kernel with 64kb PAGE_SIZE - Unsupported kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-extra_%_target_cpu = %version-%source_rel -Provides: kernel-extra = %version-%source_rel -Provides: multiversion(kernel) -Requires: %{name}_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-extra -Supplements: packageand(product(SLED):%{name}_%_target_cpu) -Supplements: packageand(product(sle-we):%{name}_%_target_cpu) -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-extra = %version-%release -Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel -%endif -%endif - -%description extra -This kernel is identical to the default kernel, but is configured with -64kb page size granule. Its main purpose is to serve as compatibility -kernel for systems that were installed when the default kernel was still -configured with 64kb page size granule. - -This package contains additional modules not supported by SUSE. - - -%source_timestamp - -%pre extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%if %split_extra - -%files extra -f kernel-extra.files -%endif - -%if %split_extra && %split_optional -%package optional -Summary: Kernel with 64kb PAGE_SIZE - Optional kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-optional_%_target_cpu = %version-%source_rel -Provides: kernel-optional = %version-%source_rel -Provides: multiversion(kernel) -Requires: %name-extra_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-optional -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-optional = %version-%release -Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel -%endif -%endif - -%description optional -This kernel is identical to the default kernel, but is configured with -64kb page size granule. Its main purpose is to serve as compatibility -kernel for systems that were installed when the default kernel was still -configured with 64kb page size granule. - -This package contains optional modules only for openSUSE Leap. - - -%source_timestamp - -%pre optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files optional -f kernel-optional.files -%endif - -%if "%CONFIG_KMSG_IDS" == "y" - -%package man -Summary: The collection of man pages generated by the kmsg script -Group: System/Kernel - -%description man -This package includes the man pages that have been generated from the -kmsg message documentation comments. - - -%source_timestamp -%files man -/usr/share/man/man9/* -%endif - -%if 0%{?separate_vdso} -%package vdso -Summary: vdso binaries for debugging purposes -Group: System/Kernel - -%description vdso -This package includes the vdso binaries. They can be used for debugging. The -actual binary linked to the programs is loaded from the in-memory image, not -from this package. - - -%source_timestamp -%files vdso -/%{?usrmerged:usr/}lib/modules/%kernelrelease-%build_flavor/vdso/ -%endif - -%package devel -Summary: Development files necessary for building kernel modules -Group: Development/Sources -Provides: %name-devel = %version-%source_rel -Provides: multiversion(kernel) -%if ! %build_vanilla && ! %vanilla_only -Requires: kernel-devel%variant = %version-%source_rel -Recommends: make -Recommends: gcc -Recommends: perl -# for objtool -Requires: libelf-devel -Supplements: packageand(%name:kernel-devel%variant) -%else -Requires: kernel-source-vanilla = %version-%source_rel -Supplements: packageand(%name:kernel-source-vanilla) -%endif -%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" -Requires: dwarves >= 1.22 -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-devel = %version-%release -%endif -%endif -%obsolete_rebuilds %name-devel -PreReq: coreutils - -%description devel -This package contains files necessary for building kernel modules (and -kernel module packages) against the %build_flavor flavor of the kernel. - - -%source_timestamp - -%if "%CONFIG_MODULES" == "y" - -%pre devel - -# handle update from an older kernel-source with linux-obj as symlink -if [ -h /usr/src/linux-obj ]; then - rm -vf /usr/src/linux-obj -fi - -%post devel -%relink_function - -relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" - -%files devel -f kernel-devel.files -%dir /usr/src/linux-obj -%dir /usr/src/linux-obj/%cpu_arch -%ghost /usr/src/linux-obj/%cpu_arch_flavor -%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list -%if "%kmp_target_cpu" != "%cpu_arch" -%obj_install_dir/%kmp_target_cpu -/usr/src/linux-obj/%kmp_target_cpu -%endif - -%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) -%if "%livepatch" == "kgraft" -%define patch_package %{livepatch}-patch -%else -%define patch_package kernel-%{livepatch} -%endif -%package %{livepatch} -Summary: Metapackage to pull in matching %patch_package package -Group: System/Kernel -Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} -Provides: multiversion(kernel) -%if "%variant" != "-rt" -Provides: kernel-default-kgraft = %version -Provides: kernel-xen-kgraft = %version -%if "%livepatch" != "kgraft" -Obsoletes: kernel-default-kgraft < %version -Obsoletes: kernel-xen-kgraft < %version -%endif -%endif - -%description %{livepatch} -This is a metapackage that pulls in the matching %patch_package package for a -given kernel version. The advantage of the metapackage is that its name is -static, unlike the %{patch_package}--flavor package names. - -%files %{livepatch} -# rpmlint complains about empty packages, so lets own something -%dir %modules_dir -%endif - -%if 0%{?klp_symbols} && "%livepatch" != "" -%package %{livepatch}-devel -Summary: Kernel symbols file used during kGraft patch development -Group: System/Kernel -Provides: klp-symbols = %version - -%description %{livepatch}-devel -This package brings a file named Symbols.list, which contains a list of all -kernel symbols and its respective kernel object . This list is to be used by -the klp-convert tool, which helps livepatch developers by enabling automatic -symbol resolution. - -%files %{livepatch}-devel -f livepatch-files -%endif - -%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" -%package -n cluster-md-kmp-%build_flavor -Summary: Clustering support for MD devices -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: cluster-md-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: cluster-md-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:cluster-md-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n cluster-md-kmp-%build_flavor -Clustering support for MD devices. This enables locking and -synchronization across multiple systems on the cluster, so all -nodes in the cluster can access the MD devices simultaneously. - -%pre -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files - -%package -n dlm-kmp-%build_flavor -Summary: DLM kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: dlm-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: dlm-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:dlm-kmp-%build_flavor) - -%description -n dlm-kmp-%build_flavor -DLM stands for Distributed Lock Manager, a means to synchronize access to -shared resources over the cluster. - -%pre -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n dlm-kmp-%build_flavor -f dlm-kmp.files - -%package -n gfs2-kmp-%build_flavor -Summary: GFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: gfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: gfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:gfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n gfs2-kmp-%build_flavor -GFS2 is Global Filesystem, a shared device filesystem. - -%pre -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files - -%package -n kselftests-kmp-%build_flavor -Summary: Kernel sefltests -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: kselftests-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kselftests-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:kselftests-kmp-%build_flavor) - -%description -n kselftests-kmp-%build_flavor -This package contains kernel modules which are part of the upstream kernel -selftest effort. kselftest is the name of the upstream kernel target to build -and run all selftests. You can also run each test individually from the -respective upstream tools/testing/selftests/ directory, this package is -intended to be used using individial upstream selftest scripts given only -select supported selftest drivers are enabled. - -It should always be possible to always run the latest linux-next version of the -selftest scripts and tests against any older kernel selftest driver. Certain -tests facilities may be backported onto older kernels to enable further -testing. - -Selftests also provide for a vehicle or proof of concept issues to be -reproduced, verified and corrected. - -Selftest drivers are intended to be supported only in testing and QA -environments, they are not intended to be run on production systems. - -%pre -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files - -%package -n ocfs2-kmp-%build_flavor -Summary: OCFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: ocfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: ocfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:ocfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n ocfs2-kmp-%build_flavor -OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices -accessible simultaneously from multiple nodes of a cluster. - -%pre -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files - -%package -n reiserfs-kmp-%build_flavor -Summary: Reiserfs kernel module -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: reiserfs-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: reiserfs-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:reiserfs-kmp-%build_flavor) - -%description -n reiserfs-kmp-%build_flavor -The reiserfs file system is no longer supported in SLE15. This package -provides the reiserfs module for the installation system. - -%pre -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files - -%endif # %CONFIG_SUSE_KERNEL_SUPPORTED -%endif # %CONFIG_MODULES - %changelog diff --git a/kernel-binary.spec.in b/kernel-binary.spec.in index 43f2c59..328906a 100644 --- a/kernel-binary.spec.in +++ b/kernel-binary.spec.in @@ -29,96 +29,22 @@ %define split_base @SPLIT_BASE@ %define split_optional @SPLIT_OPTIONAL@ %define supported_modules_check @SUPPORTED_MODULES_CHECK@ +%define build_flavor @FLAVOR@ %include %_sourcedir/kernel-spec-macros -%define build_flavor @FLAVOR@ -%define build_default ("%build_flavor" == "default") -%define build_vanilla ("%build_flavor" == "vanilla") -%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} - -%if ! %build_vanilla -%define src_install_dir /usr/src/linux-%kernelrelease%variant -%else -%define src_install_dir /usr/src/linux-%kernelrelease-vanilla -%endif -%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj -%define rpm_install_dir %buildroot%obj_install_dir -%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj - -%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) - %define klp_symbols 1 -%endif - %(chmod +x %_sourcedir/{@SCRIPTS@}) -%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) -%define cpu_arch_flavor %cpu_arch/%build_flavor - -%global certs %( for f in %_sourcedir/*.crt; do \ - if ! test -e "$f"; then \ - continue \ - fi \ - h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ - if [ -z "$h" ] ; then \ - echo Cannot parse "$f" >&2 \ - confinue \ - fi \ - cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ - echo Found signing certificate "$f" "($cert)" >&2 \ - cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ - mkdir -p %_sourcedir/.kernel_signing_certs \ - openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ - echo -n "$cert" "" \ -done ) - -%ifarch %ix86 x86_64 -%define image vmlinuz -%endif -%ifarch ppc ppc64 ppc64le -%define image vmlinux -%endif -%ifarch s390 s390x -%define image image -%endif -%ifarch %arm -%define image zImage -%endif -%ifarch aarch64 riscv64 -%define image Image -%endif - -# Define some CONFIG variables as rpm macros as well. (rpm cannot handle -# defining them all at once.) -%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC -%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} -%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") - -%if "%CONFIG_MODULES" != "y" - %define klp_symbols 0 -%endif - -%ifarch %ix86 x86_64 -%define install_vdso 1 -%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 -%define separate_vdso 1 -%endif -%else -%define install_vdso 0 -%endif - -%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor - Name: kernel-@FLAVOR@ -Summary: @SUMMARY@ -License: GPL-2.0-only -Group: System/Kernel Version: @RPMVERSION@ %if 0%{?is_kotd} Release: .g@COMMIT@ %else Release: @RELEASE@ %endif +Summary: @SUMMARY@ +License: GPL-2.0-only +Group: System/Kernel URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh @@ -159,19 +85,93 @@ BuildRequires: u-boot-tools # Remove some packages that are installed automatically by the build system, # 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 x86_64 +%define image vmlinuz +%endif +%ifarch ppc ppc64 ppc64le +%define image vmlinux +%endif +%ifarch s390 s390x +%define image image +%endif +%ifarch %arm +%define image zImage +%endif +%ifarch aarch64 riscv64 +%define image Image +%endif + +%ifarch %ix86 x86_64 +%define install_vdso 1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define separate_vdso 1 +%endif +%else +%define install_vdso 0 +%endif + +%define build_default ("%build_flavor" == "default") +%define build_vanilla ("%build_flavor" == "vanilla") +%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} + +%if ! %build_vanilla +%define src_install_dir /usr/src/linux-%kernelrelease%variant +%else +%define src_install_dir /usr/src/linux-%kernelrelease-vanilla +%endif +%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj +%define rpm_install_dir %buildroot%obj_install_dir +%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj +%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor + +%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) +%define cpu_arch_flavor %cpu_arch/%build_flavor + +%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) + %define klp_symbols 1 +%endif + +# Define some CONFIG variables as rpm macros as well. (rpm cannot handle +# defining them all at once.) +%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC +%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} +%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") + +%if "%CONFIG_MODULES" != "y" + %define klp_symbols 0 +%endif + +%global certs %( space="" ; for f in %_sourcedir/*.crt; do \ + if ! test -e "$f"; then \ + continue \ + fi \ + h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ + if [ -z "$h" ] ; then \ + echo Cannot parse "$f" >&2 \ + confinue \ + fi \ + cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ + echo Found signing certificate "$f" "($cert)" >&2 \ + cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ + mkdir -p %_sourcedir/.kernel_signing_certs \ + openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ + echo -n "$space$cert" ; space=" " \ +done ) + +@SOURCES@ + %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 %if ! %build_default BuildArch: i686 %endif %endif - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -229,7 +229,7 @@ Requires(post): dracut # the grub entry has correct title (bnc#757565) Requires(post): distribution-release -%if 0%{?usrmerged} +%if %{usrmerged} # make sure we have a post-usrmerge system Conflicts: filesystem < 16 %endif @@ -296,6 +296,431 @@ Provides: kernel-preempt_%_target_cpu = %version-%source_rel %source_timestamp + +%pre +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%post +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%preun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%postun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%posttrans +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%files -f kernel-main.files + +%if "%CONFIG_MODULES" == "y" && %split_base +%package base +Summary: @SUMMARY@ - base modules +Group: System/Kernel +Url: http://www.kernel.org/ +Provides: kernel-base = %version-%source_rel +Provides: multiversion(kernel) +Conflicts: %name = %version-%source_rel +@COMMON_DEPS@ +@PROVIDES_OBSOLETES_BASE@ +%obsolete_rebuilds %name-base +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif + +%description base +@DESCRIPTION@ + +This package contains only the base modules, required in all installs. + + +%source_timestamp +%pre base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files base -f kernel-base.files +%endif + +%package extra +Summary: @SUMMARY@ - Unsupported kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-extra_%_target_cpu = %version-%source_rel +Provides: kernel-extra = %version-%source_rel +Provides: multiversion(kernel) +Requires: %{name}_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +@PROVIDES_OBSOLETES_EXTRA@ +%obsolete_rebuilds %name-extra +Supplements: packageand(product(SLED):%{name}_%_target_cpu) +Supplements: packageand(product(sle-we):%{name}_%_target_cpu) +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-extra = %version-%release +Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel +%endif +%endif + +%description extra +@DESCRIPTION@ + +This package contains additional modules not supported by SUSE. + + +%source_timestamp + +%pre extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%if %split_extra + +%files extra -f kernel-extra.files +%endif + +%if %split_extra && %split_optional +%package optional +Summary: @SUMMARY@ - Optional kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-optional_%_target_cpu = %version-%source_rel +Provides: kernel-optional = %version-%source_rel +Provides: multiversion(kernel) +Requires: %name-extra_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +@PROVIDES_OBSOLETES_OPTIONAL@ +%obsolete_rebuilds %name-optional +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-optional = %version-%release +Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel +%endif +%endif + +%description optional +@DESCRIPTION@ + +This package contains optional modules only for openSUSE Leap. + + +%source_timestamp + +%pre optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files optional -f kernel-optional.files +%endif + +%if "%CONFIG_KMSG_IDS" == "y" + +%package man +Summary: The collection of man pages generated by the kmsg script +Group: System/Kernel + +%description man +This package includes the man pages that have been generated from the +kmsg message documentation comments. + + +%source_timestamp +%files man +/usr/share/man/man9/* +%endif + +%if 0%{?separate_vdso} +%package vdso +Summary: vdso binaries for debugging purposes +Group: System/Kernel + +%description vdso +This package includes the vdso binaries. They can be used for debugging. The +actual binary linked to the programs is loaded from the in-memory image, not +from this package. + + +%source_timestamp +%files vdso +%modules_dir/vdso/ +%endif + +%package devel +Summary: Development files necessary for building kernel modules +Group: Development/Sources +Provides: %name-devel = %version-%source_rel +Provides: multiversion(kernel) +%if ! %build_vanilla && ! %vanilla_only +Requires: kernel-devel%variant = %version-%source_rel +Recommends: make +Recommends: gcc +Recommends: perl +# for objtool +Requires: libelf-devel +Supplements: packageand(%name:kernel-devel%variant) +%else +Requires: kernel-source-vanilla = %version-%source_rel +Supplements: packageand(%name:kernel-source-vanilla) +%endif +%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" +Requires: dwarves >= 1.22 +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-devel = %version-%release +%endif +%endif +@PROVIDES_OBSOLETES_DEVEL@ +%obsolete_rebuilds %name-devel +PreReq: coreutils + +%description devel +This package contains files necessary for building kernel modules (and +kernel module packages) against the %build_flavor flavor of the kernel. + + +%source_timestamp + +%if "%CONFIG_MODULES" == "y" + +%pre devel + +# handle update from an older kernel-source with linux-obj as symlink +if [ -h /usr/src/linux-obj ]; then + rm -vf /usr/src/linux-obj +fi + +%post devel +%relink_function + +relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" + +%files devel -f kernel-devel.files +%dir /usr/src/linux-obj +%dir /usr/src/linux-obj/%cpu_arch +%ghost /usr/src/linux-obj/%cpu_arch_flavor +%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list +%if "%kmp_target_cpu" != "%cpu_arch" +%obj_install_dir/%kmp_target_cpu +/usr/src/linux-obj/%kmp_target_cpu +%endif + +%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) +%if "%livepatch" == "kgraft" +%define patch_package %{livepatch}-patch +%else +%define patch_package kernel-%{livepatch} +%endif +%package %{livepatch} +Summary: Metapackage to pull in matching %patch_package package +Group: System/Kernel +Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} +Provides: multiversion(kernel) +%if "%variant" != "-rt" +Provides: kernel-default-kgraft = %version +Provides: kernel-xen-kgraft = %version +%if "%livepatch" != "kgraft" +Obsoletes: kernel-default-kgraft < %version +Obsoletes: kernel-xen-kgraft < %version +%endif +%endif + +%description %{livepatch} +This is a metapackage that pulls in the matching %patch_package package for a +given kernel version. The advantage of the metapackage is that its name is +static, unlike the %{patch_package}--flavor package names. + +%files %{livepatch} +# rpmlint complains about empty packages, so lets own something +%dir %modules_dir +%endif + +%if 0%{?klp_symbols} && "%livepatch" != "" +%package %{livepatch}-devel +Summary: Kernel symbols file used during kGraft patch development +Group: System/Kernel +Provides: klp-symbols = %version + +%description %{livepatch}-devel +This package brings a file named Symbols.list, which contains a list of all +kernel symbols and its respective kernel object . This list is to be used by +the klp-convert tool, which helps livepatch developers by enabling automatic +symbol resolution. + +%files %{livepatch}-devel -f livepatch-files +%endif + +%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" +# BEGIN KMP +%package -n @KMP_NAME@-%build_flavor +Summary: @KMP_SUMMARY@ +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: @KMP_NAME@ = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: @KMP_NAME@-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:@KMP_NAME@-%build_flavor) +@KMP_DEPS@ + +%description -n @KMP_NAME@-%build_flavor +@KMP_DESCRIPTION@ + +%pre -n @KMP_NAME@-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "@KMP_NAME@-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n @KMP_NAME@-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "@KMP_NAME@-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n @KMP_NAME@-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "@KMP_NAME@-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n @KMP_NAME@-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "@KMP_NAME@-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n @KMP_NAME@-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "@KMP_NAME@-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n @KMP_NAME@-%build_flavor -f @KMP_NAME@.files +# END KMP +%endif # %CONFIG_SUSE_KERNEL_SUPPORTED +%endif # %CONFIG_MODULES + %prep if ! [ -e %{S:0} ]; then echo "The %name-%version.nosrc.rpm package does not contain the" \ @@ -656,7 +1081,7 @@ add_vmlinux() # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if "%CONFIG_EFI_STUB" == "y" -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -664,7 +1089,7 @@ BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" %endif %if ! %sb_efi_only %ifarch s390x ppc64 ppc64le -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -936,7 +1361,7 @@ if [ -f %my_builddir/livepatch-files.no_dir ] ; then fi # does not exist for non-modularized kernels -%if 0%{?usrmerged} +%if %{usrmerged} mkdir -p %{buildroot}%modules_dir %endif shopt -s nullglob dotglob @@ -946,7 +1371,7 @@ shopt -s nullglob dotglob echo "%modules_dir/source" cd %buildroot for file in boot/symtypes*; do -%if 0%{?usrmerged} +%if %{usrmerged} l="${file##*/}" l="%modules_dir/${l//-%kernelrelease-%build_flavor}" mv "$file" "%{buildroot}$l" @@ -991,19 +1416,19 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files echo -n "%%ghost " fi ;; -%if 0%{?usrmerged} +%if %{usrmerged} boot/vmlinuz-*) echo -n "%%attr(0644, root, root) " ;; %endif boot/symtypes*) -%if 0%{?usrmerged} +%if %{usrmerged} echo "%exclude $l" %endif continue ;; esac -%if 0%{?usrmerged} +%if %{usrmerged} mv "$f" "./$l" ln -s "..$l" $f # the find in the CONFIG_MODULES condition below also finds the files @@ -1027,7 +1452,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \ -o -name '*.ko' -prune \ -o \( -type f \ -%if 0%{?usrmerged} +%if %{usrmerged} ! -path '*/symtypes*' ! -path '*/vmlinu*' \ %endif \) -printf '/%%p\n' @@ -1075,7 +1500,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files %if 0%{?sle_version} > 150300 modprobe_d_dir=/lib/modprobe.d %endif - %if 0%{?usrmerged} + %if %{usrmerged} modprobe_d_dir=/usr/lib/modprobe.d %endif @@ -1109,428 +1534,4 @@ fi # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%files -f kernel-main.files - -%if "%CONFIG_MODULES" == "y" && %split_base -%package base -Summary: @SUMMARY@ - base modules -Group: System/Kernel -Url: http://www.kernel.org/ -Provides: kernel-base = %version-%source_rel -Provides: multiversion(kernel) -Conflicts: %name = %version-%source_rel -@COMMON_DEPS@ -@PROVIDES_OBSOLETES_BASE@ -%obsolete_rebuilds %name-base -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif - -%description base -@DESCRIPTION@ - -This package contains only the base modules, required in all installs. - - -%source_timestamp -%pre base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files base -f kernel-base.files -%endif - -%package extra -Summary: @SUMMARY@ - Unsupported kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-extra_%_target_cpu = %version-%source_rel -Provides: kernel-extra = %version-%source_rel -Provides: multiversion(kernel) -Requires: %{name}_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -@PROVIDES_OBSOLETES_EXTRA@ -%obsolete_rebuilds %name-extra -Supplements: packageand(product(SLED):%{name}_%_target_cpu) -Supplements: packageand(product(sle-we):%{name}_%_target_cpu) -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-extra = %version-%release -Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel -%endif -%endif - -%description extra -@DESCRIPTION@ - -This package contains additional modules not supported by SUSE. - - -%source_timestamp - -%pre extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%if %split_extra - -%files extra -f kernel-extra.files -%endif - -%if %split_extra && %split_optional -%package optional -Summary: @SUMMARY@ - Optional kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-optional_%_target_cpu = %version-%source_rel -Provides: kernel-optional = %version-%source_rel -Provides: multiversion(kernel) -Requires: %name-extra_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -@PROVIDES_OBSOLETES_OPTIONAL@ -%obsolete_rebuilds %name-optional -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-optional = %version-%release -Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel -%endif -%endif - -%description optional -@DESCRIPTION@ - -This package contains optional modules only for openSUSE Leap. - - -%source_timestamp - -%pre optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files optional -f kernel-optional.files -%endif - -%if "%CONFIG_KMSG_IDS" == "y" - -%package man -Summary: The collection of man pages generated by the kmsg script -Group: System/Kernel - -%description man -This package includes the man pages that have been generated from the -kmsg message documentation comments. - - -%source_timestamp -%files man -/usr/share/man/man9/* -%endif - -%if 0%{?separate_vdso} -%package vdso -Summary: vdso binaries for debugging purposes -Group: System/Kernel - -%description vdso -This package includes the vdso binaries. They can be used for debugging. The -actual binary linked to the programs is loaded from the in-memory image, not -from this package. - - -%source_timestamp -%files vdso -/%{?usrmerged:usr/}lib/modules/%kernelrelease-%build_flavor/vdso/ -%endif - -%package devel -Summary: Development files necessary for building kernel modules -Group: Development/Sources -Provides: %name-devel = %version-%source_rel -Provides: multiversion(kernel) -%if ! %build_vanilla && ! %vanilla_only -Requires: kernel-devel%variant = %version-%source_rel -Recommends: make -Recommends: gcc -Recommends: perl -# for objtool -Requires: libelf-devel -Supplements: packageand(%name:kernel-devel%variant) -%else -Requires: kernel-source-vanilla = %version-%source_rel -Supplements: packageand(%name:kernel-source-vanilla) -%endif -%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" -Requires: dwarves >= 1.22 -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-devel = %version-%release -%endif -%endif -@PROVIDES_OBSOLETES_DEVEL@ -%obsolete_rebuilds %name-devel -PreReq: coreutils - -%description devel -This package contains files necessary for building kernel modules (and -kernel module packages) against the %build_flavor flavor of the kernel. - - -%source_timestamp - -%if "%CONFIG_MODULES" == "y" - -%pre devel - -# handle update from an older kernel-source with linux-obj as symlink -if [ -h /usr/src/linux-obj ]; then - rm -vf /usr/src/linux-obj -fi - -%post devel -%relink_function - -relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" - -%files devel -f kernel-devel.files -%dir /usr/src/linux-obj -%dir /usr/src/linux-obj/%cpu_arch -%ghost /usr/src/linux-obj/%cpu_arch_flavor -%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list -%if "%kmp_target_cpu" != "%cpu_arch" -%obj_install_dir/%kmp_target_cpu -/usr/src/linux-obj/%kmp_target_cpu -%endif - -%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) -%if "%livepatch" == "kgraft" -%define patch_package %{livepatch}-patch -%else -%define patch_package kernel-%{livepatch} -%endif -%package %{livepatch} -Summary: Metapackage to pull in matching %patch_package package -Group: System/Kernel -Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} -Provides: multiversion(kernel) -%if "%variant" != "-rt" -Provides: kernel-default-kgraft = %version -Provides: kernel-xen-kgraft = %version -%if "%livepatch" != "kgraft" -Obsoletes: kernel-default-kgraft < %version -Obsoletes: kernel-xen-kgraft < %version -%endif -%endif - -%description %{livepatch} -This is a metapackage that pulls in the matching %patch_package package for a -given kernel version. The advantage of the metapackage is that its name is -static, unlike the %{patch_package}--flavor package names. - -%files %{livepatch} -# rpmlint complains about empty packages, so lets own something -%dir %modules_dir -%endif - -%if 0%{?klp_symbols} && "%livepatch" != "" -%package %{livepatch}-devel -Summary: Kernel symbols file used during kGraft patch development -Group: System/Kernel -Provides: klp-symbols = %version - -%description %{livepatch}-devel -This package brings a file named Symbols.list, which contains a list of all -kernel symbols and its respective kernel object . This list is to be used by -the klp-convert tool, which helps livepatch developers by enabling automatic -symbol resolution. - -%files %{livepatch}-devel -f livepatch-files -%endif - -%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" -# BEGIN KMP -%package -n @KMP_NAME@-%build_flavor -Summary: @KMP_SUMMARY@ -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: @KMP_NAME@ = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: @KMP_NAME@-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:@KMP_NAME@-%build_flavor) -@KMP_DEPS@ - -%description -n @KMP_NAME@-%build_flavor -@KMP_DESCRIPTION@ - -%pre -n @KMP_NAME@-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n @KMP_NAME@-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n @KMP_NAME@-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n @KMP_NAME@-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n @KMP_NAME@-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "@KMP_NAME@-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n @KMP_NAME@-%build_flavor -f @KMP_NAME@.files -# END KMP -%endif # %CONFIG_SUSE_KERNEL_SUPPORTED -%endif # %CONFIG_MODULES - %changelog diff --git a/kernel-debug.changes b/kernel-debug.changes index d29016b..1ab76ec 100644 --- a/kernel-debug.changes +++ b/kernel-debug.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-debug.spec b/kernel-debug.spec index 4b427d2..ce56f84 100644 --- a/kernel-debug.spec +++ b/kernel-debug.spec @@ -19,7 +19,7 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %define compress_modules zstd %define compress_vmlinux xz @@ -29,96 +29,22 @@ %define split_base 0 %define split_optional 0 %define supported_modules_check 1 +%define build_flavor debug %include %_sourcedir/kernel-spec-macros -%define build_flavor debug -%define build_default ("%build_flavor" == "default") -%define build_vanilla ("%build_flavor" == "vanilla") -%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} - -%if ! %build_vanilla -%define src_install_dir /usr/src/linux-%kernelrelease%variant -%else -%define src_install_dir /usr/src/linux-%kernelrelease-vanilla -%endif -%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj -%define rpm_install_dir %buildroot%obj_install_dir -%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj - -%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) - %define klp_symbols 1 -%endif - %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) -%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) -%define cpu_arch_flavor %cpu_arch/%build_flavor - -%global certs %( for f in %_sourcedir/*.crt; do \ - if ! test -e "$f"; then \ - continue \ - fi \ - h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ - if [ -z "$h" ] ; then \ - echo Cannot parse "$f" >&2 \ - confinue \ - fi \ - cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ - echo Found signing certificate "$f" "($cert)" >&2 \ - cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ - mkdir -p %_sourcedir/.kernel_signing_certs \ - openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ - echo -n "$cert" "" \ -done ) - -%ifarch %ix86 x86_64 -%define image vmlinuz -%endif -%ifarch ppc ppc64 ppc64le -%define image vmlinux -%endif -%ifarch s390 s390x -%define image image -%endif -%ifarch %arm -%define image zImage -%endif -%ifarch aarch64 riscv64 -%define image Image -%endif - -# Define some CONFIG variables as rpm macros as well. (rpm cannot handle -# defining them all at once.) -%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC -%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} -%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") - -%if "%CONFIG_MODULES" != "y" - %define klp_symbols 0 -%endif - -%ifarch %ix86 x86_64 -%define install_vdso 1 -%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 -%define separate_vdso 1 -%endif -%else -%define install_vdso 0 -%endif - -%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor - Name: kernel-debug -Summary: A Debug Version of the Kernel -License: GPL-2.0-only -Group: System/Kernel Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif +Summary: A Debug Version of the Kernel +License: GPL-2.0-only +Group: System/Kernel URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh @@ -159,6 +85,85 @@ BuildRequires: u-boot-tools # Remove some packages that are installed automatically by the build system, # but are not needed to build the kernel #!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: aarch64 ppc64le x86_64 +%else +ExclusiveArch: do_not_build +%endif + +%ifarch %ix86 x86_64 +%define image vmlinuz +%endif +%ifarch ppc ppc64 ppc64le +%define image vmlinux +%endif +%ifarch s390 s390x +%define image image +%endif +%ifarch %arm +%define image zImage +%endif +%ifarch aarch64 riscv64 +%define image Image +%endif + +%ifarch %ix86 x86_64 +%define install_vdso 1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define separate_vdso 1 +%endif +%else +%define install_vdso 0 +%endif + +%define build_default ("%build_flavor" == "default") +%define build_vanilla ("%build_flavor" == "vanilla") +%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} + +%if ! %build_vanilla +%define src_install_dir /usr/src/linux-%kernelrelease%variant +%else +%define src_install_dir /usr/src/linux-%kernelrelease-vanilla +%endif +%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj +%define rpm_install_dir %buildroot%obj_install_dir +%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj +%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor + +%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) +%define cpu_arch_flavor %cpu_arch/%build_flavor + +%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) + %define klp_symbols 1 +%endif + +# Define some CONFIG variables as rpm macros as well. (rpm cannot handle +# defining them all at once.) +%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC +%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} +%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") + +%if "%CONFIG_MODULES" != "y" + %define klp_symbols 0 +%endif + +%global certs %( space="" ; for f in %_sourcedir/*.crt; do \ + if ! test -e "$f"; then \ + continue \ + fi \ + h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ + if [ -z "$h" ] ; then \ + echo Cannot parse "$f" >&2 \ + confinue \ + fi \ + cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ + echo Found signing certificate "$f" "($cert)" >&2 \ + cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ + mkdir -p %_sourcedir/.kernel_signing_certs \ + openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ + echo -n "$space$cert" ; space=" " \ +done ) + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc Source14: series.conf @@ -298,18 +303,13 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 -%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} -ExclusiveArch: aarch64 ppc64le x86_64 -%else -ExclusiveArch: do_not_build -%endif + %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 %if ! %build_default BuildArch: i686 %endif %endif - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -367,7 +367,7 @@ Requires(post): dracut # the grub entry has correct title (bnc#757565) Requires(post): distribution-release -%if 0%{?usrmerged} +%if %{usrmerged} # make sure we have a post-usrmerge system Conflicts: filesystem < 16 %endif @@ -433,6 +433,762 @@ Only use this kernel when investigating problems. %source_timestamp + +%pre +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%post +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%preun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%postun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%posttrans +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%files -f kernel-main.files + +%if "%CONFIG_MODULES" == "y" && %split_base +%package base +Summary: A Debug Version of the Kernel - base modules +Group: System/Kernel +Url: http://www.kernel.org/ +Provides: kernel-base = %version-%source_rel +Provides: multiversion(kernel) +Conflicts: %name = %version-%source_rel +Requires(pre): suse-kernel-rpm-scriptlets +Requires(post): suse-kernel-rpm-scriptlets +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 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 +# This Requires is wrong, because the post/postun scripts have a +# test -x update-bootloader, having perl-Bootloader is not a hard requirement. +# But, there is no way to tell rpm or yast to schedule the installation +# of perl-Bootloader before kernel-binary.rpm if both are in the list of +# packages to install/update. Likewise, this is true for dracut. +# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry +Requires(post): perl-Bootloader >= 0.4.15 +Requires(post): dracut +# Install the package providing /etc/SuSE-release early enough, so that +# the grub entry has correct title (bnc#757565) +Requires(post): distribution-release + +%if %{usrmerged} +# make sure we have a post-usrmerge system +Conflicts: filesystem < 16 +%endif + +Obsoletes: microcode_ctl < 1.18 + +%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') + if not fd then io.stderr:write(err) end + unpack = table.unpack or unpack + for l in fd:lines() do + if #l > 0 and l:sub(1,1) ~= '#' then + words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end + package, version = unpack(words) + print('Conflicts: ' .. package .. ' < '.. version .. '\n') + end + end + fd:close() +} + +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +Provides: kernel = %version-%source_rel +Provides: kernel-%build_flavor-base-srchash-%git_commit +Provides: kernel-srchash-%git_commit + +%obsolete_rebuilds %name-base +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif + +%description base +This kernel has several debug facilities enabled that hurt performance. +Only use this kernel when investigating problems. + +This package contains only the base modules, required in all installs. + + +%source_timestamp +%pre base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files base -f kernel-base.files +%endif + +%package extra +Summary: A Debug Version of the Kernel - Unsupported kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-extra_%_target_cpu = %version-%source_rel +Provides: kernel-extra = %version-%source_rel +Provides: multiversion(kernel) +Requires: %{name}_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-extra +Supplements: packageand(product(SLED):%{name}_%_target_cpu) +Supplements: packageand(product(sle-we):%{name}_%_target_cpu) +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-extra = %version-%release +Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel +%endif +%endif + +%description extra +This kernel has several debug facilities enabled that hurt performance. +Only use this kernel when investigating problems. + +This package contains additional modules not supported by SUSE. + + +%source_timestamp + +%pre extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%if %split_extra + +%files extra -f kernel-extra.files +%endif + +%if %split_extra && %split_optional +%package optional +Summary: A Debug Version of the Kernel - Optional kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-optional_%_target_cpu = %version-%source_rel +Provides: kernel-optional = %version-%source_rel +Provides: multiversion(kernel) +Requires: %name-extra_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-optional +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-optional = %version-%release +Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel +%endif +%endif + +%description optional +This kernel has several debug facilities enabled that hurt performance. +Only use this kernel when investigating problems. + +This package contains optional modules only for openSUSE Leap. + + +%source_timestamp + +%pre optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files optional -f kernel-optional.files +%endif + +%if "%CONFIG_KMSG_IDS" == "y" + +%package man +Summary: The collection of man pages generated by the kmsg script +Group: System/Kernel + +%description man +This package includes the man pages that have been generated from the +kmsg message documentation comments. + + +%source_timestamp +%files man +/usr/share/man/man9/* +%endif + +%if 0%{?separate_vdso} +%package vdso +Summary: vdso binaries for debugging purposes +Group: System/Kernel + +%description vdso +This package includes the vdso binaries. They can be used for debugging. The +actual binary linked to the programs is loaded from the in-memory image, not +from this package. + + +%source_timestamp +%files vdso +%modules_dir/vdso/ +%endif + +%package devel +Summary: Development files necessary for building kernel modules +Group: Development/Sources +Provides: %name-devel = %version-%source_rel +Provides: multiversion(kernel) +%if ! %build_vanilla && ! %vanilla_only +Requires: kernel-devel%variant = %version-%source_rel +Recommends: make +Recommends: gcc +Recommends: perl +# for objtool +Requires: libelf-devel +Supplements: packageand(%name:kernel-devel%variant) +%else +Requires: kernel-source-vanilla = %version-%source_rel +Supplements: packageand(%name:kernel-source-vanilla) +%endif +%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" +Requires: dwarves >= 1.22 +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-devel = %version-%release +%endif +%endif +%obsolete_rebuilds %name-devel +PreReq: coreutils + +%description devel +This package contains files necessary for building kernel modules (and +kernel module packages) against the %build_flavor flavor of the kernel. + + +%source_timestamp + +%if "%CONFIG_MODULES" == "y" + +%pre devel + +# handle update from an older kernel-source with linux-obj as symlink +if [ -h /usr/src/linux-obj ]; then + rm -vf /usr/src/linux-obj +fi + +%post devel +%relink_function + +relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" + +%files devel -f kernel-devel.files +%dir /usr/src/linux-obj +%dir /usr/src/linux-obj/%cpu_arch +%ghost /usr/src/linux-obj/%cpu_arch_flavor +%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list +%if "%kmp_target_cpu" != "%cpu_arch" +%obj_install_dir/%kmp_target_cpu +/usr/src/linux-obj/%kmp_target_cpu +%endif + +%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) +%if "%livepatch" == "kgraft" +%define patch_package %{livepatch}-patch +%else +%define patch_package kernel-%{livepatch} +%endif +%package %{livepatch} +Summary: Metapackage to pull in matching %patch_package package +Group: System/Kernel +Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} +Provides: multiversion(kernel) +%if "%variant" != "-rt" +Provides: kernel-default-kgraft = %version +Provides: kernel-xen-kgraft = %version +%if "%livepatch" != "kgraft" +Obsoletes: kernel-default-kgraft < %version +Obsoletes: kernel-xen-kgraft < %version +%endif +%endif + +%description %{livepatch} +This is a metapackage that pulls in the matching %patch_package package for a +given kernel version. The advantage of the metapackage is that its name is +static, unlike the %{patch_package}--flavor package names. + +%files %{livepatch} +# rpmlint complains about empty packages, so lets own something +%dir %modules_dir +%endif + +%if 0%{?klp_symbols} && "%livepatch" != "" +%package %{livepatch}-devel +Summary: Kernel symbols file used during kGraft patch development +Group: System/Kernel +Provides: klp-symbols = %version + +%description %{livepatch}-devel +This package brings a file named Symbols.list, which contains a list of all +kernel symbols and its respective kernel object . This list is to be used by +the klp-convert tool, which helps livepatch developers by enabling automatic +symbol resolution. + +%files %{livepatch}-devel -f livepatch-files +%endif + +%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" +%package -n cluster-md-kmp-%build_flavor +Summary: Clustering support for MD devices +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: cluster-md-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: cluster-md-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:cluster-md-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n cluster-md-kmp-%build_flavor +Clustering support for MD devices. This enables locking and +synchronization across multiple systems on the cluster, so all +nodes in the cluster can access the MD devices simultaneously. + +%pre -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files + +%package -n dlm-kmp-%build_flavor +Summary: DLM kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: dlm-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: dlm-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:dlm-kmp-%build_flavor) + +%description -n dlm-kmp-%build_flavor +DLM stands for Distributed Lock Manager, a means to synchronize access to +shared resources over the cluster. + +%pre -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n dlm-kmp-%build_flavor -f dlm-kmp.files + +%package -n gfs2-kmp-%build_flavor +Summary: GFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: gfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: gfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:gfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n gfs2-kmp-%build_flavor +GFS2 is Global Filesystem, a shared device filesystem. + +%pre -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files + +%package -n kselftests-kmp-%build_flavor +Summary: Kernel sefltests +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: kselftests-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kselftests-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:kselftests-kmp-%build_flavor) + +%description -n kselftests-kmp-%build_flavor +This package contains kernel modules which are part of the upstream kernel +selftest effort. kselftest is the name of the upstream kernel target to build +and run all selftests. You can also run each test individually from the +respective upstream tools/testing/selftests/ directory, this package is +intended to be used using individial upstream selftest scripts given only +select supported selftest drivers are enabled. + +It should always be possible to always run the latest linux-next version of the +selftest scripts and tests against any older kernel selftest driver. Certain +tests facilities may be backported onto older kernels to enable further +testing. + +Selftests also provide for a vehicle or proof of concept issues to be +reproduced, verified and corrected. + +Selftest drivers are intended to be supported only in testing and QA +environments, they are not intended to be run on production systems. + +%pre -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files + +%package -n ocfs2-kmp-%build_flavor +Summary: OCFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: ocfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: ocfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:ocfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n ocfs2-kmp-%build_flavor +OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices +accessible simultaneously from multiple nodes of a cluster. + +%pre -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files + +%package -n reiserfs-kmp-%build_flavor +Summary: Reiserfs kernel module +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: reiserfs-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: reiserfs-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:reiserfs-kmp-%build_flavor) + +%description -n reiserfs-kmp-%build_flavor +The reiserfs file system is no longer supported in SLE15. This package +provides the reiserfs module for the installation system. + +%pre -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files + +%endif # %CONFIG_SUSE_KERNEL_SUPPORTED +%endif # %CONFIG_MODULES + %prep if ! [ -e %{S:0} ]; then echo "The %name-%version.nosrc.rpm package does not contain the" \ @@ -793,7 +1549,7 @@ add_vmlinux() # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if "%CONFIG_EFI_STUB" == "y" -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -801,7 +1557,7 @@ BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" %endif %if ! %sb_efi_only %ifarch s390x ppc64 ppc64le -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -1073,7 +1829,7 @@ if [ -f %my_builddir/livepatch-files.no_dir ] ; then fi # does not exist for non-modularized kernels -%if 0%{?usrmerged} +%if %{usrmerged} mkdir -p %{buildroot}%modules_dir %endif shopt -s nullglob dotglob @@ -1083,7 +1839,7 @@ shopt -s nullglob dotglob echo "%modules_dir/source" cd %buildroot for file in boot/symtypes*; do -%if 0%{?usrmerged} +%if %{usrmerged} l="${file##*/}" l="%modules_dir/${l//-%kernelrelease-%build_flavor}" mv "$file" "%{buildroot}$l" @@ -1128,19 +1884,19 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files echo -n "%%ghost " fi ;; -%if 0%{?usrmerged} +%if %{usrmerged} boot/vmlinuz-*) echo -n "%%attr(0644, root, root) " ;; %endif boot/symtypes*) -%if 0%{?usrmerged} +%if %{usrmerged} echo "%exclude $l" %endif continue ;; esac -%if 0%{?usrmerged} +%if %{usrmerged} mv "$f" "./$l" ln -s "..$l" $f # the find in the CONFIG_MODULES condition below also finds the files @@ -1164,7 +1920,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \ -o -name '*.ko' -prune \ -o \( -type f \ -%if 0%{?usrmerged} +%if %{usrmerged} ! -path '*/symtypes*' ! -path '*/vmlinu*' \ %endif \) -printf '/%%p\n' @@ -1212,7 +1968,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files %if 0%{?sle_version} > 150300 modprobe_d_dir=/lib/modprobe.d %endif - %if 0%{?usrmerged} + %if %{usrmerged} modprobe_d_dir=/usr/lib/modprobe.d %endif @@ -1246,759 +2002,4 @@ fi # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%files -f kernel-main.files - -%if "%CONFIG_MODULES" == "y" && %split_base -%package base -Summary: A Debug Version of the Kernel - base modules -Group: System/Kernel -Url: http://www.kernel.org/ -Provides: kernel-base = %version-%source_rel -Provides: multiversion(kernel) -Conflicts: %name = %version-%source_rel -Requires(pre): suse-kernel-rpm-scriptlets -Requires(post): suse-kernel-rpm-scriptlets -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 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 -# This Requires is wrong, because the post/postun scripts have a -# test -x update-bootloader, having perl-Bootloader is not a hard requirement. -# But, there is no way to tell rpm or yast to schedule the installation -# of perl-Bootloader before kernel-binary.rpm if both are in the list of -# packages to install/update. Likewise, this is true for dracut. -# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry -Requires(post): perl-Bootloader >= 0.4.15 -Requires(post): dracut -# Install the package providing /etc/SuSE-release early enough, so that -# the grub entry has correct title (bnc#757565) -Requires(post): distribution-release - -%if 0%{?usrmerged} -# make sure we have a post-usrmerge system -Conflicts: filesystem < 16 -%endif - -Obsoletes: microcode_ctl < 1.18 - -%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') - if not fd then io.stderr:write(err) end - unpack = table.unpack or unpack - for l in fd:lines() do - if #l > 0 and l:sub(1,1) ~= '#' then - words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end - package, version = unpack(words) - print('Conflicts: ' .. package .. ' < '.. version .. '\n') - end - end - fd:close() -} - -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-%git_commit -Provides: kernel-srchash-%git_commit - -%obsolete_rebuilds %name-base -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif - -%description base -This kernel has several debug facilities enabled that hurt performance. -Only use this kernel when investigating problems. - -This package contains only the base modules, required in all installs. - - -%source_timestamp -%pre base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files base -f kernel-base.files -%endif - -%package extra -Summary: A Debug Version of the Kernel - Unsupported kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-extra_%_target_cpu = %version-%source_rel -Provides: kernel-extra = %version-%source_rel -Provides: multiversion(kernel) -Requires: %{name}_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-extra -Supplements: packageand(product(SLED):%{name}_%_target_cpu) -Supplements: packageand(product(sle-we):%{name}_%_target_cpu) -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-extra = %version-%release -Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel -%endif -%endif - -%description extra -This kernel has several debug facilities enabled that hurt performance. -Only use this kernel when investigating problems. - -This package contains additional modules not supported by SUSE. - - -%source_timestamp - -%pre extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%if %split_extra - -%files extra -f kernel-extra.files -%endif - -%if %split_extra && %split_optional -%package optional -Summary: A Debug Version of the Kernel - Optional kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-optional_%_target_cpu = %version-%source_rel -Provides: kernel-optional = %version-%source_rel -Provides: multiversion(kernel) -Requires: %name-extra_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-optional -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-optional = %version-%release -Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel -%endif -%endif - -%description optional -This kernel has several debug facilities enabled that hurt performance. -Only use this kernel when investigating problems. - -This package contains optional modules only for openSUSE Leap. - - -%source_timestamp - -%pre optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files optional -f kernel-optional.files -%endif - -%if "%CONFIG_KMSG_IDS" == "y" - -%package man -Summary: The collection of man pages generated by the kmsg script -Group: System/Kernel - -%description man -This package includes the man pages that have been generated from the -kmsg message documentation comments. - - -%source_timestamp -%files man -/usr/share/man/man9/* -%endif - -%if 0%{?separate_vdso} -%package vdso -Summary: vdso binaries for debugging purposes -Group: System/Kernel - -%description vdso -This package includes the vdso binaries. They can be used for debugging. The -actual binary linked to the programs is loaded from the in-memory image, not -from this package. - - -%source_timestamp -%files vdso -/%{?usrmerged:usr/}lib/modules/%kernelrelease-%build_flavor/vdso/ -%endif - -%package devel -Summary: Development files necessary for building kernel modules -Group: Development/Sources -Provides: %name-devel = %version-%source_rel -Provides: multiversion(kernel) -%if ! %build_vanilla && ! %vanilla_only -Requires: kernel-devel%variant = %version-%source_rel -Recommends: make -Recommends: gcc -Recommends: perl -# for objtool -Requires: libelf-devel -Supplements: packageand(%name:kernel-devel%variant) -%else -Requires: kernel-source-vanilla = %version-%source_rel -Supplements: packageand(%name:kernel-source-vanilla) -%endif -%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" -Requires: dwarves >= 1.22 -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-devel = %version-%release -%endif -%endif -%obsolete_rebuilds %name-devel -PreReq: coreutils - -%description devel -This package contains files necessary for building kernel modules (and -kernel module packages) against the %build_flavor flavor of the kernel. - - -%source_timestamp - -%if "%CONFIG_MODULES" == "y" - -%pre devel - -# handle update from an older kernel-source with linux-obj as symlink -if [ -h /usr/src/linux-obj ]; then - rm -vf /usr/src/linux-obj -fi - -%post devel -%relink_function - -relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" - -%files devel -f kernel-devel.files -%dir /usr/src/linux-obj -%dir /usr/src/linux-obj/%cpu_arch -%ghost /usr/src/linux-obj/%cpu_arch_flavor -%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list -%if "%kmp_target_cpu" != "%cpu_arch" -%obj_install_dir/%kmp_target_cpu -/usr/src/linux-obj/%kmp_target_cpu -%endif - -%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) -%if "%livepatch" == "kgraft" -%define patch_package %{livepatch}-patch -%else -%define patch_package kernel-%{livepatch} -%endif -%package %{livepatch} -Summary: Metapackage to pull in matching %patch_package package -Group: System/Kernel -Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} -Provides: multiversion(kernel) -%if "%variant" != "-rt" -Provides: kernel-default-kgraft = %version -Provides: kernel-xen-kgraft = %version -%if "%livepatch" != "kgraft" -Obsoletes: kernel-default-kgraft < %version -Obsoletes: kernel-xen-kgraft < %version -%endif -%endif - -%description %{livepatch} -This is a metapackage that pulls in the matching %patch_package package for a -given kernel version. The advantage of the metapackage is that its name is -static, unlike the %{patch_package}--flavor package names. - -%files %{livepatch} -# rpmlint complains about empty packages, so lets own something -%dir %modules_dir -%endif - -%if 0%{?klp_symbols} && "%livepatch" != "" -%package %{livepatch}-devel -Summary: Kernel symbols file used during kGraft patch development -Group: System/Kernel -Provides: klp-symbols = %version - -%description %{livepatch}-devel -This package brings a file named Symbols.list, which contains a list of all -kernel symbols and its respective kernel object . This list is to be used by -the klp-convert tool, which helps livepatch developers by enabling automatic -symbol resolution. - -%files %{livepatch}-devel -f livepatch-files -%endif - -%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" -%package -n cluster-md-kmp-%build_flavor -Summary: Clustering support for MD devices -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: cluster-md-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: cluster-md-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:cluster-md-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n cluster-md-kmp-%build_flavor -Clustering support for MD devices. This enables locking and -synchronization across multiple systems on the cluster, so all -nodes in the cluster can access the MD devices simultaneously. - -%pre -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files - -%package -n dlm-kmp-%build_flavor -Summary: DLM kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: dlm-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: dlm-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:dlm-kmp-%build_flavor) - -%description -n dlm-kmp-%build_flavor -DLM stands for Distributed Lock Manager, a means to synchronize access to -shared resources over the cluster. - -%pre -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n dlm-kmp-%build_flavor -f dlm-kmp.files - -%package -n gfs2-kmp-%build_flavor -Summary: GFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: gfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: gfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:gfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n gfs2-kmp-%build_flavor -GFS2 is Global Filesystem, a shared device filesystem. - -%pre -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files - -%package -n kselftests-kmp-%build_flavor -Summary: Kernel sefltests -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: kselftests-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kselftests-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:kselftests-kmp-%build_flavor) - -%description -n kselftests-kmp-%build_flavor -This package contains kernel modules which are part of the upstream kernel -selftest effort. kselftest is the name of the upstream kernel target to build -and run all selftests. You can also run each test individually from the -respective upstream tools/testing/selftests/ directory, this package is -intended to be used using individial upstream selftest scripts given only -select supported selftest drivers are enabled. - -It should always be possible to always run the latest linux-next version of the -selftest scripts and tests against any older kernel selftest driver. Certain -tests facilities may be backported onto older kernels to enable further -testing. - -Selftests also provide for a vehicle or proof of concept issues to be -reproduced, verified and corrected. - -Selftest drivers are intended to be supported only in testing and QA -environments, they are not intended to be run on production systems. - -%pre -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files - -%package -n ocfs2-kmp-%build_flavor -Summary: OCFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: ocfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: ocfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:ocfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n ocfs2-kmp-%build_flavor -OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices -accessible simultaneously from multiple nodes of a cluster. - -%pre -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files - -%package -n reiserfs-kmp-%build_flavor -Summary: Reiserfs kernel module -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: reiserfs-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: reiserfs-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:reiserfs-kmp-%build_flavor) - -%description -n reiserfs-kmp-%build_flavor -The reiserfs file system is no longer supported in SLE15. This package -provides the reiserfs module for the installation system. - -%pre -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files - -%endif # %CONFIG_SUSE_KERNEL_SUPPORTED -%endif # %CONFIG_MODULES - %changelog diff --git a/kernel-default.changes b/kernel-default.changes index d29016b..1ab76ec 100644 --- a/kernel-default.changes +++ b/kernel-default.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-default.spec b/kernel-default.spec index f140680..dabf402 100644 --- a/kernel-default.spec +++ b/kernel-default.spec @@ -19,7 +19,7 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %define compress_modules zstd %define compress_vmlinux xz @@ -29,96 +29,22 @@ %define split_base 0 %define split_optional 0 %define supported_modules_check 1 +%define build_flavor default %include %_sourcedir/kernel-spec-macros -%define build_flavor default -%define build_default ("%build_flavor" == "default") -%define build_vanilla ("%build_flavor" == "vanilla") -%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} - -%if ! %build_vanilla -%define src_install_dir /usr/src/linux-%kernelrelease%variant -%else -%define src_install_dir /usr/src/linux-%kernelrelease-vanilla -%endif -%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj -%define rpm_install_dir %buildroot%obj_install_dir -%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj - -%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) - %define klp_symbols 1 -%endif - %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) -%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) -%define cpu_arch_flavor %cpu_arch/%build_flavor - -%global certs %( for f in %_sourcedir/*.crt; do \ - if ! test -e "$f"; then \ - continue \ - fi \ - h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ - if [ -z "$h" ] ; then \ - echo Cannot parse "$f" >&2 \ - confinue \ - fi \ - cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ - echo Found signing certificate "$f" "($cert)" >&2 \ - cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ - mkdir -p %_sourcedir/.kernel_signing_certs \ - openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ - echo -n "$cert" "" \ -done ) - -%ifarch %ix86 x86_64 -%define image vmlinuz -%endif -%ifarch ppc ppc64 ppc64le -%define image vmlinux -%endif -%ifarch s390 s390x -%define image image -%endif -%ifarch %arm -%define image zImage -%endif -%ifarch aarch64 riscv64 -%define image Image -%endif - -# Define some CONFIG variables as rpm macros as well. (rpm cannot handle -# defining them all at once.) -%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC -%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} -%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") - -%if "%CONFIG_MODULES" != "y" - %define klp_symbols 0 -%endif - -%ifarch %ix86 x86_64 -%define install_vdso 1 -%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 -%define separate_vdso 1 -%endif -%else -%define install_vdso 0 -%endif - -%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor - Name: kernel-default -Summary: The Standard Kernel -License: GPL-2.0-only -Group: System/Kernel Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif +Summary: The Standard Kernel +License: GPL-2.0-only +Group: System/Kernel URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh @@ -159,6 +85,85 @@ BuildRequires: u-boot-tools # Remove some packages that are installed automatically by the build system, # but are not needed to build the kernel #!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: aarch64 ppc64le s390x x86_64 +%else +ExclusiveArch: do_not_build +%endif + +%ifarch %ix86 x86_64 +%define image vmlinuz +%endif +%ifarch ppc ppc64 ppc64le +%define image vmlinux +%endif +%ifarch s390 s390x +%define image image +%endif +%ifarch %arm +%define image zImage +%endif +%ifarch aarch64 riscv64 +%define image Image +%endif + +%ifarch %ix86 x86_64 +%define install_vdso 1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define separate_vdso 1 +%endif +%else +%define install_vdso 0 +%endif + +%define build_default ("%build_flavor" == "default") +%define build_vanilla ("%build_flavor" == "vanilla") +%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} + +%if ! %build_vanilla +%define src_install_dir /usr/src/linux-%kernelrelease%variant +%else +%define src_install_dir /usr/src/linux-%kernelrelease-vanilla +%endif +%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj +%define rpm_install_dir %buildroot%obj_install_dir +%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj +%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor + +%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) +%define cpu_arch_flavor %cpu_arch/%build_flavor + +%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) + %define klp_symbols 1 +%endif + +# Define some CONFIG variables as rpm macros as well. (rpm cannot handle +# defining them all at once.) +%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC +%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} +%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") + +%if "%CONFIG_MODULES" != "y" + %define klp_symbols 0 +%endif + +%global certs %( space="" ; for f in %_sourcedir/*.crt; do \ + if ! test -e "$f"; then \ + continue \ + fi \ + h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ + if [ -z "$h" ] ; then \ + echo Cannot parse "$f" >&2 \ + confinue \ + fi \ + cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ + echo Found signing certificate "$f" "($cert)" >&2 \ + cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ + mkdir -p %_sourcedir/.kernel_signing_certs \ + openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ + echo -n "$space$cert" ; space=" " \ +done ) + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc Source14: series.conf @@ -298,18 +303,13 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 -%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} -ExclusiveArch: aarch64 ppc64le s390x x86_64 -%else -ExclusiveArch: do_not_build -%endif + %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 %if ! %build_default BuildArch: i686 %endif %endif - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -367,7 +367,7 @@ Requires(post): dracut # the grub entry has correct title (bnc#757565) Requires(post): distribution-release -%if 0%{?usrmerged} +%if %{usrmerged} # make sure we have a post-usrmerge system Conflicts: filesystem < 16 %endif @@ -464,6 +464,823 @@ The standard kernel for both uniprocessor and multiprocessor systems. %source_timestamp + +%pre +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%post +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%preun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%postun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%posttrans +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%files -f kernel-main.files + +%if "%CONFIG_MODULES" == "y" && %split_base +%package base +Summary: The Standard Kernel - base modules +Group: System/Kernel +Url: http://www.kernel.org/ +Provides: kernel-base = %version-%source_rel +Provides: multiversion(kernel) +Conflicts: %name = %version-%source_rel +Requires(pre): suse-kernel-rpm-scriptlets +Requires(post): suse-kernel-rpm-scriptlets +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 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 +# This Requires is wrong, because the post/postun scripts have a +# test -x update-bootloader, having perl-Bootloader is not a hard requirement. +# But, there is no way to tell rpm or yast to schedule the installation +# of perl-Bootloader before kernel-binary.rpm if both are in the list of +# packages to install/update. Likewise, this is true for dracut. +# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry +Requires(post): perl-Bootloader >= 0.4.15 +Requires(post): dracut +# Install the package providing /etc/SuSE-release early enough, so that +# the grub entry has correct title (bnc#757565) +Requires(post): distribution-release + +%if %{usrmerged} +# make sure we have a post-usrmerge system +Conflicts: filesystem < 16 +%endif + +Obsoletes: microcode_ctl < 1.18 + +%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') + if not fd then io.stderr:write(err) end + unpack = table.unpack or unpack + for l in fd:lines() do + if #l > 0 and l:sub(1,1) ~= '#' then + words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end + package, version = unpack(words) + print('Conflicts: ' .. package .. ' < '.. version .. '\n') + end + end + fd:close() +} + +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +Provides: kernel = %version-%source_rel +Provides: kernel-%build_flavor-base-srchash-%git_commit +Provides: kernel-srchash-%git_commit + +%ifarch s390x +Provides: kernel-trace-base = 3.13 +Obsoletes: kernel-trace-base <= 3.13 +%endif +%ifarch x86_64 +Provides: kernel-trace-base = 3.13 +Obsoletes: kernel-trace-base <= 3.13 +Provides: kernel-bigsmp-base = 3.1 +Obsoletes: kernel-bigsmp-base <= 3.1 +Provides: kernel-desktop-base = 4.3 +Obsoletes: kernel-desktop-base <= 4.3 +Provides: kernel-xen-base = 4.4 +Obsoletes: kernel-xen-base <= 4.4 +Provides: kernel-ec2-base = 4.4 +Obsoletes: kernel-ec2-base <= 4.4 +%endif +%obsolete_rebuilds %name-base +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif + +%description base +The standard kernel for both uniprocessor and multiprocessor systems. + +This package contains only the base modules, required in all installs. + + +%source_timestamp +%pre base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files base -f kernel-base.files +%endif + +%package extra +Summary: The Standard Kernel - Unsupported kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-extra_%_target_cpu = %version-%source_rel +Provides: kernel-extra = %version-%source_rel +Provides: multiversion(kernel) +Requires: %{name}_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%ifarch s390x +Provides: kernel-trace-extra = 3.13 +Obsoletes: kernel-trace-extra <= 3.13 +%endif +%ifarch x86_64 +Provides: kernel-trace-extra = 3.13 +Obsoletes: kernel-trace-extra <= 3.13 +Provides: kernel-bigsmp-extra = 3.1 +Obsoletes: kernel-bigsmp-extra <= 3.1 +Provides: kernel-desktop-extra = 4.3 +Obsoletes: kernel-desktop-extra <= 4.3 +Provides: kernel-xen-extra = 4.4 +Obsoletes: kernel-xen-extra <= 4.4 +Provides: kernel-ec2-extra = 4.4 +Obsoletes: kernel-ec2-extra <= 4.4 +%endif +%obsolete_rebuilds %name-extra +Supplements: packageand(product(SLED):%{name}_%_target_cpu) +Supplements: packageand(product(sle-we):%{name}_%_target_cpu) +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-extra = %version-%release +Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel +%endif +%endif + +%description extra +The standard kernel for both uniprocessor and multiprocessor systems. + +This package contains additional modules not supported by SUSE. + + +%source_timestamp + +%pre extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%if %split_extra + +%files extra -f kernel-extra.files +%endif + +%if %split_extra && %split_optional +%package optional +Summary: The Standard Kernel - Optional kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-optional_%_target_cpu = %version-%source_rel +Provides: kernel-optional = %version-%source_rel +Provides: multiversion(kernel) +Requires: %name-extra_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%ifarch s390x +Provides: kernel-trace-optional = 3.13 +Obsoletes: kernel-trace-optional <= 3.13 +%endif +%ifarch x86_64 +Provides: kernel-trace-optional = 3.13 +Obsoletes: kernel-trace-optional <= 3.13 +Provides: kernel-bigsmp-optional = 3.1 +Obsoletes: kernel-bigsmp-optional <= 3.1 +Provides: kernel-desktop-optional = 4.3 +Obsoletes: kernel-desktop-optional <= 4.3 +Provides: kernel-xen-optional = 4.4 +Obsoletes: kernel-xen-optional <= 4.4 +Provides: kernel-ec2-optional = 4.4 +Obsoletes: kernel-ec2-optional <= 4.4 +%endif +%obsolete_rebuilds %name-optional +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-optional = %version-%release +Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel +%endif +%endif + +%description optional +The standard kernel for both uniprocessor and multiprocessor systems. + +This package contains optional modules only for openSUSE Leap. + + +%source_timestamp + +%pre optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files optional -f kernel-optional.files +%endif + +%if "%CONFIG_KMSG_IDS" == "y" + +%package man +Summary: The collection of man pages generated by the kmsg script +Group: System/Kernel + +%description man +This package includes the man pages that have been generated from the +kmsg message documentation comments. + + +%source_timestamp +%files man +/usr/share/man/man9/* +%endif + +%if 0%{?separate_vdso} +%package vdso +Summary: vdso binaries for debugging purposes +Group: System/Kernel + +%description vdso +This package includes the vdso binaries. They can be used for debugging. The +actual binary linked to the programs is loaded from the in-memory image, not +from this package. + + +%source_timestamp +%files vdso +%modules_dir/vdso/ +%endif + +%package devel +Summary: Development files necessary for building kernel modules +Group: Development/Sources +Provides: %name-devel = %version-%source_rel +Provides: multiversion(kernel) +%if ! %build_vanilla && ! %vanilla_only +Requires: kernel-devel%variant = %version-%source_rel +Recommends: make +Recommends: gcc +Recommends: perl +# for objtool +Requires: libelf-devel +Supplements: packageand(%name:kernel-devel%variant) +%else +Requires: kernel-source-vanilla = %version-%source_rel +Supplements: packageand(%name:kernel-source-vanilla) +%endif +%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" +Requires: dwarves >= 1.22 +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-devel = %version-%release +%endif +%endif +%ifarch s390x +Provides: kernel-trace-devel = 3.13 +Obsoletes: kernel-trace-devel <= 3.13 +%endif +%ifarch x86_64 +Provides: kernel-trace-devel = 3.13 +Obsoletes: kernel-trace-devel <= 3.13 +Provides: kernel-bigsmp-devel = 3.1 +Obsoletes: kernel-bigsmp-devel <= 3.1 +Provides: kernel-desktop-devel = 4.3 +Obsoletes: kernel-desktop-devel <= 4.3 +Provides: kernel-xen-devel = 4.4 +Obsoletes: kernel-xen-devel <= 4.4 +Provides: kernel-ec2-devel = 4.4 +Obsoletes: kernel-ec2-devel <= 4.4 +%endif +%obsolete_rebuilds %name-devel +PreReq: coreutils + +%description devel +This package contains files necessary for building kernel modules (and +kernel module packages) against the %build_flavor flavor of the kernel. + + +%source_timestamp + +%if "%CONFIG_MODULES" == "y" + +%pre devel + +# handle update from an older kernel-source with linux-obj as symlink +if [ -h /usr/src/linux-obj ]; then + rm -vf /usr/src/linux-obj +fi + +%post devel +%relink_function + +relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" + +%files devel -f kernel-devel.files +%dir /usr/src/linux-obj +%dir /usr/src/linux-obj/%cpu_arch +%ghost /usr/src/linux-obj/%cpu_arch_flavor +%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list +%if "%kmp_target_cpu" != "%cpu_arch" +%obj_install_dir/%kmp_target_cpu +/usr/src/linux-obj/%kmp_target_cpu +%endif + +%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) +%if "%livepatch" == "kgraft" +%define patch_package %{livepatch}-patch +%else +%define patch_package kernel-%{livepatch} +%endif +%package %{livepatch} +Summary: Metapackage to pull in matching %patch_package package +Group: System/Kernel +Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} +Provides: multiversion(kernel) +%if "%variant" != "-rt" +Provides: kernel-default-kgraft = %version +Provides: kernel-xen-kgraft = %version +%if "%livepatch" != "kgraft" +Obsoletes: kernel-default-kgraft < %version +Obsoletes: kernel-xen-kgraft < %version +%endif +%endif + +%description %{livepatch} +This is a metapackage that pulls in the matching %patch_package package for a +given kernel version. The advantage of the metapackage is that its name is +static, unlike the %{patch_package}--flavor package names. + +%files %{livepatch} +# rpmlint complains about empty packages, so lets own something +%dir %modules_dir +%endif + +%if 0%{?klp_symbols} && "%livepatch" != "" +%package %{livepatch}-devel +Summary: Kernel symbols file used during kGraft patch development +Group: System/Kernel +Provides: klp-symbols = %version + +%description %{livepatch}-devel +This package brings a file named Symbols.list, which contains a list of all +kernel symbols and its respective kernel object . This list is to be used by +the klp-convert tool, which helps livepatch developers by enabling automatic +symbol resolution. + +%files %{livepatch}-devel -f livepatch-files +%endif + +%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" +%package -n cluster-md-kmp-%build_flavor +Summary: Clustering support for MD devices +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: cluster-md-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: cluster-md-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:cluster-md-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n cluster-md-kmp-%build_flavor +Clustering support for MD devices. This enables locking and +synchronization across multiple systems on the cluster, so all +nodes in the cluster can access the MD devices simultaneously. + +%pre -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files + +%package -n dlm-kmp-%build_flavor +Summary: DLM kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: dlm-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: dlm-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:dlm-kmp-%build_flavor) + +%description -n dlm-kmp-%build_flavor +DLM stands for Distributed Lock Manager, a means to synchronize access to +shared resources over the cluster. + +%pre -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n dlm-kmp-%build_flavor -f dlm-kmp.files + +%package -n gfs2-kmp-%build_flavor +Summary: GFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: gfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: gfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:gfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n gfs2-kmp-%build_flavor +GFS2 is Global Filesystem, a shared device filesystem. + +%pre -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files + +%package -n kselftests-kmp-%build_flavor +Summary: Kernel sefltests +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: kselftests-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kselftests-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:kselftests-kmp-%build_flavor) + +%description -n kselftests-kmp-%build_flavor +This package contains kernel modules which are part of the upstream kernel +selftest effort. kselftest is the name of the upstream kernel target to build +and run all selftests. You can also run each test individually from the +respective upstream tools/testing/selftests/ directory, this package is +intended to be used using individial upstream selftest scripts given only +select supported selftest drivers are enabled. + +It should always be possible to always run the latest linux-next version of the +selftest scripts and tests against any older kernel selftest driver. Certain +tests facilities may be backported onto older kernels to enable further +testing. + +Selftests also provide for a vehicle or proof of concept issues to be +reproduced, verified and corrected. + +Selftest drivers are intended to be supported only in testing and QA +environments, they are not intended to be run on production systems. + +%pre -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files + +%package -n ocfs2-kmp-%build_flavor +Summary: OCFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: ocfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: ocfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:ocfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n ocfs2-kmp-%build_flavor +OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices +accessible simultaneously from multiple nodes of a cluster. + +%pre -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files + +%package -n reiserfs-kmp-%build_flavor +Summary: Reiserfs kernel module +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: reiserfs-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: reiserfs-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:reiserfs-kmp-%build_flavor) + +%description -n reiserfs-kmp-%build_flavor +The reiserfs file system is no longer supported in SLE15. This package +provides the reiserfs module for the installation system. + +%pre -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files + +%endif # %CONFIG_SUSE_KERNEL_SUPPORTED +%endif # %CONFIG_MODULES + %prep if ! [ -e %{S:0} ]; then echo "The %name-%version.nosrc.rpm package does not contain the" \ @@ -824,7 +1641,7 @@ add_vmlinux() # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if "%CONFIG_EFI_STUB" == "y" -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -832,7 +1649,7 @@ BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" %endif %if ! %sb_efi_only %ifarch s390x ppc64 ppc64le -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -1104,7 +1921,7 @@ if [ -f %my_builddir/livepatch-files.no_dir ] ; then fi # does not exist for non-modularized kernels -%if 0%{?usrmerged} +%if %{usrmerged} mkdir -p %{buildroot}%modules_dir %endif shopt -s nullglob dotglob @@ -1114,7 +1931,7 @@ shopt -s nullglob dotglob echo "%modules_dir/source" cd %buildroot for file in boot/symtypes*; do -%if 0%{?usrmerged} +%if %{usrmerged} l="${file##*/}" l="%modules_dir/${l//-%kernelrelease-%build_flavor}" mv "$file" "%{buildroot}$l" @@ -1159,19 +1976,19 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files echo -n "%%ghost " fi ;; -%if 0%{?usrmerged} +%if %{usrmerged} boot/vmlinuz-*) echo -n "%%attr(0644, root, root) " ;; %endif boot/symtypes*) -%if 0%{?usrmerged} +%if %{usrmerged} echo "%exclude $l" %endif continue ;; esac -%if 0%{?usrmerged} +%if %{usrmerged} mv "$f" "./$l" ln -s "..$l" $f # the find in the CONFIG_MODULES condition below also finds the files @@ -1195,7 +2012,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \ -o -name '*.ko' -prune \ -o \( -type f \ -%if 0%{?usrmerged} +%if %{usrmerged} ! -path '*/symtypes*' ! -path '*/vmlinu*' \ %endif \) -printf '/%%p\n' @@ -1243,7 +2060,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files %if 0%{?sle_version} > 150300 modprobe_d_dir=/lib/modprobe.d %endif - %if 0%{?usrmerged} + %if %{usrmerged} modprobe_d_dir=/usr/lib/modprobe.d %endif @@ -1277,820 +2094,4 @@ fi # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%files -f kernel-main.files - -%if "%CONFIG_MODULES" == "y" && %split_base -%package base -Summary: The Standard Kernel - base modules -Group: System/Kernel -Url: http://www.kernel.org/ -Provides: kernel-base = %version-%source_rel -Provides: multiversion(kernel) -Conflicts: %name = %version-%source_rel -Requires(pre): suse-kernel-rpm-scriptlets -Requires(post): suse-kernel-rpm-scriptlets -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 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 -# This Requires is wrong, because the post/postun scripts have a -# test -x update-bootloader, having perl-Bootloader is not a hard requirement. -# But, there is no way to tell rpm or yast to schedule the installation -# of perl-Bootloader before kernel-binary.rpm if both are in the list of -# packages to install/update. Likewise, this is true for dracut. -# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry -Requires(post): perl-Bootloader >= 0.4.15 -Requires(post): dracut -# Install the package providing /etc/SuSE-release early enough, so that -# the grub entry has correct title (bnc#757565) -Requires(post): distribution-release - -%if 0%{?usrmerged} -# make sure we have a post-usrmerge system -Conflicts: filesystem < 16 -%endif - -Obsoletes: microcode_ctl < 1.18 - -%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') - if not fd then io.stderr:write(err) end - unpack = table.unpack or unpack - for l in fd:lines() do - if #l > 0 and l:sub(1,1) ~= '#' then - words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end - package, version = unpack(words) - print('Conflicts: ' .. package .. ' < '.. version .. '\n') - end - end - fd:close() -} - -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-%git_commit -Provides: kernel-srchash-%git_commit - -%ifarch s390x -Provides: kernel-trace-base = 3.13 -Obsoletes: kernel-trace-base <= 3.13 -%endif -%ifarch x86_64 -Provides: kernel-trace-base = 3.13 -Obsoletes: kernel-trace-base <= 3.13 -Provides: kernel-bigsmp-base = 3.1 -Obsoletes: kernel-bigsmp-base <= 3.1 -Provides: kernel-desktop-base = 4.3 -Obsoletes: kernel-desktop-base <= 4.3 -Provides: kernel-xen-base = 4.4 -Obsoletes: kernel-xen-base <= 4.4 -Provides: kernel-ec2-base = 4.4 -Obsoletes: kernel-ec2-base <= 4.4 -%endif -%obsolete_rebuilds %name-base -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif - -%description base -The standard kernel for both uniprocessor and multiprocessor systems. - -This package contains only the base modules, required in all installs. - - -%source_timestamp -%pre base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files base -f kernel-base.files -%endif - -%package extra -Summary: The Standard Kernel - Unsupported kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-extra_%_target_cpu = %version-%source_rel -Provides: kernel-extra = %version-%source_rel -Provides: multiversion(kernel) -Requires: %{name}_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%ifarch s390x -Provides: kernel-trace-extra = 3.13 -Obsoletes: kernel-trace-extra <= 3.13 -%endif -%ifarch x86_64 -Provides: kernel-trace-extra = 3.13 -Obsoletes: kernel-trace-extra <= 3.13 -Provides: kernel-bigsmp-extra = 3.1 -Obsoletes: kernel-bigsmp-extra <= 3.1 -Provides: kernel-desktop-extra = 4.3 -Obsoletes: kernel-desktop-extra <= 4.3 -Provides: kernel-xen-extra = 4.4 -Obsoletes: kernel-xen-extra <= 4.4 -Provides: kernel-ec2-extra = 4.4 -Obsoletes: kernel-ec2-extra <= 4.4 -%endif -%obsolete_rebuilds %name-extra -Supplements: packageand(product(SLED):%{name}_%_target_cpu) -Supplements: packageand(product(sle-we):%{name}_%_target_cpu) -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-extra = %version-%release -Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel -%endif -%endif - -%description extra -The standard kernel for both uniprocessor and multiprocessor systems. - -This package contains additional modules not supported by SUSE. - - -%source_timestamp - -%pre extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%if %split_extra - -%files extra -f kernel-extra.files -%endif - -%if %split_extra && %split_optional -%package optional -Summary: The Standard Kernel - Optional kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-optional_%_target_cpu = %version-%source_rel -Provides: kernel-optional = %version-%source_rel -Provides: multiversion(kernel) -Requires: %name-extra_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%ifarch s390x -Provides: kernel-trace-optional = 3.13 -Obsoletes: kernel-trace-optional <= 3.13 -%endif -%ifarch x86_64 -Provides: kernel-trace-optional = 3.13 -Obsoletes: kernel-trace-optional <= 3.13 -Provides: kernel-bigsmp-optional = 3.1 -Obsoletes: kernel-bigsmp-optional <= 3.1 -Provides: kernel-desktop-optional = 4.3 -Obsoletes: kernel-desktop-optional <= 4.3 -Provides: kernel-xen-optional = 4.4 -Obsoletes: kernel-xen-optional <= 4.4 -Provides: kernel-ec2-optional = 4.4 -Obsoletes: kernel-ec2-optional <= 4.4 -%endif -%obsolete_rebuilds %name-optional -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-optional = %version-%release -Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel -%endif -%endif - -%description optional -The standard kernel for both uniprocessor and multiprocessor systems. - -This package contains optional modules only for openSUSE Leap. - - -%source_timestamp - -%pre optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files optional -f kernel-optional.files -%endif - -%if "%CONFIG_KMSG_IDS" == "y" - -%package man -Summary: The collection of man pages generated by the kmsg script -Group: System/Kernel - -%description man -This package includes the man pages that have been generated from the -kmsg message documentation comments. - - -%source_timestamp -%files man -/usr/share/man/man9/* -%endif - -%if 0%{?separate_vdso} -%package vdso -Summary: vdso binaries for debugging purposes -Group: System/Kernel - -%description vdso -This package includes the vdso binaries. They can be used for debugging. The -actual binary linked to the programs is loaded from the in-memory image, not -from this package. - - -%source_timestamp -%files vdso -/%{?usrmerged:usr/}lib/modules/%kernelrelease-%build_flavor/vdso/ -%endif - -%package devel -Summary: Development files necessary for building kernel modules -Group: Development/Sources -Provides: %name-devel = %version-%source_rel -Provides: multiversion(kernel) -%if ! %build_vanilla && ! %vanilla_only -Requires: kernel-devel%variant = %version-%source_rel -Recommends: make -Recommends: gcc -Recommends: perl -# for objtool -Requires: libelf-devel -Supplements: packageand(%name:kernel-devel%variant) -%else -Requires: kernel-source-vanilla = %version-%source_rel -Supplements: packageand(%name:kernel-source-vanilla) -%endif -%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" -Requires: dwarves >= 1.22 -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-devel = %version-%release -%endif -%endif -%ifarch s390x -Provides: kernel-trace-devel = 3.13 -Obsoletes: kernel-trace-devel <= 3.13 -%endif -%ifarch x86_64 -Provides: kernel-trace-devel = 3.13 -Obsoletes: kernel-trace-devel <= 3.13 -Provides: kernel-bigsmp-devel = 3.1 -Obsoletes: kernel-bigsmp-devel <= 3.1 -Provides: kernel-desktop-devel = 4.3 -Obsoletes: kernel-desktop-devel <= 4.3 -Provides: kernel-xen-devel = 4.4 -Obsoletes: kernel-xen-devel <= 4.4 -Provides: kernel-ec2-devel = 4.4 -Obsoletes: kernel-ec2-devel <= 4.4 -%endif -%obsolete_rebuilds %name-devel -PreReq: coreutils - -%description devel -This package contains files necessary for building kernel modules (and -kernel module packages) against the %build_flavor flavor of the kernel. - - -%source_timestamp - -%if "%CONFIG_MODULES" == "y" - -%pre devel - -# handle update from an older kernel-source with linux-obj as symlink -if [ -h /usr/src/linux-obj ]; then - rm -vf /usr/src/linux-obj -fi - -%post devel -%relink_function - -relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" - -%files devel -f kernel-devel.files -%dir /usr/src/linux-obj -%dir /usr/src/linux-obj/%cpu_arch -%ghost /usr/src/linux-obj/%cpu_arch_flavor -%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list -%if "%kmp_target_cpu" != "%cpu_arch" -%obj_install_dir/%kmp_target_cpu -/usr/src/linux-obj/%kmp_target_cpu -%endif - -%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) -%if "%livepatch" == "kgraft" -%define patch_package %{livepatch}-patch -%else -%define patch_package kernel-%{livepatch} -%endif -%package %{livepatch} -Summary: Metapackage to pull in matching %patch_package package -Group: System/Kernel -Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} -Provides: multiversion(kernel) -%if "%variant" != "-rt" -Provides: kernel-default-kgraft = %version -Provides: kernel-xen-kgraft = %version -%if "%livepatch" != "kgraft" -Obsoletes: kernel-default-kgraft < %version -Obsoletes: kernel-xen-kgraft < %version -%endif -%endif - -%description %{livepatch} -This is a metapackage that pulls in the matching %patch_package package for a -given kernel version. The advantage of the metapackage is that its name is -static, unlike the %{patch_package}--flavor package names. - -%files %{livepatch} -# rpmlint complains about empty packages, so lets own something -%dir %modules_dir -%endif - -%if 0%{?klp_symbols} && "%livepatch" != "" -%package %{livepatch}-devel -Summary: Kernel symbols file used during kGraft patch development -Group: System/Kernel -Provides: klp-symbols = %version - -%description %{livepatch}-devel -This package brings a file named Symbols.list, which contains a list of all -kernel symbols and its respective kernel object . This list is to be used by -the klp-convert tool, which helps livepatch developers by enabling automatic -symbol resolution. - -%files %{livepatch}-devel -f livepatch-files -%endif - -%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" -%package -n cluster-md-kmp-%build_flavor -Summary: Clustering support for MD devices -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: cluster-md-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: cluster-md-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:cluster-md-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n cluster-md-kmp-%build_flavor -Clustering support for MD devices. This enables locking and -synchronization across multiple systems on the cluster, so all -nodes in the cluster can access the MD devices simultaneously. - -%pre -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files - -%package -n dlm-kmp-%build_flavor -Summary: DLM kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: dlm-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: dlm-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:dlm-kmp-%build_flavor) - -%description -n dlm-kmp-%build_flavor -DLM stands for Distributed Lock Manager, a means to synchronize access to -shared resources over the cluster. - -%pre -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n dlm-kmp-%build_flavor -f dlm-kmp.files - -%package -n gfs2-kmp-%build_flavor -Summary: GFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: gfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: gfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:gfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n gfs2-kmp-%build_flavor -GFS2 is Global Filesystem, a shared device filesystem. - -%pre -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files - -%package -n kselftests-kmp-%build_flavor -Summary: Kernel sefltests -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: kselftests-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kselftests-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:kselftests-kmp-%build_flavor) - -%description -n kselftests-kmp-%build_flavor -This package contains kernel modules which are part of the upstream kernel -selftest effort. kselftest is the name of the upstream kernel target to build -and run all selftests. You can also run each test individually from the -respective upstream tools/testing/selftests/ directory, this package is -intended to be used using individial upstream selftest scripts given only -select supported selftest drivers are enabled. - -It should always be possible to always run the latest linux-next version of the -selftest scripts and tests against any older kernel selftest driver. Certain -tests facilities may be backported onto older kernels to enable further -testing. - -Selftests also provide for a vehicle or proof of concept issues to be -reproduced, verified and corrected. - -Selftest drivers are intended to be supported only in testing and QA -environments, they are not intended to be run on production systems. - -%pre -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files - -%package -n ocfs2-kmp-%build_flavor -Summary: OCFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: ocfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: ocfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:ocfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n ocfs2-kmp-%build_flavor -OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices -accessible simultaneously from multiple nodes of a cluster. - -%pre -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files - -%package -n reiserfs-kmp-%build_flavor -Summary: Reiserfs kernel module -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: reiserfs-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: reiserfs-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:reiserfs-kmp-%build_flavor) - -%description -n reiserfs-kmp-%build_flavor -The reiserfs file system is no longer supported in SLE15. This package -provides the reiserfs module for the installation system. - -%pre -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files - -%endif # %CONFIG_SUSE_KERNEL_SUPPORTED -%endif # %CONFIG_MODULES - %changelog diff --git a/kernel-docs.changes b/kernel-docs.changes index d29016b..1ab76ec 100644 --- a/kernel-docs.changes +++ b/kernel-docs.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-docs.spec b/kernel-docs.spec index 56ef418..790b8d6 100644 --- a/kernel-docs.spec +++ b/kernel-docs.spec @@ -18,7 +18,7 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %define build_html 1 %define build_pdf 0 @@ -28,15 +28,16 @@ %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) Name: kernel-docs -Summary: Kernel Documentation -License: GPL-2.0-only -Group: Documentation/Man Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif +Summary: Kernel Documentation +License: GPL-2.0-only +Group: Documentation/Man +URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh %endif @@ -83,9 +84,6 @@ BuildRequires: texlive-xetex BuildRequires: texlive-zapfding %endif %endif -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 @@ -230,12 +228,23 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 +Provides: %name = %version-%source_rel +Provides: %name-srchash-%git_commit %description A few basic documents from the current kernel sources. %source_timestamp +%files +%if 0%{?suse_version} && 0%{?suse_version} < 1500 +%doc COPYING +%else +%license COPYING +%endif +%doc CREDITS MAINTAINERS README +%doc old_changelog.txt + %if %build_pdf %package pdf Summary: Kernel Documentation (PDF) @@ -245,6 +254,11 @@ Group: Documentation/Other These are PDF documents built from the current kernel sources. %source_timestamp + +%files pdf +%dir %{_datadir}/doc/kernel +%docdir %{_datadir}/doc/kernel/pdf +%{_datadir}/doc/kernel/pdf %endif %if %build_html @@ -256,6 +270,11 @@ Group: Documentation/HTML These are HTML documents built from the current kernel sources. %source_timestamp + +%files html +%dir %{_datadir}/doc/kernel +%docdir %{_datadir}/doc/kernel/html +%{_datadir}/doc/kernel/html %endif %prep @@ -299,27 +318,4 @@ for i in pdf/Documentation/output/latex/*.pdf; do done %endif -%files -%if 0%{?suse_version} && 0%{?suse_version} < 1500 -%doc COPYING -%else -%license COPYING -%endif -%doc CREDITS MAINTAINERS README -%doc old_changelog.txt - -%if %build_pdf -%files pdf -%dir %{_datadir}/doc/kernel -%docdir %{_datadir}/doc/kernel/pdf -%{_datadir}/doc/kernel/pdf -%endif - -%if %build_html -%files html -%dir %{_datadir}/doc/kernel -%docdir %{_datadir}/doc/kernel/html -%{_datadir}/doc/kernel/html -%endif - %changelog diff --git a/kernel-docs.spec.in b/kernel-docs.spec.in index 7a32d2e..0ef9d84 100644 --- a/kernel-docs.spec.in +++ b/kernel-docs.spec.in @@ -28,15 +28,16 @@ %(chmod +x %_sourcedir/{@SCRIPTS@}) Name: kernel-docs@VARIANT@ -Summary: Kernel Documentation -License: GPL-2.0-only -Group: Documentation/Man Version: @RPMVERSION@ %if 0%{?is_kotd} Release: .g@COMMIT@ %else Release: @RELEASE@ %endif +Summary: Kernel Documentation +License: GPL-2.0-only +Group: Documentation/Man +URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh %endif @@ -83,21 +84,29 @@ BuildRequires: texlive-xetex BuildRequires: texlive-zapfding %endif %endif -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@ +Provides: %name = %version-%source_rel +Provides: %name-srchash-%git_commit %description A few basic documents from the current kernel sources. %source_timestamp +%files +%if 0%{?suse_version} && 0%{?suse_version} < 1500 +%doc COPYING +%else +%license COPYING +%endif +%doc CREDITS MAINTAINERS README +%doc old_changelog.txt + %if %build_pdf %package pdf Summary: Kernel Documentation (PDF) @@ -107,6 +116,11 @@ Group: Documentation/Other These are PDF documents built from the current kernel sources. %source_timestamp + +%files pdf +%dir %{_datadir}/doc/kernel +%docdir %{_datadir}/doc/kernel/pdf +%{_datadir}/doc/kernel/pdf %endif %if %build_html @@ -118,6 +132,11 @@ Group: Documentation/HTML These are HTML documents built from the current kernel sources. %source_timestamp + +%files html +%dir %{_datadir}/doc/kernel +%docdir %{_datadir}/doc/kernel/html +%{_datadir}/doc/kernel/html %endif %prep @@ -161,27 +180,4 @@ for i in pdf/Documentation/output/latex/*.pdf; do done %endif -%files -%if 0%{?suse_version} && 0%{?suse_version} < 1500 -%doc COPYING -%else -%license COPYING -%endif -%doc CREDITS MAINTAINERS README -%doc old_changelog.txt - -%if %build_pdf -%files pdf -%dir %{_datadir}/doc/kernel -%docdir %{_datadir}/doc/kernel/pdf -%{_datadir}/doc/kernel/pdf -%endif - -%if %build_html -%files html -%dir %{_datadir}/doc/kernel -%docdir %{_datadir}/doc/kernel/html -%{_datadir}/doc/kernel/html -%endif - %changelog diff --git a/kernel-kvmsmall.changes b/kernel-kvmsmall.changes index d29016b..1ab76ec 100644 --- a/kernel-kvmsmall.changes +++ b/kernel-kvmsmall.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-kvmsmall.spec b/kernel-kvmsmall.spec index 66881b4..99ce0cc 100644 --- a/kernel-kvmsmall.spec +++ b/kernel-kvmsmall.spec @@ -19,7 +19,7 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %define compress_modules zstd %define compress_vmlinux xz @@ -29,96 +29,22 @@ %define split_base 0 %define split_optional 0 %define supported_modules_check 1 +%define build_flavor kvmsmall %include %_sourcedir/kernel-spec-macros -%define build_flavor kvmsmall -%define build_default ("%build_flavor" == "default") -%define build_vanilla ("%build_flavor" == "vanilla") -%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} - -%if ! %build_vanilla -%define src_install_dir /usr/src/linux-%kernelrelease%variant -%else -%define src_install_dir /usr/src/linux-%kernelrelease-vanilla -%endif -%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj -%define rpm_install_dir %buildroot%obj_install_dir -%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj - -%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) - %define klp_symbols 1 -%endif - %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) -%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) -%define cpu_arch_flavor %cpu_arch/%build_flavor - -%global certs %( for f in %_sourcedir/*.crt; do \ - if ! test -e "$f"; then \ - continue \ - fi \ - h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ - if [ -z "$h" ] ; then \ - echo Cannot parse "$f" >&2 \ - confinue \ - fi \ - cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ - echo Found signing certificate "$f" "($cert)" >&2 \ - cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ - mkdir -p %_sourcedir/.kernel_signing_certs \ - openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ - echo -n "$cert" "" \ -done ) - -%ifarch %ix86 x86_64 -%define image vmlinuz -%endif -%ifarch ppc ppc64 ppc64le -%define image vmlinux -%endif -%ifarch s390 s390x -%define image image -%endif -%ifarch %arm -%define image zImage -%endif -%ifarch aarch64 riscv64 -%define image Image -%endif - -# Define some CONFIG variables as rpm macros as well. (rpm cannot handle -# defining them all at once.) -%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC -%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} -%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") - -%if "%CONFIG_MODULES" != "y" - %define klp_symbols 0 -%endif - -%ifarch %ix86 x86_64 -%define install_vdso 1 -%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 -%define separate_vdso 1 -%endif -%else -%define install_vdso 0 -%endif - -%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor - Name: kernel-kvmsmall -Summary: The Small Developer Kernel for KVM -License: GPL-2.0-only -Group: System/Kernel Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif +Summary: The Small Developer Kernel for KVM +License: GPL-2.0-only +Group: System/Kernel URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh @@ -159,6 +85,85 @@ BuildRequires: u-boot-tools # Remove some packages that are installed automatically by the build system, # but are not needed to build the kernel #!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: aarch64 ppc64le x86_64 +%else +ExclusiveArch: do_not_build +%endif + +%ifarch %ix86 x86_64 +%define image vmlinuz +%endif +%ifarch ppc ppc64 ppc64le +%define image vmlinux +%endif +%ifarch s390 s390x +%define image image +%endif +%ifarch %arm +%define image zImage +%endif +%ifarch aarch64 riscv64 +%define image Image +%endif + +%ifarch %ix86 x86_64 +%define install_vdso 1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define separate_vdso 1 +%endif +%else +%define install_vdso 0 +%endif + +%define build_default ("%build_flavor" == "default") +%define build_vanilla ("%build_flavor" == "vanilla") +%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} + +%if ! %build_vanilla +%define src_install_dir /usr/src/linux-%kernelrelease%variant +%else +%define src_install_dir /usr/src/linux-%kernelrelease-vanilla +%endif +%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj +%define rpm_install_dir %buildroot%obj_install_dir +%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj +%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor + +%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) +%define cpu_arch_flavor %cpu_arch/%build_flavor + +%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) + %define klp_symbols 1 +%endif + +# Define some CONFIG variables as rpm macros as well. (rpm cannot handle +# defining them all at once.) +%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC +%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} +%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") + +%if "%CONFIG_MODULES" != "y" + %define klp_symbols 0 +%endif + +%global certs %( space="" ; for f in %_sourcedir/*.crt; do \ + if ! test -e "$f"; then \ + continue \ + fi \ + h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ + if [ -z "$h" ] ; then \ + echo Cannot parse "$f" >&2 \ + confinue \ + fi \ + cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ + echo Found signing certificate "$f" "($cert)" >&2 \ + cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ + mkdir -p %_sourcedir/.kernel_signing_certs \ + openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ + echo -n "$space$cert" ; space=" " \ +done ) + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc Source14: series.conf @@ -298,18 +303,13 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 -%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} -ExclusiveArch: aarch64 ppc64le x86_64 -%else -ExclusiveArch: do_not_build -%endif + %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 %if ! %build_default BuildArch: i686 %endif %endif - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -367,7 +367,7 @@ Requires(post): dracut # the grub entry has correct title (bnc#757565) Requires(post): distribution-release -%if 0%{?usrmerged} +%if %{usrmerged} # make sure we have a post-usrmerge system Conflicts: filesystem < 16 %endif @@ -439,6 +439,780 @@ very quickly. The configuration may change arbitrarily between builds. %source_timestamp + +%pre +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%post +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%preun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%postun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%posttrans +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%files -f kernel-main.files + +%if "%CONFIG_MODULES" == "y" && %split_base +%package base +Summary: The Small Developer Kernel for KVM - base modules +Group: System/Kernel +Url: http://www.kernel.org/ +Provides: kernel-base = %version-%source_rel +Provides: multiversion(kernel) +Conflicts: %name = %version-%source_rel +Requires(pre): suse-kernel-rpm-scriptlets +Requires(post): suse-kernel-rpm-scriptlets +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 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 +# This Requires is wrong, because the post/postun scripts have a +# test -x update-bootloader, having perl-Bootloader is not a hard requirement. +# But, there is no way to tell rpm or yast to schedule the installation +# of perl-Bootloader before kernel-binary.rpm if both are in the list of +# packages to install/update. Likewise, this is true for dracut. +# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry +Requires(post): perl-Bootloader >= 0.4.15 +Requires(post): dracut +# Install the package providing /etc/SuSE-release early enough, so that +# the grub entry has correct title (bnc#757565) +Requires(post): distribution-release + +%if %{usrmerged} +# make sure we have a post-usrmerge system +Conflicts: filesystem < 16 +%endif + +Obsoletes: microcode_ctl < 1.18 + +%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') + if not fd then io.stderr:write(err) end + unpack = table.unpack or unpack + for l in fd:lines() do + if #l > 0 and l:sub(1,1) ~= '#' then + words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end + package, version = unpack(words) + print('Conflicts: ' .. package .. ' < '.. version .. '\n') + end + end + fd:close() +} + +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +Provides: kernel = %version-%source_rel +Provides: kernel-%build_flavor-base-srchash-%git_commit +Provides: kernel-srchash-%git_commit + +%obsolete_rebuilds %name-base +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif + +%description base +This kernel is intended for kernel developers to use in simple virtual +machines. It contains only the device drivers necessary to use a +KVM virtual machine *without* device passthrough enabled. Common +local and network file systems are enabled. All device mapper targets +are enabled. Only the network and graphics drivers for devices that qemu +emulates are enabled. Many subsystems enabled in the default kernel +are entirely disabled. This kernel is meant to be small and to build +very quickly. The configuration may change arbitrarily between builds. + +This package contains only the base modules, required in all installs. + + +%source_timestamp +%pre base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files base -f kernel-base.files +%endif + +%package extra +Summary: The Small Developer Kernel for KVM - Unsupported kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-extra_%_target_cpu = %version-%source_rel +Provides: kernel-extra = %version-%source_rel +Provides: multiversion(kernel) +Requires: %{name}_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-extra +Supplements: packageand(product(SLED):%{name}_%_target_cpu) +Supplements: packageand(product(sle-we):%{name}_%_target_cpu) +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-extra = %version-%release +Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel +%endif +%endif + +%description extra +This kernel is intended for kernel developers to use in simple virtual +machines. It contains only the device drivers necessary to use a +KVM virtual machine *without* device passthrough enabled. Common +local and network file systems are enabled. All device mapper targets +are enabled. Only the network and graphics drivers for devices that qemu +emulates are enabled. Many subsystems enabled in the default kernel +are entirely disabled. This kernel is meant to be small and to build +very quickly. The configuration may change arbitrarily between builds. + +This package contains additional modules not supported by SUSE. + + +%source_timestamp + +%pre extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%if %split_extra + +%files extra -f kernel-extra.files +%endif + +%if %split_extra && %split_optional +%package optional +Summary: The Small Developer Kernel for KVM - Optional kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-optional_%_target_cpu = %version-%source_rel +Provides: kernel-optional = %version-%source_rel +Provides: multiversion(kernel) +Requires: %name-extra_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-optional +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-optional = %version-%release +Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel +%endif +%endif + +%description optional +This kernel is intended for kernel developers to use in simple virtual +machines. It contains only the device drivers necessary to use a +KVM virtual machine *without* device passthrough enabled. Common +local and network file systems are enabled. All device mapper targets +are enabled. Only the network and graphics drivers for devices that qemu +emulates are enabled. Many subsystems enabled in the default kernel +are entirely disabled. This kernel is meant to be small and to build +very quickly. The configuration may change arbitrarily between builds. + +This package contains optional modules only for openSUSE Leap. + + +%source_timestamp + +%pre optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files optional -f kernel-optional.files +%endif + +%if "%CONFIG_KMSG_IDS" == "y" + +%package man +Summary: The collection of man pages generated by the kmsg script +Group: System/Kernel + +%description man +This package includes the man pages that have been generated from the +kmsg message documentation comments. + + +%source_timestamp +%files man +/usr/share/man/man9/* +%endif + +%if 0%{?separate_vdso} +%package vdso +Summary: vdso binaries for debugging purposes +Group: System/Kernel + +%description vdso +This package includes the vdso binaries. They can be used for debugging. The +actual binary linked to the programs is loaded from the in-memory image, not +from this package. + + +%source_timestamp +%files vdso +%modules_dir/vdso/ +%endif + +%package devel +Summary: Development files necessary for building kernel modules +Group: Development/Sources +Provides: %name-devel = %version-%source_rel +Provides: multiversion(kernel) +%if ! %build_vanilla && ! %vanilla_only +Requires: kernel-devel%variant = %version-%source_rel +Recommends: make +Recommends: gcc +Recommends: perl +# for objtool +Requires: libelf-devel +Supplements: packageand(%name:kernel-devel%variant) +%else +Requires: kernel-source-vanilla = %version-%source_rel +Supplements: packageand(%name:kernel-source-vanilla) +%endif +%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" +Requires: dwarves >= 1.22 +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-devel = %version-%release +%endif +%endif +%obsolete_rebuilds %name-devel +PreReq: coreutils + +%description devel +This package contains files necessary for building kernel modules (and +kernel module packages) against the %build_flavor flavor of the kernel. + + +%source_timestamp + +%if "%CONFIG_MODULES" == "y" + +%pre devel + +# handle update from an older kernel-source with linux-obj as symlink +if [ -h /usr/src/linux-obj ]; then + rm -vf /usr/src/linux-obj +fi + +%post devel +%relink_function + +relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" + +%files devel -f kernel-devel.files +%dir /usr/src/linux-obj +%dir /usr/src/linux-obj/%cpu_arch +%ghost /usr/src/linux-obj/%cpu_arch_flavor +%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list +%if "%kmp_target_cpu" != "%cpu_arch" +%obj_install_dir/%kmp_target_cpu +/usr/src/linux-obj/%kmp_target_cpu +%endif + +%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) +%if "%livepatch" == "kgraft" +%define patch_package %{livepatch}-patch +%else +%define patch_package kernel-%{livepatch} +%endif +%package %{livepatch} +Summary: Metapackage to pull in matching %patch_package package +Group: System/Kernel +Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} +Provides: multiversion(kernel) +%if "%variant" != "-rt" +Provides: kernel-default-kgraft = %version +Provides: kernel-xen-kgraft = %version +%if "%livepatch" != "kgraft" +Obsoletes: kernel-default-kgraft < %version +Obsoletes: kernel-xen-kgraft < %version +%endif +%endif + +%description %{livepatch} +This is a metapackage that pulls in the matching %patch_package package for a +given kernel version. The advantage of the metapackage is that its name is +static, unlike the %{patch_package}--flavor package names. + +%files %{livepatch} +# rpmlint complains about empty packages, so lets own something +%dir %modules_dir +%endif + +%if 0%{?klp_symbols} && "%livepatch" != "" +%package %{livepatch}-devel +Summary: Kernel symbols file used during kGraft patch development +Group: System/Kernel +Provides: klp-symbols = %version + +%description %{livepatch}-devel +This package brings a file named Symbols.list, which contains a list of all +kernel symbols and its respective kernel object . This list is to be used by +the klp-convert tool, which helps livepatch developers by enabling automatic +symbol resolution. + +%files %{livepatch}-devel -f livepatch-files +%endif + +%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" +%package -n cluster-md-kmp-%build_flavor +Summary: Clustering support for MD devices +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: cluster-md-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: cluster-md-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:cluster-md-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n cluster-md-kmp-%build_flavor +Clustering support for MD devices. This enables locking and +synchronization across multiple systems on the cluster, so all +nodes in the cluster can access the MD devices simultaneously. + +%pre -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files + +%package -n dlm-kmp-%build_flavor +Summary: DLM kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: dlm-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: dlm-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:dlm-kmp-%build_flavor) + +%description -n dlm-kmp-%build_flavor +DLM stands for Distributed Lock Manager, a means to synchronize access to +shared resources over the cluster. + +%pre -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n dlm-kmp-%build_flavor -f dlm-kmp.files + +%package -n gfs2-kmp-%build_flavor +Summary: GFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: gfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: gfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:gfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n gfs2-kmp-%build_flavor +GFS2 is Global Filesystem, a shared device filesystem. + +%pre -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files + +%package -n kselftests-kmp-%build_flavor +Summary: Kernel sefltests +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: kselftests-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kselftests-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:kselftests-kmp-%build_flavor) + +%description -n kselftests-kmp-%build_flavor +This package contains kernel modules which are part of the upstream kernel +selftest effort. kselftest is the name of the upstream kernel target to build +and run all selftests. You can also run each test individually from the +respective upstream tools/testing/selftests/ directory, this package is +intended to be used using individial upstream selftest scripts given only +select supported selftest drivers are enabled. + +It should always be possible to always run the latest linux-next version of the +selftest scripts and tests against any older kernel selftest driver. Certain +tests facilities may be backported onto older kernels to enable further +testing. + +Selftests also provide for a vehicle or proof of concept issues to be +reproduced, verified and corrected. + +Selftest drivers are intended to be supported only in testing and QA +environments, they are not intended to be run on production systems. + +%pre -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files + +%package -n ocfs2-kmp-%build_flavor +Summary: OCFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: ocfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: ocfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:ocfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n ocfs2-kmp-%build_flavor +OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices +accessible simultaneously from multiple nodes of a cluster. + +%pre -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files + +%package -n reiserfs-kmp-%build_flavor +Summary: Reiserfs kernel module +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: reiserfs-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: reiserfs-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:reiserfs-kmp-%build_flavor) + +%description -n reiserfs-kmp-%build_flavor +The reiserfs file system is no longer supported in SLE15. This package +provides the reiserfs module for the installation system. + +%pre -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files + +%endif # %CONFIG_SUSE_KERNEL_SUPPORTED +%endif # %CONFIG_MODULES + %prep if ! [ -e %{S:0} ]; then echo "The %name-%version.nosrc.rpm package does not contain the" \ @@ -799,7 +1573,7 @@ add_vmlinux() # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if "%CONFIG_EFI_STUB" == "y" -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -807,7 +1581,7 @@ BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" %endif %if ! %sb_efi_only %ifarch s390x ppc64 ppc64le -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -1079,7 +1853,7 @@ if [ -f %my_builddir/livepatch-files.no_dir ] ; then fi # does not exist for non-modularized kernels -%if 0%{?usrmerged} +%if %{usrmerged} mkdir -p %{buildroot}%modules_dir %endif shopt -s nullglob dotglob @@ -1089,7 +1863,7 @@ shopt -s nullglob dotglob echo "%modules_dir/source" cd %buildroot for file in boot/symtypes*; do -%if 0%{?usrmerged} +%if %{usrmerged} l="${file##*/}" l="%modules_dir/${l//-%kernelrelease-%build_flavor}" mv "$file" "%{buildroot}$l" @@ -1134,19 +1908,19 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files echo -n "%%ghost " fi ;; -%if 0%{?usrmerged} +%if %{usrmerged} boot/vmlinuz-*) echo -n "%%attr(0644, root, root) " ;; %endif boot/symtypes*) -%if 0%{?usrmerged} +%if %{usrmerged} echo "%exclude $l" %endif continue ;; esac -%if 0%{?usrmerged} +%if %{usrmerged} mv "$f" "./$l" ln -s "..$l" $f # the find in the CONFIG_MODULES condition below also finds the files @@ -1170,7 +1944,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \ -o -name '*.ko' -prune \ -o \( -type f \ -%if 0%{?usrmerged} +%if %{usrmerged} ! -path '*/symtypes*' ! -path '*/vmlinu*' \ %endif \) -printf '/%%p\n' @@ -1218,7 +1992,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files %if 0%{?sle_version} > 150300 modprobe_d_dir=/lib/modprobe.d %endif - %if 0%{?usrmerged} + %if %{usrmerged} modprobe_d_dir=/usr/lib/modprobe.d %endif @@ -1252,777 +2026,4 @@ fi # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%files -f kernel-main.files - -%if "%CONFIG_MODULES" == "y" && %split_base -%package base -Summary: The Small Developer Kernel for KVM - base modules -Group: System/Kernel -Url: http://www.kernel.org/ -Provides: kernel-base = %version-%source_rel -Provides: multiversion(kernel) -Conflicts: %name = %version-%source_rel -Requires(pre): suse-kernel-rpm-scriptlets -Requires(post): suse-kernel-rpm-scriptlets -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 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 -# This Requires is wrong, because the post/postun scripts have a -# test -x update-bootloader, having perl-Bootloader is not a hard requirement. -# But, there is no way to tell rpm or yast to schedule the installation -# of perl-Bootloader before kernel-binary.rpm if both are in the list of -# packages to install/update. Likewise, this is true for dracut. -# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry -Requires(post): perl-Bootloader >= 0.4.15 -Requires(post): dracut -# Install the package providing /etc/SuSE-release early enough, so that -# the grub entry has correct title (bnc#757565) -Requires(post): distribution-release - -%if 0%{?usrmerged} -# make sure we have a post-usrmerge system -Conflicts: filesystem < 16 -%endif - -Obsoletes: microcode_ctl < 1.18 - -%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') - if not fd then io.stderr:write(err) end - unpack = table.unpack or unpack - for l in fd:lines() do - if #l > 0 and l:sub(1,1) ~= '#' then - words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end - package, version = unpack(words) - print('Conflicts: ' .. package .. ' < '.. version .. '\n') - end - end - fd:close() -} - -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-%git_commit -Provides: kernel-srchash-%git_commit - -%obsolete_rebuilds %name-base -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif - -%description base -This kernel is intended for kernel developers to use in simple virtual -machines. It contains only the device drivers necessary to use a -KVM virtual machine *without* device passthrough enabled. Common -local and network file systems are enabled. All device mapper targets -are enabled. Only the network and graphics drivers for devices that qemu -emulates are enabled. Many subsystems enabled in the default kernel -are entirely disabled. This kernel is meant to be small and to build -very quickly. The configuration may change arbitrarily between builds. - -This package contains only the base modules, required in all installs. - - -%source_timestamp -%pre base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files base -f kernel-base.files -%endif - -%package extra -Summary: The Small Developer Kernel for KVM - Unsupported kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-extra_%_target_cpu = %version-%source_rel -Provides: kernel-extra = %version-%source_rel -Provides: multiversion(kernel) -Requires: %{name}_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-extra -Supplements: packageand(product(SLED):%{name}_%_target_cpu) -Supplements: packageand(product(sle-we):%{name}_%_target_cpu) -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-extra = %version-%release -Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel -%endif -%endif - -%description extra -This kernel is intended for kernel developers to use in simple virtual -machines. It contains only the device drivers necessary to use a -KVM virtual machine *without* device passthrough enabled. Common -local and network file systems are enabled. All device mapper targets -are enabled. Only the network and graphics drivers for devices that qemu -emulates are enabled. Many subsystems enabled in the default kernel -are entirely disabled. This kernel is meant to be small and to build -very quickly. The configuration may change arbitrarily between builds. - -This package contains additional modules not supported by SUSE. - - -%source_timestamp - -%pre extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%if %split_extra - -%files extra -f kernel-extra.files -%endif - -%if %split_extra && %split_optional -%package optional -Summary: The Small Developer Kernel for KVM - Optional kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-optional_%_target_cpu = %version-%source_rel -Provides: kernel-optional = %version-%source_rel -Provides: multiversion(kernel) -Requires: %name-extra_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-optional -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-optional = %version-%release -Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel -%endif -%endif - -%description optional -This kernel is intended for kernel developers to use in simple virtual -machines. It contains only the device drivers necessary to use a -KVM virtual machine *without* device passthrough enabled. Common -local and network file systems are enabled. All device mapper targets -are enabled. Only the network and graphics drivers for devices that qemu -emulates are enabled. Many subsystems enabled in the default kernel -are entirely disabled. This kernel is meant to be small and to build -very quickly. The configuration may change arbitrarily between builds. - -This package contains optional modules only for openSUSE Leap. - - -%source_timestamp - -%pre optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files optional -f kernel-optional.files -%endif - -%if "%CONFIG_KMSG_IDS" == "y" - -%package man -Summary: The collection of man pages generated by the kmsg script -Group: System/Kernel - -%description man -This package includes the man pages that have been generated from the -kmsg message documentation comments. - - -%source_timestamp -%files man -/usr/share/man/man9/* -%endif - -%if 0%{?separate_vdso} -%package vdso -Summary: vdso binaries for debugging purposes -Group: System/Kernel - -%description vdso -This package includes the vdso binaries. They can be used for debugging. The -actual binary linked to the programs is loaded from the in-memory image, not -from this package. - - -%source_timestamp -%files vdso -/%{?usrmerged:usr/}lib/modules/%kernelrelease-%build_flavor/vdso/ -%endif - -%package devel -Summary: Development files necessary for building kernel modules -Group: Development/Sources -Provides: %name-devel = %version-%source_rel -Provides: multiversion(kernel) -%if ! %build_vanilla && ! %vanilla_only -Requires: kernel-devel%variant = %version-%source_rel -Recommends: make -Recommends: gcc -Recommends: perl -# for objtool -Requires: libelf-devel -Supplements: packageand(%name:kernel-devel%variant) -%else -Requires: kernel-source-vanilla = %version-%source_rel -Supplements: packageand(%name:kernel-source-vanilla) -%endif -%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" -Requires: dwarves >= 1.22 -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-devel = %version-%release -%endif -%endif -%obsolete_rebuilds %name-devel -PreReq: coreutils - -%description devel -This package contains files necessary for building kernel modules (and -kernel module packages) against the %build_flavor flavor of the kernel. - - -%source_timestamp - -%if "%CONFIG_MODULES" == "y" - -%pre devel - -# handle update from an older kernel-source with linux-obj as symlink -if [ -h /usr/src/linux-obj ]; then - rm -vf /usr/src/linux-obj -fi - -%post devel -%relink_function - -relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" - -%files devel -f kernel-devel.files -%dir /usr/src/linux-obj -%dir /usr/src/linux-obj/%cpu_arch -%ghost /usr/src/linux-obj/%cpu_arch_flavor -%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list -%if "%kmp_target_cpu" != "%cpu_arch" -%obj_install_dir/%kmp_target_cpu -/usr/src/linux-obj/%kmp_target_cpu -%endif - -%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) -%if "%livepatch" == "kgraft" -%define patch_package %{livepatch}-patch -%else -%define patch_package kernel-%{livepatch} -%endif -%package %{livepatch} -Summary: Metapackage to pull in matching %patch_package package -Group: System/Kernel -Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} -Provides: multiversion(kernel) -%if "%variant" != "-rt" -Provides: kernel-default-kgraft = %version -Provides: kernel-xen-kgraft = %version -%if "%livepatch" != "kgraft" -Obsoletes: kernel-default-kgraft < %version -Obsoletes: kernel-xen-kgraft < %version -%endif -%endif - -%description %{livepatch} -This is a metapackage that pulls in the matching %patch_package package for a -given kernel version. The advantage of the metapackage is that its name is -static, unlike the %{patch_package}--flavor package names. - -%files %{livepatch} -# rpmlint complains about empty packages, so lets own something -%dir %modules_dir -%endif - -%if 0%{?klp_symbols} && "%livepatch" != "" -%package %{livepatch}-devel -Summary: Kernel symbols file used during kGraft patch development -Group: System/Kernel -Provides: klp-symbols = %version - -%description %{livepatch}-devel -This package brings a file named Symbols.list, which contains a list of all -kernel symbols and its respective kernel object . This list is to be used by -the klp-convert tool, which helps livepatch developers by enabling automatic -symbol resolution. - -%files %{livepatch}-devel -f livepatch-files -%endif - -%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" -%package -n cluster-md-kmp-%build_flavor -Summary: Clustering support for MD devices -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: cluster-md-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: cluster-md-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:cluster-md-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n cluster-md-kmp-%build_flavor -Clustering support for MD devices. This enables locking and -synchronization across multiple systems on the cluster, so all -nodes in the cluster can access the MD devices simultaneously. - -%pre -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files - -%package -n dlm-kmp-%build_flavor -Summary: DLM kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: dlm-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: dlm-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:dlm-kmp-%build_flavor) - -%description -n dlm-kmp-%build_flavor -DLM stands for Distributed Lock Manager, a means to synchronize access to -shared resources over the cluster. - -%pre -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n dlm-kmp-%build_flavor -f dlm-kmp.files - -%package -n gfs2-kmp-%build_flavor -Summary: GFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: gfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: gfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:gfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n gfs2-kmp-%build_flavor -GFS2 is Global Filesystem, a shared device filesystem. - -%pre -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files - -%package -n kselftests-kmp-%build_flavor -Summary: Kernel sefltests -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: kselftests-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kselftests-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:kselftests-kmp-%build_flavor) - -%description -n kselftests-kmp-%build_flavor -This package contains kernel modules which are part of the upstream kernel -selftest effort. kselftest is the name of the upstream kernel target to build -and run all selftests. You can also run each test individually from the -respective upstream tools/testing/selftests/ directory, this package is -intended to be used using individial upstream selftest scripts given only -select supported selftest drivers are enabled. - -It should always be possible to always run the latest linux-next version of the -selftest scripts and tests against any older kernel selftest driver. Certain -tests facilities may be backported onto older kernels to enable further -testing. - -Selftests also provide for a vehicle or proof of concept issues to be -reproduced, verified and corrected. - -Selftest drivers are intended to be supported only in testing and QA -environments, they are not intended to be run on production systems. - -%pre -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files - -%package -n ocfs2-kmp-%build_flavor -Summary: OCFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: ocfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: ocfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:ocfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n ocfs2-kmp-%build_flavor -OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices -accessible simultaneously from multiple nodes of a cluster. - -%pre -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files - -%package -n reiserfs-kmp-%build_flavor -Summary: Reiserfs kernel module -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: reiserfs-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: reiserfs-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:reiserfs-kmp-%build_flavor) - -%description -n reiserfs-kmp-%build_flavor -The reiserfs file system is no longer supported in SLE15. This package -provides the reiserfs module for the installation system. - -%pre -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files - -%endif # %CONFIG_SUSE_KERNEL_SUPPORTED -%endif # %CONFIG_MODULES - %changelog diff --git a/kernel-module-subpackage b/kernel-module-subpackage index fa4c9bb..387d9d7 100644 --- a/kernel-module-subpackage +++ b/kernel-module-subpackage @@ -73,27 +73,27 @@ END { exit(! good) } %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-pre --name "%{-n*}-kmp-%1" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" + --flavor "%1" --usrmerged "%{usrmerged}" "$@" %post -n %{-n*}-kmp-%1 %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-post --name "%{-n*}-kmp-%1" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" + --flavor "%1" --usrmerged "%{usrmerged}" "$@" %preun -n %{-n*}-kmp-%1 %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-preun --name "%{-n*}-kmp-%1" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" + --flavor "%1" --usrmerged "%{usrmerged}" "$@" %postun -n %{-n*}-kmp-%1 %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-postun --name "%{-n*}-kmp-%1" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" + --flavor "%1" --usrmerged "%{usrmerged}" "$@" %posttrans -n %{-n*}-kmp-%1 %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-posttrans --name "%{-n*}-kmp-%1" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ - --flavor "%1" --usrmerged "0%{?usrmerged}" "$@" + --flavor "%1" --usrmerged "%{usrmerged}" "$@" %files -n %{-n*}-kmp-%1 %{-f:%{expand:%(cd %_sourcedir; cat %{-f*})}} %{!-f:%defattr (-,root,root)} diff --git a/kernel-obs-build.changes b/kernel-obs-build.changes index d29016b..1ab76ec 100644 --- a/kernel-obs-build.changes +++ b/kernel-obs-build.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-obs-build.spec b/kernel-obs-build.spec index 2953345..6426db9 100644 --- a/kernel-obs-build.spec +++ b/kernel-obs-build.spec @@ -24,51 +24,49 @@ %include %_sourcedir/kernel-spec-macros -Name: kernel-obs-build -BuildRequires: coreutils -BuildRequires: device-mapper -BuildRequires: util-linux - %if 0%{?suse_version} %if "%{nil}" -%define kernel_flavor %{nil} +%global kernel_flavor %{nil} %else %ifarch %ix86 -%define kernel_flavor -pae +%global kernel_flavor -pae %else %ifarch armv7l armv7hl -%define kernel_flavor -lpae +%global kernel_flavor -lpae %else -%define kernel_flavor -default +%global kernel_flavor -default %endif %endif %endif +%global kernel_package kernel%kernel_flavor-srchash-dacef75e68efe93975d261181ecdeb4ef168ddab %endif -BuildRequires: kernel%kernel_flavor-srchash-b599b6792b5e73264ffa33bdae47b19dc43f9401 - %if 0%{?rhel_version} -BuildRequires: kernel -%define kernel_flavor "" +%global kernel_package kernel %endif +Name: kernel-obs-build +Version: 6.4.0 +%if 0%{?is_kotd} +Release: .gdacef75 +%else +Release: 0 +%endif +Summary: package kernel and initrd for OBS VM builds +License: GPL-2.0-only +Group: SLES +BuildRequires: coreutils +BuildRequires: device-mapper +BuildRequires: dracut +BuildRequires: %kernel_package +BuildRequires: util-linux +%if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200 +BuildRequires: zstd +%endif %if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0} ExclusiveArch: aarch64 ppc64le s390x x86_64 %else ExclusiveArch: do_not_build %endif -BuildRequires: dracut -Summary: package kernel and initrd for OBS VM builds -License: GPL-2.0-only -Group: SLES -Version: 6.4.0 -%if 0%{?is_kotd} -Release: .gb599b67 -%else -Release: 0 -%endif -%if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200 -BuildRequires: zstd -%endif %description This package is repackaging already compiled kernels to make them usable @@ -76,6 +74,13 @@ inside of Open Build Service (OBS) VM builds. An initrd with some basic kernel modules is generated as well, but further kernel modules can be loaded during build when installing the kernel package. +%files +/.build.cmdline.* +/.build.console.* +/.build.hostarch.* +/.build.initrd.* +/.build.kernel.* + %prep %build @@ -173,11 +178,4 @@ fi #see obs-build commit e47399d738e51 uname -m > %{buildroot}/.build.hostarch.kvm -%files -/.build.cmdline.* -/.build.console.* -/.build.hostarch.* -/.build.initrd.* -/.build.kernel.* - %changelog diff --git a/kernel-obs-build.spec.in b/kernel-obs-build.spec.in index acaec53..44dedb7 100644 --- a/kernel-obs-build.spec.in +++ b/kernel-obs-build.spec.in @@ -24,51 +24,49 @@ %include %_sourcedir/kernel-spec-macros -Name: kernel-obs-build -BuildRequires: coreutils -BuildRequires: device-mapper -BuildRequires: util-linux - %if 0%{?suse_version} %if "@OBS_BUILD_VARIANT@" -%define kernel_flavor @OBS_BUILD_VARIANT@ +%global kernel_flavor @OBS_BUILD_VARIANT@ %else %ifarch %ix86 -%define kernel_flavor -pae +%global kernel_flavor -pae %else %ifarch armv7l armv7hl -%define kernel_flavor -lpae +%global kernel_flavor -lpae %else -%define kernel_flavor -default +%global kernel_flavor -default %endif %endif %endif +%global kernel_package kernel%kernel_flavor-srchash-@COMMIT_FULL@ %endif -BuildRequires: kernel%kernel_flavor-srchash-@COMMIT_FULL@ - %if 0%{?rhel_version} -BuildRequires: kernel -%define kernel_flavor "" +%global kernel_package kernel %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 -Group: SLES +Name: kernel-obs-build Version: @RPMVERSION@ %if 0%{?is_kotd} Release: .g@COMMIT@ %else Release: @RELEASE@ %endif +Summary: package kernel and initrd for OBS VM builds +License: GPL-2.0-only +Group: SLES +BuildRequires: coreutils +BuildRequires: device-mapper +BuildRequires: dracut +BuildRequires: %kernel_package +BuildRequires: util-linux %if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200 BuildRequires: zstd %endif +%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: @ARCHS@ +%else +ExclusiveArch: do_not_build +%endif %description This package is repackaging already compiled kernels to make them usable @@ -76,6 +74,13 @@ inside of Open Build Service (OBS) VM builds. An initrd with some basic kernel modules is generated as well, but further kernel modules can be loaded during build when installing the kernel package. +%files +/.build.cmdline.* +/.build.console.* +/.build.hostarch.* +/.build.initrd.* +/.build.kernel.* + %prep %build @@ -173,11 +178,4 @@ fi #see obs-build commit e47399d738e51 uname -m > %{buildroot}/.build.hostarch.kvm -%files -/.build.cmdline.* -/.build.console.* -/.build.hostarch.* -/.build.initrd.* -/.build.kernel.* - %changelog diff --git a/kernel-obs-qa.changes b/kernel-obs-qa.changes index d29016b..1ab76ec 100644 --- a/kernel-obs-qa.changes +++ b/kernel-obs-qa.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-obs-qa.spec b/kernel-obs-qa.spec index 1f4d56f..6de9800 100644 --- a/kernel-obs-qa.spec +++ b/kernel-obs-qa.spec @@ -23,6 +23,15 @@ %include %_sourcedir/kernel-spec-macros Name: kernel-obs-qa +Version: 6.4.0 +%if 0%{?is_kotd} +Release: .gdacef75 +%else +Release: 0 +%endif +Summary: Basic QA tests for the kernel +License: GPL-2.0-only +Group: SLES BuildRequires: kernel-default # kernel-obs-build must be also configured as VMinstall, but is required # here as well to avoid that qa and build package build parallel @@ -33,20 +42,14 @@ ExclusiveArch: aarch64 ppc64le s390x x86_64 %else ExclusiveArch: do_not_build %endif -Summary: Basic QA tests for the kernel -License: GPL-2.0-only -Group: SLES -Version: 6.4.0 -%if 0%{?is_kotd} -Release: .gb599b67 -%else -Release: 0 -%endif %description This package is using the kernel compiled within Open Build Service(OBS) projects and runs basic tests. +%files +/usr/share/%name + %prep %build @@ -70,7 +73,4 @@ fi mkdir -p %{buildroot}/usr/share/%name touch %{buildroot}/usr/share/%name/logfile -%files -/usr/share/%name - %changelog diff --git a/kernel-obs-qa.spec.in b/kernel-obs-qa.spec.in index 9c35f37..3514ab3 100644 --- a/kernel-obs-qa.spec.in +++ b/kernel-obs-qa.spec.in @@ -23,6 +23,15 @@ %include %_sourcedir/kernel-spec-macros Name: kernel-obs-qa +Version: @RPMVERSION@ +%if 0%{?is_kotd} +Release: .g@COMMIT@ +%else +Release: @RELEASE@ +%endif +Summary: Basic QA tests for the kernel +License: GPL-2.0-only +Group: SLES BuildRequires: kernel-default # kernel-obs-build must be also configured as VMinstall, but is required # here as well to avoid that qa and build package build parallel @@ -33,20 +42,14 @@ ExclusiveArch: @ARCHS@ %else ExclusiveArch: do_not_build %endif -Summary: Basic QA tests for the kernel -License: GPL-2.0-only -Group: SLES -Version: @RPMVERSION@ -%if 0%{?is_kotd} -Release: .g@COMMIT@ -%else -Release: @RELEASE@ -%endif %description This package is using the kernel compiled within Open Build Service(OBS) projects and runs basic tests. +%files +/usr/share/%name + %prep %build @@ -70,7 +73,4 @@ fi mkdir -p %{buildroot}/usr/share/%name touch %{buildroot}/usr/share/%name/logfile -%files -/usr/share/%name - %changelog diff --git a/kernel-source.changes b/kernel-source.changes index d29016b..1ab76ec 100644 --- a/kernel-source.changes +++ b/kernel-source.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-source.spec b/kernel-source.spec index 6afac96..8196b89 100644 --- a/kernel-source.spec +++ b/kernel-source.spec @@ -18,22 +18,17 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %include %_sourcedir/kernel-spec-macros -%define src_install_dir usr/src/linux-%kernelrelease%variant - -# if undefined use legacy location of before SLE15 -%if %{undefined _rpmmacrodir} -%define _rpmmacrodir /etc/rpm -%endif +%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) Name: kernel-source Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif @@ -48,7 +43,20 @@ BuildRequires: bash-sh BuildRequires: coreutils BuildRequires: fdupes BuildRequires: sed -Requires(post): coreutils sed +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +BuildArch: noarch +%else +ExclusiveArch: do_not_build +%endif +Prefix: /usr/src + +%define src_install_dir usr/src/linux-%kernelrelease%variant + +# if undefined use legacy location of before SLE15 +%if %{undefined _rpmmacrodir} +%define _rpmmacrodir /etc/rpm +%endif + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz %if "https://www.kernel.org/pub/linux/kernel/v6.x/" != "" Source1: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.sign @@ -122,12 +130,7 @@ 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 +Requires(post): coreutils sed # Source is only complete with devel files. Requires: kernel-devel%variant = %version-%source_rel Provides: %name = %version-%source_rel @@ -150,8 +153,6 @@ Recommends: kernel-install-tools %endif %obsolete_rebuilds %name -%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -166,8 +167,15 @@ Linux kernel sources with many fixes and improvements. %source_timestamp + +%post +%relink_function + +relink linux-%kernelrelease%variant /usr/src/linux%variant + +%files -f nondevel.files + %package -n kernel-devel%variant -%obsolete_rebuilds kernel-devel%variant Summary: Development files needed for building kernel modules Group: Development/Sources AutoReqProv: off @@ -175,13 +183,24 @@ Provides: kernel-devel%variant = %version-%source_rel Provides: multiversion(kernel) Requires: kernel-macros Requires(post): coreutils +%obsolete_rebuilds kernel-devel%variant %description -n kernel-devel%variant Kernel-level headers and Makefiles required for development of external kernel modules. + %source_timestamp +%post -n kernel-devel%variant +%relink_function + +relink linux-%kernelrelease%variant /usr/src/linux%variant + +%files -n kernel-devel%variant -f devel.files +%ghost /usr/src/linux%variant +%doc /usr/share/doc/packages/* + # Note: The kernel-macros package intentionally does not provide # multiversion(kernel) nor is its name decorated with the variant (-rt) %package -n kernel-macros @@ -192,8 +211,17 @@ Provides: kernel-subpackage-macros %description -n kernel-macros This package provides the rpm macros and templates for Kernel Module Packages + %source_timestamp +%if "%variant" == "" +%files -n kernel-macros +%{_rpmmacrodir}/macros.kernel-source +/usr/lib/rpm/kernel-*-subpackage +%dir /usr/lib/rpm/kernel +/usr/lib/rpm/kernel/* +%endif + %package vanilla %obsolete_rebuilds %name-vanilla Summary: Vanilla Linux kernel sources with minor build fixes @@ -213,6 +241,11 @@ Vanilla Linux kernel sources with minor build fixes. %source_timestamp +%if %do_vanilla +%files vanilla +/usr/src/linux-%kernelrelease-vanilla +%endif + %prep echo "Symbol(s): %symbols" @@ -295,35 +328,4 @@ done ts="$(head -n1 %_sourcedir/source-timestamp)" find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts" -%post -%relink_function - -relink linux-%kernelrelease%variant /usr/src/linux%variant - -%post -n kernel-devel%variant -%relink_function - -relink linux-%kernelrelease%variant /usr/src/linux%variant - -%files -f nondevel.files - -%files -n kernel-devel%variant -f devel.files -%ghost /usr/src/linux%variant -%doc /usr/share/doc/packages/* - -%if "%variant" == "" -%files -n kernel-macros -%{_rpmmacrodir}/macros.kernel-source -/usr/lib/rpm/kernel-*-subpackage -%dir /usr/lib/rpm/kernel -/usr/lib/rpm/kernel/* -%endif - - -%if %do_vanilla - -%files vanilla -/usr/src/linux-%kernelrelease-vanilla -%endif - %changelog diff --git a/kernel-source.spec.in b/kernel-source.spec.in index 839bfe6..f05665f 100644 --- a/kernel-source.spec.in +++ b/kernel-source.spec.in @@ -23,12 +23,7 @@ %include %_sourcedir/kernel-spec-macros -%define src_install_dir usr/src/linux-%kernelrelease%variant - -# if undefined use legacy location of before SLE15 -%if %{undefined _rpmmacrodir} -%define _rpmmacrodir /etc/rpm -%endif +%(chmod +x %_sourcedir/{@SCRIPTS@}) Name: kernel-source@VARIANT@ Version: @RPMVERSION@ @@ -48,7 +43,20 @@ BuildRequires: bash-sh BuildRequires: coreutils BuildRequires: fdupes BuildRequires: sed -Requires(post): coreutils sed +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +BuildArch: noarch +%else +ExclusiveArch: do_not_build +%endif +Prefix: /usr/src + +%define src_install_dir usr/src/linux-%kernelrelease%variant + +# if undefined use legacy location of before SLE15 +%if %{undefined _rpmmacrodir} +%define _rpmmacrodir /etc/rpm +%endif + Source0: @TARBALL_URL@linux-%srcversion.tar.xz %if "@TARBALL_URL@" != "" Source1: @TARBALL_URL@linux-%srcversion.tar.sign @@ -122,12 +130,7 @@ 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 +Requires(post): coreutils sed # Source is only complete with devel files. Requires: kernel-devel%variant = %version-%source_rel Provides: %name = %version-%source_rel @@ -150,8 +153,6 @@ Recommends: kernel-install-tools %endif %obsolete_rebuilds %name -%(chmod +x %_sourcedir/{@SCRIPTS@}) - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -166,8 +167,15 @@ Linux kernel sources with many fixes and improvements. %source_timestamp + +%post +%relink_function + +relink linux-%kernelrelease%variant /usr/src/linux%variant + +%files -f nondevel.files + %package -n kernel-devel%variant -%obsolete_rebuilds kernel-devel%variant Summary: Development files needed for building kernel modules Group: Development/Sources AutoReqProv: off @@ -175,13 +183,24 @@ Provides: kernel-devel%variant = %version-%source_rel Provides: multiversion(kernel) Requires: kernel-macros Requires(post): coreutils +%obsolete_rebuilds kernel-devel%variant %description -n kernel-devel%variant Kernel-level headers and Makefiles required for development of external kernel modules. + %source_timestamp +%post -n kernel-devel%variant +%relink_function + +relink linux-%kernelrelease%variant /usr/src/linux%variant + +%files -n kernel-devel%variant -f devel.files +%ghost /usr/src/linux%variant +%doc /usr/share/doc/packages/* + # Note: The kernel-macros package intentionally does not provide # multiversion(kernel) nor is its name decorated with the variant (-rt) %package -n kernel-macros @@ -192,8 +211,17 @@ Provides: kernel-subpackage-macros %description -n kernel-macros This package provides the rpm macros and templates for Kernel Module Packages + %source_timestamp +%if "%variant" == "" +%files -n kernel-macros +%{_rpmmacrodir}/macros.kernel-source +/usr/lib/rpm/kernel-*-subpackage +%dir /usr/lib/rpm/kernel +/usr/lib/rpm/kernel/* +%endif + %package vanilla %obsolete_rebuilds %name-vanilla Summary: Vanilla Linux kernel sources with minor build fixes @@ -213,6 +241,11 @@ Vanilla Linux kernel sources with minor build fixes. %source_timestamp +%if %do_vanilla +%files vanilla +/usr/src/linux-%kernelrelease-vanilla +%endif + %prep echo "Symbol(s): %symbols" @@ -295,35 +328,4 @@ done ts="$(head -n1 %_sourcedir/source-timestamp)" find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts" -%post -%relink_function - -relink linux-%kernelrelease%variant /usr/src/linux%variant - -%post -n kernel-devel%variant -%relink_function - -relink linux-%kernelrelease%variant /usr/src/linux%variant - -%files -f nondevel.files - -%files -n kernel-devel%variant -f devel.files -%ghost /usr/src/linux%variant -%doc /usr/share/doc/packages/* - -%if "%variant" == "" -%files -n kernel-macros -%{_rpmmacrodir}/macros.kernel-source -/usr/lib/rpm/kernel-*-subpackage -%dir /usr/lib/rpm/kernel -/usr/lib/rpm/kernel/* -%endif - - -%if %do_vanilla - -%files vanilla -/usr/src/linux-%kernelrelease-vanilla -%endif - %changelog diff --git a/kernel-spec-macros b/kernel-spec-macros index edd768a..55f613b 100644 --- a/kernel-spec-macros +++ b/kernel-spec-macros @@ -11,8 +11,10 @@ %endif # TW is usrmerged -%if %{undefined usrmerged} && 0%{?suse_version} >= 1550 +%if 0%{?suse_version} >= 1550 %define usrmerged 1 +%else +%define usrmerged 0 %endif # source_rel is the package release string, without the rebuild counter @@ -68,7 +70,7 @@ rm -f "$2" && ln -s "$1" "$2" \ } -%if 0%{?usrmerged} +%if %{usrmerged} %define kernel_module_directory /usr/lib/modules %else %define kernel_module_directory /lib/modules diff --git a/kernel-syms.changes b/kernel-syms.changes index d29016b..1ab76ec 100644 --- a/kernel-syms.changes +++ b/kernel-syms.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-syms.spec b/kernel-syms.spec index d66a80d..ee27d8a 100644 --- a/kernel-syms.spec +++ b/kernel-syms.spec @@ -16,19 +16,16 @@ # -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %include %_sourcedir/kernel-spec-macros Name: kernel-syms -Summary: Kernel Symbol Versions (modversions) -License: GPL-2.0-only -Group: Development/Sources Version: 6.4.0 %if %using_buildservice %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif @@ -36,9 +33,19 @@ Release: 0 %define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) Release: %kernel_source_release %endif +Summary: Kernel Symbol Versions (modversions) +License: GPL-2.0-only +Group: Development/Sources URL: https://www.kernel.org/ -AutoReqProv: off BuildRequires: coreutils +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: aarch64 ppc64le s390x x86_64 +%else +ExclusiveArch: do_not_build +%endif +Prefix: /usr/src +AutoReqProv: off +Source: README.KSYMS %ifarch aarch64 Requires: kernel-64kb-devel = %version-%source_rel %endif @@ -46,17 +53,10 @@ Requires: kernel-64kb-devel = %version-%source_rel Requires: kernel-default-devel = %version-%source_rel %endif Requires: pesign-obs-integration +Requires: kernel-devel%variant = %version-%source_rel Provides: %name = %version-%source_rel 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: aarch64 ppc64le s390x x86_64 -%else -ExclusiveArch: do_not_build -%endif -Prefix: /usr/src # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and @@ -73,13 +73,14 @@ package dependencies. %source_timestamp -%prep - -%install -install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE %files %dir %_docdir/%name %_docdir/%name/README.SUSE +%prep + +%install +install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE + %changelog diff --git a/kernel-syms.spec.in b/kernel-syms.spec.in index 3c546f1..94b79aa 100644 --- a/kernel-syms.spec.in +++ b/kernel-syms.spec.in @@ -22,9 +22,6 @@ %include %_sourcedir/kernel-spec-macros Name: kernel-syms@VARIANT@ -Summary: Kernel Symbol Versions (modversions) -License: GPL-2.0-only -Group: Development/Sources Version: @RPMVERSION@ %if %using_buildservice %if 0%{?is_kotd} @@ -36,22 +33,25 @@ Release: @RELEASE@ %define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) Release: %kernel_source_release %endif +Summary: Kernel Symbol Versions (modversions) +License: GPL-2.0-only +Group: Development/Sources URL: https://www.kernel.org/ -AutoReqProv: off BuildRequires: coreutils -@REQUIRES@ -Requires: pesign-obs-integration -Provides: %name = %version-%source_rel -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 +AutoReqProv: off +Source: README.KSYMS +@REQUIRES@ +Requires: pesign-obs-integration +Requires: kernel-devel%variant = %version-%source_rel +Provides: %name = %version-%source_rel +Provides: %name-srchash-%git_commit +Provides: multiversion(kernel) # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and @@ -68,13 +68,14 @@ package dependencies. %source_timestamp -%prep - -%install -install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE %files %dir %_docdir/%name %_docdir/%name/README.SUSE +%prep + +%install +install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE + %changelog diff --git a/kernel-zfcpdump.changes b/kernel-zfcpdump.changes index d29016b..1ab76ec 100644 --- a/kernel-zfcpdump.changes +++ b/kernel-zfcpdump.changes @@ -1,3 +1,808 @@ +------------------------------------------------------------------- +Thu Mar 7 09:55:20 CET 2024 - tiwai@suse.de + +- gpio: fix resource unwinding order in error path (git-fixes). +- commit 6156605 + +------------------------------------------------------------------- +Thu Mar 7 09:54:53 CET 2024 - tiwai@suse.de + +- gpiolib: Fix the error path order in + gpiochip_add_data_with_key() (git-fixes). +- commit e072cb0 + +------------------------------------------------------------------- +Thu Mar 7 09:53:31 CET 2024 - tiwai@suse.de + +- gpio: 74x164: Enable output pins after registers are reset + (git-fixes). +- kbuild: Add -Wa,--fatal-warnings to as-instr invocation + (git-fixes). +- efivarfs: Request at most 512 bytes for variable names + (git-fixes). +- ASoC: qcom: Fix uninitialized pointer dmactl (git-fixes). +- drm/amd/display: Add monitor patch for specific eDP (git-fixes). +- soc: qcom: pmic_glink: Fix boot when QRTR=m (git-fixes). +- commit 43e9ac3 + +------------------------------------------------------------------- +Thu Mar 7 09:16:03 CET 2024 - iivanov@suse.de + +- Update patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch (git-fixes,bsc#1220340,CVE-2024-26600) +- commit 6950641 + +------------------------------------------------------------------- +Wed Mar 6 17:32:46 CET 2024 - msuchanek@suse.de + +- powerpc: Add Power11 architected and raw mode (jsc#PED-7970). +- powerpc: Annotate endianness of various variables and functions + (jsc#PED-7970). +- commit 1346447 + +------------------------------------------------------------------- +Wed Mar 6 16:34:55 CET 2024 - mkoutny@suse.com + +- blacklist.conf: Add 118642d7f606 mm: memcontrol: clarify swapaccount=0 deprecation warning +- commit b280e82 + +------------------------------------------------------------------- +Wed Mar 6 15:32:29 CET 2024 - iivanov@suse.de + +- Update patches.suse/arm64-errata-Add-Cortex-A520-speculative-unprivilege.patch (git-fixes, bsc#1219443, bsc#1220887, CVE-2023-52481) +- commit f753e1f + +------------------------------------------------------------------- +Wed Mar 6 14:02:43 CET 2024 - msuchanek@suse.de + +- kernel-binary: Fix i386 build + Fixes: 89eaf4cdce05 ("rpm templates: Move macro definitions below buildrequires") +- commit f7c6351 + +------------------------------------------------------------------- +Wed Mar 6 13:04:36 CET 2024 - jslaby@suse.cz + +- x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race + (bsc#1220941 CVE-2023-52568). +- x86/mm, kexec, ima: Use memblock_free_late() from + ima_free_kexec_buffer() (bsc#1220872 CVE-2023-52576). +- commit 94e020b + +------------------------------------------------------------------- +Wed Mar 6 11:36:53 CET 2024 - mfranc@suse.cz + +- Revert "Update config files. Deactivate CONFIG_QETH_OSX on s390x. (jsc#PED-3317)" + This reverts commit 84140c6f0d4586d5df743a4b87554fe794b51392. + IBM wants to disable CONFIG_QETH_OSX only for ALP and SLE16 while + keeping it enabled on SLE15-SP6. +- commit 0cf6eff + +------------------------------------------------------------------- +Wed Mar 6 11:35:30 CET 2024 - mfranc@suse.cz + +- Update patches.suse/KVM-s390-fix-setting-of-fpc-register.patch + (git-fixes bsc#1219809 bsc#1221040 CVE-2023-52597). +- commit b4fa9cc + +------------------------------------------------------------------- +Wed Mar 6 11:34:01 CET 2024 - msuchanek@suse.de + +- kernel-binary: vdso: fix filelist for non-usrmerged kernel + Fixes: a6ad8af207e6 ("rpm templates: Always define usrmerged") +- commit fb3f221 + +------------------------------------------------------------------- +Wed Mar 6 11:31:51 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/netfs-Only-call-folio_start_fscache-one-time-for-each-folio.patch + (bsc#1216954 CVE-2023-52582 bsc#1220878). +- commit 87168e9 + +------------------------------------------------------------------- +Wed Mar 6 11:31:04 CET 2024 - shung-hsi.yu@suse.com + +- Update reference of bpf-sockmap-Reject-sk_msg-egress-redirects-to-non-TC.patch + (jsc#PED-6811 bsc#1220926 CVE-2023-52523). +- commit f24dbf6 + +------------------------------------------------------------------- +Wed Mar 6 11:30:50 CET 2024 - lhenriques@suse.de + +- Update + patches.suse/ceph-drop-messages-from-MDS-when-unmounting.patch + (jsc#SES-1880 CVE-2022-48628 bsc#1220848). +- commit 4c5beb1 + +------------------------------------------------------------------- +Wed Mar 6 10:25:43 CET 2024 - tiwai@suse.de + +- rpm/kernel-binary.spec.in: Fix the build error without usrmerged +- commit d396cc8 + +------------------------------------------------------------------- +Wed Mar 6 08:59:21 CET 2024 - tiwai@suse.de + +- integrity: eliminate unnecessary "Problem loading X.509 + certificate" msg (git-fixes). +- commit f764d63 + +------------------------------------------------------------------- +Wed Mar 6 04:43:19 CET 2024 - ailiop@suse.com + +- erofs: fix memory leak of LZMA global compressed deduplication + (bsc#1220897 CVE-2023-52526). +- commit ff061f8 + +------------------------------------------------------------------- +Tue Mar 5 23:08:29 CET 2024 - tonyj@suse.de + +- blacklist.conf: Mark "Fix 'perf script' tests on s390" as irrelvant +- commit 80d8ff7 + +------------------------------------------------------------------- +Tue Mar 5 23:07:57 CET 2024 - tonyj@suse.de + +- perf: Fix the nr_addr_filters fix (git-fixes). +- commit 4903a69 + +------------------------------------------------------------------- +Tue Mar 5 21:49:59 CET 2024 - wqu@suse.com + +- btrfs: scrub: avoid use-after-free when chunk length is not + 64K aligned (bsc#1220943 CVE-2024-26616). +- commit d7e7877 + +------------------------------------------------------------------- +Tue Mar 5 20:09:42 CET 2024 - tonyj@suse.de + +- perf/core: Fix narrow startup race when creating the perf + nr_addr_filters sysfs file (git-fixes). +- commit 6f5ad58 + +------------------------------------------------------------------- +Tue Mar 5 18:13:43 CET 2024 - fdmanana@suse.com + +- btrfs: remove BUG() after failure to insert delayed dir index + item (bsc#1220918 CVE-2023-52569). +- commit 898c18d + +------------------------------------------------------------------- +Tue Mar 5 17:44:48 CET 2024 - fdmanana@suse.com + +- btrfs: improve error message after failure to add delayed dir + index item (bsc#1220918 CVE-2023-52569). +- commit d4e730e + +------------------------------------------------------------------- +Tue Mar 5 16:28:20 CET 2024 - tbogendoerfer@suse.de + +- Update + patches.suse/ice-Fix-some-null-pointer-dereference-issues-in-ice_.patch + (jsc#PED-4876 bsc#1220424 CVE-2023-52471). +- Update + patches.suse/msft-hv-2888-net-mana-Fix-TX-CQE-error-handling.patch + (bsc#1220932 CVE-2023-52532). +- Update + patches.suse/team-fix-null-ptr-deref-when-team-device-type-is-cha.patch + (bsc#1220870 CVE-2023-52574). + Added CVE references. +- commit cdd1907 + +------------------------------------------------------------------- +Tue Mar 5 16:02:30 CET 2024 - msuchanek@suse.de + +- Update patches.suse/powerpc-pseries-memhp-Fix-access-beyond-end-of-drmem.patch + (bsc#1065729 bsc#1220250 CVE-2023-52451). +- commit e456ff0 + +------------------------------------------------------------------- +Tue Mar 5 15:51:01 CET 2024 - tiwai@suse.de + +- vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() + (CVE-2023-52570 bsc#1220925). +- commit 8dc5811 + +------------------------------------------------------------------- +Tue Mar 5 15:44:56 CET 2024 - shung-hsi.yu@suse.com + +- bpf: fix check for attempt to corrupt spilled pointer + (bsc#1220325 CVE-2023-52462). +- commit eb74527 + +------------------------------------------------------------------- +Tue Mar 5 14:54:43 CET 2024 - tiwai@suse.de + +- Update patch referece for wifi fix (CVE-2023-52530 bsc#1220930) +- commit 04f251c + +------------------------------------------------------------------- +Tue Mar 5 14:53:46 CET 2024 - tiwai@suse.de + +- Update patch reference for iwlwifi fix (CVE-2023-52531 bsc#1220931) +- commit 3e108ac + +------------------------------------------------------------------- +Tue Mar 5 14:35:11 CET 2024 - shung-hsi.yu@suse.com + +- kABI: bpf: struct bpf_prog_aux kABI workaround (jsc#PED-6811 + bsc#1220251). +- commit a7547b0 + +------------------------------------------------------------------- +Tue Mar 5 14:10:42 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Test re-attachment fix for + bpf_tracing_prog_attach (jsc#PED-6811 bsc#1220254). +- bpf: Fix re-attachment branch in bpf_tracing_prog_attach + (bsc#1220254 CVE-2024-26591). +- selftests/bpf: Add test for recursive attachment of tracing + progs (bsc#1220254 CVE-2024-26591). +- bpf: Relax tracing prog recursive attach rules (jsc#PED-6811 + bsc#1220254). +- commit aba9ef6 + +------------------------------------------------------------------- +Tue Mar 5 13:53:34 CET 2024 - tiwai@suse.de + +- drm/i915/dp: Limit SST link rate to <=8.1Gbps (git-fixes). +- drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor() + (git-fixes). +- nouveau/gsp: handle engines in runl without nonstall interrupts + (git-fixes). +- drm/msm/dpu: Add mutex lock in control vblank irq (git-fixes). +- drm/msm/dpu: populate SSPP scaler block version (git-fixes). +- drm/msm/dpu: Correct UBWC settings for sc8280xp (git-fixes). +- drm/msm/dpu: enable SmartDMA on SM8450 (git-fixes). +- drm/msm/a690: Fix reg values for a690 (git-fixes). +- drm/i915/display: Move releasing gem object away from fb + tracking (git-fixes). +- commit ca552ce + +------------------------------------------------------------------- +Tue Mar 5 13:45:42 CET 2024 - tiwai@suse.de + +- drm/amd/display: Fix DPSTREAM CLK on and off sequence + (git-fixes). +- commit d79529f + +------------------------------------------------------------------- +Tue Mar 5 13:41:45 CET 2024 - jslaby@suse.cz + +- x86/srso: Add SRSO mitigation for Hygon processors (bsc#1220735 + CVE-2023-52482). +- commit 1d10b80 + +------------------------------------------------------------------- +Tue Mar 5 13:39:51 CET 2024 - pjakobsson@suse.de + +- Update patches.suse/drm-bridge-sii902x-Fix-probing-race-issue.patch (git-fixes bsc#1220736 CVE-2024-26607). +- commit 8bc333c + +------------------------------------------------------------------- +Tue Mar 5 13:17:48 CET 2024 - tiwai@suse.de + +- drm/amd/display: Refactor DMCUB enter/exit idle interface + (git-fixes). +- Refresh + patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch. +- commit 3154e27 + +------------------------------------------------------------------- +Tue Mar 5 13:13:04 CET 2024 - tiwai@suse.de + +- drm/amd/display: Only allow dig mapping to pwrseq in new asic + (git-fixes). +- drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr + (git-fixes). +- drm/amd/display: Implement bounds check for stream encoder + creation in DCN301 (git-fixes). +- drm/amdgpu: Avoid fetching VRAM vendor info (git-fixes). +- drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue + (git-fixes). +- drm/amd/display: fix incorrect mpc_combine array size + (git-fixes). +- drm/amd/display: fix USB-C flag update after enc10 feature init + (git-fixes). +- drm/amd/display: Disable ips before dc interrupt setting + (git-fixes). +- drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs + (git-fixes). +- drm/amd/amdgpu: Assign GART pages to AMD device mapping + (git-fixes). +- drm/amd/pm: Fetch current power limit from FW (git-fixes). +- drm/amdgpu: Show vram vendor only if available (git-fixes). +- drm/amd/pm: update the power cap setting (git-fixes). +- drm/amdgpu: Avoid fetching vram vendor information (git-fixes). +- drm/amdgpu: Enable GFXOFF for Compute on GFX11 (git-fixes). +- drm/amd/display: Fix DML2 watermark calculation (git-fixes). +- drm/amd/display: Clear OPTC mem select on disable (git-fixes). +- drm/amd/display: Add logging resource checks (git-fixes). +- drm/amd/display: Init link enc resources in dc_state only if + res_pool presents (git-fixes). +- drm/amd/pm: Fix smuv13.0.6 current clock reporting (git-fixes). +- drm/amd/pm: Add error log for smu v13.0.6 reset (git-fixes). +- drm/amdgpu: drop exp hw support check for GC 9.4.3 (git-fixes). +- drm/amdgpu: update regGL2C_CTRL4 value in golden setting + (git-fixes). +- Revert "drm/amd/display: Fix conversions between bytes and KB" + (git-fixes). +- drm/amd/display: Disconnect phantom pipe OPP from OPTC being + disabled (git-fixes). +- drm/amd/display: To adjust dprefclk by down spread percentage + (git-fixes). +- drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL + check in 'amdgpu_mca_smu_get_mca_entry()' (git-fixes). +- drm/amdgpu: Fix possible NULL dereference in + amdgpu_ras_query_error_status_helper() (git-fixes). +- drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 + (git-fixes). +- drm/amd/display: Fix lightup regression with DP2 single display + configs (git-fixes). +- drm/amd/display: Wake DMCUB before executing GPINT commands + (git-fixes). +- drm/amd/display: Wake DMCUB before sending a command + (CVE-2023-52485 bsc#1220835 git-fixes). +- drm/amd/display: fix usb-c connector_type (git-fixes). +- drm/amd/display: do not send commands to DMUB if DMUB is + inactive from S3 (git-fixes). +- drm/amdgpu: Enable tunneling on high-priority compute queues + (git-fixes). +- drm/amd/display: Check writeback connectors in + create_validate_stream_for_sink (git-fixes). +- drm/amd/display: Use drm_connector in create_stream_for_sink + (git-fixes). +- drm/amd/display: Return drm_connector from + find_first_crtc_matching_connector (git-fixes). +- drm/amd/display: add support for DTO genarated dscclk + (git-fixes). +- drm/amd/display: Fix Replay Desync Error IRQ handler + (git-fixes). +- drm/amd/display: Fix disable_otg_wa logic (git-fixes). +- drm/amd/display: Fix conversions between bytes and KB + (git-fixes). +- drm/amd/display: update pixel clock params after stream slice + count change in context (git-fixes). +- drm/amd/display: Fix a debugfs null pointer error (git-fixes). +- commit 36bc980 + +------------------------------------------------------------------- +Tue Mar 5 13:12:26 CET 2024 - tiwai@suse.de + +- blacklist.conf: drop amdgpu commit that will be backported now +- commit eac0ec4 + +------------------------------------------------------------------- +Tue Mar 5 13:11:19 CET 2024 - nstange@suse.de + +- crypto: jitter - use permanent health test storage + (bsc#1220682). +- commit 7d19449 + +------------------------------------------------------------------- +Tue Mar 5 13:06:41 CET 2024 - nstange@suse.de + +- crypto: jitter - reuse allocated entropy collector + (bsc#1220684). +- commit 5e1fcb3 + +------------------------------------------------------------------- +Tue Mar 5 13:00:02 CET 2024 - nstange@suse.de + +- crypto: jitter - Allow configuration of memory size + (bsc#1220684). +- Update config files. +- commit b193722 + +------------------------------------------------------------------- +Tue Mar 5 12:48:13 CET 2024 - nstange@suse.de + +- crypto: jitter - add RCT/APT support for different OSRs + (bsc#1220682 bsc#1220684). +- commit a0d26ea + +------------------------------------------------------------------- +Tue Mar 5 12:46:26 CET 2024 - nstange@suse.de + +- crypto: jitter - Add clarifying comments to Jitter Entropy + RCT cutoff values (bsc#1220682 bsc#1220684). +- commit 94bdba9 + +------------------------------------------------------------------- +Tue Mar 5 11:34:03 CET 2024 - mhocko@suse.com + +- mm/mremap: allow moves within the same VMA for stack moves + (bsc#1220914). +- mm/mremap: optimize the start addresses in move_page_tables() + (bsc#1220914). +- commit 3c1f239 + +------------------------------------------------------------------- +Tue Mar 5 09:30:51 CET 2024 - mkubecek@suse.cz + +- tls: fix use-after-free on failed backlog decryption + (CVE-2024-26584 bsc#1220186). +- tls: separate no-async decryption request handling from async + (CVE-2024-26584 bsc#1220186). +- tls: decrement decrypt_pending if no async completion will be + called (CVE-2024-26584 bsc#1220186). +- net: tls: handle backlogging of crypto requests (CVE-2024-26584 + bsc#1220186). +- commit 2199323 + +------------------------------------------------------------------- +Tue Mar 5 08:53:15 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS (bsc#1220255 + CVE-2024-26589). +- commit da059bb + +------------------------------------------------------------------- +Tue Mar 5 04:49:53 CET 2024 - ddiss@suse.de + +- ovl: fix failed copyup of fileattr on a symlink (bsc#1220827). +- commit c247a4e + +------------------------------------------------------------------- +Tue Mar 5 02:19:58 CET 2024 - mkubecek@suse.cz + +- tls: fix race between tx work scheduling and socket close + (CVE-2024-26585 bsc#1220187). +- commit 98f57ea + +------------------------------------------------------------------- +Tue Mar 5 01:06:01 CET 2024 - mkubecek@suse.cz + +- tls: fix race between async notify and socket close + (CVE-2024-26583 bsc#1220185). +- net: tls: factor out tls_*crypt_async_wait() (CVE-2024-26583 + bsc#1220185). +- commit ebb58c6 + +------------------------------------------------------------------- +Mon Mar 4 21:53:13 CET 2024 - mkubecek@suse.cz + +- netfilter: nf_tables: fix 64-bit load issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- netfilter: nf_tables: fix pointer math issue in + nft_byteorder_eval() (CVE-2024-0607 bsc#1218915). +- commit d0b1efb + +------------------------------------------------------------------- +Mon Mar 4 18:41:49 CET 2024 - ailiop@suse.com + +- erofs: fix lz4 inplace decompression (bsc#1220879 + CVE-2023-52497). +- commit 1ab6d98 + +------------------------------------------------------------------- +Mon Mar 4 18:38:59 CET 2024 - ailiop@suse.com + +- erofs: get rid of the remaining kmap_atomic() (git-fixes). +- commit 17e3c9c + +------------------------------------------------------------------- +Mon Mar 4 17:26:07 CET 2024 - mkubecek@suse.cz + +- netfilter: nft_set_pipapo: skip inactive elements during set + walk (CVE-2023-6817 bsc#1218195). +- commit 20cd5f2 + +------------------------------------------------------------------- +Mon Mar 4 17:25:29 CET 2024 - nstange@suse.de + +- crypto: jitter - replace LFSR with SHA3-256 (bsc#1220331). +- Update config files. +- commit 586f7f5 + +------------------------------------------------------------------- +Mon Mar 4 17:19:17 CET 2024 - tiwai@suse.de + +- Update patch reference for tomoyo fix (CVE-2024-26622 bsc#1220825) +- commit 1d9cb5b + +------------------------------------------------------------------- +Mon Mar 4 16:20:37 CET 2024 - petr.pavlu@suse.com + +- doc/README.SUSE: Update information about module support status + (jsc#PED-5759) + Following the code change in SLE15-SP6 to have externally supported + modules no longer taint the kernel, update the respective documentation + in README.SUSE: + * Describe that support status can be obtained at runtime for each + module from /sys/module/$MODULE/supported and for the entire system + from /sys/kernel/supported. This provides a way how to now check that + the kernel has any externally supported modules loaded. + * Remove a mention that externally supported modules taint the kernel, + but keep the information about bit 16 (X) and add a note that it is + still tracked per module and can be read from + /sys/module/$MODULE/taint. This per-module information also appears in + Oopses. +- commit 9ed8107 + +------------------------------------------------------------------- +Mon Mar 4 16:10:04 CET 2024 - nstange@suse.de + +- Refresh patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch. + Enable and refresh + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch +- commit 46942fd + +------------------------------------------------------------------- +Mon Mar 4 15:47:05 CET 2024 - tiwai@suse.de + +- Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 + (bsc#1214133). +- commit abbbfc6 + +------------------------------------------------------------------- +Mon Mar 4 14:34:49 CET 2024 - fdmanana@suse.com + +- btrfs: fix race between reading a directory and adding entries + to it (bsc#1219315). +- commit a8cff4f + +------------------------------------------------------------------- +Mon Mar 4 14:31:23 CET 2024 - shung-hsi.yu@suse.com + +- bpf: Minor cleanup around stack bounds (bsc#1220257 + CVE-2023-52452). +- bpf: Fix accesses to uninit stack slots (bsc#1220257 + CVE-2023-52452). +- bpf: Add some comments to stack representation (bsc#1220257 + CVE-2023-52452). +- bpf: Guard stack limits against 32bit overflow (git-fixes). +- bpf: Fix verification of indirect var-off stack access + (git-fixes). +- bpf: Minor logging improvement (bsc#1220257). +- commit f480bf8 + +------------------------------------------------------------------- +Mon Mar 4 14:22:13 CET 2024 - fdmanana@suse.com + +- btrfs: refresh dir last index during a rewinddir(3) call + (bsc#1219315). +- commit 5fd0a18 + +------------------------------------------------------------------- +Mon Mar 4 14:06:28 CET 2024 - fdmanana@suse.com + +- btrfs: set last dir index to the current last index when + opening dir (bsc#1219315). +- commit 21aedc5 + +------------------------------------------------------------------- +Mon Mar 4 12:19:29 CET 2024 - jslaby@suse.cz + +- Update + patches.suse/PCI-ASPM-Fix-deadlock-when-enabling-ASPM.patch + (git-fixes bsc#1220336 CVE-2024-26605). +- Update + patches.suse/serial-8250-omap-Don-t-skip-resource-freeing-if-pm_r.patch + (git-fixes bsc#1220350 CVE-2023-52457). +- Update + patches.suse/serial-imx-fix-tx-statemachine-deadlock.patch + (git-fixes bsc#1220364 CVE-2023-52456). + Add CVE references. +- commit 7801f75 + +------------------------------------------------------------------- +Mon Mar 4 11:23:47 CET 2024 - tiwai@suse.de + +- Refresh patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + Fix a build error caused by the patch context embeded in the description +- commit 3c4ea38 + +------------------------------------------------------------------- +Mon Mar 4 08:50:12 CET 2024 - shung-hsi.yu@suse.com + +- selftests/bpf: Remove flaky test_btf_id test (bsc#1220247 CVE-2023-52446). +- bpf: Fix a race condition between btf_put() and map_free() + (bsc#1220247 CVE-2023-52446). +- commit 1878e7b + +------------------------------------------------------------------- +Mon Mar 4 08:24:48 CET 2024 - tiwai@suse.de + +- phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use + dashes (git-fixes). +- dmaengine: ptdma: use consistent DMA masks (git-fixes). +- dmaengine: idxd: Ensure safe user copy of completion record + (git-fixes). +- dmaengine: fsl-qdma: init irq after reg initialization + (git-fixes). +- dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read + (git-fixes). +- commit 6051aa0 + +------------------------------------------------------------------- +Mon Mar 4 07:42:13 CET 2024 - jlee@suse.com + +- efivarfs: Free s_fs_info on unmount (bsc#1220328 + CVE-2023-52463). +- commit 855de3c + +------------------------------------------------------------------- +Mon Mar 4 07:19:30 CET 2024 - jlee@suse.com + +- efivarfs: Move efivar availability check into FS context init + (bsc#1220328 CVE-2023-52463). +- commit 9aa65d5 + +------------------------------------------------------------------- +Mon Mar 4 06:00:44 CET 2024 - jlee@suse.com + +- efivarfs: force RO when remounting if SetVariable is not + supported (bsc#1220328 CVE-2023-52463). +- commit f4334b6 + +------------------------------------------------------------------- +Mon Mar 4 05:58:42 CET 2024 - jlee@suse.com + +- efivarfs: Add uid/gid mount options (bsc#1220328 + CVE-2023-52463). +- commit f803582 + +------------------------------------------------------------------- +Sun Mar 3 15:57:22 CET 2024 - tiwai@suse.de + +- Update kabi files: initial import for ALP-current branch + Based on the commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +- commit 691a54e + +------------------------------------------------------------------- +Sun Mar 3 10:57:56 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port + (git-fixes). +- commit faab4df + +------------------------------------------------------------------- +Sun Mar 3 10:56:35 CET 2024 - tiwai@suse.de + +- ALSA: hda/realtek: fix mute/micmute LED For HP mt440 + (git-fixes). +- ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) + (git-fixes). +- ALSA: hda/realtek: Fix top speaker connection on Dell Inspiron + 16 Plus 7630 (git-fixes). +- commit 514a46e + +------------------------------------------------------------------- +Sun Mar 3 10:54:54 CET 2024 - tiwai@suse.de + +- power: supply: bq27xxx-i2c: Do not free non existing IRQ + (git-fixes). +- mmc: sdhci-xenon: add timeout for PHY init complete (git-fixes). +- mmc: sdhci-xenon: fix PHY init clock stability (git-fixes). +- mmc: mmci: stm32: fix DMA API overlapping mappings warning + (git-fixes). +- mmc: core: Fix eMMC initialization with 1-bit bus connection + (git-fixes). +- efi/capsule-loader: fix incorrect allocation size (git-fixes). +- fbcon: always restore the old font data in fbcon_do_set_font() + (git-fixes). +- tomoyo: fix UAF write bug in tomoyo_write_control() (git-fixes). +- firewire: core: send bus reset promptly on gap count error + (git-fixes). +- efi: Don't add memblocks for soft-reserved memory (git-fixes). +- efi: runtime: Fix potential overflow of soft-reserved region + size (git-fixes). +- hwmon: (coretemp) Enlarge per package core count limit + (git-fixes). +- wifi: iwlwifi: do not announce EPCS support (git-fixes). +- wifi: mac80211: accept broadcast probe responses on 6 GHz + (git-fixes). +- wifi: mac80211: adding missing drv_mgd_complete_tx() call + (git-fixes). +- wifi: mac80211: set station RX-NSS on reconfig (git-fixes). +- Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table + (git-fixes). +- Input: xpad - add Lenovo Legion Go controllers (git-fixes). +- Input: goodix - accept ACPI resources with gpio_count == 3 && + gpio_int_idx == 0 (git-fixes). +- spi: sh-msiof: avoid integer overflow in constants (git-fixes). +- regulator: pwm-regulator: Add validity checks in continuous + .get_voltage (git-fixes). +- platform/x86: touchscreen_dmi: Add info for the TECLAST X16 + Plus tablet (git-fixes). +- spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were + detected (git-fixes). +- spi: intel-pci: Add support for Arrow Lake SPI serial flash + (git-fixes). +- wifi: mac80211: fix race condition on enabling fast-xmit + (git-fixes). +- wifi: cfg80211: fix missing interfaces when dumping (git-fixes). +- fbdev: sis: Error out if pixclock equals zero (git-fixes). +- fbdev: savage: Error out if pixclock equals zero (git-fixes). +- commit 87f4ce4 + +------------------------------------------------------------------- +Sun Mar 3 10:49:16 CET 2024 - tiwai@suse.de + +- drm/nouveau: keep DMA buffers required for suspend/resume + (git-fixes). +- Revert "drm/amd/pm: resolve reboot exception for si oland" + (git-fixes). +- drm/amdgpu/pm: Fix the power1_min_cap value (git-fixes). +- drm/amd/display: Prevent potential buffer overflow in + map_hw_resources (git-fixes). +- drm/buddy: fix range bias (git-fixes). +- drm/tegra: Remove existing framebuffer only if we support + display (git-fixes). +- docs: Instruct LaTeX to cope with deeper nesting (git-fixes). +- drm/amd/display: adjust few initialization order in dm + (git-fixes). +- drm/amd/display: fixed integer types and null check locations + (git-fixes). +- Revert "drm/amd/display: increased min_dcfclk_mhz and + min_fclk_mhz" (git-fixes). +- drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (git-fixes). +- drm/amdgpu: Fix shared buff copy to user (git-fixes). +- drm/amdgpu: reset gpu for s3 suspend abort case (git-fixes). +- drm/amdgpu: skip to program GFXDEC registers for suspend abort + (git-fixes). +- drm/amd/display: Fix buffer overflow in + 'get_host_router_total_dp_tunnel_bw()' (git-fixes). +- drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz + (git-fixes). +- drm/amdkfd: Use correct drm device for cgroup permission check + (git-fixes). +- ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x + parts (git-fixes). +- drm/amd/display: Avoid enum conversion warning (git-fixes). +- drm/amd/display: Request usb4 bw for mst streams (git-fixes). +- drm/amd/display: Add dpia display mode validation logic + (git-fixes). +- commit 515b84e + +------------------------------------------------------------------- +Sun Mar 3 10:42:25 CET 2024 - tiwai@suse.de + +- ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET + (git-fixes). +- ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 + (git-fixes). +- ALSA: hda/realtek: tas2781: enable subwoofer volume control + (git-fixes). +- ALSA: Drop leftover snd-rtctimer stuff from Makefile + (git-fixes). +- ALSA: ump: Fix the discard error code from snd_ump_legacy_open() + (git-fixes). +- ALSA: firewire-lib: fix to check cycle continuity (git-fixes). +- dmaengine: ti: edma: Add some null pointer checks to the + edma_probe (git-fixes). +- ASoC: wm_adsp: Don't overwrite fwf_name with the default + (git-fixes). +- ALSA: usb-audio: Ignore clock selector errors for single + connection (git-fixes). +- ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 + (git-fixes). +- ASoC: amd: acp: Add check for cpu dai link initialization + (git-fixes). +- ALSA: usb-audio: Check presence of valid altsetting control + (git-fixes). +- ahci: add 43-bit DMA address quirk for ASMedia ASM1061 + controllers (git-fixes). +- ahci: asm1166: correct count of reported ports (git-fixes). +- dmaengine: fsl-qdma: increase size of 'irq_name' (git-fixes). +- dmaengine: shdma: increase size of 'dev_id' (git-fixes). +- dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH + (git-fixes). +- ata: ahci: add identifiers for ASM2116 series adapters + (git-fixes). +- commit 9457359 + +------------------------------------------------------------------- +Sat Mar 2 10:24:34 CET 2024 - wqu@suse.com + +- btrfs: fix double free of anonymous device after snapshot + creation failure (bsc#1219126 CVE-2024-23850). +- commit 684803d + ------------------------------------------------------------------- Sat Mar 2 03:01:28 CET 2024 - tonyj@suse.de @@ -11,6 +816,18 @@ Fri Mar 1 19:08:15 CET 2024 - jbohac@suse.cz - x86/e820: Don't reserve SETUP_RNG_SEED in e820 (bsc#1218709). - commit 15d874c +------------------------------------------------------------------- +Fri Mar 1 18:15:53 CET 2024 - tiwai@suse.de + +- Update patch reference for input fix (CVE-2023-52475 bsc#1220649) +- commit 2e7f958 + +------------------------------------------------------------------- +Fri Mar 1 18:15:18 CET 2024 - tiwai@suse.de + +- Update patch reference for HID fix (CVE-2023-52478 bsc#1220796) +- commit 9f5b99e + ------------------------------------------------------------------- Fri Mar 1 17:12:04 CET 2024 - shung-hsi.yu@suse.com @@ -134,6 +951,12 @@ Fri Mar 1 11:39:04 CET 2024 - nik.borisov@suse.com - RAS: Introduce a FRU memory poison manager (jsc#PED-7618). - commit 8f0ee79 +------------------------------------------------------------------- +Fri Mar 1 10:43:44 CET 2024 - iivanov@suse.de + +- hisi_acc_vfio_pci: Update migration data pointer correctly on (bsc#1220337,CVE-2023-52453) +- commit d659d2d + ------------------------------------------------------------------- Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com @@ -141,6 +964,13 @@ Fri Mar 1 10:03:56 CET 2024 - nik.borisov@suse.com - Delete patches.suse/EDAC-amd64-Add-MI300-row-retirement-support.patch. - commit 50130ed +------------------------------------------------------------------- +Fri Mar 1 03:19:23 CET 2024 - wqu@suse.com + +- btrfs: do not ASSERT() if the newly created subvolume already + got read (bsc#1219126). +- commit a427c9b + ------------------------------------------------------------------- Fri Mar 1 01:42:04 CET 2024 - tonyj@suse.de @@ -2410,6 +3240,15 @@ Thu Feb 22 18:57:06 CET 2024 - mwilck@suse.com patches.suse/dm_blk_ioctl-implement-path-failover-for-SG_IO.patch. - commit 5d036a3 +------------------------------------------------------------------- +Thu Feb 22 17:49:22 CET 2024 - msuchanek@suse.de + +- rpm templates: Always define usrmerged + usrmerged is now defined in kernel-spec-macros and not the distribution. + Only check if it's defined in kernel-spec-macros, not everywhere where + it's used. +- commit a6ad8af + ------------------------------------------------------------------- Thu Feb 22 16:17:49 CET 2024 - petr.pavlu@suse.com @@ -2521,6 +3360,18 @@ Wed Feb 21 21:41:21 CET 2024 - lduncan@suse.com (git-fixes). - commit fa5f13f +------------------------------------------------------------------- +Wed Feb 21 20:41:33 CET 2024 - msuchanek@suse.de + +- rpm templates: Move macro definitions below buildrequires + Many of the rpm macros defined in the kernel packages depend directly or + indirectly on script execution. OBS cannot execute scripts which means + values of these macros cannot be used in tags that are required for OBS + to see such as package name, buildrequires or buildarch. + Accumulate macro definitions that are not directly expanded by mkspec + below buildrequires and buildarch to make this distinction clear. +- commit 89eaf4c + ------------------------------------------------------------------- Wed Feb 21 20:16:09 CET 2024 - lduncan@suse.com @@ -17409,6 +18260,33 @@ Wed Feb 14 13:26:56 CET 2024 - jgross@suse.com (jsc#PED-7322). - commit c8c1c08 +------------------------------------------------------------------- +Wed Feb 14 13:26:29 CET 2024 - msuchanek@suse.de + +- kernel-binary: Move build script to the end + All other spec templates have the build script at the end, only + kernel-binary has it in the middle. Align with the other templates. +- commit 98cbdd0 + +------------------------------------------------------------------- +Wed Feb 14 13:20:44 CET 2024 - msuchanek@suse.de + +- rpm templates: Aggregate subpackage descriptions + While in some cases the package tags, description, scriptlets and + filelist are located together in other cases they are all across the + spec file. Aggregate the information related to a subpackage in one + place. +- commit 8eeb08c + +------------------------------------------------------------------- +Wed Feb 14 12:58:07 CET 2024 - msuchanek@suse.de + +- rpm templates: sort rpm tags + The rpm tags in kernel spec files are sorted at random. + Make the order of rpm tags somewhat more consistent across rpm spec + templates. +- commit 8875c35 + ------------------------------------------------------------------- Wed Feb 14 12:54:49 CET 2024 - denis.kirjanov@suse.com @@ -18566,6 +19444,12 @@ Fri Feb 9 13:07:02 CET 2024 - tiwai@suse.de __sev_platform_shutdown_locked (git-fixes). - commit f9fa694 +------------------------------------------------------------------- +Thu Feb 8 20:38:53 CET 2024 - msuchanek@suse.de + +- kernel-binary: certs: Avoid trailing space +- commit bc7dc31 + ------------------------------------------------------------------- Thu Feb 8 17:23:34 CET 2024 - tiwai@suse.de diff --git a/kernel-zfcpdump.spec b/kernel-zfcpdump.spec index a4a4adb..a6658a2 100644 --- a/kernel-zfcpdump.spec +++ b/kernel-zfcpdump.spec @@ -19,7 +19,7 @@ %define srcversion 6.4 %define patchversion 6.4.0 -%define git_commit b599b6792b5e73264ffa33bdae47b19dc43f9401 +%define git_commit dacef75e68efe93975d261181ecdeb4ef168ddab %define variant %{nil} %define compress_modules zstd %define compress_vmlinux xz @@ -29,96 +29,22 @@ %define split_base 0 %define split_optional 0 %define supported_modules_check 1 +%define build_flavor zfcpdump %include %_sourcedir/kernel-spec-macros -%define build_flavor zfcpdump -%define build_default ("%build_flavor" == "default") -%define build_vanilla ("%build_flavor" == "vanilla") -%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} - -%if ! %build_vanilla -%define src_install_dir /usr/src/linux-%kernelrelease%variant -%else -%define src_install_dir /usr/src/linux-%kernelrelease-vanilla -%endif -%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj -%define rpm_install_dir %buildroot%obj_install_dir -%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj - -%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) - %define klp_symbols 1 -%endif - %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) -%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) -%define cpu_arch_flavor %cpu_arch/%build_flavor - -%global certs %( for f in %_sourcedir/*.crt; do \ - if ! test -e "$f"; then \ - continue \ - fi \ - h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ - if [ -z "$h" ] ; then \ - echo Cannot parse "$f" >&2 \ - confinue \ - fi \ - cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ - echo Found signing certificate "$f" "($cert)" >&2 \ - cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ - mkdir -p %_sourcedir/.kernel_signing_certs \ - openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ - echo -n "$cert" "" \ -done ) - -%ifarch %ix86 x86_64 -%define image vmlinuz -%endif -%ifarch ppc ppc64 ppc64le -%define image vmlinux -%endif -%ifarch s390 s390x -%define image image -%endif -%ifarch %arm -%define image zImage -%endif -%ifarch aarch64 riscv64 -%define image Image -%endif - -# Define some CONFIG variables as rpm macros as well. (rpm cannot handle -# defining them all at once.) -%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC -%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} -%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") - -%if "%CONFIG_MODULES" != "y" - %define klp_symbols 0 -%endif - -%ifarch %ix86 x86_64 -%define install_vdso 1 -%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 -%define separate_vdso 1 -%endif -%else -%define install_vdso 0 -%endif - -%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor - Name: kernel-zfcpdump -Summary: The IBM System Z zfcpdump Kernel -License: GPL-2.0-only -Group: System/Kernel Version: 6.4.0 %if 0%{?is_kotd} -Release: .gb599b67 +Release: .gdacef75 %else Release: 0 %endif +Summary: The IBM System Z zfcpdump Kernel +License: GPL-2.0-only +Group: System/Kernel URL: https://www.kernel.org/ %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 BuildRequires: bash-sh @@ -159,6 +85,85 @@ BuildRequires: u-boot-tools # Remove some packages that are installed automatically by the build system, # but are not needed to build the kernel #!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv +%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} +ExclusiveArch: s390x +%else +ExclusiveArch: do_not_build +%endif + +%ifarch %ix86 x86_64 +%define image vmlinuz +%endif +%ifarch ppc ppc64 ppc64le +%define image vmlinux +%endif +%ifarch s390 s390x +%define image image +%endif +%ifarch %arm +%define image zImage +%endif +%ifarch aarch64 riscv64 +%define image Image +%endif + +%ifarch %ix86 x86_64 +%define install_vdso 1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define separate_vdso 1 +%endif +%else +%define install_vdso 0 +%endif + +%define build_default ("%build_flavor" == "default") +%define build_vanilla ("%build_flavor" == "vanilla") +%define vanilla_only %{lua: if (rpm.expand("%variant") == "-vanilla") then print(1) else print(0) end} + +%if ! %build_vanilla +%define src_install_dir /usr/src/linux-%kernelrelease%variant +%else +%define src_install_dir /usr/src/linux-%kernelrelease-vanilla +%endif +%define obj_install_dir /usr/src/linux-%kernelrelease%variant-obj +%define rpm_install_dir %buildroot%obj_install_dir +%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj +%define modules_dir %kernel_module_directory/%kernelrelease-%build_flavor + +%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu) +%define cpu_arch_flavor %cpu_arch/%build_flavor + +%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) + %define klp_symbols 1 +%endif + +# Define some CONFIG variables as rpm macros as well. (rpm cannot handle +# defining them all at once.) +%define config_vars CONFIG_MODULES CONFIG_MODULE_SIG CONFIG_MODULE_SIG_HASH CONFIG_KMSG_IDS CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB CONFIG_LIVEPATCH_IPA_CLONES CONFIG_DEBUG_INFO_BTF_MODULES CONFIG_PREEMPT_DYNAMIC +%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)} +%define split_extra ("%CONFIG_MODULES" == "y" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y") + +%if "%CONFIG_MODULES" != "y" + %define klp_symbols 0 +%endif + +%global certs %( space="" ; for f in %_sourcedir/*.crt; do \ + if ! test -e "$f"; then \ + continue \ + fi \ + h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") \ + if [ -z "$h" ] ; then \ + echo Cannot parse "$f" >&2 \ + confinue \ + fi \ + cert=$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p') \ + echo Found signing certificate "$f" "($cert)" >&2 \ + cat "$f" >>%_sourcedir/.kernel_signing_key.pem \ + mkdir -p %_sourcedir/.kernel_signing_certs \ + openssl x509 -inform PEM -in "$f" -outform DER -out %_sourcedir/.kernel_signing_certs/"$cert".crt \ + echo -n "$space$cert" ; space=" " \ +done ) + Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc Source14: series.conf @@ -298,18 +303,13 @@ NoSource: 113 NoSource: 114 NoSource: 120 NoSource: 121 -%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} -ExclusiveArch: s390x -%else -ExclusiveArch: do_not_build -%endif + %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 %if ! %build_default BuildArch: i686 %endif %endif - # Force bzip2 instead of lzma compression to # 1) allow install on older dist versions, and # 2) decrease build times (bsc#962356 boo#1175882) @@ -367,7 +367,7 @@ Requires(post): dracut # the grub entry has correct title (bnc#757565) Requires(post): distribution-release -%if 0%{?usrmerged} +%if %{usrmerged} # make sure we have a post-usrmerge system Conflicts: filesystem < 16 %endif @@ -435,6 +435,768 @@ should not be installed as a regular booting kernel. %source_timestamp + +%pre +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%post +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%preun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%postun +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%posttrans +%if "%build_flavor" != "zfcpdump" +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" +%endif +%files -f kernel-main.files + +%if "%CONFIG_MODULES" == "y" && %split_base +%package base +Summary: The IBM System Z zfcpdump Kernel - base modules +Group: System/Kernel +Url: http://www.kernel.org/ +Provides: kernel-base = %version-%source_rel +Provides: multiversion(kernel) +Conflicts: %name = %version-%source_rel +Requires(pre): suse-kernel-rpm-scriptlets +Requires(post): suse-kernel-rpm-scriptlets +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 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 +# This Requires is wrong, because the post/postun scripts have a +# test -x update-bootloader, having perl-Bootloader is not a hard requirement. +# But, there is no way to tell rpm or yast to schedule the installation +# of perl-Bootloader before kernel-binary.rpm if both are in the list of +# packages to install/update. Likewise, this is true for dracut. +# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry +Requires(post): perl-Bootloader >= 0.4.15 +Requires(post): dracut +# Install the package providing /etc/SuSE-release early enough, so that +# the grub entry has correct title (bnc#757565) +Requires(post): distribution-release + +%if %{usrmerged} +# make sure we have a post-usrmerge system +Conflicts: filesystem < 16 +%endif + +Obsoletes: microcode_ctl < 1.18 + +%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') + if not fd then io.stderr:write(err) end + unpack = table.unpack or unpack + for l in fd:lines() do + if #l > 0 and l:sub(1,1) ~= '#' then + words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end + package, version = unpack(words) + print('Conflicts: ' .. package .. ' < '.. version .. '\n') + end + end + fd:close() +} + +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +Provides: kernel = %version-%source_rel +Provides: kernel-%build_flavor-base-srchash-%git_commit +Provides: kernel-srchash-%git_commit + +%obsolete_rebuilds %name-base +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif + +%description base +The Linux kernel for booting the zfcpdump process on IBM System Z. + +This kernel should only be used by the s390-tools package. This kernel +should not be installed as a regular booting kernel. + +This package contains only the base modules, required in all installs. + + +%source_timestamp +%pre base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans base +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files base -f kernel-base.files +%endif + +%package extra +Summary: The IBM System Z zfcpdump Kernel - Unsupported kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-extra_%_target_cpu = %version-%source_rel +Provides: kernel-extra = %version-%source_rel +Provides: multiversion(kernel) +Requires: %{name}_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-extra +Supplements: packageand(product(SLED):%{name}_%_target_cpu) +Supplements: packageand(product(sle-we):%{name}_%_target_cpu) +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-extra = %version-%release +Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel +%endif +%endif + +%description extra +The Linux kernel for booting the zfcpdump process on IBM System Z. + +This kernel should only be used by the s390-tools package. This kernel +should not be installed as a regular booting kernel. + +This package contains additional modules not supported by SUSE. + + +%source_timestamp + +%pre extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans extra +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%if %split_extra + +%files extra -f kernel-extra.files +%endif + +%if %split_extra && %split_optional +%package optional +Summary: The IBM System Z zfcpdump Kernel - Optional kernel modules +Group: System/Kernel +URL: https://www.kernel.org/ +Provides: %name-optional_%_target_cpu = %version-%source_rel +Provides: kernel-optional = %version-%source_rel +Provides: multiversion(kernel) +Requires: %name-extra_%_target_cpu = %version-%source_rel +Requires(pre): coreutils awk +Requires(post): modutils +Requires(post): perl-Bootloader +Requires(post): dracut +%obsolete_rebuilds %name-optional +Supplements: packageand(product(Leap):%{name}_%_target_cpu) +%ifarch %ix86 +Conflicts: libc.so.6()(64bit) +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-optional = %version-%release +Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel +%endif +%endif + +%description optional +The Linux kernel for booting the zfcpdump process on IBM System Z. + +This kernel should only be used by the s390-tools package. This kernel +should not be installed as a regular booting kernel. + +This package contains optional modules only for openSUSE Leap. + + +%source_timestamp + +%pre optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans optional +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files optional -f kernel-optional.files +%endif + +%if "%CONFIG_KMSG_IDS" == "y" + +%package man +Summary: The collection of man pages generated by the kmsg script +Group: System/Kernel + +%description man +This package includes the man pages that have been generated from the +kmsg message documentation comments. + + +%source_timestamp +%files man +/usr/share/man/man9/* +%endif + +%if 0%{?separate_vdso} +%package vdso +Summary: vdso binaries for debugging purposes +Group: System/Kernel + +%description vdso +This package includes the vdso binaries. They can be used for debugging. The +actual binary linked to the programs is loaded from the in-memory image, not +from this package. + + +%source_timestamp +%files vdso +%modules_dir/vdso/ +%endif + +%package devel +Summary: Development files necessary for building kernel modules +Group: Development/Sources +Provides: %name-devel = %version-%source_rel +Provides: multiversion(kernel) +%if ! %build_vanilla && ! %vanilla_only +Requires: kernel-devel%variant = %version-%source_rel +Recommends: make +Recommends: gcc +Recommends: perl +# for objtool +Requires: libelf-devel +Supplements: packageand(%name:kernel-devel%variant) +%else +Requires: kernel-source-vanilla = %version-%source_rel +Supplements: packageand(%name:kernel-source-vanilla) +%endif +%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" +Requires: dwarves >= 1.22 +%endif +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kernel-preempt-devel = %version-%release +%endif +%endif +%obsolete_rebuilds %name-devel +PreReq: coreutils + +%description devel +This package contains files necessary for building kernel modules (and +kernel module packages) against the %build_flavor flavor of the kernel. + + +%source_timestamp + +%if "%CONFIG_MODULES" == "y" + +%pre devel + +# handle update from an older kernel-source with linux-obj as symlink +if [ -h /usr/src/linux-obj ]; then + rm -vf /usr/src/linux-obj +fi + +%post devel +%relink_function + +relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" + +%files devel -f kernel-devel.files +%dir /usr/src/linux-obj +%dir /usr/src/linux-obj/%cpu_arch +%ghost /usr/src/linux-obj/%cpu_arch_flavor +%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list +%if "%kmp_target_cpu" != "%cpu_arch" +%obj_install_dir/%kmp_target_cpu +/usr/src/linux-obj/%kmp_target_cpu +%endif + +%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) +%if "%livepatch" == "kgraft" +%define patch_package %{livepatch}-patch +%else +%define patch_package kernel-%{livepatch} +%endif +%package %{livepatch} +Summary: Metapackage to pull in matching %patch_package package +Group: System/Kernel +Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} +Provides: multiversion(kernel) +%if "%variant" != "-rt" +Provides: kernel-default-kgraft = %version +Provides: kernel-xen-kgraft = %version +%if "%livepatch" != "kgraft" +Obsoletes: kernel-default-kgraft < %version +Obsoletes: kernel-xen-kgraft < %version +%endif +%endif + +%description %{livepatch} +This is a metapackage that pulls in the matching %patch_package package for a +given kernel version. The advantage of the metapackage is that its name is +static, unlike the %{patch_package}--flavor package names. + +%files %{livepatch} +# rpmlint complains about empty packages, so lets own something +%dir %modules_dir +%endif + +%if 0%{?klp_symbols} && "%livepatch" != "" +%package %{livepatch}-devel +Summary: Kernel symbols file used during kGraft patch development +Group: System/Kernel +Provides: klp-symbols = %version + +%description %{livepatch}-devel +This package brings a file named Symbols.list, which contains a list of all +kernel symbols and its respective kernel object . This list is to be used by +the klp-convert tool, which helps livepatch developers by enabling automatic +symbol resolution. + +%files %{livepatch}-devel -f livepatch-files +%endif + +%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" +%package -n cluster-md-kmp-%build_flavor +Summary: Clustering support for MD devices +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: cluster-md-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: cluster-md-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:cluster-md-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n cluster-md-kmp-%build_flavor +Clustering support for MD devices. This enables locking and +synchronization across multiple systems on the cluster, so all +nodes in the cluster can access the MD devices simultaneously. + +%pre -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n cluster-md-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files + +%package -n dlm-kmp-%build_flavor +Summary: DLM kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: dlm-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: dlm-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:dlm-kmp-%build_flavor) + +%description -n dlm-kmp-%build_flavor +DLM stands for Distributed Lock Manager, a means to synchronize access to +shared resources over the cluster. + +%pre -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n dlm-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n dlm-kmp-%build_flavor -f dlm-kmp.files + +%package -n gfs2-kmp-%build_flavor +Summary: GFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: gfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: gfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:gfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n gfs2-kmp-%build_flavor +GFS2 is Global Filesystem, a shared device filesystem. + +%pre -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n gfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files + +%package -n kselftests-kmp-%build_flavor +Summary: Kernel sefltests +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: kselftests-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: kselftests-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:kselftests-kmp-%build_flavor) + +%description -n kselftests-kmp-%build_flavor +This package contains kernel modules which are part of the upstream kernel +selftest effort. kselftest is the name of the upstream kernel target to build +and run all selftests. You can also run each test individually from the +respective upstream tools/testing/selftests/ directory, this package is +intended to be used using individial upstream selftest scripts given only +select supported selftest drivers are enabled. + +It should always be possible to always run the latest linux-next version of the +selftest scripts and tests against any older kernel selftest driver. Certain +tests facilities may be backported onto older kernels to enable further +testing. + +Selftests also provide for a vehicle or proof of concept issues to be +reproduced, verified and corrected. + +Selftest drivers are intended to be supported only in testing and QA +environments, they are not intended to be run on production systems. + +%pre -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n kselftests-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files + +%package -n ocfs2-kmp-%build_flavor +Summary: OCFS2 kernel modules +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: ocfs2-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: ocfs2-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:ocfs2-kmp-%build_flavor) +Requires: dlm-kmp-%build_flavor = %version-%release + +%description -n ocfs2-kmp-%build_flavor +OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices +accessible simultaneously from multiple nodes of a cluster. + +%pre -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n ocfs2-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files + +%package -n reiserfs-kmp-%build_flavor +Summary: Reiserfs kernel module +Group: System/Kernel +Requires: %name = %version-%source_rel +Provides: reiserfs-kmp = %version-%source_rel +Provides: multiversion(kernel) +# tell weak-modules2 to ignore this package +Provides: kmp_in_kernel +Requires(post): suse-module-tools >= 12.4 +%if %build_default +%if "%CONFIG_PREEMPT_DYNAMIC" == "y" +Provides: reiserfs-kmp-preempt = %version-%release +%endif +%endif +Enhances: %name +Supplements: packageand(%name:reiserfs-kmp-%build_flavor) + +%description -n reiserfs-kmp-%build_flavor +The reiserfs file system is no longer supported in SLE15. This package +provides the reiserfs module for the installation system. + +%pre -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%post -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%preun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%postun -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%posttrans -n reiserfs-kmp-%build_flavor +%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ + --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ + --image "%image" --flavor "%build_flavor" --variant "%variant" \ + --usrmerged "%{usrmerged}" --certs "%certs" "$@" + +%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files + +%endif # %CONFIG_SUSE_KERNEL_SUPPORTED +%endif # %CONFIG_MODULES + %prep if ! [ -e %{S:0} ]; then echo "The %name-%version.nosrc.rpm package does not contain the" \ @@ -795,7 +1557,7 @@ add_vmlinux() # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if "%CONFIG_EFI_STUB" == "y" -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -803,7 +1565,7 @@ BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" %endif %if ! %sb_efi_only %ifarch s390x ppc64 ppc64le -%if 0%{?usrmerged} +%if %{usrmerged} BRP_PESIGN_FILES="%modules_dir/%image" %else BRP_PESIGN_FILES="/boot/%image-%kernelrelease-%build_flavor" @@ -1075,7 +1837,7 @@ if [ -f %my_builddir/livepatch-files.no_dir ] ; then fi # does not exist for non-modularized kernels -%if 0%{?usrmerged} +%if %{usrmerged} mkdir -p %{buildroot}%modules_dir %endif shopt -s nullglob dotglob @@ -1085,7 +1847,7 @@ shopt -s nullglob dotglob echo "%modules_dir/source" cd %buildroot for file in boot/symtypes*; do -%if 0%{?usrmerged} +%if %{usrmerged} l="${file##*/}" l="%modules_dir/${l//-%kernelrelease-%build_flavor}" mv "$file" "%{buildroot}$l" @@ -1130,19 +1892,19 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files echo -n "%%ghost " fi ;; -%if 0%{?usrmerged} +%if %{usrmerged} boot/vmlinuz-*) echo -n "%%attr(0644, root, root) " ;; %endif boot/symtypes*) -%if 0%{?usrmerged} +%if %{usrmerged} echo "%exclude $l" %endif continue ;; esac -%if 0%{?usrmerged} +%if %{usrmerged} mv "$f" "./$l" ln -s "..$l" $f # the find in the CONFIG_MODULES condition below also finds the files @@ -1166,7 +1928,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \ -o -name '*.ko' -prune \ -o \( -type f \ -%if 0%{?usrmerged} +%if %{usrmerged} ! -path '*/symtypes*' ! -path '*/vmlinu*' \ %endif \) -printf '/%%p\n' @@ -1214,7 +1976,7 @@ add_dirs_to_filelist >> %my_builddir/kernel-devel.files %if 0%{?sle_version} > 150300 modprobe_d_dir=/lib/modprobe.d %endif - %if 0%{?usrmerged} + %if %{usrmerged} modprobe_d_dir=/usr/lib/modprobe.d %endif @@ -1248,765 +2010,4 @@ fi # /usr/src/linux-obj intentionally, to not accidentally break timestamps there %fdupes %buildroot%modules_dir -%pre -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%post -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%preun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%postun -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%posttrans -%if "%build_flavor" != "zfcpdump" -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" -%endif -%files -f kernel-main.files - -%if "%CONFIG_MODULES" == "y" && %split_base -%package base -Summary: The IBM System Z zfcpdump Kernel - base modules -Group: System/Kernel -Url: http://www.kernel.org/ -Provides: kernel-base = %version-%source_rel -Provides: multiversion(kernel) -Conflicts: %name = %version-%source_rel -Requires(pre): suse-kernel-rpm-scriptlets -Requires(post): suse-kernel-rpm-scriptlets -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 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 -# This Requires is wrong, because the post/postun scripts have a -# test -x update-bootloader, having perl-Bootloader is not a hard requirement. -# But, there is no way to tell rpm or yast to schedule the installation -# of perl-Bootloader before kernel-binary.rpm if both are in the list of -# packages to install/update. Likewise, this is true for dracut. -# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry -Requires(post): perl-Bootloader >= 0.4.15 -Requires(post): dracut -# Install the package providing /etc/SuSE-release early enough, so that -# the grub entry has correct title (bnc#757565) -Requires(post): distribution-release - -%if 0%{?usrmerged} -# make sure we have a post-usrmerge system -Conflicts: filesystem < 16 -%endif - -Obsoletes: microcode_ctl < 1.18 - -%{lua: fd, err = io.open(rpm.expand('%_sourcedir') .. '/kernel-binary-conflicts') - if not fd then io.stderr:write(err) end - unpack = table.unpack or unpack - for l in fd:lines() do - if #l > 0 and l:sub(1,1) ~= '#' then - words = {} ; for w in l:gmatch("([^%s]+)%s*") do table.insert(words, w) end - package, version = unpack(words) - print('Conflicts: ' .. package .. ' < '.. version .. '\n') - end - end - fd:close() -} - -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-%git_commit -Provides: kernel-srchash-%git_commit - -%obsolete_rebuilds %name-base -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif - -%description base -The Linux kernel for booting the zfcpdump process on IBM System Z. - -This kernel should only be used by the s390-tools package. This kernel -should not be installed as a regular booting kernel. - -This package contains only the base modules, required in all installs. - - -%source_timestamp -%pre base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-preun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-postun --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans base -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-posttrans --name "%name-base" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files base -f kernel-base.files -%endif - -%package extra -Summary: The IBM System Z zfcpdump Kernel - Unsupported kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-extra_%_target_cpu = %version-%source_rel -Provides: kernel-extra = %version-%source_rel -Provides: multiversion(kernel) -Requires: %{name}_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-extra -Supplements: packageand(product(SLED):%{name}_%_target_cpu) -Supplements: packageand(product(sle-we):%{name}_%_target_cpu) -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-extra = %version-%release -Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel -%endif -%endif - -%description extra -The Linux kernel for booting the zfcpdump process on IBM System Z. - -This kernel should only be used by the s390-tools package. This kernel -should not be installed as a regular booting kernel. - -This package contains additional modules not supported by SUSE. - - -%source_timestamp - -%pre extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans extra -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-extra" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%if %split_extra - -%files extra -f kernel-extra.files -%endif - -%if %split_extra && %split_optional -%package optional -Summary: The IBM System Z zfcpdump Kernel - Optional kernel modules -Group: System/Kernel -URL: https://www.kernel.org/ -Provides: %name-optional_%_target_cpu = %version-%source_rel -Provides: kernel-optional = %version-%source_rel -Provides: multiversion(kernel) -Requires: %name-extra_%_target_cpu = %version-%source_rel -Requires(pre): coreutils awk -Requires(post): modutils -Requires(post): perl-Bootloader -Requires(post): dracut -%obsolete_rebuilds %name-optional -Supplements: packageand(product(Leap):%{name}_%_target_cpu) -%ifarch %ix86 -Conflicts: libc.so.6()(64bit) -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-optional = %version-%release -Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel -%endif -%endif - -%description optional -The Linux kernel for booting the zfcpdump process on IBM System Z. - -This kernel should only be used by the s390-tools package. This kernel -should not be installed as a regular booting kernel. - -This package contains optional modules only for openSUSE Leap. - - -%source_timestamp - -%pre optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans optional -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "%name-optional" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files optional -f kernel-optional.files -%endif - -%if "%CONFIG_KMSG_IDS" == "y" - -%package man -Summary: The collection of man pages generated by the kmsg script -Group: System/Kernel - -%description man -This package includes the man pages that have been generated from the -kmsg message documentation comments. - - -%source_timestamp -%files man -/usr/share/man/man9/* -%endif - -%if 0%{?separate_vdso} -%package vdso -Summary: vdso binaries for debugging purposes -Group: System/Kernel - -%description vdso -This package includes the vdso binaries. They can be used for debugging. The -actual binary linked to the programs is loaded from the in-memory image, not -from this package. - - -%source_timestamp -%files vdso -/%{?usrmerged:usr/}lib/modules/%kernelrelease-%build_flavor/vdso/ -%endif - -%package devel -Summary: Development files necessary for building kernel modules -Group: Development/Sources -Provides: %name-devel = %version-%source_rel -Provides: multiversion(kernel) -%if ! %build_vanilla && ! %vanilla_only -Requires: kernel-devel%variant = %version-%source_rel -Recommends: make -Recommends: gcc -Recommends: perl -# for objtool -Requires: libelf-devel -Supplements: packageand(%name:kernel-devel%variant) -%else -Requires: kernel-source-vanilla = %version-%source_rel -Supplements: packageand(%name:kernel-source-vanilla) -%endif -%if "%CONFIG_DEBUG_INFO_BTF_MODULES" == "y" -Requires: dwarves >= 1.22 -%endif -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kernel-preempt-devel = %version-%release -%endif -%endif -%obsolete_rebuilds %name-devel -PreReq: coreutils - -%description devel -This package contains files necessary for building kernel modules (and -kernel module packages) against the %build_flavor flavor of the kernel. - - -%source_timestamp - -%if "%CONFIG_MODULES" == "y" - -%pre devel - -# handle update from an older kernel-source with linux-obj as symlink -if [ -h /usr/src/linux-obj ]; then - rm -vf /usr/src/linux-obj -fi - -%post devel -%relink_function - -relink ../../linux-%{kernelrelease}%{variant}-obj/"%cpu_arch_flavor" /usr/src/linux-obj/"%cpu_arch_flavor" - -%files devel -f kernel-devel.files -%dir /usr/src/linux-obj -%dir /usr/src/linux-obj/%cpu_arch -%ghost /usr/src/linux-obj/%cpu_arch_flavor -%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list -%if "%kmp_target_cpu" != "%cpu_arch" -%obj_install_dir/%kmp_target_cpu -/usr/src/linux-obj/%kmp_target_cpu -%endif - -%if "%livepatch" != "" && "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" && (("%variant" == "" && %build_default) || ("%variant" == "-rt" && 0%livepatch_rt)) -%if "%livepatch" == "kgraft" -%define patch_package %{livepatch}-patch -%else -%define patch_package kernel-%{livepatch} -%endif -%package %{livepatch} -Summary: Metapackage to pull in matching %patch_package package -Group: System/Kernel -Requires: %{patch_package}-%(echo %{version}-%{source_rel} | sed 'y/\./_/')-%{build_flavor} -Provides: multiversion(kernel) -%if "%variant" != "-rt" -Provides: kernel-default-kgraft = %version -Provides: kernel-xen-kgraft = %version -%if "%livepatch" != "kgraft" -Obsoletes: kernel-default-kgraft < %version -Obsoletes: kernel-xen-kgraft < %version -%endif -%endif - -%description %{livepatch} -This is a metapackage that pulls in the matching %patch_package package for a -given kernel version. The advantage of the metapackage is that its name is -static, unlike the %{patch_package}--flavor package names. - -%files %{livepatch} -# rpmlint complains about empty packages, so lets own something -%dir %modules_dir -%endif - -%if 0%{?klp_symbols} && "%livepatch" != "" -%package %{livepatch}-devel -Summary: Kernel symbols file used during kGraft patch development -Group: System/Kernel -Provides: klp-symbols = %version - -%description %{livepatch}-devel -This package brings a file named Symbols.list, which contains a list of all -kernel symbols and its respective kernel object . This list is to be used by -the klp-convert tool, which helps livepatch developers by enabling automatic -symbol resolution. - -%files %{livepatch}-devel -f livepatch-files -%endif - -%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y" -%package -n cluster-md-kmp-%build_flavor -Summary: Clustering support for MD devices -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: cluster-md-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: cluster-md-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:cluster-md-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n cluster-md-kmp-%build_flavor -Clustering support for MD devices. This enables locking and -synchronization across multiple systems on the cluster, so all -nodes in the cluster can access the MD devices simultaneously. - -%pre -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n cluster-md-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "cluster-md-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n cluster-md-kmp-%build_flavor -f cluster-md-kmp.files - -%package -n dlm-kmp-%build_flavor -Summary: DLM kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: dlm-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: dlm-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:dlm-kmp-%build_flavor) - -%description -n dlm-kmp-%build_flavor -DLM stands for Distributed Lock Manager, a means to synchronize access to -shared resources over the cluster. - -%pre -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n dlm-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "dlm-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n dlm-kmp-%build_flavor -f dlm-kmp.files - -%package -n gfs2-kmp-%build_flavor -Summary: GFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: gfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: gfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:gfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n gfs2-kmp-%build_flavor -GFS2 is Global Filesystem, a shared device filesystem. - -%pre -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n gfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "gfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n gfs2-kmp-%build_flavor -f gfs2-kmp.files - -%package -n kselftests-kmp-%build_flavor -Summary: Kernel sefltests -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: kselftests-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: kselftests-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:kselftests-kmp-%build_flavor) - -%description -n kselftests-kmp-%build_flavor -This package contains kernel modules which are part of the upstream kernel -selftest effort. kselftest is the name of the upstream kernel target to build -and run all selftests. You can also run each test individually from the -respective upstream tools/testing/selftests/ directory, this package is -intended to be used using individial upstream selftest scripts given only -select supported selftest drivers are enabled. - -It should always be possible to always run the latest linux-next version of the -selftest scripts and tests against any older kernel selftest driver. Certain -tests facilities may be backported onto older kernels to enable further -testing. - -Selftests also provide for a vehicle or proof of concept issues to be -reproduced, verified and corrected. - -Selftest drivers are intended to be supported only in testing and QA -environments, they are not intended to be run on production systems. - -%pre -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n kselftests-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "kselftests-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n kselftests-kmp-%build_flavor -f kselftests-kmp.files - -%package -n ocfs2-kmp-%build_flavor -Summary: OCFS2 kernel modules -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: ocfs2-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: ocfs2-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:ocfs2-kmp-%build_flavor) -Requires: dlm-kmp-%build_flavor = %version-%release - -%description -n ocfs2-kmp-%build_flavor -OCFS2 is the Oracle Cluster Filesystem, a filesystem for shared devices -accessible simultaneously from multiple nodes of a cluster. - -%pre -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n ocfs2-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "ocfs2-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files - -%package -n reiserfs-kmp-%build_flavor -Summary: Reiserfs kernel module -Group: System/Kernel -Requires: %name = %version-%source_rel -Provides: reiserfs-kmp = %version-%source_rel -Provides: multiversion(kernel) -# tell weak-modules2 to ignore this package -Provides: kmp_in_kernel -Requires(post): suse-module-tools >= 12.4 -%if %build_default -%if "%CONFIG_PREEMPT_DYNAMIC" == "y" -Provides: reiserfs-kmp-preempt = %version-%release -%endif -%endif -Enhances: %name -Supplements: packageand(%name:reiserfs-kmp-%build_flavor) - -%description -n reiserfs-kmp-%build_flavor -The reiserfs file system is no longer supported in SLE15. This package -provides the reiserfs module for the installation system. - -%pre -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%post -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%preun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%postun -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%posttrans -n reiserfs-kmp-%build_flavor -%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \ - --version "%version" --release "%release" --kernelrelease "%kernelrelease" \ - --image "%image" --flavor "%build_flavor" --variant "%variant" \ - --usrmerged "0%{?usrmerged}" --certs "%certs" "$@" - -%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files - -%endif # %CONFIG_SUSE_KERNEL_SUPPORTED -%endif # %CONFIG_MODULES - %changelog diff --git a/macros.kernel-source b/macros.kernel-source index 78b4126..c2ec2be 100644 --- a/macros.kernel-source +++ b/macros.kernel-source @@ -6,6 +6,7 @@ else \ print( "" ) \ end } +%usrmerged %{lua: susever = rpm.expand('%{?suse_version}'); if susever ~= '' and tonumber(susever) > 1550 then print('1') else print('0') end } %kernel_module_package_release 1 %kernel_module_package_buildreqs modutils kernel-syms kmod-compat suse-kernel-rpm-scriptlets %kernel_build_shell_package diff --git a/mkspec-dtb b/mkspec-dtb index 995ee7c..32008a3 100644 --- a/mkspec-dtb +++ b/mkspec-dtb @@ -107,8 +107,6 @@ sub generate_spec($$$) unless ($exclusive_arch eq 'none'); my $subpkg_desc = ""; - my $subpkg_post = ""; - my $subpkg_files = ""; my $all_supported_dtb = ""; my $DTS_folder = "arch/arm/boot/dts"; if ($exclusive_arch =~ /aarch64/) { @@ -153,7 +151,7 @@ sub generate_spec($$$) "%description -n $PKG_NAME\n" . "Device Tree files for $MACHINES.\n\n"; - $subpkg_post .= + $subpkg_desc .= "%post -n $PKG_NAME\n" . "cd /boot\n" . "# If /boot/dtb is a symlink, remove it, so that we can replace it.\n" . @@ -173,7 +171,7 @@ sub generate_spec($$$) $dtb_subdir .= "%dir %{dtbdir}$path\n"; } - $subpkg_files .= + $subpkg_desc .= "%ifarch aarch64 riscv64\n" . "%files -n $PKG_NAME -f $PKG_NAME.list\n" . "%else\n" . @@ -197,8 +195,6 @@ sub generate_spec($$$) $_ =~ s/\$DTS_folder/$DTS_folder/g; $_ =~ s/\$SUBPKG_DESC/$subpkg_desc/g; $_ =~ s/\$ALL_SUPPORTED_DTB/$all_supported_dtb/g; - $_ =~ s/\$SUBPKG_POST\n?/$subpkg_post/g; - $_ =~ s/\$SUBPKG_FILES\n?/$subpkg_files/g; print SPEC $_; } diff --git a/patches.kabi.tar.bz2 b/patches.kabi.tar.bz2 index 8750b65..9969f95 100644 --- a/patches.kabi.tar.bz2 +++ b/patches.kabi.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:58f3d1e712333b2c3493018418a49cd7b58c9341a97b22d0b6d8bb0b0fd8a251 -size 130 +oid sha256:1f2066188ac14cdbe72dea3d8241520501e0d3e559f598426399d45954c333f6 +size 1014 diff --git a/patches.suse.tar.bz2 b/patches.suse.tar.bz2 index 659392b..3bea4f5 100644 --- a/patches.suse.tar.bz2 +++ b/patches.suse.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8c2307b1f7f633c3bbe06aee5f85850c220cc75186100a3c5c367f2514102c43 -size 18159551 +oid sha256:7e209182942fe23d0ede33dbc732d131d32a3308b0eb6c35fa7e3f30c2962aa6 +size 18307298 diff --git a/series.conf b/series.conf index 67501a3..aa403b7 100644 --- a/series.conf +++ b/series.conf @@ -4770,6 +4770,7 @@ patches.suse/vfio-mdev-Move-the-compat_class-initialization-.patch patches.suse/xtensa-fix-NOMMU-build-with-lock_mm_and_find_vm.patch patches.suse/crypto-ixp4xx-silence-uninitialized-variable-warning.patch + patches.suse/crypto-jitter-replace-LFSR-with-SHA3-256.patch patches.suse/hwrng-virtio-Fix-race-on-data_avail-and-actual-.patch patches.suse/crypto-nx-fix-build-warnings-when-DEBUG_FS-is-n.patch patches.suse/crypto-marvell-cesa-Fix-type-mismatch-warning.patch @@ -5700,6 +5701,7 @@ patches.suse/xdp-use-trusted-arguments-in-XDP-hints-kfuncs.patch patches.suse/net-sched-sch_qfq-reintroduce-lmax-bound-check-.patch patches.suse/net-sched-sch_qfq-account-for-stab-overhead-in-.patch + patches.suse/erofs-get-rid-of-the-remaining-kmap_atomic.patch patches.suse/erofs-avoid-useless-loops-in-z_erofs_pcluster_r.patch patches.suse/erofs-avoid-infinite-loop-in-z_erofs_do_read_pa.patch patches.suse/erofs-fix-fsdax-unavailability-for-chunk-based-.patch @@ -7361,6 +7363,7 @@ patches.suse/crypto-af_alg-Decrement-struct-key.usage-in-alg_set_.patch patches.suse/crypto-qat-use-kfree_sensitive-instead-of-memset-kfr.patch patches.suse/crypto-api-Use-work-queue-in-crypto_destroy_instance.patch + patches.suse/crypto-jitter-Add-clarifying-comments-to-Jitter-Entr.patch patches.suse/crypto-caam-fix-unchecked-return-value-error.patch patches.suse/crypto-qat-Remove-unused-function-declarations.patch patches.suse/hwrng-iproc-rng200-Implement-suspend-and-resume-call.patch @@ -11420,6 +11423,7 @@ patches.suse/x86-sgx-Break-up-long-non-preemptible-delays-in-sgx_vepc_r.patch patches.suse/1268-drm-Add-initial-ci-subdirectory.patch patches.suse/1269-drm-ci-docs-fix-build-warning-add-missing-escape.patch + patches.suse/ovl-fix-failed-copyup-of-fileattr-on-a-symlink.patch patches.suse/kunit-Fix-wild-memory-access-bug-in-kunit_free_suite.patch patches.suse/selftests-ftrace-Correctly-enable-event-in-instance-.patch patches.suse/kselftest-runner.sh-Propagate-SIGTERM-to-runner-chil.patch @@ -11432,6 +11436,8 @@ patches.suse/platform-mellanox-mlxbf-bootctl-add-NET-dependency-i.patch patches.suse/platform-mellanox-NVSW_SN2201-should-depend-on-ACPI.patch patches.suse/platform-x86-asus-wmi-Support-2023-ROG-X16-tablet-mo.patch + patches.suse/btrfs-improve-error-message-after-failure-to-add-del.patch + patches.suse/btrfs-remove-BUG-after-failure-to-insert-delayed-dir.patch patches.suse/tracing-Increase-trace-array-ref-count-on-enable-and-filter-files.patch patches.suse/tracing-Have-tracing_max_latency-inc-the-trace-array-ref-count.patch patches.suse/tracing-Have-current_trace-inc-the-trace-array-ref-count.patch @@ -11559,6 +11565,9 @@ patches.suse/spi-stm32-add-a-delay-before-SPI-disable.patch patches.suse/spi-intel-pci-Add-support-for-Granite-Rapids-SPI-ser.patch patches.suse/spi-zynqmp-gqspi-fix-clock-imbalance-on-probe-failur.patch + patches.suse/btrfs-set-last-dir-index-to-the-current-last-index-w.patch + patches.suse/btrfs-refresh-dir-last-index-during-a-rewinddir-3-ca.patch + patches.suse/btrfs-fix-race-between-reading-a-directory-and-addin.patch patches.suse/media-v4l-Use-correct-dependency-for-camera-sensor-d.patch patches.suse/media-via-Use-correct-dependency-for-camera-sensor-d.patch patches.suse/media-uvcvideo-Fix-OOB-read.patch @@ -11696,6 +11705,7 @@ patches.suse/efi-unaccepted-Make-sure-unaccepted-table-is-mapped.patch patches.suse/locking-seqlock-Do-the-lockdep-annotation-before-loc.patch patches.suse/kernel-sched-Modify-initial-boot-task-idle-setup.patch + patches.suse/x86-mm-kexec-ima-Use-memblock_free_late-from-ima_fre.patch patches.suse/x86-srso-fix-srso_show_state-side-effect.patch patches.suse/x86-srso-set-cpuid-feature-bits-independently-of-bug-or-mitigation-status.patch patches.suse/x86-srso-don-t-probe-microcode-in-a-guest.patch @@ -11756,6 +11766,7 @@ patches.suse/direct_write_fallback-on-error-revert-the-ki_pos-upd.patch patches.suse/ovl-disable-IOCB_DIO_CALLER_COMP.patch patches.suse/vfio-pds-Add-missing-PCI_IOV-depends + patches.suse/vfio-mdev-Fix-a-null-ptr-deref-bug-for-mdev_unregist.patch patches.suse/scsi-core-ata-Do-no-try-to-probe-for-CDL-on-old-driv.patch patches.suse/spi-spi-gxp-BUG-Correct-spi-write-return-value.patch patches.suse/power-supply-ab8500-Set-typing-and-props.patch @@ -11824,6 +11835,8 @@ patches.suse/perf-x86-amd-Do-not-WARN-on-every-IRQ.patch patches.suse/sched-rt-Fix-live-lock-between-select_fallback_rq-and-RT-push.patch patches.suse/timers-Tag-hr-timer-softirq-as-hotplug-safe.patch + patches.suse/x86-srso-Add-SRSO-mitigation-for-Hygon-processors.patch + patches.suse/x86-sgx-Resolves-SECS-reclaim-vs.-page-fault-for-EAU.patch patches.suse/serial-8250_port-Check-IRQ-data-before-use.patch patches.suse/Revert-tty-n_gsm-fix-UAF-in-gsm_cleanup_mux.patch patches.suse/misc-rtsx-Fix-some-platforms-can-not-boot-and-move-t.patch @@ -11933,6 +11946,7 @@ patches.suse/HID-sony-remove-duplicate-NULL-check-before-calling-.patch patches.suse/HID-intel-ish-hid-ipc-Disable-and-reenable-ACPI-GPE-.patch patches.suse/HID-Add-quirk-to-ignore-the-touchscreen-battery-on-H.patch + patches.suse/erofs-fix-memory-leak-of-LZMA-global-compressed-deduplication.patch patches.suse/1316-drm-i915-Don-t-set-PIPE_CONTROL_FLUSH_L3-for-aux-inv.patch patches.suse/1317-drm-i915-Register-engines-early-to-avoid-type-confus.patch patches.suse/1318-drm-i915-Invalidate-the-TLBs-on-each-GT.patch @@ -14843,6 +14857,7 @@ patches.suse/nvme-auth-allow-mixing-of-secret-and-hash-lengths.patch patches.suse/md-cluster-check-for-timeout-while-a-new-disk-adding-1bbe.patch patches.suse/md-cleanup-pers-prepare_suspend-78b7.patch + patches.suse/ata-ahci-add-identifiers-for-ASM2116-series-adapters.patch patches.suse/ata-libata-scsi-Cleanup-ata_scsi_start_stop_xlat.patch patches.suse/dm-shortcut-the-calls-to-linear_map-and-stripe_map-f144.patch patches.suse/dm-cache-metadata-replace-deprecated-strncpy-with-st-ac41.patch @@ -15248,6 +15263,8 @@ patches.suse/crypto-qat-enable-dc-chaining-service.patch patches.suse/crypto-x86-sha-load-modules-based-on-CPU-features.patch patches.suse/crypto-caam-qi2-fix-Chacha20-Poly1305-self-test-fail.patch + patches.suse/crypto-jitter-add-RCT-APT-support-for-different-OSRs.patch + patches.suse/crypto-jitter-Allow-configuration-of-memory-size.patch patches.suse/crypto-caam-jr-fix-Chacha20-Poly1305-self-test-failu.patch patches.suse/crypto-qat-increase-size-of-buffers.patch patches.suse/crypto-qat-Annotate-struct-adf_fw_counters-with-__co.patch @@ -15257,10 +15274,12 @@ patches.suse/crypto-qat-refactor-included-headers.patch patches.suse/crypto-qat-add-pm_status-debugfs-file.patch patches.suse/crypto-qat-add-cnv_errors-debugfs-file.patch + patches.suse/crypto-jitter-reuse-allocated-entropy-collector.patch patches.suse/crypto-qat-fix-double-free-during-reset.patch patches.suse/crypto-hisilicon-qm-fix-EQ-AEQ-interrupt-issue.patch patches.suse/padata-Fix-refcnt-handling-in-padata_free_shell.patch patches.suse/certs-Break-circular-dependency-when-selftest-is-mod.patch + patches.suse/crypto-jitter-use-permanent-health-test-storage.patch patches.suse/crypto-hisilicon-qm-prevent-soft-lockup-in-receive-l.patch patches.suse/crypto-qat-add-infrastructure-for-error-reporting.patch patches.suse/crypto-qat-add-reporting-of-correctable-errors-for-Q.patch @@ -15293,6 +15312,8 @@ patches.suse/mm-compaction-factor-out-code-to-test-if-we-should-run-compaction-for-target-order.patch patches.suse/mm-mremap-fix-unaccount-of-memory-on-vma_merge-failure.patch patches.suse/mm-fix-unaccount-of-memory-on-vma_link-failure.patch + patches.suse/0001-mm-mremap-optimize-the-start-addresses-in-move_page_.patch + patches.suse/0002-mm-mremap-allow-moves-within-the-same-VMA-for-stack-.patch patches.suse/kselftest-vm-fix-mdwe-s-mmap_FIXED-test-case.patch patches.suse/mm-make-PR_MDWE_REFUSE_EXEC_GAIN-an-unsigned-long.patch patches.suse/selftests-clone3-Fix-broken-test-under-CONFIG_TIME_N.patch @@ -15497,6 +15518,7 @@ patches.suse/vmcore-remove-dependency-with-is_kdump_kernel-for-ex.patch patches.suse/powerpc-fadump-make-is_kdump_kernel-return-false-whe.patch patches.suse/powerpc-xive-Fix-endian-conversion-size.patch + patches.suse/powerpc-Annotate-endianness-of-various-variables-and.patch patches.suse/powerpc-Hide-empty-pt_regs-at-base-of-the-stack.patch patches.suse/powerpc-paravirt-Improve-vcpu_is_preempted.patch patches.suse/powerpc-pseries-iommu-enable_ddw-incorrectly-returns.patch @@ -15644,6 +15666,7 @@ patches.suse/ACPI-thermal-Fix-acpi_thermal_unregister_thermal_zon.patch patches.suse/modpost-fix-tee-MODULE_DEVICE_TABLE-built-on-big-end.patch patches.suse/modpost-fix-ishtp-MODULE_DEVICE_TABLE-built-on-big-e.patch + patches.suse/efivarfs-Add-uid-gid-mount-options.patch patches.suse/9p-trans_fd-Annotate-data-racy-writes-to-file-f_flag.patch patches.suse/9p-v9fs_listxattr-fix-s-null-argument-warning.patch patches.suse/9p-net-fix-possible-memory-leak-in-p9_check_errors.patch @@ -16237,6 +16260,7 @@ patches.suse/net-mlx5e-Check-return-value-of-snprintf-writing-to-.patch patches.suse/net-mlx5e-Check-return-value-of-snprintf-writing-to--1b2bd0c0.patch patches.suse/macvlan-Don-t-propagate-promisc-change-to-lower-dev-.patch + patches.suse/netfilter-nf_tables-fix-pointer-math-issue-in-nft_by.patch patches.suse/ALSA-hda-realtek-Add-Dell-ALC295-to-pin-fall-back-ta.patch patches.suse/ALSA-hda-realtek-Enable-Mute-LED-on-HP-255-G8.patch patches.suse/ALSA-hda-realtek-Enable-internal-speaker-of-ASUS-K65.patch @@ -16720,6 +16744,7 @@ patches.suse/bpf-Fix-a-verifier-bug-due-to-incorrect-branch-offse.patch patches.suse/xsk-Skip-polling-event-check-for-unbound-socket.patch patches.suse/netfilter-bpf-fix-bad-registration-on-nf_defrag.patch + patches.suse/netfilter-nft_set_pipapo-skip-inactive-elements-duri.patch patches.suse/netfilter-nf_tables-bail-out-on-mismatching-dynset-a.patch patches.suse/net-tls-update-curr-on-splice-as-well.patch patches.suse/net-dsa-microchip-provide-a-list-of-valid-protocols-.patch @@ -17346,9 +17371,11 @@ patches.suse/perf-Add-branch_sample_call_stack.patch patches.suse/perf-x86-intel-Reorganize-attrs-and-is_visible.patch patches.suse/perf-x86-intel-Support-branch-counters-logging.patch + patches.suse/perf-core-Fix-narrow-startup-race-when-creating-the-perf-nr_addr_filters-sysfs-file.patch patches.suse/perf-x86-intel-cstate-Cleanup-duplicate-attr_groups.patch patches.suse/x86-smp-Export-symbol-cpu_clustergroup_mask.patch patches.suse/perf-x86-intel-cstate-Add-Sierra-Forest-support.patch + patches.suse/perf-Fix-the-nr_addr_filters-fix.patch patches.suse/perf-x86-intel-uncore-Generic-uncore_get_uncores-and-MMIO-format-of-SPR.patch patches.suse/perf-x86-uncore-Use-u64-to-replace-unsigned-for-the-uncore-offsets-array.patch patches.suse/perf-x86-intel-uncore-Support-Granite-Rapids.patch @@ -17413,6 +17440,9 @@ patches.suse/PM-sleep-Fix-possible-deadlocks-in-core-system-wide-.patch patches.suse/platform-x86-intel-vsec-Fix-xa_alloc-memory-leak.patch patches.suse/ipmi-Use-regspacings-passed-as-a-module-parameter.patch + patches.suse/efivarfs-force-RO-when-remounting-if-SetVariable-is-.patch + patches.suse/efivarfs-Move-efivar-availability-check-into-FS-cont.patch + patches.suse/efivarfs-Free-s_fs_info-on-unmount.patch patches.suse/kunit-debugfs-Fix-unchecked-dereference-in-debugfs_p.patch patches.suse/fanotify-store-fsid-in-mark-instead-of-in-connector.patch patches.suse/fanotify-allow-weak-fsid-when-watching-a-single-file.patch @@ -17434,6 +17464,7 @@ patches.suse/afs-fix-the-usage-of-read_seqbegin_or_lock-in-afs_find_server.patch patches.suse/dlm-use-kernel_connect-and-kernel_bind.patch patches.suse/dlm-fix-format-seq-ops-type-4.patch + patches.suse/erofs-fix-lz4-inplace-decompression.patch patches.suse/pstore-ram-Fix-crash-when-setting-number-of-cpus-to-.patch patches.suse/pstore-ram_core-fix-possible-overflow-in-persistent_.patch patches.suse/nvdimm-btt-replace-deprecated-strncpy-with-strscpy-ab7e.patch @@ -17765,6 +17796,7 @@ patches.suse/wifi-ath9k-Fix-potential-array-index-out-of-bounds-r.patch patches.suse/wifi-ath11k-fix-race-due-to-setting-ATH11K_FLAG_EXT_.patch patches.suse/wifi-ath12k-fix-and-enable-AP-mode-for-WCN7850.patch + patches.suse/bpf-Minor-logging-improvement.patch patches.suse/bpf-Check-rcu_read_lock_trace_held-before-calling-bp.patch patches.suse/bpf-Add-map-and-need_defer-parameters-to-.map_fd_put.patch patches.suse/bpf-Set-need_defer-as-false-when-clearing-fd-array-d.patch @@ -17773,6 +17805,12 @@ patches.suse/selftests-bpf-Add-test-cases-for-inner-map.patch patches.suse/selftests-bpf-Test-outer-map-update-operations-in-sy.patch patches.suse/xsk-Add-missing-SPDX-to-AF_XDP-TX-metadata-documenta.patch + patches.suse/bpf-fix-check-for-attempt-to-corrupt-spilled-pointer.patch + patches.suse/bpf-Fix-verification-of-indirect-var-off-stack-acces.patch + patches.suse/bpf-Guard-stack-limits-against-32bit-overflow.patch + patches.suse/bpf-Add-some-comments-to-stack-representation.patch + patches.suse/bpf-Fix-accesses-to-uninit-stack-slots.patch + patches.suse/bpf-Minor-cleanup-around-stack-bounds.patch patches.suse/net-xdp-Allow-metadata-32.patch patches.suse/ice-make-RX-hash-reading-code-more-reusable.patch patches.suse/ice-make-RX-HW-timestamp-reading-code-more-reusable.patch @@ -17787,6 +17825,8 @@ patches.suse/ice-use-VLAN-proto-from-ring-packet-context-in-skb-p.patch patches.suse/mlx5-implement-VLAN-tag-XDP-hint.patch patches.suse/net-xdp-Correct-grammar.patch + patches.suse/bpf-Fix-a-race-condition-between-btf_put-and-map_fre.patch + patches.suse/selftests-bpf-Remove-flaky-test_btf_id-test.patch patches.suse/bpf-Limit-the-number-of-uprobes-when-attaching-progr.patch patches.suse/bpf-Limit-the-number-of-kprobes-when-attaching-program-to-multiple-kprobes.patch patches.suse/octeon_ep-add-PF-VF-mailbox-communication.patch @@ -17898,6 +17938,10 @@ patches.suse/dpll-expose-fractional-frequency-offset-value-to-use.patch patches.suse/net-mlx5-DPLL-Use-struct-to-get-values-from-mlx5_dpl.patch patches.suse/net-mlx5-DPLL-Implement-fractional-frequency-offset-.patch + patches.suse/bpf-Relax-tracing-prog-recursive-attach-rules.patch + patches.suse/selftests-bpf-Add-test-for-recursive-attachment-of-t.patch + patches.suse/bpf-Fix-re-attachment-branch-in-bpf_tracing_prog_att.patch + patches.suse/selftests-bpf-Test-re-attachment-fix-for-bpf_tracing.patch patches.suse/net-ethtool-reject-unsupported-RSS-input-xfrm-values.patch patches.suse/Revert-mlx5-updates-2023-12-20.patch patches.suse/bnxt_en-Remove-unneeded-variable-in-bnxt_hwrm_clear_.patch @@ -18017,8 +18061,12 @@ patches.suse/drm-nouveau-fence-fix-warning-directly-dereferencing.patch patches.suse/drm-bridge-tpd12s015-Drop-buggy-__exit-annotation-fo.patch patches.suse/drm-tilcdc-Fix-irq-free-on-unload.patch + patches.suse/drm-i915-display-Move-releasing-gem-object-away-from.patch patches.suse/drm-dp_mst-Fix-fractional-DSC-bpp-handling.patch + patches.suse/drm-amd-display-Fix-a-debugfs-null-pointer-error.patch + patches.suse/drm-amd-display-update-pixel-clock-params-after-stre.patch patches.suse/drm-amd-display-Fix-tiled-display-misalignment.patch + patches.suse/drm-amd-display-Fix-conversions-between-bytes-and-KB.patch patches.suse/drm-radeon-r600_cs-Fix-possible-int-overflows-in-r60.patch patches.suse/drm-radeon-r100-Fix-integer-overflow-issues-in-r100_.patch patches.suse/drm-radeon-check-return-value-of-radeon_ring_lock.patch @@ -18053,6 +18101,12 @@ patches.suse/drm-exynos-Call-drm_atomic_helper_shutdown-at-shutdo.patch patches.suse/drm-amd-display-Pass-pwrseq-inst-for-backlight-and-A.patch patches.suse/drm-amd-display-Fix-MST-PBN-X.Y-value-calculations.patch + patches.suse/drm-amd-display-Fix-disable_otg_wa-logic.patch + patches.suse/drm-amd-display-Fix-Replay-Desync-Error-IRQ-handler.patch + patches.suse/drm-amd-display-add-support-for-DTO-genarated-dscclk.patch + patches.suse/drm-amd-display-Return-drm_connector-from-find_first.patch + patches.suse/drm-amd-display-Use-drm_connector-in-create_stream_f.patch + patches.suse/drm-amd-display-Check-writeback-connectors-in-create.patch patches.suse/drm-radeon-check-the-alloc_workqueue-return-value-in.patch patches.suse/drm-radeon-dpm-fix-a-memleak-in-sumo_parse_power_tab.patch patches.suse/drm-radeon-trinity_dpm-fix-a-memleak-in-trinity_pars.patch @@ -18060,6 +18114,7 @@ patches.suse/Revert-drm-rockchip-vop2-Use-regcache_sync-to-fix-su.patch patches.suse/drm-amd-display-For-prefetch-mode-0-extend-prefetch-.patch patches.suse/drm-amd-display-Force-p-state-disallow-if-leaving-no.patch + patches.suse/drm-amdgpu-Enable-tunneling-on-high-priority-compute.patch patches.suse/drm-amdkfd-fix-mes-set-shader-debugger-process-manag.patch patches.suse/drm-amdgpu-fix-ftrace-event-amdgpu_bo_move-always-mo.patch patches.suse/drm-amdgpu-debugfs-fix-error-code-when-smc-register-.patch @@ -18068,11 +18123,16 @@ patches.suse/gpu-drm-radeon-fix-two-memleaks-in-radeon_vm_init.patch patches.suse/drm-amd-pm-fix-a-double-free-in-amdgpu_parse_extende.patch patches.suse/drm-amdkfd-only-flush-mes-process-context-if-mes-sup.patch + patches.suse/drm-amd-display-do-not-send-commands-to-DMUB-if-DMUB.patch + patches.suse/drm-msm-a690-Fix-reg-values-for-a690.patch + patches.suse/drm-msm-dpu-enable-SmartDMA-on-SM8450.patch patches.suse/drm-msm-a6xx-add-QMP-dependency.patch patches.suse/drm-msm-mdp4-flush-vblank-event-on-disable.patch + patches.suse/drm-msm-dpu-Correct-UBWC-settings-for-sc8280xp.patch patches.suse/drm-msm-dpu-Add-missing-safe_lut_tbl-in-sc8180x-cata.patch patches.suse/drm-msm-dsi-Use-pm_runtime_resume_and_get-to-prevent.patch patches.suse/drm-msm-dsi-Enable-runtime-PM.patch + patches.suse/drm-msm-dpu-populate-SSPP-scaler-block-version.patch patches.suse/drm-msm-dpu-correct-clk-bit-for-WB2-block.patch patches.suse/drm-msm-dp-Add-DisplayPort-controller-for-SM8650.patch patches.suse/drm-msm-adreno-Fix-A680-chip-id.patch @@ -18081,6 +18141,7 @@ patches.suse/drm-msm-dpu-Ratelimit-framedone-timeout-msgs.patch patches.suse/drm-msm-dpu-rename-dpu_encoder_phys_wb_setup_cdp-to-.patch patches.suse/drm-msm-dpu-fix-writeback-programming-for-YUV-cases.patch + patches.suse/drm-msm-dpu-Add-mutex-lock-in-control-vblank-irq.patch patches.suse/drm-msm-dpu-Set-input_sel-bit-for-INTF.patch patches.suse/drm-msm-dpu-Drop-enable-and-frame_count-parameters-f.patch patches.suse/drm-mediatek-Return-error-if-MDP-RDMA-failed-to-enab.patch @@ -18093,11 +18154,20 @@ patches.suse/drm-Don-t-unref-the-same-fb-many-times-by-mistake-du.patch patches.suse/drm-rockchip-vop2-Avoid-use-regmap_reinit_cache-at-r.patch patches.suse/drm-amd-display-make-flip_timestamp_in_us-a-64-bit-v.patch + patches.suse/drm-amd-display-fix-usb-c-connector_type.patch + patches.suse/drm-amd-display-Refactor-DMCUB-enter-exit-idle-inter.patch + patches.suse/drm-amd-display-Wake-DMCUB-before-sending-a-command.patch + patches.suse/drm-amd-display-Wake-DMCUB-before-executing-GPINT-co.patch + patches.suse/drm-amd-display-Fix-lightup-regression-with-DP2-sing.patch patches.suse/drm-amd-display-Only-clear-symclk-otg-flag-for-HDMI.patch + patches.suse/drm-amd-display-Fix-hang-underflow-when-transitionin.patch patches.suse/drm-amdgpu-Fix-ecc-irq-enable-disable-unpaired.patch patches.suse/drm-amd-display-Fix-minor-issues-in-BW-Allocation-Ph.patch patches.suse/drm-amdgpu-Let-KFD-sync-with-VM-fences.patch + patches.suse/drm-amd-display-Add-dpia-display-mode-validation-log.patch + patches.suse/drm-amdgpu-Fix-possible-NULL-dereference-in-amdgpu_r.patch patches.suse/drm-amdkfd-Fix-type-of-dbg_flags-in-struct-kfd_proce.patch + patches.suse/drm-amdgpu-Fix-variable-mca_funcs-dereferenced-befor.patch patches.suse/drm-amdgpu-Fix-fw-from-request_firmware-not-released.patch patches.suse/drm-amdkfd-Confirm-list-is-non-empty-before-utilizin.patch patches.suse/drm-amdgpu-Drop-fence-check-in-to_amdgpu_amdkfd_fenc.patch @@ -18374,6 +18444,7 @@ patches.suse/xen-gntdev-Fix-the-abuse-of-underlying-struct-page-i.patch patches.suse/thermal-intel-hfi-Add-syscore-callbacks-for-system-w.patch patches.suse/drm-i915-dp-Fix-the-max-DSC-bpc-supported-by-source.patch + patches.suse/nouveau-gsp-handle-engines-in-runl-without-nonstall-.patch patches.suse/rpmsg-virtio-Free-driver_override-when-rpmsg_remove.patch patches.suse/hwspinlock-qcom-Remove-IPQ6018-SOC-specific-compatib.patch patches.suse/mfd-intel-lpss-Revert-Add-missing-check-for-platform.patch @@ -18522,6 +18593,7 @@ patches.suse/s390-vfio-ap-do-not-reset-queue-removed-from-host-config.patch patches.suse/iommu-Don-t-reserve-0-length-IOVA-region.patch patches.suse/vfio-pds-Fix-calculations-in-pds_vfio_dirty_sync + patches.suse/hisi_acc_vfio_pci-Update-migration-data-pointer-correctly-on-saving-resume.patch patches.suse/cxl-region-fix-x9-interleave-typo.patch patches.suse/cxl-port-Fix-decoder-initialization-when-nr_targets-.patch patches.suse/virtio_pmem-support-feature-SHMEM_REGION-3596.patch @@ -18570,6 +18642,8 @@ patches.suse/selftests-mlxsw-qos_pfc-Remove-wrong-description.patch patches.suse/selftests-mlxsw-qos_pfc-Adjust-the-test-to-support-8.patch patches.suse/i40e-Include-types.h-to-some-headers.patch + patches.suse/bpf-Reject-variable-offset-alu-on-PTR_TO_FLOW_KEYS.patch + patches.suse/selftests-bpf-Add-test-for-alu-on-PTR_TO_FLOW_KEYS.patch patches.suse/netfilter-nf_tables-check-if-catch-all-set-element-i.patch patches.suse/kdb-Fix-a-potential-buffer-overflow-in-kdb_local.patch patches.suse/kbuild-buildtar-Remove-unused-dirs.patch @@ -18596,6 +18670,10 @@ patches.suse/power-supply-bq256xx-fix-some-problem-in-bq256xx_hw_.patch patches.suse/power-supply-cw2015-correct-time_to_empty-units-in-s.patch patches.suse/drm-amdkfd-Fix-lock-dependency-warning.patch + patches.suse/drm-amd-display-To-adjust-dprefclk-by-down-spread-pe.patch + patches.suse/drm-amd-display-Disconnect-phantom-pipe-OPP-from-OPT.patch + patches.suse/drm-amd-display-Request-usb4-bw-for-mst-streams.patch + patches.suse/Revert-drm-amd-display-Fix-conversions-between-bytes.patch patches.suse/drm-amdgpu-correct-the-cu-count-for-gfx-v11.patch patches.suse/drm-amdkfd-Fix-lock-dependency-warning-with-srcu.patch patches.suse/Revert-drm-amd-display-fix-bandwidth-validation-fail.patch @@ -18605,14 +18683,24 @@ patches.suse/drm-amd-powerplay-Fix-kzalloc-parameter-ATOM_Tonga_P.patch patches.suse/drm-amdgpu-Fix-with-right-return-code-EIO-in-amdgpu_.patch patches.suse/drm-amdgpu-Release-adev-pm.fw-before-return-in-amdgp.patch + patches.suse/drm-amdgpu-update-regGL2C_CTRL4-value-in-golden-sett.patch patches.suse/drm-amd-display-Fix-variable-deferencing-before-NULL.patch + patches.suse/drm-amdgpu-drop-exp-hw-support-check-for-GC-9.4.3.patch patches.suse/drm-amdkfd-Fix-node-NULL-check-in-svm_range_get_rang.patch + patches.suse/drm-amd-pm-Add-error-log-for-smu-v13.0.6-reset.patch + patches.suse/drm-amd-pm-Fix-smuv13.0.6-current-clock-reporting.patch + patches.suse/drm-amd-display-Avoid-enum-conversion-warning.patch patches.suse/drm-amd-display-Fix-late-derefrence-dsc-check-in-lin.patch + patches.suse/drm-amd-display-Init-link-enc-resources-in-dc_state-.patch + patches.suse/drm-amd-display-Add-logging-resource-checks.patch patches.suse/drm-amd-display-Port-DENTIST-hang-and-TDR-fixes-to-O.patch + patches.suse/drm-amd-display-Clear-OPTC-mem-select-on-disable.patch + patches.suse/drm-amd-display-Fix-DML2-watermark-calculation.patch patches.suse/drm-amd-display-Align-the-returned-error-code-with-l.patch patches.suse/drm-amdgpu-Fix-the-null-pointer-when-load-rlc-firmwa.patch patches.suse/drm-amd-display-Fix-a-switch-statement-in-populate_d.patch patches.suse/drm-amdgpu-revert-Adjust-removal-control-flow-for-sm.patch + patches.suse/drm-amdgpu-Enable-GFXOFF-for-Compute-on-GFX11.patch patches.suse/nouveau-vmm-don-t-set-addr-on-the-fail-path-to-avoid.patch patches.suse/ALSA-oxygen-Fix-right-channel-of-capture-volume-mixe.patch patches.suse/ALSA-hda-Properly-setup-HDMI-stream.patch @@ -18663,13 +18751,19 @@ patches.suse/scsi-smartpqi-Bump-driver-version-to-2.1.26-030.patch patches.suse/scsi-fnic-unlock-on-error-path-in-fnic_queuecommand.patch patches.suse/scsi-core-Kick-the-requeue-list-after-inserting-when-flushing.patch + patches.suse/dmaengine-apple-admac-Keep-upper-bits-of-REG_BUS_WID.patch patches.suse/dmaengine-fix-NULL-pointer-in-channel-unregistration.patch patches.suse/dmaengine-idxd-Move-dma_free_coherent-out-of-spinloc.patch + patches.suse/dmaengine-shdma-increase-size-of-dev_id.patch + patches.suse/dmaengine-fsl-qdma-increase-size-of-irq_name.patch patches.suse/powerpc-64s-Increase-default-stack-size-to-32KB.patch patches.suse/clocksource-drivers-timer-ti-dm-Fix-make-W-n-kerneld.patch patches.suse/tick-sched-Fix-idle-and-iowait-sleeptime-accounting-.patch patches.suse/xen-netback-don-t-produce-zero-size-SKB-frags.patch + patches.suse/btrfs-scrub-avoid-use-after-free-when-chunk-length-i.patch patches.suse/tracing-Ensure-visibility-when-inserting-an-element-into-tracing_map.patch + patches.suse/fbdev-savage-Error-out-if-pixclock-equals-zero.patch + patches.suse/fbdev-sis-Error-out-if-pixclock-equals-zero.patch patches.suse/exec-Fix-error-handling-in-begin_new_exec.patch patches.suse/afs-Hide-silly-rename-files-from-userspace.patch patches.suse/selftests-bonding-Increase-timeout-to-1200s.patch @@ -18689,8 +18783,10 @@ patches.suse/net-micrel-Fix-PTP-frame-parsing-for-lan8814.patch patches.suse/net-rds-Fix-UBSAN-array-index-out-of-bounds-in-rds_c.patch patches.suse/selftest-Don-t-reuse-port-for-SO_INCOMING_CPU-test.patch + patches.suse/wifi-cfg80211-fix-missing-interfaces-when-dumping.patch patches.suse/wifi-mac80211-fix-potential-sta-link-leak.patch patches.suse/wifi-iwlwifi-fix-a-memory-corruption.patch + patches.suse/wifi-mac80211-fix-race-condition-on-enabling-fast-xm.patch patches.suse/msft-hv-2938-hv_netvsc-Calculate-correct-ring-size-when-PAGE_SIZE.patch patches.suse/net-stmmac-Wait-a-bit-for-the-reset-to-take-effect.patch patches.suse/net-mvpp2-clear-BM-pool-before-initialization.patch @@ -18728,8 +18824,10 @@ patches.suse/gpiolib-acpi-Ignore-touchpad-wakeup-on-GPD-G1619-04.patch patches.suse/gpio-eic-sprd-Clear-interrupt-after-set-the-interrup.patch patches.suse/spi-intel-pci-Remove-Meteor-Lake-S-SoC-PCI-ID-from-t.patch + patches.suse/spi-intel-pci-Add-support-for-Arrow-Lake-SPI-serial-.patch patches.suse/spi-bcm-qspi-fix-SFDP-BFPT-read-by-usig-mspi-read.patch patches.suse/spi-spi-cadence-Reverse-the-order-of-interleaved-wri.patch + patches.suse/spi-hisi-sfc-v3xx-Return-IRQ_NONE-if-no-interrupts-w.patch patches.suse/spi-fix-finalize-message-on-error-return.patch patches.suse/firmware-arm_scmi-Check-mailbox-SMT-channel-for-cons.patch patches.suse/firmware-arm_scmi-Use-xa_insert-when-saving-raw-queu.patch @@ -18740,6 +18838,14 @@ patches.suse/drm-exynos-gsc-minor-fix-for-loop-iteration-in-gsc_r.patch patches.suse/drm-amd-display-Fix-uninitialized-variable-usage-in-.patch patches.suse/drm-amdgpu-pm-Fix-the-power-source-flag-error.patch + patches.suse/drm-amdgpu-Avoid-fetching-vram-vendor-information.patch + patches.suse/drm-amd-pm-update-the-power-cap-setting.patch + patches.suse/drm-amdgpu-Show-vram-vendor-only-if-available.patch + patches.suse/drm-amd-pm-Fetch-current-power-limit-from-FW.patch + patches.suse/drm-amd-amdgpu-Assign-GART-pages-to-AMD-device-mappi.patch + patches.suse/drm-amdgpu-gfx10-set-UNORD_DISPATCH-in-compute-MQDs.patch + patches.suse/drm-amdgpu-gfx11-set-UNORD_DISPATCH-in-compute-MQDs.patch + patches.suse/drm-amd-display-Disable-ips-before-dc-interrupt-sett.patch patches.suse/drm-bridge-parade-ps8640-Wait-for-HPD-when-doing-an-.patch patches.suse/drm-panel-simple-add-missing-bus-flags-for-Tianma-tm.patch patches.suse/drm-panel-samsung-s6d7aa0-drop-DRM_BUS_FLAG_DE_HIGH-.patch @@ -18754,8 +18860,11 @@ patches.suse/Revert-nouveau-push-event-block-allowing-out-of-the-.patch patches.suse/drm-bridge-samsung-dsim-Don-t-use-FORCE_STOP_STATE.patch patches.suse/cpufreq-amd-pstate-Fix-setting-scaling-max-min-freq-.patch + patches.suse/ahci-asm1166-correct-count-of-reported-ports.patch + patches.suse/ahci-add-43-bit-DMA-address-quirk-for-ASMedia-ASM106.patch patches.suse/platform-x86-intel-uncore-freq-Fix-types-in-sysfs-ca.patch patches.suse/platform-x86-intel-ifs-Call-release_firmware-when-ha.patch + patches.suse/platform-x86-touchscreen_dmi-Add-info-for-the-TECLAS.patch patches.suse/x86-CPU-AMD-Add-X86_FEATURE_ZEN5 patches.suse/x86-entry-ia32-Ensure-s32-is-sign-extended-to-s64.patch patches.suse/clocksource-Skip-watchdog-check-for-large-watchdog-i.patch @@ -18769,7 +18878,9 @@ patches.suse/scsi-isci-Fix-an-error-code-problem-in-isci_io_request_build.patch patches.suse/scsi-core-Move-scsi_host_busy-out-of-host-lock-for-waking-up-EH-handler.patch patches.suse/msft-hv-2939-scsi-storvsc-Fix-ring-buffer-size-calculation.patch + patches.suse/regulator-pwm-regulator-Add-validity-checks-in-conti.patch patches.suse/regulator-ti-abb-don-t-use-devm_platform_ioremap_res.patch + patches.suse/spi-sh-msiof-avoid-integer-overflow-in-constants.patch patches.suse/firewire-core-correct-documentation-of-fw_csr_string.patch patches.suse/HID-hidraw-fix-a-problem-of-memory-leak-in-hidraw_re.patch patches.suse/HID-i2c-hid-of-fix-NULL-deref-on-failed-power-up.patch @@ -18804,6 +18915,7 @@ patches.suse/nvme-auth-open-code-single-use-macros.patch patches.suse/nvme-change-__nvme_submit_sync_cmd-calling-conventio.patch patches.suse/nvme-enable-retries-for-authentication-commands.patch + patches.suse/ahci-Extend-ASM1061-43-bit-DMA-address-quirk-to-othe.patch patches.suse/dm-limit-the-number-of-targets-and-parameter-size-ar.patch patches.suse/iommu-Allow-ops-default_domain-to-work-when-CONFIG_IOMMU_DMA patches.suse/drm-tegra-Do-not-assume-that-a-NULL-domain-means-no-DMA-IOMMU @@ -18820,18 +18932,23 @@ patches.suse/ALSA-usb-audio-Sort-quirk-table-entries.patch patches.suse/ALSA-hda-realtek-Fix-the-external-mic-not-being-reco.patch patches.suse/ALSA-hda-realtek-Enable-Mute-LED-on-HP-Laptop-14-fq0.patch + patches.suse/ALSA-usb-audio-Check-presence-of-valid-altsetting-co.patch patches.suse/ALSA-hda-cs35l41-Support-additional-ASUS-Zenbook-UX3.patch patches.suse/ALSA-hda-cs35l41-Support-ASUS-Zenbook-UM3402YAR.patch patches.suse/ALSA-hda-realtek-Apply-headset-jack-quirk-for-non-ba.patch patches.suse/ASoC-codecs-wcd938x-fix-headphones-volume-controls.patch + patches.suse/ASoC-amd-acp-Add-check-for-cpu-dai-link-initializati.patch patches.suse/ASoC-codecs-wcd938x-handle-deferred-probe.patch patches.suse/ASoC-qcom-sc8280xp-limit-speaker-volumes.patch patches.suse/ASoC-codecs-wsa883x-fix-PA-volume-control.patch patches.suse/ASoC-codecs-lpass-wsa-macro-fix-compander-volume-hac.patch patches.suse/ASoC-amd-yc-Add-DMI-quirk-for-MSI-Bravo-15-C7VF.patch + patches.suse/ASoC-sunxi-sun4i-spdif-Add-support-for-Allwinner-H61.patch patches.suse/ASoC-sun4i-spdif-Fix-requirements-for-H6.patch patches.suse/ALSA-hda-realtek-Enable-headset-mic-on-Vaio-VJFE-ADL.patch + patches.suse/ALSA-usb-audio-Ignore-clock-selector-errors-for-sing.patch patches.suse/ASoC-wm_adsp-Fix-firmware-file-search-order.patch + patches.suse/ASoC-wm_adsp-Don-t-overwrite-fwf_name-with-the-defau.patch patches.suse/ASoC-cs35l56-cs35l56_component_remove-must-clear-cs3.patch patches.suse/ASoC-cs35l56-cs35l56_component_remove-must-clean-up-.patch patches.suse/ASoC-cs35l56-Don-t-add-the-same-register-patch-multi.patch @@ -18847,13 +18964,23 @@ patches.suse/ALSA-hda-cs35l56-Fix-order-of-searching-for-firmware.patch patches.suse/ALSA-hda-cs35l56-Fix-filename-string-field-layout.patch patches.suse/ALSA-hda-cs35l56-Firmware-file-must-match-the-versio.patch + patches.suse/Input-goodix-accept-ACPI-resources-with-gpio_count-3.patch + patches.suse/Input-xpad-add-Lenovo-Legion-Go-controllers.patch patches.suse/Input-atkbd-skip-ATKBD_CMD_SETLEDS-when-skipping-ATK.patch patches.suse/Input-atkbd-do-not-skip-atkbd_deactivate-when-skippi.patch patches.suse/Input-i8042-fix-strange-behavior-of-touchpad-on-Clev.patch + patches.suse/Input-i8042-add-Fujitsu-Lifebook-U728-to-i8042-quirk.patch patches.suse/drm-virtio-Set-segment-size-for-virtio_gpu-device.patch patches.suse/Revert-drm-amd-pm-fix-the-high-voltage-and-temperatu.patch + patches.suse/drm-amdkfd-Use-correct-drm-device-for-cgroup-permiss.patch + patches.suse/drm-amd-display-increased-min_dcfclk_mhz-and-min_fcl.patch + patches.suse/drm-amd-display-fix-USB-C-flag-update-after-enc10-fe.patch + patches.suse/drm-amd-display-Fix-DPSTREAM-CLK-on-and-off-sequence.patch + patches.suse/drm-amd-display-fix-incorrect-mpc_combine-array-size.patch + patches.suse/drm-amd-display-Fix-dcn35-8k30-Underflow-Corruption-.patch patches.suse/drm-amd-Don-t-init-MEC2-firmware-when-it-fails-to-lo.patch patches.suse/drm-amd-display-Add-NULL-check-for-kzalloc-in-amdgpu.patch + patches.suse/drm-amd-display-Fix-buffer-overflow-in-get_host_rout.patch patches.suse/drm-amdgpu-Fix-missing-error-code-in-gmc_v6-7-8-9_0_.patch patches.suse/drm-amdkfd-reserve-the-BO-before-validating-it.patch patches.suse/drm-amdgpu-Reset-IH-OVERFLOW_CLEAR-bit.patch @@ -18867,6 +18994,7 @@ patches.suse/phy-renesas-rcar-gen3-usb2-Fix-returning-wrong-error.patch patches.suse/phy-ti-phy-omap-usb2-Fix-NULL-pointer-dereference-fo.patch patches.suse/dmaengine-fsl-dpaa2-qdma-Fix-the-size-of-dma-pools.patch + patches.suse/dmaengine-ti-edma-Add-some-null-pointer-checks-to-th.patch patches.suse/dmaengine-ti-k3-udma-Report-short-packet-errors.patch patches.suse/dmaengine-fsl-qdma-Fix-a-memory-leak-related-to-the-.patch patches.suse/dmaengine-fsl-qdma-Fix-a-memory-leak-related-to-the--3aa58cb.patch @@ -18897,6 +19025,7 @@ patches.suse/serial-max310x-prevent-infinite-while-loop-in-port-s.patch patches.suse/misc-fastrpc-Mark-all-sessions-as-invalid-in-cb_remo.patch patches.suse/xfs-reset-XFS_ATTR_INCOMPLETE-filter-on-node-removal.patch + patches.suse/btrfs-do-not-ASSERT-if-the-newly-created-subvolume-a.patch patches.suse/KVM-s390-vsie-fix-race-during-shadow-creation.patch patches.suse/KVM-s390-fix-cc-for-successful-PQAP.patch patches.suse/KVM-x86-Check-irqchip-mode-before-create-PIT.patch @@ -18916,18 +19045,29 @@ patches.suse/wifi-iwlwifi-fix-double-free-bug.patch patches.suse/wifi-cfg80211-fix-wiphy-delayed-work-queueing.patch patches.suse/wifi-mac80211-fix-RCU-use-in-TDLS-fast-xmit.patch + patches.suse/wifi-mac80211-set-station-RX-NSS-on-reconfig.patch patches.suse/wifi-mac80211-fix-waiting-for-beacons-logic.patch + patches.suse/wifi-mac80211-adding-missing-drv_mgd_complete_tx-cal.patch + patches.suse/wifi-mac80211-accept-broadcast-probe-responses-on-6-.patch patches.suse/wifi-iwlwifi-exit-eSR-only-after-the-FW-does.patch + patches.suse/wifi-iwlwifi-do-not-announce-EPCS-support.patch patches.suse/wifi-brcmfmac-Adjust-n_channels-usage-for-__counted_.patch patches.suse/octeontx2-af-Initialize-maps.patch patches.suse/s390-qeth-Fix-potential-loss-of-L3-IP-in-case-of-network-issues.patch patches.suse/netfilter-nft_set_rbtree-skip-end-interval-element-f.patch patches.suse/drm-nouveau-fix-several-DMA-buffer-leaks.patch + patches.suse/drm-nouveau-nvkm_gsp_radix3_sg-should-use-nvkm_gsp_m.patch patches.suse/drm-i915-gvt-Fix-uninitialized-variable-in-handle_mm.patch patches.suse/drm-amd-display-Fix-panel_cntl-could-be-null-in-dcn2.patch patches.suse/drm-amd-display-Add-NULL-test-for-timing-generator-i.patch + patches.suse/drm-amdgpu-skip-to-program-GFXDEC-registers-for-susp.patch + patches.suse/drm-amdgpu-reset-gpu-for-s3-suspend-abort-case.patch + patches.suse/drm-amdgpu-Fix-shared-buff-copy-to-user.patch patches.suse/drm-amd-display-Fix-MST-Null-Ptr-for-RV.patch + patches.suse/drm-amdgpu-Avoid-fetching-VRAM-vendor-info.patch patches.suse/drm-amd-display-Increase-frame-larger-than-for-all-d.patch + patches.suse/drm-amd-display-Implement-bounds-check-for-stream-en.patch + patches.suse/drm-amdgpu-Fix-HDP-flush-for-VFs-on-nbio-v7.9.patch patches.suse/drm-msm-dpu-fix-kernel-doc-warnings.patch patches.suse/drm-msms-dp-fixed-link-clock-divider-bits-be-over-wr.patch patches.suse/drm-msm-dp-return-correct-Colorimetry-for-DP_TEST_DY.patch @@ -18937,12 +19077,16 @@ patches.suse/hwmon-aspeed-pwm-tacho-mutex-for-tach-reading.patch patches.suse/hwmon-coretemp-Fix-out-of-bounds-memory-access.patch patches.suse/hwmon-coretemp-Fix-bogus-core_id-to-attr-name-mappin.patch + patches.suse/hwmon-coretemp-Enlarge-per-package-core-count-limit.patch patches.suse/PCI-dwc-Fix-a-64bit-bug-in-dw_pcie_ep_raise_msix_irq.patch + patches.suse/efi-runtime-Fix-potential-overflow-of-soft-reserved-.patch + patches.suse/efi-Don-t-add-memblocks-for-soft-reserved-memory.patch patches.suse/tracing-probes-Fix-to-show-a-parse-error-for-bad-type-for-comm.patch patches.suse/ftrace-Fix-DIRECT_CALLS-to-use-SAVE_REGS-by-default.patch patches.suse/tracing-Fix-wasted-memory-in-saved_cmdlines-logic.patch patches.suse/scsi-core-Move-scsi_host_busy-out-of-host-lock-if-it-is-for-per-command.patch patches.suse/scsi-lpfc-Use-unsigned-type-for-num_sge.patch + patches.suse/firewire-core-send-bus-reset-promptly-on-gap-count-e.patch patches.suse/nvme-host-fix-the-updating-of-the-firmware-version.patch patches.suse/nilfs2-fix-data-corruption-in-dsync-block-recovery-f.patch patches.suse/x86-fpu-Stop-relying-on-userspace-for-info-to-fault-in-xsa.patch @@ -18957,6 +19101,10 @@ patches.suse/bonding-do-not-report-NETDEV_XDP_ACT_XSK_ZEROCOPY.patch patches.suse/net-openvswitch-limit-the-number-of-recursions-from-.patch patches.suse/lan966x-Fix-crash-when-adding-interface-under-a-lag.patch + patches.suse/net-tls-factor-out-tls_-crypt_async_wait.patch + patches.suse/tls-fix-race-between-async-notify-and-socket-close.patch + patches.suse/tls-fix-race-between-tx-work-scheduling-and-socket-c.patch + patches.suse/net-tls-handle-backlogging-of-crypto-requests.patch patches.suse/tcp-move-tp-scaling_ratio-to-tcp_sock_read_txrx-grou.patch patches.suse/tcp-move-tp-tcp_usec_ts-to-tcp_sock_read_txrx-group.patch patches.suse/net-device-move-lstats-in-net_device_read_txrx.patch @@ -18986,6 +19134,7 @@ patches.suse/drm-crtc-fix-uninitialized-variable-use-even-harder.patch patches.suse/drm-buddy-Fix-alloc_range-error-handling-code.patch patches.suse/drm-i915-dsc-Fix-the-macro-that-calculates-DSCC_-DSC.patch + patches.suse/drm-i915-dp-Limit-SST-link-rate-to-8.1Gbps.patch patches.suse/drm-amdkfd-Fix-L2-cache-size-reporting-in-GFX9.4.3.patch patches.suse/drm-amd-display-Initialize-wait_time_microsec-variab.patch patches.suse/drm-amd-display-Fix-possible-use-of-uninitialized-ma.patch @@ -18993,8 +19142,11 @@ patches.suse/drm-amd-Stop-evicting-resources-on-APUs-in-suspend.patch patches.suse/Revert-drm-amd-flush-any-delayed-gfxoff-on-suspend-e.patch patches.suse/drm-amd-display-Add-align-done-check.patch + patches.suse/Revert-drm-amd-display-increased-min_dcfclk_mhz-and-.patch patches.suse/drm-amd-display-Fix-possible-NULL-dereference-on-dev.patch patches.suse/drm-amd-display-Preserve-original-aspect-ratio-in-cr.patch + patches.suse/drm-amd-display-Fix-array-index-out-of-bounds-in-dcn.patch + patches.suse/drm-amd-display-fixed-integer-types-and-null-check-l.patch patches.suse/drm-amdgpu-soc21-update-VCN-4-max-HEVC-encoding-reso.patch patches.suse/drm-amdgpu-display-Initialize-gamma-correction-mode-.patch patches.suse/drm-msm-gem-Fix-double-resv-lock-aquire.patch @@ -19107,6 +19259,8 @@ patches.suse/drm-syncobj-call-drm_syncobj_fence_add_wait-when-WAI.patch patches.suse/drm-syncobj-handle-NULL-fence-in-syncobj_eventfd_ent.patch patches.suse/drm-i915-tv-Fix-TV-mode.patch + patches.suse/drm-amd-display-adjust-few-initialization-order-in-d.patch + patches.suse/drm-amd-display-Only-allow-dig-mapping-to-pwrseq-in-.patch patches.suse/drm-amd-display-Fix-potential-null-pointer-dereferen.patch patches.suse/drm-amd-display-Fix-memory-leak-in-dm_sw_fini.patch patches.suse/drm-amd-display-fix-null-pointer-dereference-on-edid.patch @@ -19138,6 +19292,7 @@ patches.suse/Revert-usb-typec-tcpm-reset-counter-when-enter-into-.patch patches.suse/usb-gadget-ncm-Avoid-dropping-datagrams-of-properly-.patch patches.suse/usb-typec-tpcm-Fix-issues-with-power-being-removed-d.patch + patches.suse/docs-Instruct-LaTeX-to-cope-with-deeper-nesting.patch patches.suse/mtd-spinand-gigadevice-Fix-the-get-ecc-status-issue.patch patches.suse/mtd-rawnand-marvell-fix-layouts.patch patches.suse/crypto-arm64-neonbs-fix-out-of-bounds-access-on-shor.patch @@ -19145,6 +19300,9 @@ patches.suse/net-usb-dm9601-fix-wrong-return-value-in-dm9601_mdio.patch patches.suse/net-lan78xx-fix-softirq-work-is-pending-error.patch patches.suse/wifi-nl80211-reject-iftype-change-with-mesh-ID-chang.patch + patches.suse/tls-decrement-decrypt_pending-if-no-async-completion.patch + patches.suse/tls-separate-no-async-decryption-request-handling-fr.patch + patches.suse/tls-fix-use-after-free-on-failed-backlog-decryption.patch patches.suse/Bluetooth-hci_bcm4377-do-not-mark-valid-bd_addr-as-i.patch patches.suse/Bluetooth-hci_sync-Check-the-correct-flag-before-sta.patch patches.suse/Bluetooth-Avoid-potential-use-after-free-in-hci_erro.patch @@ -19153,6 +19311,45 @@ patches.suse/Bluetooth-hci_event-Fix-handling-of-HCI_EV_IO_CAPA_R.patch patches.suse/Bluetooth-Enforce-validation-on-max-value-of-connect.patch patches.suse/Bluetooth-qca-Fix-wrong-event-type-for-patch-config-.patch + patches.suse/tomoyo-fix-UAF-write-bug-in-tomoyo_write_control.patch + patches.suse/soc-qcom-pmic_glink-Fix-boot-when-QRTR-m.patch + patches.suse/drm-tegra-Remove-existing-framebuffer-only-if-we-sup.patch + patches.suse/fbcon-always-restore-the-old-font-data-in-fbcon_do_s.patch + patches.suse/drm-buddy-fix-range-bias.patch + patches.suse/drm-amd-display-Prevent-potential-buffer-overflow-in.patch + patches.suse/drm-amdgpu-pm-Fix-the-power1_min_cap-value.patch + patches.suse/Revert-drm-amd-pm-resolve-reboot-exception-for-si-ol.patch + patches.suse/drm-amd-display-Add-monitor-patch-for-specific-eDP-b7cdccc.patch + patches.suse/drm-nouveau-keep-DMA-buffers-required-for-suspend-re.patch + patches.suse/ALSA-firewire-lib-fix-to-check-cycle-continuity.patch + patches.suse/ALSA-hda-realtek-Fix-top-speaker-connection-on-Dell-.patch + patches.suse/ALSA-hda-realtek-Enable-Mute-LED-on-HP-840-G8-MB-8AB.patch + patches.suse/ALSA-ump-Fix-the-discard-error-code-from-snd_ump_leg.patch + patches.suse/ALSA-Drop-leftover-snd-rtctimer-stuff-from-Makefile.patch + patches.suse/ALSA-hda-realtek-fix-mute-micmute-LED-For-HP-mt440.patch + patches.suse/ALSA-hda-realtek-tas2781-enable-subwoofer-volume-con.patch + patches.suse/ALSA-hda-realtek-Add-special-fixup-for-Lenovo-14IRP8.patch + patches.suse/ALSA-hda-realtek-ALC285-reduce-pop-noise-from-Headph.patch + patches.suse/ASoC-cs35l56-Must-clear-HALO_STATE-before-issuing-SY.patch + patches.suse/ASoC-qcom-Fix-uninitialized-pointer-dmactl.patch + patches.suse/efi-capsule-loader-fix-incorrect-allocation-size.patch + patches.suse/efivarfs-Request-at-most-512-bytes-for-variable-name.patch + patches.suse/mmc-core-Fix-eMMC-initialization-with-1-bit-bus-conn.patch + patches.suse/mmc-mmci-stm32-fix-DMA-API-overlapping-mappings-warn.patch + patches.suse/mmc-sdhci-xenon-fix-PHY-init-clock-stability.patch + patches.suse/mmc-sdhci-xenon-add-timeout-for-PHY-init-complete.patch + patches.suse/btrfs-fix-double-free-of-anonymous-device-after-snap.patch + patches.suse/kbuild-Add-Wa-fatal-warnings-to-as-instr-invocation.patch + patches.suse/power-supply-bq27xxx-i2c-Do-not-free-non-existing-IR.patch + patches.suse/gpio-74x164-Enable-output-pins-after-registers-are-r.patch + patches.suse/gpiolib-Fix-the-error-path-order-in-gpiochip_add_dat.patch + patches.suse/gpio-fix-resource-unwinding-order-in-error-path.patch + patches.suse/dmaengine-fsl-qdma-fix-SoC-may-hang-on-16-byte-unali.patch + patches.suse/dmaengine-fsl-qdma-init-irq-after-reg-initialization.patch + patches.suse/dmaengine-idxd-Ensure-safe-user-copy-of-completion-r.patch + patches.suse/dmaengine-ptdma-use-consistent-DMA-masks.patch + patches.suse/phy-freescale-phy-fsl-imx8-mipi-dphy-Fix-alias-name-.patch + patches.suse/integrity-eliminate-unnecessary-Problem-loading-X.50.patch # jejb/scsi for-next patches.suse/scsi-mpt3sas-Reload-SBR-without-rebooting-HBA.patch @@ -19180,6 +19377,7 @@ patches.suse/powerpc-smp-Lookup-avail-once-per-device-tree-node.patch patches.suse/powerpc-smp-Factor-out-assign_threads.patch patches.suse/powerpc-smp-Remap-boot-CPU-onto-core-0-if-nr_cpu_ids.patch + patches.suse/powerpc-Add-Power11-architected-and-raw-mode.patch patches.suse/powerpc-pseries-Add-a-clear-modifier-to-ibm-pa-pi-fe.patch patches.suse/powerpc-pseries-Set-CPU_FTR_DBELL-according-to-ibm-p.patch @@ -19282,6 +19480,7 @@ patches.suse/0006-mm-page_owner-Filter-out-stacks-by-a-threshold.patch patches.suse/0007-mm-page_owner-Update-Documentation-regarding-page_ow.patch patches.suse/mm-mmap-fix-vma_merge-case-7.patch + patches.suse/Bluetooth-btmtk-Add-MODULE_FIRMWARE-for-MT7922.patch ######################################################## # kbuild/module infrastructure fixes @@ -19421,6 +19620,7 @@ patches.suse/NFC-SUSE-specific-brutal-fix-for-runtime-PM.patch patches.suse/net-allow-retransmitting-a-TCP-packet-if-original-is.patch patches.suse/powerpc-pseries-mobility-notify-network-peers-after-.patch + patches.suse/netfilter-nf_tables-fix-64-bit-load-issue-in-nft_byt.patch ######################################################## # BPF @@ -19467,7 +19667,7 @@ # FIPS patches.suse/0001-crypto-implement-downstream-solution-for-disabling-d.patch -+nstange patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch + patches.suse/0002-crypto-populate-downstream-list-of-drivers-unapprove.patch patches.suse/crypto-ecdh-implement-FIPS-PCT.patch patches.suse/crypto-dh-implement-FIPS-PCT.patch patches.suse/crypto-seqiv-flag-instantiations-as-fips-compliant.patch @@ -19668,6 +19868,7 @@ ######################################################## # kABI consistency patches ######################################################## + patches.kabi/bpf-bpf_prog_aux-kABI-workaround.patch ######################################################## # SLE15-SP3 OOT performance patches evaluated but left diff --git a/source-timestamp b/source-timestamp index 6b50428..225f6bd 100644 --- a/source-timestamp +++ b/source-timestamp @@ -1,3 +1,3 @@ -2024-03-02 07:36:07 +0000 -GIT Revision: b599b6792b5e73264ffa33bdae47b19dc43f9401 +2024-03-07 11:35:32 +0000 +GIT Revision: dacef75e68efe93975d261181ecdeb4ef168ddab GIT Branch: ALP-current