From: Prarit Bhargava <prarit(a)redhat.com>
redhat/Makefile: Fix RHJOBS grep warning
Calculating RHJOBS results in the warning
grep: warning: stray \ before white space
Resolve this by using [ ] to detect a space in the regex.
Before fix:
Search for "before white space" in https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/6…
After fix:
No "before white space" errors seen in https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/6…
Also, confirming that RHJOBS works correctly after the fix,
[prarit@prarit kernel-ark]$ make -j13 dist-dump-variables | grep RHJOBS=
RHJOBS=13
[prarit@prarit kernel-ark]$
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -80,7 +80,7 @@ ifndef DISTRO
endif
ifndef RHJOBS
- RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "\ -j[0-9]*" | xargs ); \
+ RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "(^|[ ])-j[0-9]*" | xargs ); \
if [ -z "$${j}" ]; then \
echo "1"; \
else \
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2148
Hi, we tested your kernel and here are the results:
Overall result: PASSED
Merge: OK
Compile: OK
Test: OK
Tested-by: CKI Project <cki-project(a)redhat.com>
Kernel information:
Brew / Koji Task ID: 94243446
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/60165
One or more kernel tests failed:
We also see the following known issues which are not related to your changes:
Issue: Storage block - storage fio numa: Performance comparison: min:40535 * 1.15 < max:81259
URL: https://bugzilla.redhat.com/show_bug.cgi?id=2032094
Affected tests:
x86_64 - Storage - block - storage fio numa
Issue: avc: denied { name_bind } for pid=897864 comm="rpcbind" src=63924 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=1
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1983604#c3
Affected tests:
x86_64 - xfstests - nfsv4.2
Issue: NFS Connectathon: SELinux prevents rpcbind
URL: https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/…
Affected tests:
aarch64 - NFS Connectathon
ppc64le - NFS Connectathon
Issue: xfstests - _check_xfs_filesystem: filesystem on /dev/nvme0n1p4 is inconsistent (r)
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1989409
Affected tests:
aarch64 - xfstests - btrfs
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
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.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
From: Prarit Bhargava <prarit(a)redhat.com>
redhat/Makefile: Fix RHJOBS grep warning
Calculating RHJOBS results in the warning
grep: warning: stray \ before white space
Resolve this by using [ ] to detect a space in the regex.
Before fix:
Search for "before white space" in https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/6…
After fix:
No "before white space" errors seen in https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/6…
Also, confirming that RHJOBS works correctly after the fix,
[prarit@prarit kernel-ark]$ make -j13 dist-dump-variables | grep RHJOBS=
RHJOBS=13
[prarit@prarit kernel-ark]$
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -80,7 +80,7 @@ ifndef DISTRO
endif
ifndef RHJOBS
- RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "\ -j[0-9]*" | xargs ); \
+ RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "[ ]-j[0-9]*" | xargs ); \
if [ -z "$${j}" ]; then \
echo "1"; \
else \
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2148
From: Lenny Szubowicz <lszubowi(a)redhat.com>
redhat/configs: Enable CONFIG_EFI_SECRET module
Enable the efi_secret module to provide the contents of the EFI
configuration table containing confidential computing (coco)
secrets via /sys/kernel/security/secrets/coco/.
CONFIG_EFI_SECRET depends on CONFIG_EFI_COCO_SECRETS, which is similarly
defined. However, drivers/virt/coco/efi_secret/Kconfig currently
effectively limits CONFIG_EFI_SECRET to X86_64.
Signed-off-by: Lenny Szubowicz <lszubowi(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_EFI_SECRET b/redhat/configs/common/generic/CONFIG_EFI_SECRET
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_EFI_SECRET
@@ -0,0 +1 @@
+CONFIG_EFI_SECRET=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2124
From: Waiman Long <longman(a)redhat.com>
redhat/configs: Move ark/generic/s390x/CONFIG_ZSMALLOC to common/generic
Commit 3f72c8eb03cb ("Fix up ZSMALLOC config for s390") added s390x specific
CONFIG_ZSMALLOC to resolve config generation problem due to upcommit commit
b3fbd58fcbb1 ("mm: Kconfig: simplify zswap configuration"). As this commit
is being backported to centos-stream-9 with similar config changes into
the common/generic directory. It makes sense to move the ark/generic
config files to common/generic too.
Signed-off-by: Waiman Long <longman(a)redhat.com>
diff --git a/redhat/configs/ark/generic/s390x/CONFIG_ZSMALLOC b/redhat/configs/common/generic/s390x/CONFIG_ZSMALLOC
rename from redhat/configs/ark/generic/s390x/CONFIG_ZSMALLOC
rename to redhat/configs/common/generic/s390x/CONFIG_ZSMALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/s390x/CONFIG_ZSMALLOC
+++ b/redhat/configs/common/generic/s390x/CONFIG_ZSMALLOC
diff --git a/redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_ZSMALLOC b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_ZSMALLOC
rename from redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_ZSMALLOC
rename to redhat/configs/common/generic/s390x/zfcpdump/CONFIG_ZSMALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_ZSMALLOC
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_ZSMALLOC
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2127
From: Prarit Bhargava <prarit(a)redhat.com>
redhat: Force remove tmp file
If BTF is not enabled in the kernel config then .tmp_vmlinux.btf will not
exist. The rpm build will throw an error because the file doesn't exist.
Use 'rm -f' to delete the .tmp_vmlinux.btf file.
Reported by: stan <upaitag(a)zoho.com>
Signed-off-by: Prarit Bhargava <prarit(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
@@ -1683,7 +1683,8 @@ BuildKernel() {
%endif
# Remove large intermediate files we no longer need to save space
- rm vmlinux.o .tmp_vmlinux.btf
+ # (-f required for zfcpdump builds that do not enable BTF)
+ rm -f vmlinux.o .tmp_vmlinux.btf
# Start installing the results
install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2135
From: Prarit Bhargava <prarit(a)redhat.com>
redhat: Force remove tmp file
If BTF is not enabled in the kernel config then .tmp_vmlinux.btf will not
exist. The rpm build will throw an error because the file doesn't exist.
Use 'rm -f' to delete the .tmp_vmlinux.btf file.
Reported by: stan <upaitag(a)zoho.com>
Signed-off-by: Prarit Bhargava <prarit(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
@@ -1683,7 +1683,7 @@ BuildKernel() {
%endif
# Remove large intermediate files we no longer need to save space
- rm vmlinux.o .tmp_vmlinux.btf
+ rm -f vmlinux.o .tmp_vmlinux.btf
# Start installing the results
install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2135
From: Clark Williams <williams(a)redhat.com>
redhat: avoid picking up stray editor backups when processing configs
Emacs and vim both use a trailing '~' to designate a backup file. This
can cause puzzling behavior in the config generation logic because the
build_configs.sh script will pick up both CONFIG_FOO and CONFIG_FOO~,
which presumably have different values. Just avoid this by filtering
out files with ~ extension when picking up CONFIGS from a directory.
Signed-off-by: Clark Williams <williams(a)redhat.com>
diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh
index blahblah..blahblah 100755
--- a/redhat/configs/build_configs.sh
+++ b/redhat/configs/build_configs.sh
@@ -49,7 +49,8 @@ function combine_config_layer()
return
fi
- cat "$dir"/CONFIG_* > "$file"
+ # avoid picking up editor backup files
+ cat $(ls -1 "$dir"/CONFIG_* | grep -v "~$") > "$file"
}
function merge_configs()
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2149
From: Ivan Vecera <ivecera(a)redhat.com>
redhat: Enable support for SN2201 system
Enable support for platform devices used on Nvidia SN2201
switch system.
Signed-off-by: Ivan Vecera <ivecera(a)redhat.com>
diff --git a/redhat/configs/common/generic/x86/CONFIG_NVSW_SN2201 b/redhat/configs/common/generic/x86/CONFIG_NVSW_SN2201
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/x86/CONFIG_NVSW_SN2201
@@ -0,0 +1 @@
+CONFIG_NVSW_SN2201=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2136
From: Jonathan Toppins on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2144
Override the upstream kernel `make help` target so we can inject
distribution targets at the top of the help output.
Signed-off-by: Jonathan Toppins <jtoppins(a)redhat.com>
---
redhat/Makefile | 2 +-
makefile | 14 +++++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)
From: Prarit Bhargava <prarit(a)redhat.com>
redhat/Makefile: Fix RHJOBS grep warning
Calculating RHJOBS results in the warning
grep: warning: stray \ before white space
Resolve this by using [ ] to detect a space in the regex.
Before fix:
Search for "before white space" in https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/6…
After fix:
No "before white space" errors seen in https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/6…
Also, confirming that RHJOBS works correctly after the fix,
[prarit@prarit kernel-ark]$ make -j13 dist-dump-variables | grep RHJOBS=
RHJOBS=13
[prarit@prarit kernel-ark]$
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -80,7 +80,7 @@ ifndef DISTRO
endif
ifndef RHJOBS
- RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "\ -j[0-9]*" | xargs ); \
+ RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "[ ]-j[0-9]*" | xargs ); \
if [ -z "$${j}" ]; then \
echo "1"; \
else \
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2148
From: Johannes Weiner <hannes(a)cmpxchg.org>
fs: fix leaked psi pressure state
When psi annotations were added to to btrfs compression reads, the psi
state tracking over add_ra_bio_pages and btrfs_submit_compressed_read was
faulty. A pressure state, once entered, is never left. This results in
incorrectly elevated pressure, which triggers OOM kills.
pflags record the *previous* memstall state when we enter a new one. The
code tried to initialize pflags to 1, and then optimize the leave call
when we either didn't enter a memstall, or were already inside a nested
stall. However, there can be multiple PageWorkingset pages in the bio, at
which point it's that path itself that enters repeatedly and overwrites
pflags. This causes us to miss the exit.
Enter the stall only once if needed, then unwind correctly.
erofs has the same problem, fix that up too. And move the memstall exit
past submit_bio() to restore submit accounting originally added by
b8e24a9300b0 ("block: annotate refault stalls from IO submission").
Link: https://lkml.kernel.org/r/Y2UHRqthNUwuIQGS@cmpxchg.org
Fixes: 4088a47e78f9 ("btrfs: add manual PSI accounting for compressed reads")
Fixes: 99486c511f68 ("erofs: add manual PSI accounting for the compressed address space")
Fixes: 118f3663fbc6 ("block: remove PSI accounting from the bio layer")
Link: https://lore.kernel.org/r/d20a0a85-e415-cf78-27f9-77dd7a94bc8d@leemhuis.inf…
Signed-off-by: Johannes Weiner <hannes(a)cmpxchg.org>
Reported-by: Thorsten Leemhuis <linux(a)leemhuis.info>
Tested-by: Thorsten Leemhuis <linux(a)leemhuis.info>
Cc: Chao Yu <chao(a)kernel.org>
Cc: Chris Mason <clm(a)fb.com>
Cc: Christoph Hellwig <hch(a)lst.de>
Cc: David Sterba <dsterba(a)suse.com>
Cc: Gao Xiang <xiang(a)kernel.org>
Cc: Jens Axboe <axboe(a)kernel.dk>
Cc: Josef Bacik <josef(a)toxicpanda.com>
Cc: Suren Baghdasaryan <surenb(a)google.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
index blahblah..blahblah 100644
--- a/fs/btrfs/compression.c
+++ b/fs/btrfs/compression.c
@@ -512,7 +512,7 @@ static u64 bio_end_offset(struct bio *bio)
static noinline int add_ra_bio_pages(struct inode *inode,
u64 compressed_end,
struct compressed_bio *cb,
- unsigned long *pflags)
+ int *memstall, unsigned long *pflags)
{
struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
unsigned long end_index;
@@ -581,8 +581,10 @@ static noinline int add_ra_bio_pages(struct inode *inode,
continue;
}
- if (PageWorkingset(page))
+ if (!*memstall && PageWorkingset(page)) {
psi_memstall_enter(pflags);
+ *memstall = 1;
+ }
ret = set_page_extent_mapped(page);
if (ret < 0) {
@@ -670,8 +672,8 @@ void btrfs_submit_compressed_read(struct inode *inode, struct bio *bio,
u64 em_len;
u64 em_start;
struct extent_map *em;
- /* Initialize to 1 to make skip psi_memstall_leave unless needed */
- unsigned long pflags = 1;
+ unsigned long pflags;
+ int memstall = 0;
blk_status_t ret;
int ret2;
int i;
@@ -727,7 +729,7 @@ void btrfs_submit_compressed_read(struct inode *inode, struct bio *bio,
goto fail;
}
- add_ra_bio_pages(inode, em_start + em_len, cb, &pflags);
+ add_ra_bio_pages(inode, em_start + em_len, cb, &memstall, &pflags);
/* include any pages we added in add_ra-bio_pages */
cb->len = bio->bi_iter.bi_size;
@@ -807,7 +809,7 @@ void btrfs_submit_compressed_read(struct inode *inode, struct bio *bio,
}
}
- if (!pflags)
+ if (memstall)
psi_memstall_leave(&pflags);
if (refcount_dec_and_test(&cb->pending_ios))
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c
index blahblah..blahblah 100644
--- a/fs/erofs/zdata.c
+++ b/fs/erofs/zdata.c
@@ -1412,8 +1412,8 @@ static void z_erofs_submit_queue(struct z_erofs_decompress_frontend *f,
struct block_device *last_bdev;
unsigned int nr_bios = 0;
struct bio *bio = NULL;
- /* initialize to 1 to make skip psi_memstall_leave unless needed */
- unsigned long pflags = 1;
+ unsigned long pflags;
+ int memstall = 0;
bi_private = jobqueueset_init(sb, q, fgq, force_fg);
qtail[JQ_BYPASS] = &q[JQ_BYPASS]->head;
@@ -1463,14 +1463,18 @@ static void z_erofs_submit_queue(struct z_erofs_decompress_frontend *f,
if (bio && (cur != last_index + 1 ||
last_bdev != mdev.m_bdev)) {
submit_bio_retry:
- if (!pflags)
- psi_memstall_leave(&pflags);
submit_bio(bio);
+ if (memstall) {
+ psi_memstall_leave(&pflags);
+ memstall = 0;
+ }
bio = NULL;
}
- if (unlikely(PageWorkingset(page)))
+ if (unlikely(PageWorkingset(page)) && !memstall) {
psi_memstall_enter(&pflags);
+ memstall = 1;
+ }
if (!bio) {
bio = bio_alloc(mdev.m_bdev, BIO_MAX_VECS,
@@ -1500,9 +1504,9 @@ static void z_erofs_submit_queue(struct z_erofs_decompress_frontend *f,
} while (owned_head != Z_EROFS_PCLUSTER_TAIL);
if (bio) {
- if (!pflags)
- psi_memstall_leave(&pflags);
submit_bio(bio);
+ if (memstall)
+ psi_memstall_leave(&pflags);
}
/*
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2137
Hi, we tested your kernel and here are the results:
Overall result: PASSED
Merge: OK
Compile: OK
Test: OK
Tested-by: CKI Project <cki-project(a)redhat.com>
Kernel information:
Brew / Koji Task ID: 94052520
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/59656
One or more kernel tests failed:
We also see the following known issues which are not related to your changes:
Issue: [aarch64] [ampere] sysfs: cannot create duplicate filename '/devices/mc0'
URL: http://lists.infradead.org/pipermail/linux-arm-kernel/2022-June/750380.html
Affected tests:
aarch64 - Boot test
Issue: NFS Connectathon: SELinux prevents rpcbind
URL: https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/…
Affected tests:
x86_64 - NFS Connectathon
Issue: avc: denied { name_bind } for pid=897864 comm="rpcbind" src=63924 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=1
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1983604#c3
Affected tests:
x86_64 - xfstests - nfsv4.2
Issue: Storage blktests - blk: scsi/007: Reading from scsi_debug failed
URL: https://bugzilla.redhat.com/show_bug.cgi?id=2027550
Affected tests:
s390x - Storage - blktests - blk
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
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.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
From: Patrick Talbert <ptalbert(a)redhat.com>
redhat: fix selftest git command so it picks the right commit
The current git command used to fetch the latest release string may end
up finding the latest release string of a different branch such as
ark-latest and then comparing it to the version string in the
changelog-9.99 file of the current branch. These two strings won't
necessarily match so the test fails.
Fix this by dropping '--all' from the git command so we end up finding
the latest release commit of the current branch and comparing it to the
changelog-9.99 file's string in the same current branch. These should be
the same.
Signed-off-by: Patrick Talbert <ptalbert(a)redhat.com>
diff --git a/redhat/self-test/2001-dist-release.bats b/redhat/self-test/2001-dist-release.bats
index blahblah..blahblah 100644
--- a/redhat/self-test/2001-dist-release.bats
+++ b/redhat/self-test/2001-dist-release.bats
@@ -36,7 +36,7 @@ _dist-release_test_2() {
# release number in Makefile.rhelver.
# and above in prologue.
cd $BATS_TMPDIR/distrelease
- title="$(git log --oneline --all --grep "\[redhat\] kernel" -n 1 --pretty="format:%s")"
+ title="$(git log --oneline --grep "\[redhat\] kernel" -n 1 --pretty="format:%s")"
# title = ... [redhat] kernel-5.11.0-0.rc0.20201220git467f8165a2b0.104
# Just the title message part AFTER "[redhat] ":
title=${title##*\[redhat\] }
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2142
From: Mark Salter <msalter(a)redhat.com>
redhat/configs: enable HP_WATCHDOG for aarch64
HP watchdog is now supported on some HP aarch64 platforms,
so enable it.
Also delete redhat/configs/pending-ark/generic/CONFIG_HP_WATCHDOG
which was automatically added when ARM64 was added to HP_WATCHDOG
supported arches. This had the unintended side effect of turning
off HP_WATCHDOG for x86.
Signed-off-by: Mark Salter <msalter(a)redhat.com>
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_HP_WATCHDOG b/redhat/configs/common/generic/arm/aarch64/CONFIG_HP_WATCHDOG
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_HP_WATCHDOG
@@ -0,0 +1 @@
+CONFIG_HP_WATCHDOG=m
diff --git a/redhat/configs/pending-ark/generic/CONFIG_HP_WATCHDOG b/redhat/configs/pending-ark/generic/CONFIG_HP_WATCHDOG
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-ark/generic/CONFIG_HP_WATCHDOG
+++ /dev/null
@@ -1,14 +0,0 @@
-# Symbol: HP_WATCHDOG [=n]
-# Type : tristate
-# Defined at drivers/watchdog/Kconfig:1326
-# Prompt: HP ProLiant iLO2+ Hardware Watchdog Timer
-# Depends on: WATCHDOG [=y] && (ARM64 [=y] || X86) && PCI [=y]
-# Location:
-# Main menu
-# -> Device Drivers
-# -> Watchdog Timer Support (WATCHDOG [=y])
-# Selects: WATCHDOG_CORE [=y]
-#
-#
-#
-# CONFIG_HP_WATCHDOG is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2140
From: Ivan Vecera <ivecera(a)redhat.com>
redhat: Enable support for SN2201 system
Enable support for platform devices used on Nvidia SN2201
switch system.
Signed-off-by: Ivan Vecera <ivecera(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_NVSW_SN2201 b/redhat/configs/common/generic/CONFIG_NVSW_SN2201
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_NVSW_SN2201
+++ b/redhat/configs/common/generic/CONFIG_NVSW_SN2201
@@ -1 +1 @@
-# CONFIG_NVSW_SN2201 is not set
+CONFIG_NVSW_SN2201=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2136
From: Nico Pache <npache(a)redhat.com>
redhat: disable Kfence Kunit Test
Disable the Kfence kunit test due to a known issue with the test.
Signed-off-by: Nico Pache <npache(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST
+++ b/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST
@@ -1 +1 @@
-CONFIG_KFENCE_KUNIT_TEST=m
+# CONFIG_KFENCE_KUNIT_TEST is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2139
From: Prarit Bhargava <prarit(a)redhat.com>
redhat: Test tmp file before deleting
If BTF is not enabled in the kernel config then .tmp_vmlinux.btf will not
exist. The rpm build will throw an error because the file doesn't exist.
Test for the existence of .tmp_vmlinux.btf before deleting it.
Reported by: stan <upaitag(a)zoho.com>
Signed-off-by: Prarit Bhargava <prarit(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
@@ -1683,7 +1683,10 @@ BuildKernel() {
%endif
# Remove large intermediate files we no longer need to save space
- rm vmlinux.o .tmp_vmlinux.btf
+ rm vmlinux.o
+ if [ -f .tmp_vmlinux.btf ]; then
+ rm .tmp_vmlinux.btf
+ fi
# Start installing the results
install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2135