From: David Hildenbrand <david(a)redhat.com>
redhat/configs: Enable CONFIG_DEVICE_PRIVATE on aarch64
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2231407
Peter Robinson reported that the default of CONFIG_DEVICE_PRIVATE would
have been "y": With common/generic/CONFIG_HSA_AMD_SVM=y (that depends on
CONFIG_DEVICE_PRIVATE -- which ends up depending on CONFIG_ZONE_DEVICE)
and rhel/generic/CONFIG_ZONE_DEVICE=y (that depends on
CONFIG_MEMORY_HOTREMOVE), it would turn CONFIG_DEVICE_PRIVATE on as
default.
However, when enabling CONFIG_MEMORY_HOTREMOVE to work around the error:
Found unset config items, please set them to an appropriate value
CONFIG_DEVICE_PRIVATE=n"
We ended up setting "# CONFIG_DEVICE_PRIVATE is not set" instead, which
was the wrong fix for the error.
Let's fix that by setting "CONFIG_DEVICE_PRIVATE=y" instead.
Signed-off-by: David Hildenbrand <david(a)redhat.com>
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_DEVICE_PRIVATE b/redhat/configs/common/generic/arm/aarch64/CONFIG_DEVICE_PRIVATE
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/arm/aarch64/CONFIG_DEVICE_PRIVATE
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_DEVICE_PRIVATE
@@ -1 +1 @@
-# CONFIG_DEVICE_PRIVATE is not set
+CONFIG_DEVICE_PRIVATE=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2639
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: 104928816
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/100346
One or more kernel tests failed:
We also see the following known issues which are not related to your changes:
Issue: NFS Connectathon: SELinux prevents rpcbind
URL: https://bugzilla.redhat.com/1758147
Affected tests:
aarch64 - Filesystem - NFS Connectathon
ppc64le - Filesystem - NFS Connectathon
s390x - Filesystem - NFS Connectathon
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: Mark Salter <msalter(a)redhat.com>
redhat/configs: enable tegra114 SPI
Make the Fedora config for SPI_TEGRA114 common so RHEL will enable
it also.
Signed-off-by: Mark Salter <msalter(a)redhat.com>
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_SPI_TEGRA114 b/redhat/configs/common/generic/arm/aarch64/CONFIG_SPI_TEGRA114
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_SPI_TEGRA114
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_SPI_TEGRA114
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_SPI_TEGRA114
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_SPI_TEGRA114
diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_TEGRA114 b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_TEGRA114
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_TEGRA114
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_SPI_TEGRA114 is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2643
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Enable CONFIG_EXPERT for both RHEL and Fedora
With CONFIG_EXPERT disabled, we have had instances of things changing
underneath without our knowledge. This is evident where we had config
items specifically set, but they are ignored because the item is now
dependent upon CONFIG_EXPERT. It is time to enable CONFIG_EXPERT to
ensure that we know exactly how our configs are built.
Additionally, RT is hidden behind CONFIG_EXPERT as well, so RHEL
developers already had to ensure that configs dependent upon expert were
set correctly for both x86 and aarch64. This should make things a bit
easier in that regard since EXPERT is now set everywhere.
V2: Fix up some mismatches between generated configs and previously
built configs.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ADVISE_SYSCALLS b/redhat/configs/common/generic/CONFIG_ADVISE_SYSCALLS
rename from redhat/configs/rhel/rt/generic/CONFIG_ADVISE_SYSCALLS
rename to redhat/configs/common/generic/CONFIG_ADVISE_SYSCALLS
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ADVISE_SYSCALLS
+++ b/redhat/configs/common/generic/CONFIG_ADVISE_SYSCALLS
diff --git a/redhat/configs/rhel/generic/CONFIG_AIO b/redhat/configs/common/generic/CONFIG_AIO
rename from redhat/configs/rhel/generic/CONFIG_AIO
rename to redhat/configs/common/generic/CONFIG_AIO
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_AIO
+++ b/redhat/configs/common/generic/CONFIG_AIO
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ALLOW_DEV_COREDUMP b/redhat/configs/common/generic/CONFIG_ALLOW_DEV_COREDUMP
rename from redhat/configs/rhel/rt/generic/CONFIG_ALLOW_DEV_COREDUMP
rename to redhat/configs/common/generic/CONFIG_ALLOW_DEV_COREDUMP
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ALLOW_DEV_COREDUMP
+++ b/redhat/configs/common/generic/CONFIG_ALLOW_DEV_COREDUMP
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_BITS b/redhat/configs/common/generic/CONFIG_ARCH_MMAP_RND_BITS
rename from redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_BITS
rename to redhat/configs/common/generic/CONFIG_ARCH_MMAP_RND_BITS
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_BITS
+++ b/redhat/configs/common/generic/CONFIG_ARCH_MMAP_RND_BITS
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS b/redhat/configs/common/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
rename from redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
rename to redhat/configs/common/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
+++ b/redhat/configs/common/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ATA_FORCE b/redhat/configs/common/generic/CONFIG_ATA_FORCE
rename from redhat/configs/rhel/rt/generic/CONFIG_ATA_FORCE
rename to redhat/configs/common/generic/CONFIG_ATA_FORCE
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ATA_FORCE
+++ b/redhat/configs/common/generic/CONFIG_ATA_FORCE
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_PCOEM b/redhat/configs/common/generic/CONFIG_ATH9K_PCOEM
rename from redhat/configs/rhel/rt/generic/CONFIG_ATH9K_PCOEM
rename to redhat/configs/common/generic/CONFIG_ATH9K_PCOEM
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_PCOEM
+++ b/redhat/configs/common/generic/CONFIG_ATH9K_PCOEM
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_RFKILL b/redhat/configs/common/generic/CONFIG_ATH9K_RFKILL
rename from redhat/configs/rhel/rt/generic/CONFIG_ATH9K_RFKILL
rename to redhat/configs/common/generic/CONFIG_ATH9K_RFKILL
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_RFKILL
+++ b/redhat/configs/common/generic/CONFIG_ATH9K_RFKILL
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_BASE_FULL b/redhat/configs/common/generic/CONFIG_BASE_FULL
rename from redhat/configs/rhel/rt/generic/CONFIG_BASE_FULL
rename to redhat/configs/common/generic/CONFIG_BASE_FULL
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_BASE_FULL
+++ b/redhat/configs/common/generic/CONFIG_BASE_FULL
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_BLOCK b/redhat/configs/common/generic/CONFIG_BLOCK
rename from redhat/configs/rhel/rt/generic/CONFIG_BLOCK
rename to redhat/configs/common/generic/CONFIG_BLOCK
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_BLOCK
+++ b/redhat/configs/common/generic/CONFIG_BLOCK
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_BUG b/redhat/configs/common/generic/CONFIG_BUG
rename from redhat/configs/common/generic/arm/aarch64/CONFIG_BUG
rename to redhat/configs/common/generic/CONFIG_BUG
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/arm/aarch64/CONFIG_BUG
+++ b/redhat/configs/common/generic/CONFIG_BUG
diff --git a/redhat/configs/rhel/generic/CONFIG_CACHESTAT_SYSCALL b/redhat/configs/common/generic/CONFIG_CACHESTAT_SYSCALL
rename from redhat/configs/rhel/generic/CONFIG_CACHESTAT_SYSCALL
rename to redhat/configs/common/generic/CONFIG_CACHESTAT_SYSCALL
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_CACHESTAT_SYSCALL
+++ b/redhat/configs/common/generic/CONFIG_CACHESTAT_SYSCALL
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CERTIFICATION_ONUS b/redhat/configs/common/generic/CONFIG_CFG80211_CERTIFICATION_ONUS
rename from redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CERTIFICATION_ONUS
rename to redhat/configs/common/generic/CONFIG_CFG80211_CERTIFICATION_ONUS
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CERTIFICATION_ONUS
+++ b/redhat/configs/common/generic/CONFIG_CFG80211_CERTIFICATION_ONUS
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CRDA_SUPPORT b/redhat/configs/common/generic/CONFIG_CFG80211_CRDA_SUPPORT
rename from redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CRDA_SUPPORT
rename to redhat/configs/common/generic/CONFIG_CFG80211_CRDA_SUPPORT
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CRDA_SUPPORT
+++ b/redhat/configs/common/generic/CONFIG_CFG80211_CRDA_SUPPORT
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_CONSOLE_TRANSLATIONS b/redhat/configs/common/generic/CONFIG_CONSOLE_TRANSLATIONS
rename from redhat/configs/rhel/rt/generic/CONFIG_CONSOLE_TRANSLATIONS
rename to redhat/configs/common/generic/CONFIG_CONSOLE_TRANSLATIONS
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_CONSOLE_TRANSLATIONS
+++ b/redhat/configs/common/generic/CONFIG_CONSOLE_TRANSLATIONS
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_COREDUMP b/redhat/configs/common/generic/CONFIG_COREDUMP
rename from redhat/configs/rhel/rt/generic/CONFIG_COREDUMP
rename to redhat/configs/common/generic/CONFIG_COREDUMP
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_COREDUMP
+++ b/redhat/configs/common/generic/CONFIG_COREDUMP
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_DEBUG_BUGVERBOSE b/redhat/configs/common/generic/CONFIG_DEBUG_BUGVERBOSE
rename from redhat/configs/rhel/rt/generic/CONFIG_DEBUG_BUGVERBOSE
rename to redhat/configs/common/generic/CONFIG_DEBUG_BUGVERBOSE
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_DEBUG_BUGVERBOSE
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_BUGVERBOSE
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B b/redhat/configs/common/generic/CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B
rename from redhat/configs/rhel/rt/generic/CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B
rename to redhat/configs/common/generic/CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B
diff --git a/redhat/configs/common/generic/CONFIG_DEBUG_MEMORY_INIT b/redhat/configs/common/generic/CONFIG_DEBUG_MEMORY_INIT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_MEMORY_INIT
@@ -0,0 +1 @@
+CONFIG_DEBUG_MEMORY_INIT=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_DEBUG_RSEQ b/redhat/configs/common/generic/CONFIG_DEBUG_RSEQ
rename from redhat/configs/rhel/rt/generic/CONFIG_DEBUG_RSEQ
rename to redhat/configs/common/generic/CONFIG_DEBUG_RSEQ
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_DEBUG_RSEQ
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_RSEQ
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2612
From: Scott Weaver on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
There are two significant problems with the existing hardware and driver
maintenance process. It is not easy to determine if a driver or piece of
hardware is supported, and it is not easy to determine if a driver or piece of
hardware is deprecated.
This changeset implements new 'centralized' call points to mark hardware and
devices deprecated, unmaintained, or disabled. This removes per-driver code
and reduces the amount of RHEL only code in the kernel.
It is easiest to look at a comparison of the old and new processes. In this
example, I will look at disabling a PCI card. In the old process, a bugzilla
would be opened to mark the device as disabled, and it would be assigned to an
engineer. That engineer would submit code and it would eventually be merged
into the tree. The problem with this process is that it does not make it easy
for others to determine the status of the device without examining the code.
This led to situations where devices were assumed to be supported in RHEL9 but
were not actually enabled. In addition to this, this process required
per-driver changes which were spread throughout the kernel.
The new process relies on a database that contains information on the status
of
a device. In order to disable a device the database must first be updated with
the information. The database contains a utility to update the code which is
then directly copied into the kernel as a Merge Request.
As part of this change, the code is updated to have two main calling points to
examine devices and drivers. The kernel module loading code is updated to
check the status of a driver before loading it, and the PCI core driver code
was updated to to check the status of a device before binding it to a driver.
There is dead and existing code that is removed from the source code before
any
changes are made.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
Signed-off-by: Scott Weaver <scweaver(a)redhat.com>
---
drivers/message/fusion/mptsas.c | 5 -
drivers/message/fusion/mptspi.c | 5 -
drivers/pci/pci-driver.c | 83 +--------
include/linux/kernel.h | 9 +-
include/linux/module.h | 4 +
include/linux/pci.h | 19 +-
init/main.c | 3 +
kernel/module/main.c | 5 +
kernel/rh_messages.c | 343 +++++++++++++++++++++++++++++++--------
kernel/rh_messages.h | 109 ++++++++++++
10 files changed, 406 insertions(+), 179 deletions(-)