[OS-BUILD PATCH] redhat/configs: Enable CONFIG_ACER_WIRELESS
by pjgeorg (via Email Bridge)
From: Peter Georg <peter.georg(a)physik.uni-regensburg.de>
redhat/configs: Enable CONFIG_ACER_WIRELESS
Signed-off-by: Peter Georg <peter.georg(a)physik.uni-regensburg.de>
diff --git a/redhat/configs/ark/generic/CONFIG_ACER_WIRELESS b/redhat/configs/ark/generic/CONFIG_ACER_WIRELESS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_ACER_WIRELESS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_ACER_WIRELESS is not set
diff --git a/redhat/configs/ark/generic/x86/x86_64/CONFIG_ACER_WIRELESS b/redhat/configs/ark/generic/x86/x86_64/CONFIG_ACER_WIRELESS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/x86/x86_64/CONFIG_ACER_WIRELESS
@@ -0,0 +1 @@
+CONFIG_ACER_WIRELESS=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1582
2 years, 3 months
[OS-BUILD PATCHv2] rtw89: enable new driver rtw89 and device
RTK8852AE
by Íñigo Huguet (via Email Bridge)
From: Íñigo Huguet <ihuguet(a)redhat.com>
rtw89: enable new driver rtw89 and device RTK8852AE
Upstream-status: RHEL only
Signed-off-by: Íñigo Huguet <ihuguet(a)redhat.com>
diff --git a/redhat/configs/common/debug/CONFIG_RTW89_DEBUGFS b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGFS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGFS
@@ -0,0 +1 @@
+CONFIG_RTW89_DEBUGFS=y
diff --git a/redhat/configs/common/debug/CONFIG_RTW89_DEBUGMSG b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGMSG
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGMSG
@@ -0,0 +1 @@
+CONFIG_RTW89_DEBUGMSG=y
diff --git a/redhat/configs/common/generic/CONFIG_RTW89 b/redhat/configs/common/generic/CONFIG_RTW89
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_RTW89
+++ b/redhat/configs/common/generic/CONFIG_RTW89
@@ -1 +1 @@
-# CONFIG_RTW89 is not set
+CONFIG_RTW89=m
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89_8852AE b/redhat/configs/common/generic/CONFIG_RTW89_8852AE
rename from redhat/configs/fedora/generic/CONFIG_RTW89_8852AE
rename to redhat/configs/common/generic/CONFIG_RTW89_8852AE
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTW89_8852AE
+++ b/redhat/configs/common/generic/CONFIG_RTW89_8852AE
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGFS b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGFS
rename from redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGFS
rename to redhat/configs/common/generic/CONFIG_RTW89_DEBUGFS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGFS
+++ b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGFS
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGMSG b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGMSG
rename from redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGMSG
rename to redhat/configs/common/generic/CONFIG_RTW89_DEBUGMSG
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGMSG
+++ b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGMSG
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89 b/redhat/configs/fedora/generic/CONFIG_RTW89
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/CONFIG_RTW89
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_RTW89=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1570
2 years, 3 months
[OS-BUILD PATCHv2] lib/crypto: add prompts back to crypto libraries
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
lib/crypto: add prompts back to crypto libraries
Commit 6048fdcc5f269 ("lib/crypto: blake2s: include as built-in") took
away a number of prompt texts from other crypto libraries. This makes
values flip from built-in to module when oldconfig runs, and causes
problems when these crypto libs need to be built in for thingslike
BIG_KEYS.
Fixes: 6048fdcc5f269 ("lib/crypto: blake2s: include as built-in")
Cc: Herbert Xu <herbert(a)gondor.apana.org.au>
Cc: linux-crypto(a)vger.kernel.org
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
[Jason: - moved menu into submenu of lib/ instead of root menu
- fixed chacha sub-dependencies for CONFIG_CRYPTO]
Signed-off-by: Jason A. Donenfeld <Jason(a)zx2c4.com>
diff --git a/crypto/Kconfig b/crypto/Kconfig
index blahblah..blahblah 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1928,5 +1928,3 @@ source "crypto/asymmetric_keys/Kconfig"
source "certs/Kconfig"
endif # if CRYPTO
-
-source "lib/crypto/Kconfig"
diff --git a/lib/Kconfig b/lib/Kconfig
index blahblah..blahblah 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -122,6 +122,8 @@ config INDIRECT_IOMEM_FALLBACK
mmio accesses when the IO memory address is not a registered
emulated region.
+source "lib/crypto/Kconfig"
+
config CRC_CCITT
tristate "CRC-CCITT functions"
help
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index blahblah..blahblah 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
+menu "Crypto library routines"
+
config CRYPTO_LIB_AES
tristate
@@ -31,7 +33,7 @@ config CRYPTO_ARCH_HAVE_LIB_CHACHA
config CRYPTO_LIB_CHACHA_GENERIC
tristate
- select CRYPTO_ALGAPI
+ select XOR_BLOCKS
help
This symbol can be depended upon by arch implementations of the
ChaCha library interface that require the generic code as a
@@ -40,7 +42,8 @@ config CRYPTO_LIB_CHACHA_GENERIC
of CRYPTO_LIB_CHACHA.
config CRYPTO_LIB_CHACHA
- tristate
+ tristate "ChaCha library interface"
+ depends on CRYPTO
depends on CRYPTO_ARCH_HAVE_LIB_CHACHA || !CRYPTO_ARCH_HAVE_LIB_CHACHA
select CRYPTO_LIB_CHACHA_GENERIC if CRYPTO_ARCH_HAVE_LIB_CHACHA=n
help
@@ -65,7 +68,7 @@ config CRYPTO_LIB_CURVE25519_GENERIC
of CRYPTO_LIB_CURVE25519.
config CRYPTO_LIB_CURVE25519
- tristate
+ tristate "Curve25519 scalar multiplication library"
depends on CRYPTO_ARCH_HAVE_LIB_CURVE25519 || !CRYPTO_ARCH_HAVE_LIB_CURVE25519
select CRYPTO_LIB_CURVE25519_GENERIC if CRYPTO_ARCH_HAVE_LIB_CURVE25519=n
help
@@ -100,7 +103,7 @@ config CRYPTO_LIB_POLY1305_GENERIC
of CRYPTO_LIB_POLY1305.
config CRYPTO_LIB_POLY1305
- tristate
+ tristate "Poly1305 library interface"
depends on CRYPTO_ARCH_HAVE_LIB_POLY1305 || !CRYPTO_ARCH_HAVE_LIB_POLY1305
select CRYPTO_LIB_POLY1305_GENERIC if CRYPTO_ARCH_HAVE_LIB_POLY1305=n
help
@@ -109,14 +112,18 @@ config CRYPTO_LIB_POLY1305
is available and enabled.
config CRYPTO_LIB_CHACHA20POLY1305
- tristate
+ tristate "ChaCha20-Poly1305 AEAD support (8-byte nonce library version)"
depends on CRYPTO_ARCH_HAVE_LIB_CHACHA || !CRYPTO_ARCH_HAVE_LIB_CHACHA
depends on CRYPTO_ARCH_HAVE_LIB_POLY1305 || !CRYPTO_ARCH_HAVE_LIB_POLY1305
+ depends on CRYPTO
select CRYPTO_LIB_CHACHA
select CRYPTO_LIB_POLY1305
+ select CRYPTO_ALGAPI
config CRYPTO_LIB_SHA256
tristate
config CRYPTO_LIB_SM4
tristate
+
+endmenu
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1552
2 years, 3 months
[OS-BUILD PATCHv2] filter-modules.sh.rhel: Add ntc_thermistor to
singlemods
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava <prarit(a)redhat.com>
filter-modules.sh.rhel: Add ntc_thermistor to singlemods
Add the ntc_thermistor module to the singlemods list.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/rhel_files/filter-modules.sh.rhel b/redhat/rhel_files/filter-modules.sh.rhel
index blahblah..blahblah 100755
--- a/redhat/rhel_files/filter-modules.sh.rhel
+++ b/redhat/rhel_files/filter-modules.sh.rhel
@@ -37,7 +37,7 @@ netprots="6lowpan appletalk atm ax25 batman-adv bluetooth can dccp dsa ieee80215
drmdrvs="amd ast gma500 i2c i915 mgag200 nouveau radeon via "
-singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775"
+singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775 ntc_thermistor"
# Grab the arch-specific filter list overrides
source ./filter-$2.sh
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1580
2 years, 3 months
[OS-BUILD PATCH] filter-modules.sh.rhel: Add ntc_thermistor to
singlemods
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava <prarit(a)redhat.com>
filter-modules.sh.rhel: Add ntc_thermistor to singlemods
Add the ntc_thermistor module to the singlemods list.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/rhel_files/filter-modules.sh.rhel b/redhat/rhel_files/filter-modules.sh.rhel
index blahblah..blahblah 100755
--- a/redhat/rhel_files/filter-modules.sh.rhel
+++ b/redhat/rhel_files/filter-modules.sh.rhel
@@ -37,7 +37,7 @@ netprots="6lowpan appletalk atm ax25 batman-adv bluetooth can dccp dsa ieee80215
drmdrvs="amd ast gma500 i2c i915 mgag200 nouveau radeon via "
-singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775"
+singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775 ntc_thermistor"
# Grab the arch-specific filter list overrides
source ./filter-$2.sh
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1580
2 years, 3 months
❌ FAIL: Test report for kernel 5.15.15-200.fc35 (fedora-35)
by CKI Project
Hello,
We ran automated tests on the following kernel build:
Kernel package: kernel-5.15.15-200.fc35
Task URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=81318084
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Tests: FAILED
One or more kernel tests failed:
aarch64:
❌ xfstests - xfs
All kernel binaries, config files, and logs are available for download here:
https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?pre...
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
For the full detail on our testing procedures, please scroll to the bottom of
this message.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test
✅ Reboot test
🚧 ❌ Storage blktests - nvmeof-mp
Host 2:
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
❌ xfstests - xfs
✅ Storage: swraid mdadm raid_module test
🚧 ❌ xfstests - btrfs
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ storage: software RAID testing
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
🚧 ✅ stress: stress-ng - os
Host 3:
✅ Boot test
✅ Reboot test
🚧 ❌ Storage blktests - srp
Host 4:
✅ Boot test
✅ Reboot test
✅ ACPI table test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ NFS Connectathon
Host 5:
✅ Boot test
✅ Reboot test
✅ Ethernet drivers sanity - mlx5
ppc64le:
Host 1:
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 2:
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ Storage: lvm device-mapper test - upstream
🚧 ✅ storage: software RAID testing
Host 3:
✅ Boot test
✅ Reboot test
🚧 ❌ Storage blktests - srp
Host 4:
✅ Boot test
✅ Reboot test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ xarray-idr-radixtree-test
🚧 ✅ NFS Connectathon
s390x:
Host 1:
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - srp
Host 2:
✅ Boot test
✅ Reboot test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ NFS Connectathon
Host 3:
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 4:
✅ Boot test
✅ Reboot test
✅ Storage: swraid mdadm raid_module test
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
🚧 ✅ stress: stress-ng - os
x86_64:
Host 1:
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ xfstests - nfsv4.2
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ xfstests - cifsv3.11
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ Storage: lvm device-mapper test - upstream
🚧 ✅ storage: software RAID testing
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
🚧 ✅ stress: stress-ng - os
Host 2:
✅ Boot test
✅ Reboot test
🚧 ❌ Storage blktests - srp
Host 3:
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 4:
✅ Boot test
✅ Reboot test
✅ ACPI table test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ xarray-idr-radixtree-test
🚧 ✅ NFS Connectathon
Test sources: https://gitlab.com/cki-project/kernel-tests
💚 Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚡⚡⚡.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with ⏱.
2 years, 3 months
[OS-BUILD PATCHv2] Revert "[redhat] Generate a crashkernel.default
for each
kernel build"
by Coiby Xu (via Email Bridge)
From: Coiby Xu <coxu(a)redhat.com>
Revert "[redhat] Generate a crashkernel.default for each kernel build"
This reverts commit 7154db6a1a2c0e63513d262cbdc9bc702ab6bdb5.
To simplify the solution for setting up default crashkernel, kexec-tools
has dropped the support of crashkernel.default and has provided
"kdumpctl get-default-crashkernel" instead to retrieve the default
crashkernel value. There is no need for every kernel package to ship the
crashkernel.default file.
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -277,7 +277,6 @@ sources-rh: $(TARBALL) generate-testpatch-tmp setup-source dist-configs-check
configs/merge.pl \
configs/process_configs.sh \
parallel_xz.sh \
- generate_crashkernel_default.sh \
../Makefile.rhelver \
README.rst \
kernel-local \
diff --git a/redhat/generate_crashkernel_default.sh b/redhat/generate_crashkernel_default.sh
deleted file mode 100755
index blahblah..blahblah 0
--- a/redhat/generate_crashkernel_default.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-kernelver=$1 && shift
-arch=$1 && shift
-rootfs=$1 && shift
-
-output="${rootfs}/lib/modules/${kernelver}/crashkernel.default"
-
-case $arch in
-x86_64|s390*)
- ck_cmdline="crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M"
- ;;
-arm64|aarch64)
- ck_cmdline="crashkernel=2G-:448M"
- ;;
-powerpc|ppc64*)
- ck_cmdline="crashkernel=2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G"
- ;;
-*)
- ck_cmdline=""
- ;;
-esac
-
-cat > "$output" <<EOF
-$ck_cmdline
-EOF
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -812,7 +812,6 @@ Source80: generate_all_configs.sh
Source81: process_configs.sh
Source82: update_scripts.sh
-Source83: generate_crashkernel_default.sh
Source84: mod-internal.list
@@ -2119,9 +2118,6 @@ BuildKernel() {
# prune junk from kernel-devel
find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete
- # Generate crashkernel default config
- %{SOURCE83} "$KernelVer" "$Arch" "$RPM_BUILD_ROOT"
-
# Red Hat UEFI Secure Boot CA cert, which can be used to authenticate the kernel
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer
%ifarch x86_64 aarch64
@@ -2928,7 +2924,6 @@ fi
/lib/modules/%{KVERREL}%{?3:+%{3}}/source\
/lib/modules/%{KVERREL}%{?3:+%{3}}/updates\
/lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\
-/lib/modules/%{KVERREL}%{?3:+%{3}}/crashkernel.default\
%{_datadir}/doc/kernel-keys/%{KVERREL}%{?3:+%{3}}\
%if %{1}\
/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1534
2 years, 3 months
[OS-BUILD PATCH] rtw89: enable new driver rtw89 and device RTK8852AE
by Íñigo Huguet (via Email Bridge)
From: Íñigo Huguet <ihuguet(a)redhat.com>
rtw89: enable new driver rtw89 and device RTK8852AE
Signed-off-by: Íñigo Huguet <ihuguet(a)redhat.com>
diff --git a/redhat/configs/common/debug/CONFIG_RTW89_DEBUGFS b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGFS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGFS
@@ -0,0 +1 @@
+CONFIG_RTW89_DEBUGFS=y
diff --git a/redhat/configs/common/debug/CONFIG_RTW89_DEBUGMSG b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGMSG
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_RTW89_DEBUGMSG
@@ -0,0 +1 @@
+CONFIG_RTW89_DEBUGMSG=y
diff --git a/redhat/configs/common/generic/CONFIG_RTW89 b/redhat/configs/common/generic/CONFIG_RTW89
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_RTW89
+++ b/redhat/configs/common/generic/CONFIG_RTW89
@@ -1 +1 @@
-# CONFIG_RTW89 is not set
+CONFIG_RTW89=m
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89_8852AE b/redhat/configs/common/generic/CONFIG_RTW89_8852AE
rename from redhat/configs/fedora/generic/CONFIG_RTW89_8852AE
rename to redhat/configs/common/generic/CONFIG_RTW89_8852AE
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTW89_8852AE
+++ b/redhat/configs/common/generic/CONFIG_RTW89_8852AE
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGFS b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGFS
rename from redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGFS
rename to redhat/configs/common/generic/CONFIG_RTW89_DEBUGFS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGFS
+++ b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGFS
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGMSG b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGMSG
rename from redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGMSG
rename to redhat/configs/common/generic/CONFIG_RTW89_DEBUGMSG
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTW89_DEBUGMSG
+++ b/redhat/configs/common/generic/CONFIG_RTW89_DEBUGMSG
diff --git a/redhat/configs/fedora/generic/CONFIG_RTW89 b/redhat/configs/fedora/generic/CONFIG_RTW89
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/CONFIG_RTW89
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_RTW89=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1570
2 years, 3 months
[OS-BUILD PATCH] Add packaged but empty
/lib/modules/<kver>/systemtap/
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Add packaged but empty /lib/modules/<kver>/systemtap/
It was requested in rhbz 1477295 quite some time ago and got missed, but
a new bug has been opened against RHEL 9 requesting the same. This is the
default location for systemtap to pull in taps for stapusr executed
scripts. While there are a number of ways to do this, the fact that the
directory is versioned with the kernel means it is likely best done in
the kernel itself.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -1611,6 +1611,7 @@ BuildKernel() {
mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
+ mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/systemtap
%if %{with_debuginfo}
mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
%endif
@@ -2929,6 +2930,7 @@ fi
/lib/modules/%{KVERREL}%{?3:+%{3}}/updates\
/lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\
/lib/modules/%{KVERREL}%{?3:+%{3}}/crashkernel.default\
+/lib/modules/%{KVERREL}%{?3:+%{3}}/systemtap\
%{_datadir}/doc/kernel-keys/%{KVERREL}%{?3:+%{3}}\
%if %{1}\
/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1571
2 years, 3 months
[OS-BUILD PATCH] spec: make linux-firmware weak(er) dependency
by Jan Stancek (via Email Bridge)
From: Jan Stancek <jstancek(a)redhat.com>
spec: make linux-firmware weak(er) dependency
Users of cloud/VM instances want to save up to ~300 MB space,
because they rarely need firmware to be installed.
We already allow linux-firmware to be uninstalled, but problem
is that subsequent updates of kernel package pull it back.
Goal is:
1) Have firmware installed by default, and require user action
to uninstall it.
2) If uninstalled, it should stay uninstalled after kernel update,
and kernel can be updated freely without it.
3) If kept installed, minimal required linux-firmware version
still needs to be enforced.
Make firmware weak dependency [1] (available since rpm 4.13),
but still enforce minimal version if it's installed.
[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/WeakDependencies/
Signed-off-by: Jan Stancek <jstancek(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -880,7 +880,8 @@ Provides: kernel-drm-nouveau = 16\
Provides: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
Requires(pre): %{kernel_prereq}\
Requires(pre): %{initrd_prereq}\
-Requires(pre): linux-firmware >= 20150904-56.git6ebf5d57\
+Requires(pre): ((linux-firmware >= 20150904-56.git6ebf5d57) if linux-firmware)\
+Recommends: linux-firmware\
Requires(preun): systemd >= 200\
Conflicts: xfsprogs < 4.3.0-1\
Conflicts: xorg-x11-drv-vmmouse < 13.0.99\
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1561
2 years, 3 months