✅ PASS (SKIPPED 1 of 243): Test report for 6.3.5-100.fc37 (kernel-fedora)

2023-05-30 Thread cki-project
Hi, we tested your kernel and here are the results:

Overall result: PASSED
 Merge: OK
   Compile: OK
  Test: OK

Tested-by: CKI Project 

Kernel information:
Brew / Koji Task ID: 101655321

You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/90781

One or more kernel tests failed:
We also see the following known issues which are not related to your 
changes:
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
Issue: NFS Connectathon: SELinux prevents rpcbind
URL: https://bugzilla.redhat.com/1758147
Affected tests:
 aarch64 - NFS Connectathon
  x86_64 - NFS Connectathon
Issue: (kernel-fedora) Storage - blktests - nvmeof-mp: FAIL: Configured 
NVMe target driver
URL: 
https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/1610
Affected tests:
 ppc64le - Storage - blktests - nvmeof-mp



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
   `-'
__
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv4 0/6] redhat: Add realtime build and packaging logic

2023-05-30 Thread Herton R. Krzesinski (via Email Bridge)
From: Herton R. Krzesinski on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1411398674

Hi Clark,

this is different from what we have on centos9/9.3: the name of the package is
rt-debug.

Using kernel-rt_debug instead of kernel-rt-debug breaks the upgrade path from
the previously separate kernel-rt and from 9.3

Can you sync your patch with the centos9 version? You also may need to bring
the 64k arm support to ark, not sure. On centos/9.3, it was a dependency
because of the order it was merged.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv3 7/13] redhat: move rt config defines to be in sequence

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1411293116

should be fixed now
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv3 3/13] redhat: RT packaging changes

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1411291955

done
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv3 3/13] redhat: RT packaging changes

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1411290870

Automotive should be gone and the configs are protected by %if %{include_rt}
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 4/20] redhat: RT/Auto packaging changes

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1411287688

fixed
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv4 3/6] redhat: RT packaging changes

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams 

redhat: RT packaging changes

Apply changes for building RT and Automotive kernels to the redhat
directory files. This works is prepratory to the upstream merge of
the PREEMPT_RT code.

Introduce new specfile macros: with_realtime and with_automotive to
control whether the realtime and automotive kernel variants will be
built and packaged. All sections  of the specfile that focus on either
of these two variants are protected by these macros. Also, modify most
of the variant helper macros to handle rt/auto variants.

Also add with_rtonly and with_automotiveonly macros for building just
one of the variants

Note that the RT kernel adds an extra package named kernel-rt-kvm,
which contains the KVM modules, due to supporting virtualization on RT
as a separate product.

Modify redhat/Makefile.variables to set INCLUDE_RT_FILES for use by
genspec.sh when generating the specfile from the template specfile.

Config file generation logic changes were done to
redhat/configs/priority.rhel to describe the config files for the rt
and automotive kernels.

Modify priority.rhel to have rt inherit from rhel

Due to the way the config merge scripts work an empty
rt directory tree needs to be maintained under common. Empty README
files will be used to keep those directory trees in git.

Don't run '/sbin/ldconfig -X' if we're a noarch or a non-build arch
since there won't be any shared library changes to update the cache

Signed-off-by: Jiri Benc 
Signed-off-by: Andrew Halaney 
Signed-off-by: Clark Williams 
Signed-off-by: Wander Lairson Costa 

Signed-off-by: Clark Williams 

redhat: move rt config defines to be in sequence

Signed-off-by: Clark Williams 

redhat: don't build rt debug packages when with_dbgonly set

The variable with_dbgonly means to only build the main kernel debug
package; don't build rt debug packages when it's set.

Signed-off-by: Clark Williams 

redhat: take with_dbgonly into account when collecting variant files

Don't do %files macro for rt when with_dbgonly specified

Signed-off-by: Clark Williams 

redhat: ensure efiuki is turned off when using with_rtonly macro

If with_rtonly is specified, turn off the with_efiuki variable.

Also, remove duplicate with_rtonly block

Signed-off-by: Clark Williams 

redhat: remove unneeded rm of localversion-rt in specfile

Signed-off-by: Clark Williams 

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -12,6 +12,7 @@ include Makefile.variables
 SPECRELEASED_KERNEL=$(RELEASED_KERNEL)
 SPECINCLUDE_FEDORA_FILES=$(INCLUDE_FEDORA_FILES)
 SPECINCLUDE_RHEL_FILES=$(INCLUDE_RHEL_FILES)
+SPECINCLUDE_RT_FILES=$(INCLUDE_RT_FILES)
 
 ifneq (,$(findstring n,$(firstword -$(MAKEFLAGS
   # Do not set RHTEST on the command line. Use the make command built-in 
options
@@ -695,6 +696,7 @@ sources-rh: $(TARBALL) generate-testpatch-tmp setup-source 
dist-configs-check
scripts/mod/mod-internal.list \
scripts/mod/mod-partner.list \
scripts/mod/mod-sign.sh \
+   scripts/mod/mod-kvm.list \
configs/flavors \
configs/generate_all_configs.sh \
configs/merge.py \
diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables
index blahblah..blahblah 100644
--- a/redhat/Makefile.variables
+++ b/redhat/Makefile.variables
@@ -68,6 +68,7 @@ HEAD ?= HEAD
 # to '0'.
 INCLUDE_FEDORA_FILES:=1
 INCLUDE_RHEL_FILES:=1
+INCLUDE_RT_FILES:=1
 
 # This variable is the location of the KABI cross compilers
 KABI_CROSS_COMPILE_PREFIX ?= /usr/bin/
diff --git a/redhat/configs/priority.rhel b/redhat/configs/priority.rhel
index blahblah..blahblah 100644
--- a/redhat/configs/priority.rhel
+++ b/redhat/configs/priority.rhel
@@ -23,6 +23,8 @@ EMPTY=armv7hl armv7hl-debug armv7hl-lpae armv7hl-lpae-debug
 x86_64=generic:generic-x86
 x86_64-debug=generic:generic-x86:debug:debug-x86
 x86_64-kgcov=generic:generic-x86:kgcov
+x86_64-rt=generic:generic-x86:rt-generic:rt-generic-x86
+x86_64-rt_debug=generic:generic-x86:debug:debug-x86:rt-generic:rt-generic-x86:rt-debug:rt-debug-x86
 
 # ppc64le
 ppc64le=generic:generic-powerpc
@@ -37,5 +39,7 @@ s390x-kgcov=generic:generic-s390x:kgcov
 
 # aarch64
 aarch64=generic:generic-arm:generic-arm-aarch64
-aarch64-debug=generic:generic-arm:generic-arm-aarch64:debug:debug-arm-aarch64
+aarch64-debug=generic:generic-arm:generic-arm-aarch64:debug:debug-arm:debug-arm-aarch64
 aarch64-kgcov=generic:generic-arm:generic-arm-aarch64:kgcov
+aarch64-rt=generic:generic-arm:generic-arm-aarch64:rt-generic:rt-generic-arm:rt-generic-arm-aarch64
+aarch64-rt_debug=generic:generic-arm:generic-arm-aarch64:debug:debug-arm:debug-arm-aarch64:rt-generic:rt-generic-arm:rt-generic-arm-aarch64:rt-debug:rt-debug-arm:rt-debug-arm-aarch64
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template

[OS-BUILD PATCHv4 6/6] redhat: TEMPORARY set configs to deal with PREEMPT_RT not available

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams 

redhat: TEMPORARY set configs to deal with PREEMPT_RT not available

These config values in rt have been changed to handle there
not being PREEMPT_RT configury logic (yet). When PREEMPT_RT merges
upstream, drop this commit.

Signed-off-by: Clark Williams 

diff --git a/redhat/configs/rhel/rt/debug/CONFIG_PREEMPT_VOLUNTARY 
b/redhat/configs/rhel/rt/debug/CONFIG_PREEMPT_VOLUNTARY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/debug/CONFIG_PREEMPT_VOLUNTARY
@@ -0,0 +1 @@
+CONFIG_PREEMPT_VOLUNTARY=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_DYNAMIC 
b/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_DYNAMIC
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_DYNAMIC
+++ b/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_DYNAMIC
@@ -1 +1 @@
-# CONFIG_PREEMPT_DYNAMIC is not set
+CONFIG_PREEMPT_DYNAMIC=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_RT 
b/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_RT
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_RT
+++ b/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_RT
@@ -1 +1 @@
-CONFIG_PREEMPT_RT=y
+# CONFIG_PREEMPT_RT is not set
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_VOLUNTARY 
b/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_VOLUNTARY
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_VOLUNTARY
+++ b/redhat/configs/rhel/rt/generic/CONFIG_PREEMPT_VOLUNTARY
@@ -1 +1 @@
-# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT_VOLUNTARY=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv4 5/6] redhat: TEMPORARY default realtime to off

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams 

redhat: TEMPORARY default realtime to off

Building of realtime kernel is controlled by the variable
with_realtime in the specfile.

Default this to off until PREEMPT_RT merges upstream so
we pull in the actual code/config changes require to build a
PREEMPT_RT kernel

Signed-off-by: Clark Williams 

diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -259,7 +259,7 @@ Summary: The Linux kernel
 # special purpose variants
 
 # RHEL real-time kernel (PREEMPT_RT)
-%define with_realtime %{?_without_realtime: 0} %{?!_without_realtime: 1}
+%define with_realtime %{?_without_realtime: 1} %{?!_without_realtime: 0}
 
 %ifarch x86_64
 %if %{with_realtime}

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv4 4/6] redhat: moved ARM errata configs to arm dir

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams 

redhat: moved ARM errata configs to arm dir

Signed-off-by: Clark Williams 

diff --git a/redhat/configs/rhel/generic/CONFIG_CAVIUM_ERRATUM_30115 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_CAVIUM_ERRATUM_30115
rename from redhat/configs/rhel/generic/CONFIG_CAVIUM_ERRATUM_30115
rename to redhat/configs/rhel/generic/arm/aarch64/CONFIG_CAVIUM_ERRATUM_30115
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_CAVIUM_ERRATUM_30115
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_CAVIUM_ERRATUM_30115
diff --git a/redhat/configs/rhel/generic/CONFIG_FSL_ERRATUM_A008585 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_FSL_ERRATUM_A008585
rename from redhat/configs/rhel/generic/CONFIG_FSL_ERRATUM_A008585
rename to redhat/configs/rhel/generic/arm/aarch64/CONFIG_FSL_ERRATUM_A008585
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_FSL_ERRATUM_A008585
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_FSL_ERRATUM_A008585
diff --git a/redhat/configs/rhel/generic/CONFIG_FUJITSU_ERRATUM_010001 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_FUJITSU_ERRATUM_010001
rename from redhat/configs/rhel/generic/CONFIG_FUJITSU_ERRATUM_010001
rename to redhat/configs/rhel/generic/arm/aarch64/CONFIG_FUJITSU_ERRATUM_010001
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_FUJITSU_ERRATUM_010001
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_FUJITSU_ERRATUM_010001
diff --git a/redhat/configs/rhel/generic/CONFIG_HISILICON_ERRATUM_161010101 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_HISILICON_ERRATUM_161010101
rename from redhat/configs/rhel/generic/CONFIG_HISILICON_ERRATUM_161010101
rename to 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_HISILICON_ERRATUM_161010101
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_HISILICON_ERRATUM_161010101
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_HISILICON_ERRATUM_161010101
diff --git a/redhat/configs/rhel/generic/CONFIG_QCOM_FALKOR_ERRATUM_1003 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_FALKOR_ERRATUM_1003
rename from redhat/configs/rhel/generic/CONFIG_QCOM_FALKOR_ERRATUM_1003
rename to 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_FALKOR_ERRATUM_1003
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_QCOM_FALKOR_ERRATUM_1003
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_FALKOR_ERRATUM_1003
diff --git a/redhat/configs/rhel/generic/CONFIG_QCOM_FALKOR_ERRATUM_1009 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_FALKOR_ERRATUM_1009
rename from redhat/configs/rhel/generic/CONFIG_QCOM_FALKOR_ERRATUM_1009
rename to 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_FALKOR_ERRATUM_1009
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_QCOM_FALKOR_ERRATUM_1009
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_FALKOR_ERRATUM_1009
diff --git a/redhat/configs/rhel/generic/CONFIG_QCOM_QDF2400_ERRATUM_0065 
b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_QDF2400_ERRATUM_0065
rename from redhat/configs/rhel/generic/CONFIG_QCOM_QDF2400_ERRATUM_0065
rename to 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_QDF2400_ERRATUM_0065
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_QCOM_QDF2400_ERRATUM_0065
+++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_QCOM_QDF2400_ERRATUM_0065

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv4 2/6] redhat: miscellaneous commits needed due to CONFIG_EXPERT

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams 

redhat: miscellaneous commits needed due to CONFIG_EXPERT

Signed-off-by: Clark Williams 

diff --git a/redhat/configs/common/generic/CONFIG_SLOB_DEPRECATED 
b/redhat/configs/common/generic/CONFIG_SLOB_DEPRECATED
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_SLOB_DEPRECATED
@@ -0,0 +1 @@
+# CONFIG_SLOB_DEPRECATED is not set
diff --git a/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_GENERIC 
b/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_GENERIC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_GENERIC
@@ -0,0 +1 @@
+CONFIG_USB_CHIPIDEA_GENERIC=m
diff --git a/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_IMX 
b/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_IMX
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_IMX
@@ -0,0 +1 @@
+CONFIG_USB_CHIPIDEA_IMX=m
diff --git a/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_MSM 
b/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_MSM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_MSM
@@ -0,0 +1 @@
+CONFIG_USB_CHIPIDEA_MSM=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_ARCH_REALTEK 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_ARCH_REALTEK
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/arm/aarch64/CONFIG_ARCH_REALTEK
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_ARCH_REALTEK is not set
diff --git a/redhat/configs/common/generic/powerpc/CONFIG_HARDLOCKUP_DETECTOR 
b/redhat/configs/common/generic/powerpc/CONFIG_HARDLOCKUP_DETECTOR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/powerpc/CONFIG_HARDLOCKUP_DETECTOR
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_HARDLOCKUP_DETECTOR=y
diff --git a/redhat/configs/common/generic/x86/CONFIG_HARDLOCKUP_DETECTOR 
b/redhat/configs/common/generic/x86/CONFIG_HARDLOCKUP_DETECTOR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/x86/CONFIG_HARDLOCKUP_DETECTOR
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_HARDLOCKUP_DETECTOR=y
diff --git a/redhat/configs/common/generic/x86/CONFIG_KCSAN 
b/redhat/configs/common/generic/x86/CONFIG_KCSAN
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/x86/CONFIG_KCSAN
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_KCSAN is not set
diff --git a/redhat/configs/common/generic/x86/CONFIG_PVPANIC_PCI 
b/redhat/configs/common/generic/x86/CONFIG_PVPANIC_PCI
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/x86/CONFIG_PVPANIC_PCI
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PVPANIC_PCI is not set
diff --git 
a/redhat/configs/rhel/debug/CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE 
b/redhat/configs/rhel/debug/CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE is not set
diff --git a/redhat/configs/rhel/debug/CONFIG_CPUMASK_OFFSTACK 
b/redhat/configs/rhel/debug/CONFIG_CPUMASK_OFFSTACK
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_CPUMASK_OFFSTACK
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_CPUMASK_OFFSTACK=y
diff --git a/redhat/configs/rhel/debug/CONFIG_DEFAULT_HUNG_TASK_TIMEOUT 
b/redhat/configs/rhel/debug/CONFIG_DEFAULT_HUNG_TASK_TIMEOUT
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEFAULT_HUNG_TASK_TIMEOUT
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
diff --git a/redhat/configs/rhel/debug/CONFIG_KDB_CONTINUE_CATASTROPHIC 
b/redhat/configs/rhel/debug/CONFIG_KDB_CONTINUE_CATASTROPHIC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_KDB_CONTINUE_CATASTROPHIC
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KDB_CONTINUE_CATASTROPHIC=0
diff --git a/redhat/configs/rhel/debug/CONFIG_PANIC_ON_OOPS 
b/redhat/configs/rhel/debug/CONFIG_PANIC_ON_OOPS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_PANIC_ON_OOPS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PANIC_ON_OOPS is not set
diff --git a/redhat/configs/rhel/debug/CONFIG_USB_XHCI_DBGCAP 
b/redhat/configs/rhel/debug/CONFIG_USB_XHCI_DBGCAP
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_USB_XHCI_DBGCAP
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_USB_XHCI_DBGCAP is not set
diff --git 
a/redhat/configs/rhel/generic/CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE 
b/redhat/configs/rhel/generic/CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE
@@ -0,0 +1 @@

[OS-BUILD PATCHv4 0/6] redhat: Add realtime build and packaging logic

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403

This MR adds adds the code and data from the ARK os-build-rt branch to build
the kernel-rt real time kernel packages. The changes are confined to the
'redhat' directory of the kernel tree.
The MR contains new config directories and script changes for generating
configs, as well as Makefile and specfile changes to generate sub-packages of
the kernel.

The logic is currently disabled and will remain so until the remainder of the
PREEMPT_RT patches are merged upstream. Once ARK starts inheriting this code
from Linus' tree, we can enable them and start building rt and automotive
kernels in ARK.

Signed-off-by: Clark Williams 

---
 redhat/configs/common/generic/arm/aarch64/CONFIG_ARCH_REALTEK  
  |1 -
 redhat/configs/common/generic/powerpc/CONFIG_HARDLOCKUP_DETECTOR   
  |1 -
 redhat/configs/common/generic/x86/CONFIG_HARDLOCKUP_DETECTOR   
  |1 -
 redhat/configs/common/generic/x86/CONFIG_KCSAN 
  |1 -
 redhat/configs/common/generic/x86/CONFIG_PVPANIC_PCI   
  |1 -
 redhat/configs/common/generic/CONFIG_SLOB_DEPRECATED   
  |1 +
 redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_GENERIC  
  |1 +
 redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_IMX  
  |1 +
 redhat/configs/common/generic/CONFIG_USB_CHIPIDEA_MSM  
  |1 +
 redhat/configs/common/rt/debug/arm/aarch64/README  
  |0 
 redhat/configs/common/rt/debug/x86/README  
  |0 
 redhat/configs/common/rt/generic/arm/aarch64/README
  |0 
 redhat/configs/common/rt/generic/x86/README
  |0 
 redhat/configs/rhel/debug/CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE  
  |1 -
 redhat/configs/rhel/debug/CONFIG_CPUMASK_OFFSTACK  
  |1 -
 redhat/configs/rhel/debug/CONFIG_DEFAULT_HUNG_TASK_TIMEOUT 
  |1 -
 redhat/configs/rhel/debug/CONFIG_KDB_CONTINUE_CATASTROPHIC 
  |1 -
 redhat/configs/rhel/debug/CONFIG_PANIC_ON_OOPS 
  |1 -
 redhat/configs/rhel/debug/CONFIG_USB_XHCI_DBGCAP   
  |1 -
 redhat/configs/rhel/generic/CONFIG_CAVIUM_ERRATUM_30115 => 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_CAVIUM_ERRATUM_30115 
  |0 
 redhat/configs/rhel/generic/arm/aarch64/CONFIG_DUMMY_CONSOLE_COLUMNS   
  |1 -
 redhat/configs/rhel/generic/arm/aarch64/CONFIG_DUMMY_CONSOLE_ROWS  
  |1 -
 redhat/configs/rhel/generic/CONFIG_FSL_ERRATUM_A008585 => 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_FSL_ERRATUM_A008585  
   |0 
 redhat/configs/rhel/generic/CONFIG_FUJITSU_ERRATUM_010001 => 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_FUJITSU_ERRATUM_010001   
|0 
 redhat/configs/rhel/generic/arm/aarch64/CONFIG_GPIOLIB_FASTPATH_LIMIT  
  |1 -
 redhat/configs/rhel/generic/arm/aarch64/CONFIG_GPIO_VIPERBOARD 
  |1 -
 redhat/configs/rhel/generic/CONFIG_HISILICON_ERRATUM_161010101 => 
redhat/configs/rhel/generic/arm/aarch64/CONFIG_HISILICON_ERRATUM_161010101 |
0 
 redhat/configs/rhel/generic/arm/aarch64/CONFIG_I2C_SMBUS   
  |

[OS-BUILD PATCHv4 1/6] redhat: realtime config entries

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams 

redhat: realtime config entries

Signed-off-by: Clark Williams 

diff --git a/redhat/configs/common/rt/debug/arm/aarch64/README 
b/redhat/configs/common/rt/debug/arm/aarch64/README
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/rt/debug/arm/aarch64/README
diff --git a/redhat/configs/common/rt/debug/x86/README 
b/redhat/configs/common/rt/debug/x86/README
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/rt/debug/x86/README
diff --git a/redhat/configs/common/rt/generic/arm/aarch64/README 
b/redhat/configs/common/rt/generic/arm/aarch64/README
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/rt/generic/arm/aarch64/README
diff --git a/redhat/configs/common/rt/generic/x86/README 
b/redhat/configs/common/rt/generic/x86/README
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/rt/generic/x86/README
diff --git a/redhat/configs/rhel/rt/debug/CONFIG_KASAN_INLINE 
b/redhat/configs/rhel/rt/debug/CONFIG_KASAN_INLINE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/debug/CONFIG_KASAN_INLINE
@@ -0,0 +1 @@
+# CONFIG_KASAN_INLINE is not set
diff --git a/redhat/configs/rhel/rt/debug/CONFIG_KASAN_OUTLINE 
b/redhat/configs/rhel/rt/debug/CONFIG_KASAN_OUTLINE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/debug/CONFIG_KASAN_OUTLINE
@@ -0,0 +1 @@
+CONFIG_KASAN_OUTLINE=y
diff --git a/redhat/configs/rhel/rt/debug/x86/CONFIG_ACPI_REDUCED_HARDWARE_ONLY 
b/redhat/configs/rhel/rt/debug/x86/CONFIG_ACPI_REDUCED_HARDWARE_ONLY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/debug/x86/CONFIG_ACPI_REDUCED_HARDWARE_ONLY
@@ -0,0 +1 @@
+# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ADVISE_SYSCALLS 
b/redhat/configs/rhel/rt/generic/CONFIG_ADVISE_SYSCALLS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ADVISE_SYSCALLS
@@ -0,0 +1 @@
+CONFIG_ADVISE_SYSCALLS=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ALLOW_DEV_COREDUMP 
b/redhat/configs/rhel/rt/generic/CONFIG_ALLOW_DEV_COREDUMP
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ALLOW_DEV_COREDUMP
@@ -0,0 +1 @@
+CONFIG_ALLOW_DEV_COREDUMP=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_BITS 
b/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_BITS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_BITS
@@ -0,0 +1 @@
+CONFIG_ARCH_MMAP_RND_BITS=28
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS 
b/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ARCH_MMAP_RND_COMPAT_BITS
@@ -0,0 +1 @@
+CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ATA_FORCE 
b/redhat/configs/rhel/rt/generic/CONFIG_ATA_FORCE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ATA_FORCE
@@ -0,0 +1 @@
+CONFIG_ATA_FORCE=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_PCOEM 
b/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_PCOEM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_PCOEM
@@ -0,0 +1 @@
+CONFIG_ATH9K_PCOEM=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_RFKILL 
b/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_RFKILL
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_ATH9K_RFKILL
@@ -0,0 +1 @@
+CONFIG_ATH9K_RFKILL=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_BASE_FULL 
b/redhat/configs/rhel/rt/generic/CONFIG_BASE_FULL
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_BASE_FULL
@@ -0,0 +1 @@
+CONFIG_BASE_FULL=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_BLOCK 
b/redhat/configs/rhel/rt/generic/CONFIG_BLOCK
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_BLOCK
@@ -0,0 +1 @@
+CONFIG_BLOCK=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_BUG 
b/redhat/configs/rhel/rt/generic/CONFIG_BUG
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/rt/generic/CONFIG_BUG
@@ -0,0 +1 @@
+CONFIG_BUG=y
diff --git a/redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CERTIFICATION_ONUS 
b/redhat/configs/rhel/rt/generic/CONFIG_CFG80211_CERTIFICATION_ONUS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ 

Re: [OS-BUILD PATCHv3 3/13] redhat: RT packaging changes

2023-05-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1410767476

yeah I forgot about it being a subtree. I'll drop this change and repush
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCH] RHMAINTAINERS: Update for May 30 2023

2023-05-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava 

RHMAINTAINERS: Update for May 30 2023

Update RHMAINTAINERS to latest.

Signed-off-by: Prarit Bhargava 

diff --git a/redhat/rhdocs/MAINTAINERS/RHMAINTAINERS 
b/redhat/rhdocs/MAINTAINERS/RHMAINTAINERS
index blahblah..blahblah 100644
--- a/redhat/rhdocs/MAINTAINERS/RHMAINTAINERS
+++ b/redhat/rhdocs/MAINTAINERS/RHMAINTAINERS
@@ -114,6 +114,9 @@ R:  Luis Claudio Goncalves 
 R: Donald Zickus 
 R: Prarit Bhargava 
 R: Jarod Wilson 
+R: John B. Wyatt IV 
+R: Derek Barbosa 
+R: Eder Zulian 
 S: Supported
 F: makefile
 F: Makefile
@@ -131,6 +134,11 @@ M: Eder Zulian 
 S: Supported
 F: Makefile.rhelver
 
+CentOS Stream 8 Real Time Kernel Maintainer
+M: John B. Wyatt IV 
+S: Supported
+F: Makefile.rhelver
+
 RHEL 8.8 Kernel Maintainer
 M: Lucas Zampieri 
 S: Supported
@@ -599,7 +607,7 @@ S:  Supported
 F: drivers/bus/
 
 CAN BUS
-M: Peter Robinson 
+M: Peter Robinson 
 S: Supported
 F: Documentation/networking/can.rst
 F: include/linux/can/
@@ -1541,6 +1549,7 @@ KERNEL VIRTUAL MACHINE for s390 (KVM/s390)
 M: Thomas Huth 
 M: Cornelia Huck 
 M: David Hildenbrand 
+M: Cédric Le Goater 
 L: rhvirt-patc...@redhat.com
 S: Supported
 F: arch/s390/include/uapi/asm/kvm*
@@ -1548,6 +1557,9 @@ F:arch/s390/include/asm/gmap.h
 F: arch/s390/include/asm/kvm*
 F: arch/s390/kvm/
 F: arch/s390/mm/gmap.c
+F: tools/testing/selftests/drivers/s390x/uvdevice/
+F: tools/testing/selftests/kvm/*/s390x/
+F: tools/testing/selftests/kvm/s390x/
 
 KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86)
 M: Paolo Bonzini 
@@ -2504,6 +2516,7 @@ X:drivers/s390/virtio/
 
 S390 VFIO-CCW DRIVER
 M: Cornelia Huck 
+M: Cédric Le Goater 
 L: rhvirt-patc...@redhat.com
 S: Supported
 F: drivers/s390/cio/vfio_ccw*
@@ -2943,6 +2956,7 @@ F:include/uapi/linux/virtio_crypto.h
 
 VIRTIO DRIVERS FOR S390
 M: Cornelia Huck 
+M: Cédric Le Goater 
 L: rhvirt-patc...@redhat.com
 S: Supported
 F: drivers/s390/virtio/

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2491
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 0/2] spec: fix building and packaging of resolve_btfids

2023-05-30 Thread Artem Savkov (via Email Bridge)
From: Artem Savkov on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2490#note_1410092160

Ah, makes sense then. Thanks for clarification.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 0/2] spec: fix building and packaging of resolve_btfids

2023-05-30 Thread Viktor Malik (via Email Bridge)
From: Viktor Malik on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2490#note_1410090540

The `override` directive doesn't propagate into sub-make so it doesn't work
here (already tried).

Also, the variable name is not arbitrary, it's used this way in
[tools/build/Build.include:102](https://gitlab.com/cki-project/kernel-
ark/-/blob/os-build/tools/build/Build.include#L102).
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 0/2] spec: fix building and packaging of resolve_btfids

2023-05-30 Thread Artem Savkov (via Email Bridge)
From: Artem Savkov on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2490#note_1410072985

Why new variable name? It is possible to override the override in gnu make:
https://www.gnu.org/software/make/manual/html_node/Override-Directive.html
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 0/2] spec: fix building and packaging of resolve_btfids

2023-05-30 Thread Viktor Malik (via Email Bridge)
From: Viktor Malik on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2490#note_1409839033

Good point, I'll send it upstream.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 0/2] spec: fix building and packaging of resolve_btfids

2023-05-30 Thread Jiri Benc (via Email Bridge)
From: Jiri Benc on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2490#note_1409821891

That looks much better. And yes, I think it's something for upstream.

IMHO Documentation/kbuild/kbuild.rst documents HOSTCFLAGS as something that
can be overriden from the make command line. Anything in kernel makefiles that
breaks that is thus a bug.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH 0/2] spec: fix building and packaging of resolve_btfids

2023-05-30 Thread Viktor Malik (via Email Bridge)
From: Viktor Malik on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2490#note_1409781457

I agree that it's a mess, but this part has been overridden by 56a2df7615
("tools/resolve_btfids: Compile resolve_btfids as host program").

I believe that the actual problem is that `resolve_btfids/Makefile` overrides
`HOSTCFLAGS` (used to be `CFLAGS` but it's the same issue) and that has been
there since the beginning. We just started hitting it now b/c we override
`HOSTCFLAGS` but not `CFLAGS`.

A possible solution would be to change the overridden variable to:
```diff
diff --git a/tools/bpf/resolve_btfids/Makefile
b/tools/bpf/resolve_btfids/Makefile
index ac548a7baa73..aabccc2da1b6 100644
--- a/tools/bpf/resolve_btfids/Makefile
+++ b/tools/bpf/resolve_btfids/Makefile
@@ -67,7 +67,7 @@ $(BPFOBJ): $(wildcard $(LIBBPF_SRC)/*.[ch]
$(LIBBPF_SRC)/Makefile) | $(LIBBPF_OU
 LIBELF_FLAGS := $(shell $(HOSTPKG_CONFIG) libelf --cflags 2>/dev/null)
 LIBELF_LIBS  := $(shell $(HOSTPKG_CONFIG) libelf --libs 2>/dev/null || echo
-lelf)

-HOSTCFLAGS += -g \
+HOSTCFLAGS_resolve_btfids := -g \
   -I$(srctree)/tools/include \
   -I$(srctree)/tools/include/uapi \
   -I$(LIBBPF_INCLUDE) \
@@ -76,7 +76,7 @@ HOSTCFLAGS += -g \

 LIBS = $(LIBELF_LIBS) -lz

-export srctree OUTPUT HOSTCFLAGS Q HOSTCC HOSTLD HOSTAR
+export srctree OUTPUT HOSTCFLAGS_resolve_btfids Q HOSTCC HOSTLD HOSTAR
 include $(srctree)/tools/build/Makefile.include

 $(BINARY_IN): fixdep FORCE prepare | $(OUTPUT)
```
This way, the update is specific for `resolve_btfids` and can be used in
combination with overriding `HOSTCFLAGS` from the make command.

WDYT @jbencrh? Does this make sense to be sent upstream, too?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue