From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
[redhat] New configs in drivers/dma
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
Symbol: AMD_AE4DMA [=n]
Type : tristate
Defined at drivers/dma/amd/Kconfig:4
Prompt: AMD AE4DMA Engine
Depends on: DMADEVICES [=y] && (X86_64 [=y] || COMPILE_TEST [=n]) && PCI [=y] && AMD_PTDMA [=m]
Location:
-> Device Drivers
-> DMA Engine support (DMADEVICES [=y])
-> AMD AE4DMA Engine (AMD_AE4DMA [=n])
Selects: DMA_ENGINE [=y] && DMA_VIRTUAL_CHANNELS [=y]
Commit: 90a30e268d9b (dmaengine: ae4dma: Add AMD ae4dma controller driver)
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
diff --git a/redhat/configs/pending-rhel/generic/CONFIG_AMD_AE4DMA b/redhat/configs/pending-rhel/generic/CONFIG_AMD_AE4DMA
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-rhel/generic/CONFIG_AMD_AE4DMA
+++ /dev/null
@@ -1,15 +0,0 @@
-# Symbol: AMD_AE4DMA [=n]
-# Type : tristate
-# Defined at drivers/dma/amd/Kconfig:4
-# Prompt: AMD AE4DMA Engine
-# Depends on: DMADEVICES [=y] && (X86_64 [=y] || COMPILE_TEST [=n]) && PCI [=y] && AMD_PTDMA [=m]
-# Location:
-# -> Device Drivers
-# -> DMA Engine support (DMADEVICES [=y])
-# -> AMD AE4DMA Engine (AMD_AE4DMA [=n])
-# Selects: DMA_ENGINE [=y] && DMA_VIRTUAL_CHANNELS [=y]
-#
-#
-#
-# Commit: 90a30e268d9b (dmaengine: ae4dma: Add AMD ae4dma controller driver)
-# CONFIG_AMD_AE4DMA is not set
diff --git a/redhat/configs/rhel/generic/CONFIG_AMD_AE4DMA b/redhat/configs/rhel/generic/CONFIG_AMD_AE4DMA
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_AMD_AE4DMA
@@ -0,0 +1 @@
+# CONFIG_AMD_AE4DMA is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3663
From: Benjamin Poirier <bpoirier(a)redhat.com>
redhat/configs: Change script interpreter to /bin/bash
Upstream-status: RHEL-only
Bugzilla: 2343226
When running `make dist-configs` on a system where /bin/sh is dash (rather
than bash), the command fails with:
[...]
Building .../redhat/configs/kernel-riscv64-rt-debug-fedora.config ...
Building .../redhat/configs/kernel-riscv64-rt-debug-fedora.config complete
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
./generate_all_configs.sh: 26: Bad substitution
head: cannot open '.../redhat/configs/kernel-6.14.0*.config' for reading: No such file or directory
cat: '.../redhat/configs/kernel-6.14.0*.config': No such file or directory
Processing .../redhat/configs/kernel-6.14.0*.config ...
.../Makefile:750: arch//Makefile: No such file or directory
make[3]: *** No rule to make target 'arch//Makefile'. Stop.
make[2]: *** [Makefile:263: __sub-make] Error 2
make[1]: *** [Makefile:564: dist-configs] Error 1
make[1]: Leaving directory '.../redhat'
make: *** [makefile:12: dist-configs] Error 2
The problem is due to the following substitution:
${i:$specpackage_name_len}
If we remove the shellcheck ignore, shellcheck explains:
SC3057 (warning): In POSIX sh, string indexing is undefined.
Since there are already many other scripts under redhat/ which use
/bin/bash as their interpreter, fix this problem by changing the
interpreter for this script to use bash as well.
We can then remove the shellcheck ignore but this results in another
message:
SC2001 (style): See if you can use ${variable//search/replace} instead.
The code is restructured as suggested.
Signed-off-by: Benjamin Poirier <bpoirier(a)redhat.com>
diff --git a/redhat/configs/generate_all_configs.sh b/redhat/configs/generate_all_configs.sh
index blahblah..blahblah 100755
--- a/redhat/configs/generate_all_configs.sh
+++ b/redhat/configs/generate_all_configs.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Adjusts the configuration options to build the variants correctly
@@ -22,9 +22,9 @@ fi
# The +1 is to remove the - at the end of the SPECPACKAGE_NAME string
specpackage_name_len=$((${#SPECPACKAGE_NAME} + 1))
for i in "${SPECPACKAGE_NAME}"*-"$FLAVOR".config; do
- # shellcheck disable=SC3057
- NEW=${SPECPACKAGE_NAME}-"$SPECRPMVERSION"-$(echo "${i:$specpackage_name_len}" | sed s/-"$FLAVOR"//)
- mv "$i" "$NEW"
+ variant=${i:$specpackage_name_len}
+ variant=${variant/-$FLAVOR}
+ mv "$i" "$SPECPACKAGE_NAME-$SPECRPMVERSION-$variant"
done
rm -f kernel-*-"$SECONDARY".config
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3668
From: Herbert Xu <herbert.xu(a)redhat.com>
not upstream: Set vdso is_ready later during boot process
Instead of setting vdso is_ready when the CRNG becomes ready, do
it later in the boot process as FIPS mode itself may not have been
set yet during the early-boot stages.
In particular, the CRNG gets initialised very early on arm64, even
before the early boot paramaters are parsed.
Delaying vdso is_ready setting on the other hand is harmless as
there is always a fallback code path that leads to getrandom(2).
Signed-off-by: Herbert Xu <herbert.xu(a)redhat.com>
diff --git a/drivers/char/random.c b/drivers/char/random.c
index blahblah..blahblah 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -121,6 +121,10 @@ EXPORT_SYMBOL(rng_is_initialized);
static void __cold crng_set_ready(struct work_struct *work)
{
static_branch_enable(&crng_is_ready);
+#ifdef CONFIG_VDSO_GETRANDOM
+ if (!fips_enabled)
+ WRITE_ONCE(__arch_get_k_vdso_rng_data()->is_ready, true);
+#endif
}
/* Used by wait_for_random_bytes(), and considered an entropy collector, below. */
@@ -749,10 +753,6 @@ static void __cold _credit_init_bits(size_t bits)
if (static_key_initialized && system_unbound_wq)
queue_work(system_unbound_wq, &set_ready);
atomic_notifier_call_chain(&random_ready_notifier, 0, NULL);
-#ifdef CONFIG_VDSO_GETRANDOM
- if (!fips_enabled)
- WRITE_ONCE(__arch_get_k_vdso_rng_data()->is_ready, true);
-#endif
wake_up_interruptible(&crng_init_wait);
kill_fasync(&fasync, SIGIO, POLL_IN);
pr_notice("crng init done\n");
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3667
Hey All,
I would like to invite all of you to participate in the Kernel 6.13
Test week is happening from 2025-02-02 to 2025-02-09. It's
fairly simple, head over to the wiki [0] and read in detail about the
test week and simply run the test case mentioned in[1] and enter your
results.
As usual, the Fedora QA team will hangout at #fedora-test-day(a)libera.chat
for questions and discussion.
[0] http://fedoraproject.org/wiki/Test_Day:2025-02-02_Kernel_6.13_Test_Week
[1] https://testdays.fedoraproject.org/events/207
--
//sumantro
Fedora QE
TRIED AND PERSONALLY TESTED, ERGO TRUSTED <https://redhat.com/trusted>
From: Jocelyn Falempe <jfalempe(a)redhat.com>
Enable CONFIG_INTEL_MEI_PXP and CONFIG_DRM_I915_PXP on rhel
The i915 and xe drivers are relying more on MEI and PXP, to the point
that we need to enable it to make it work properly.
Signed-off-by: Jocelyn Falempe <jfalempe(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP b/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_INTEL_MEI_PXP is not set
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_DRM_I915_PXP b/redhat/configs/common/generic/x86/CONFIG_DRM_I915_PXP
rename from redhat/configs/fedora/generic/x86/CONFIG_DRM_I915_PXP
rename to redhat/configs/common/generic/x86/CONFIG_DRM_I915_PXP
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/x86/CONFIG_DRM_I915_PXP
+++ b/redhat/configs/common/generic/x86/CONFIG_DRM_I915_PXP
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP b/redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
rename from redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP
rename to redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP
+++ b/redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3666
From: Jocelyn Falempe <jfalempe(a)redhat.com>
Enable CONFIG_INTEL_MEI_PXP on rhel
The i915 and xe drivers are relying more on MEI and PXP, to the point
that we need to enable it to make it work properly.
Signed-off-by: Jocelyn Falempe <jfalempe(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP b/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_INTEL_MEI_PXP is not set
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_DRM_I915_PXP b/redhat/configs/common/generic/x86/CONFIG_DRM_I915_PXP
rename from redhat/configs/fedora/generic/x86/CONFIG_DRM_I915_PXP
rename to redhat/configs/common/generic/x86/CONFIG_DRM_I915_PXP
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/x86/CONFIG_DRM_I915_PXP
+++ b/redhat/configs/common/generic/x86/CONFIG_DRM_I915_PXP
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP b/redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
rename from redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP
rename to redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP
+++ b/redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3666
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
[redhat] New configs in fs/fuse
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
Symbol: FUSE_IO_URING [=y]
Type : bool
Defined at fs/fuse/Kconfig:67
Prompt: FUSE communication over io-uring
Depends on: FUSE_FS [=m] && IO_URING [=y]
Location:
-> File systems
-> FUSE (Filesystem in Userspace) support (FUSE_FS [=m])
-> FUSE communication over io-uring (FUSE_IO_URING [=y])
Commit: 24fe962c86f5 (fuse: {io-uring} Handle SQEs - register commands)
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
diff --git a/redhat/configs/pending-rhel/generic/CONFIG_FUSE_IO_URING b/redhat/configs/pending-rhel/generic/CONFIG_FUSE_IO_URING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-rhel/generic/CONFIG_FUSE_IO_URING
+++ /dev/null
@@ -1,14 +0,0 @@
-# Symbol: FUSE_IO_URING [=y]
-# Type : bool
-# Defined at fs/fuse/Kconfig:67
-# Prompt: FUSE communication over io-uring
-# Depends on: FUSE_FS [=m] && IO_URING [=y]
-# Location:
-# -> File systems
-# -> FUSE (Filesystem in Userspace) support (FUSE_FS [=m])
-# -> FUSE communication over io-uring (FUSE_IO_URING [=y])
-#
-#
-#
-# Commit: 24fe962c86f5 (fuse: {io-uring} Handle SQEs - register commands)
-CONFIG_FUSE_IO_URING=y
diff --git a/redhat/configs/rhel/generic/CONFIG_FUSE_IO_URING b/redhat/configs/rhel/generic/CONFIG_FUSE_IO_URING
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_FUSE_IO_URING
@@ -0,0 +1 @@
+CONFIG_FUSE_IO_URING=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3664
From: Jocelyn Falempe <jfalempe(a)redhat.com>
Enable CONFIG_INTEL_MEI_PXP on rhel
The i915 and xe drivers are relying more on MEI and PXP, to the point
that we need to enable it to make it work properly.
Signed-off-by: Jocelyn Falempe <jfalempe(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP b/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_INTEL_MEI_PXP
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_INTEL_MEI_PXP is not set
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP b/redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
rename from redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP
rename to redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_MEI_PXP
+++ b/redhat/configs/common/generic/x86/CONFIG_INTEL_MEI_PXP
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3666
From: Herbert Xu on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1304
NOTE: Truncated patchset since committer email 'herbert(a)gondor.apana.org.au'
does not match the submitter's GitLab public email address
'herbert.xu(a)redhat.com'.
Upstream: RHEL only
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1984784
The RHEL FIPS certification effort ran into an show-stopper with
/dev/urandom and getrandom(2) not being FIPS-compliant. At this
point there is no realistic chance of making them FIPS-compliant
upstream. It has also been deemed unrealistic to change user-space
to use the FIPS-compliant RNG through the Crypto API.
Therefore this patch series overrides /dev/*random as well as
getrandom(2) with the Crypto API RNG so that FIPS certification
can proceed.
Signed-off-by: Herbert Xu <herbert.xu(a)redhat.com>
---
crypto/rng.c | 73 ++++++++++++++++++++++++++++++-
drivers/char/random.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/random.h | 7 ++
3 files changed, 194 insertions(+), 1 deletions(-)
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
[redhat] New configs in lib/Kconfig
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
Symbol: CRC_OPTIMIZATIONS [=y]
Type : bool
Defined at lib/Kconfig:243
Prompt: Enable optimized CRC implementations
Visible if: EXPERT [=y]
Location:
-> Library routines
-> Enable optimized CRC implementations (CRC_OPTIMIZATIONS [=y])
Commit: b0430f39de08 (lib/crc: simplify the kconfig options for CRC implementations)
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
diff --git a/redhat/configs/pending-rhel/generic/CONFIG_CRC_OPTIMIZATIONS b/redhat/configs/pending-rhel/generic/CONFIG_CRC_OPTIMIZATIONS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-rhel/generic/CONFIG_CRC_OPTIMIZATIONS
+++ /dev/null
@@ -1,13 +0,0 @@
-# Symbol: CRC_OPTIMIZATIONS [=y]
-# Type : bool
-# Defined at lib/Kconfig:243
-# Prompt: Enable optimized CRC implementations
-# Visible if: EXPERT [=y]
-# Location:
-# -> Library routines
-# -> Enable optimized CRC implementations (CRC_OPTIMIZATIONS [=y])
-#
-#
-#
-# Commit: b0430f39de08 (lib/crc: simplify the kconfig options for CRC implementations)
-CONFIG_CRC_OPTIMIZATIONS=y
diff --git a/redhat/configs/rhel/generic/CONFIG_CRC_OPTIMIZATIONS b/redhat/configs/rhel/generic/CONFIG_CRC_OPTIMIZATIONS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_CRC_OPTIMIZATIONS
@@ -0,0 +1 @@
+CONFIG_CRC_OPTIMIZATIONS=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3665