[OS-BUILD PATCH] [redhat] kernel.spec: refresh license field

2024-09-23 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] kernel.spec: refresh license field

A license check error is being reported in our daily build. This
refreshes the License field after regenerating it using
./redhat/scripts/kspdx-tool/kspdx.py.

Signed-off-by: Scott Weaver 

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
@@ -648,7 +648,7 @@ Summary: The Linux kernel
 
 
 Name: %{package_name}
-License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND 
((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only 
WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR 
BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND 
BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0) AND BSD-3-Clause AND 
BSD-3-Clause-Clear AND GFDL-1.1-no-invariants-or-later AND GPL-1.0-or-later AND 
(GPL-1.0-or-later OR BSD-3-Clause) AND (GPL-1.0-or-later WITH 
Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only OR Apache-2.0) AND 
(GPL-2.0-only OR BSD-2-Clause) AND (GPL-2.0-only OR BSD-3-Clause) AND 
(GPL-2.0-only OR CDDL-1.0) AND (GPL-2.0-only OR 
GFDL-1.1-no-invariants-or-later) AND (GPL-2.0-only OR 
GFDL-1.2-no-invariants-only) AND (GPL-2.0-only WITH Linux-syscall-note) AND 
GPL-2.0-or-later AND (GPL-2.0-or-later OR BSD-2-Clause) AND (GPL-2.0-or-later 
OR BSD-3-Clause) AND (GPL-2.0-or-later OR CC-BY-4.0) AND (GPL-2.0-or-later WITH 
GCC-exception-2.0) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND ISC AND 
LGPL-2.0-or-later AND (LGPL-2.0-or-later OR BSD-2-Clause) AND 
(LGPL-2.0-or-later WITH Linux-syscall-note) AND LGPL-2.1-only AND 
(LGPL-2.1-only OR BSD-2-Clause) AND (LGPL-2.1-only WITH Linux-syscall-note) AND 
LGPL-2.1-or-later AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND 
(Linux-OpenIB OR GPL-2.0-only) AND (Linux-OpenIB OR GPL-2.0-only OR 
BSD-2-Clause) AND Linux-man-pages-copyleft AND MIT AND (MIT OR Apache-2.0) AND 
(MIT OR GPL-2.0-only) AND (MIT OR GPL-2.0-or-later) AND (MIT OR LGPL-2.1-only) 
AND (MPL-1.1 OR GPL-2.0-only) AND (X11 OR GPL-2.0-only) AND (X11 OR 
GPL-2.0-or-later) AND Zlib AND (copyleft-next-0.3.1 OR GPL-2.0-or-later) AND 
CC0-1.0
+License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND 
((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only 
WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR 
BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND 0BSD 
AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0) AND BSD-3-Clause AND 
BSD-3-Clause-Clear AND CC0-1.0 AND GFDL-1.1-no-invariants-or-later AND 
GPL-1.0-or-later AND (GPL-1.0-or-later OR BSD-3-Clause) AND (GPL-1.0-or-later 
WITH Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only OR Apache-2.0) AND 
(GPL-2.0-only OR BSD-2-Clause) AND (GPL-2.0-only OR BSD-3-Clause) AND 
(GPL-2.0-only OR CDDL-1.0) AND (GPL-2.0-only OR 
GFDL-1.1-no-invariants-or-later) AND (GPL-2.0-only OR 
GFDL-1.2-no-invariants-only) AND (GPL-2.0-only WITH Linux-syscall-note) AND 
GPL-2.0-or-later AND (GPL-2.0-or-later OR BSD-2-Clause) AND (GPL-2.0-or-later 
OR BSD-3-Clause) AND (GPL-2.0-or-later OR CC-BY-4.0) AND (GPL-2.0-or-later WITH 
GCC-exception-2.0) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND ISC AND 
LGPL-2.0-or-later AND (LGPL-2.0-or-later OR BSD-2-Clause) AND 
(LGPL-2.0-or-later WITH Linux-syscall-note) AND LGPL-2.1-only AND 
(LGPL-2.1-only OR BSD-2-Clause) AND (LGPL-2.1-only WITH Linux-syscall-note) AND 
LGPL-2.1-or-later AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND 
(Linux-OpenIB OR GPL-2.0-only) AND (Linux-OpenIB OR GPL-2.0-only OR 
BSD-2-Clause) AND Linux-man-pages-copyleft AND MIT AND (MIT OR Apache-2.0) AND 
(MIT OR GPL-2.0-only) AND (MIT OR GPL-2.0-or-later) AND (MIT OR LGPL-2.1-only) 
AND (MPL-1.1 OR GPL-2.0-only) AND (X11 OR GPL-2.0-only) AND (X11 OR 
GPL-2.0-or-later) AND Zlib AND (copyleft-next-0.3.1 OR GPL-2.0-or-later)
 URL: https://www.kernel.org/
 Version: %{specrpmversion}
 Release: %{pkg_release}

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3396

-- 
___
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] [redhat] rh_flags: constify the ctl_table argument of proc_handler

2024-07-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] rh_flags: constify the ctl_table argument of proc_handler

With 78eb4ea25cd5f ('sysctl: treewide: constify the ctl_table argument
of proc_handlers') some RHEL only code will also need updated.

Signed-off-by: Scott Weaver 

diff --git a/kernel/rh_flags.c b/kernel/rh_flags.c
index blahblah..blahblah 100644
--- a/kernel/rh_flags.c
+++ b/kernel/rh_flags.c
@@ -68,7 +68,7 @@ void rh_print_flags(void)
 EXPORT_SYMBOL(rh_print_flags);
 
 #ifdef CONFIG_SYSCTL
-static int rh_flags_show(struct ctl_table *ctl, int write,
+static int rh_flags_show(const struct ctl_table *ctl, int write,
void __user *buffer, size_t *lenp,
loff_t *ppos)
 {

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3293

-- 
___
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] redhat: make filtermods.py less verbose by default

2024-05-08 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3098#note_1898412649

Hi @jstancek, `filtermods.adoc` should probably be updated to capture the new
`--log-filename` command. Otherwise, LGTM.
--
___
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] [redhat] rh_messages.h: mark mlx5 on Bluefield-3 as unmaintained

2024-05-06 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] rh_messages.h: mark mlx5 on Bluefield-3 as unmaintained

The mlx5 pci device 0x15B3:0xA2DC should no longer be marked as
disabled.  This brings the status of this device up-to-date with the
hardware removal support project for RHEL-10.

Signed-off-by: Scott Weaver 

diff --git a/kernel/rh_messages.h b/kernel/rh_messages.h
index blahblah..blahblah 100644
--- a/kernel/rh_messages.h
+++ b/kernel/rh_messages.h
@@ -260,7 +260,6 @@ static const struct pci_device_id rh_disabled_pci_devices[] 
= {
{ 0x15B3, 0x100e, PCI_ANY_ID, PCI_ANY_ID },
{ 0x15B3, 0x100f, PCI_ANY_ID, PCI_ANY_ID },
{ 0x15B3, 0x1010, PCI_ANY_ID, PCI_ANY_ID },
-   { 0x15B3, 0xA2DC, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0064, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0065, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0070, PCI_ANY_ID, PCI_ANY_ID },
@@ -296,6 +295,7 @@ static const struct pci_device_id 
rh_unmaintained_pci_devices[] = {
{ 0x1000, 0x0071, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0073, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0079, PCI_ANY_ID, PCI_ANY_ID },
+   { 0x15B3, 0xA2DC, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x006E, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0080, PCI_ANY_ID, PCI_ANY_ID },
{ 0x1000, 0x0081, PCI_ANY_ID, PCI_ANY_ID },

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3097
--
___
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] [redhat] rh_messages.h: initial driver and device lists

2024-04-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] rh_messages.h: initial driver and device lists

This adds the initial list of unmaintained and disabled devices for
RHEL-10.

Signed-off-by: Scott Weaver 

diff --git a/kernel/rh_messages.h b/kernel/rh_messages.h
index blahblah..blahblah 100644
--- a/kernel/rh_messages.h
+++ b/kernel/rh_messages.h
@@ -1,6 +1,7 @@
 /*
  * WARNING: This file is auto-generated by an internal Red Hat script and,
  * in general, should not be modified by hand.
+ * See: https://gitlab.com/redhat/rhel/src/kernel/hardware-removal-support
  */
 
 /*
@@ -45,38 +46,6 @@
 #define RH_PARTNER_SUPPORTED "Warning: %s is a Partner supported GPL " \
 "module and not supported directly by Red Hat.\n"
 
-#if RHEL_MAJOR == 9
-
-static const char *rh_deprecated_drivers[] = {
-   0 /* Terminating entry */
-};
-
-static const char *rh_deprecated_init_fns[] = {
-   0 /* Terminating entry */
-};
-
-static const char *rh_unmaintained_drivers[] = {
-   0 /* Terminating entry */
-};
-
-static const char *rh_unmaintained_init_fns[] = {
-   0 /* Terminating entry */
-};
-
-static const struct pci_device_id rh_deprecated_pci_devices[] = {
-   {0} /* Terminating entry */
-};
-
-static const struct pci_device_id rh_disabled_pci_devices[] = {
-   {0} /* Terminating entry */
-};
-
-static const struct pci_device_id rh_unmaintained_pci_devices[] = {
-   {0} /* Terminating entry */
-};
-
-#else /* RHEL-10 */
-
 static const char *rh_deprecated_drivers[] = {
0 /* Terminating entry */
 };
@@ -86,10 +55,60 @@ static const char *rh_deprecated_init_fns[] = {
 };
 
 static const char *rh_unmaintained_drivers[] = {
+   "aacraid",
+   "af_key",
+   "arp_tables",
+   "bnx2",
+   "dl2k",
+   "e1000",
+   "ebtables",
+   "hdlc_fr",
+   "hpsa",
+   "ip6_tables",
+   "ip_set",
+   "ip_tables",
+   "mptbase",
+   "mptsas",
+   "mptscsih",
+   "mptspi",
+   "myri10ge",
+   "netxen_nic",
+   "nft_compat",
+   "nicpf",
+   "nicvf",
+   "nvmet-fc",
+   "nvmet-tcp",
+   "qla3xxx",
+   "team",
0 /* Terminating entry */
 };
 
 static const char *rh_unmaintained_init_fns[] = {
+   "bnx2_pci_driver_init",
+   "e1000_init_module",
+   "rio_driver_init",
+   "hpsa_init",
+   "fusion_init",
+   "mptsas_init",
+   "fusion_init",
+   "mptspi_init",
+   "myri10ge_init_module",
+   "netxen_init_module",
+   "ql3xxx_driver_init",
+   "hdlc_fr_init",
+   "nvmet_fc_init_module",
+   "nvmet_tcp_init",
+   "team_module_init",
+   "ebtables_init",
+   "arp_tables_init",
+   "ip_tables_init",
+   "ip6_tables_init",
+   "ip_set_init",
+   "nft_compat_module_init",
+   "nicvf_init_module",
+   "nic_init_module",
+   "ipsec_pfkey_init",
+   "aac_init",
0 /* Terminating entry */
 };
 
@@ -98,12 +117,203 @@ static const struct pci_device_id 
rh_deprecated_pci_devices[] = {
 };
 
 static const struct pci_device_id rh_disabled_pci_devices[] = {
+   { 0x1011, 0x0046, 0x103c, 0x10c2 },
+   { 0x1011, 0x0046, 0x9005, 0x0364 },
+   { 0x1011, 0x0046, 0x9005, 0x0365 },
+   { 0x1011, 0x0046, 0x9005, 0x1364 },
+   { 0x1028, 0x0001, 0x1028, 0x0001 },
+   { 0x1028, 0x0002, 0x1028, 0x0002 },
+   { 0x1028, 0x0002, 0x1028, 0x00d1 },
+   { 0x1028, 0x0002, 0x1028, 0x00d9 },
+   { 0x1028, 0x0003, 0x1028, 0x0003 },
+   { 0x1028, 0x0004, 0x1028, 0x00d0 },
+   { 0x1028, 0x000a, 0x1028, 0x0106 },
+   { 0x1028, 0x000a, 0x1028, 0x011b },
+   { 0x1028, 0x000a, 0x1028, 0x0121 },
+   { 0x9005, 0x0200, 0x9005, 0x0200 },
+   { 0x9005, 0x0283, 0x9005, 0x0283 },
+   { 0x9005, 0x0284, 0x9005, 0x0284 },
+   { 0x9005, 0x0285, PCI_ANY_ID, PCI_ANY_ID },
+   { 0x9005, 0x0285, 0x1014, 0x02F2 },
+   { 0x9005, 0x0285, 0x1014, 0x0312 },
+   { 0x9005, 0x0285, 0x1028, PCI_ANY_ID },
+   { 0x9005, 0x0285, 0x1028, 0x0287 },
+   { 0x9005, 0x0285, 0x103C, 0x3227 },
+   { 0x9005, 0x0285, 0x17aa, PCI_ANY_ID },
+   { 0x9005, 0x0285, 0x17aa, 0x0286 },
+   { 0x9005, 0x0285, 0x17aa, 0x0287 },
+   { 0x9005, 0x0285, 0x9005, 0x0285 },
+   { 0x9005, 0x0285, 0x9005, 0x0286 },
+   { 0x9005, 0x0285, 0x9005, 0x0287 },
+   { 0x9005, 0x0285, 0x9005, 0x0288 },
+   { 0x9005, 0x0285, 0x9005, 0x0289 },
+   { 0x9005, 0x0285, 0x9005, 0x028a },
+   { 0x9005, 0x0285, 0x9005, 0x028b },
+   { 0x9005, 0x0285, 0x9005, 0x028e },
+   { 0x9005, 0x0285, 0x9005, 0x028f },
+   { 0x9005, 0x0285, 0x9005, 0x0290 },
+   { 0x9005, 0x0285, 0x9005, 0x0291 },
+   { 0x9005, 0x0285, 0x9005, 0x0292 },
+   { 0x9005, 0x0285, 0x9005, 0x0293 },
+   { 0x9005, 0x0285, 0x9005, 0x0294 },
+   { 0x9005, 0x0285, 0x9005, 0x0296 },
+   { 0x9005, 0x0285, 0x9005, 0x0297 },
+   { 0x9005, 0x0285, 0x900

[OS-BUILD PATCH] redhat/kernel.spec.template: add extra flags for tools build

2024-03-24 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

redhat/kernel.spec.template: add extra flags for tools build

With 01474dc706cab ('tools/rtla: Use tools/build makefiles to build
rtla') a feature check was added to ensure the build dependencies are
installed. Due to a compiler/linker object type mismatch that test fails
to build and incorrectly reports that the libtracefs dependency is not
installed when in fact it is.

01:01:25 Auto-detecting system features:
01:01:25 ...   libtraceevent: [on]
01:01:25 ...  libtracefs: [OFF]
01:01:25
01:01:26 libtracefs is missing. Please install libtracefs-dev/libtracefs-devel
01:01:26 Makefile.config:46: *** Please, check the errors above..  Stop.

The feature check error being reported:

usr/bin/ld: /tmp/cc7X1j0w.o: relocation R_X86_64_32 against `.rodata'
can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value collect2:
error: ld returned 1 exit status

Signed-off-by: Scott Weaver 

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
@@ -2852,7 +2852,7 @@ chmod +x tools/perf/check-headers.sh
 %endif
 
 %global tools_make \
-  CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{make} %{?make_opts}
+  CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" 
EXTRA_CFLAGS="${RPM_OPT_FLAGS}" %{make} %{?make_opts}
 
 %if %{with_tools}
 %ifarch %{cpupowerarchs}

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3033
--
___
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] redhat/kernel.spec.template: update license

2024-03-23 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

redhat/kernel.spec.template: update license

The license check fails due to missing the dual license:
"BSD-2-Clause OR Apache-2.0"

With c150b809f7de2 ('Merge tag 'riscv-for-linus-6.9-mw2') new dual
licensed files were added.

Signed-off-by: Scott Weaver 

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
@@ -632,7 +632,7 @@ Summary: The Linux kernel
 
 
 Name: %{package_name}
-License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND 
((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only 
WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR 
BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND 
BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-Clear AND 
GFDL-1.1-no-invariants-or-later AND GPL-1.0-or-later AND (GPL-1.0-or-later OR 
BSD-3-Clause) AND (GPL-1.0-or-later WITH Linux-syscall-note) AND GPL-2.0-only 
AND (GPL-2.0-only OR Apache-2.0) AND (GPL-2.0-only OR BSD-2-Clause) AND 
(GPL-2.0-only OR BSD-3-Clause) AND (GPL-2.0-only OR CDDL-1.0) AND (GPL-2.0-only 
OR GFDL-1.1-no-invariants-or-later) AND (GPL-2.0-only OR 
GFDL-1.2-no-invariants-only) AND (GPL-2.0-only WITH Linux-syscall-note) AND 
GPL-2.0-or-later AND (GPL-2.0-or-later OR BSD-2-Clause) AND (GPL-2.0-or-later 
OR BSD-3-Clause) AND (GPL-2.0-or-later OR CC-BY-4.0) AND (GPL-2.0-or-later WITH 
GCC-exception-2.0) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND ISC AND 
LGPL-2.0-or-later AND (LGPL-2.0-or-later OR BSD-2-Clause) AND 
(LGPL-2.0-or-later WITH Linux-syscall-note) AND LGPL-2.1-only AND 
(LGPL-2.1-only OR BSD-2-Clause) AND (LGPL-2.1-only WITH Linux-syscall-note) AND 
LGPL-2.1-or-later AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND 
(Linux-OpenIB OR GPL-2.0-only) AND (Linux-OpenIB OR GPL-2.0-only OR 
BSD-2-Clause) AND Linux-man-pages-copyleft AND MIT AND (MIT OR Apache-2.0) AND 
(MIT OR GPL-2.0-only) AND (MIT OR GPL-2.0-or-later) AND (MIT OR LGPL-2.1-only) 
AND (MPL-1.1 OR GPL-2.0-only) AND (X11 OR GPL-2.0-only) AND (X11 OR 
GPL-2.0-or-later) AND Zlib AND (copyleft-next-0.3.1 OR GPL-2.0-or-later)
+License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND 
((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only 
WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH 
Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR 
BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND 
BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0) AND BSD-3-Clause AND 
BSD-3-Clause-Clear AND GFDL-1.1-no-invariants-or-later AND GPL-1.0-or-later AND 
(GPL-1.0-or-later OR BSD-3-Clause) AND (GPL-1.0-or-later WITH 
Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only OR Apache-2.0) AND 
(GPL-2.0-only OR BSD-2-Clause) AND (GPL-2.0-only OR BSD-3-Clause) AND 
(GPL-2.0-only OR CDDL-1.0) AND (GPL-2.0-only OR 
GFDL-1.1-no-invariants-or-later) AND (GPL-2.0-only OR 
GFDL-1.2-no-invariants-only) AND (GPL-2.0-only WITH Linux-syscall-note) AND 
GPL-2.0-or-later AND (GPL-2.0-or-later OR BSD-2-Clause) AND (GPL-2.0-or-later 
OR BSD-3-Clause) AND (GPL-2.0-or-later OR CC-BY-4.0) AND (GPL-2.0-or-later WITH 
GCC-exception-2.0) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND ISC AND 
LGPL-2.0-or-later AND (LGPL-2.0-or-later OR BSD-2-Clause) AND 
(LGPL-2.0-or-later WITH Linux-syscall-note) AND LGPL-2.1-only AND 
(LGPL-2.1-only OR BSD-2-Clause) AND (LGPL-2.1-only WITH Linux-syscall-note) AND 
LGPL-2.1-or-later AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND 
(Linux-OpenIB OR GPL-2.0-only) AND (Linux-OpenIB OR GPL-2.0-only OR 
BSD-2-Clause) AND Linux-man-pages-copyleft AND MIT AND (MIT OR Apache-2.0) AND 
(MIT OR GPL-2.0-only) AND (MIT OR GPL-2.0-or-later) AND (MIT OR LGPL-2.1-only) 
AND (MPL-1.1 OR GPL-2.0-only) AND (X11 OR GPL-2.0-only) AND (X11 OR 
GPL-2.0-or-later) AND Zlib AND (copyleft-next-0.3.1 OR GPL-2.0-or-later)
 URL: https://www.kernel.org/
 Version: %{specrpmversion}
 Release: %{pkg_release}

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3040
--
___
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 PATCHv5 0/0] A few updates to the module filtering files for the 6.9 merge window after experiences with -next

2024-03-18 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2975#note_1819849354

No worries! Thank you!
--
___
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 PATCHv2 0/0] A few updates to the module filtering files for the 6.9 merge window after experiences with -next

2024-03-18 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2975#note_1819765353

...and therefore drop the a6ec6487 patch from this MR
--
___
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 PATCHv2 0/0] A few updates to the module filtering files for the 6.9 merge window after experiences with -next

2024-03-18 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2975#note_1819762958

Hi @knurd42. Sorry but can I ask you to open a separate MR for the iio-test-
gts patch
a6ec64877905 (Add drm_gem_shmem_test to mod-internal.list)? (I just noticed
that it needs amended anyway since it mentions drm_gem_shmem_test rather than
iio-test-gts.)

I'd like to get your other two patches merged so that the os-build branch is
no longer technically broken and I'm not sure when Linus will pull in the iio-
test-gts test (or if he even has a PR for it yet).

Thank you!
--
___
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/0] [redhat] New configs in drivers/net/ethernet/marvell

2024-03-16 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2984#note_1818041562

@kheib I have updated the MR to enable this config.
--
___
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/3] Fix depmod test issues

2024-03-16 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3010#note_1817839410

Removing the Include in Releases label due to conflicts (see !3016).
Blocking this for now until either !2975 or !3016 are 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


[OS-BUILD PATCH] [redhat] ark-create-release.sh: use 3-way merge

2024-03-16 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] ark-create-release.sh: use 3-way merge

There can be conflicts that the 3-way merge strategy can resolve
when adding the Include in Releases MRs. Let 'git am' fall back to
use the 3-way merge strategy if the patch does not initially apply.

Signed-off-by: Scott Weaver 

diff --git a/redhat/scripts/ci/ark-create-release.sh 
b/redhat/scripts/ci/ark-create-release.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/ci/ark-create-release.sh
+++ b/redhat/scripts/ci/ark-create-release.sh
@@ -23,7 +23,7 @@ MR_PATCHES=$(gitlab project-merge-request list 
--project-id="$PROJECT_ID" \
--labels="Include in Releases" --state=opened | grep -v "^$" | sort | \
awk '{ print 
"https://gitlab.com/cki-project/kernel-ark/-/merge_requests/"; $2 ".patch" }')
 for patch_url in $MR_PATCHES; do
-   curl -sL "$patch_url" | git am
+   curl -sL "$patch_url" | git am -3
 done
 
 # if dist-release doesn't update anything, then there is a good chance the

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3016
--
___
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 3/3] [redhat] add sound kunit tests to mod-internal.list

2024-03-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] add sound kunit tests to mod-internal.list

Add new kunit tests: snd-soc-cs-amp-lib-test and sound_kunit
3e39acf56eded ('ALSA: core: Add sound core KUnit test')
177862317a98a ('ASoC: cs-amp-lib: Add KUnit test for calibration helpers')

Signed-off-by: Scott Weaver 

diff --git a/redhat/scripts/mod/mod-internal.list 
b/redhat/scripts/mod/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/scripts/mod/mod-internal.list
+++ b/redhat/scripts/mod/mod-internal.list
@@ -68,8 +68,10 @@ scftorture
 siphash_kunit
 slub_kunit
 snd-hda-cirrus-scodec-test
+snd-soc-cs-amp-lib-test
 soc-topology-test
 soc-utils-test
+sound_kunit
 stackinit_kunit
 strcat_kunit
 strscpy_kunit

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3010
--
___
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 2/3] [redhat] add iwlwifi-tests to mod-internal.list

2024-03-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] add iwlwifi-tests to mod-internal.list

Add new kunit test.
cf74ce02e3941 ('wifi: iwlwifi: add kunit test for devinfo ordering')

Signed-off-by: Scott Weaver 

diff --git a/redhat/scripts/mod/mod-internal.list 
b/redhat/scripts/mod/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/scripts/mod/mod-internal.list
+++ b/redhat/scripts/mod/mod-internal.list
@@ -38,6 +38,7 @@ iio-test-format
 iio-test-rescale
 input_test
 is_signed_type_kunit
+iwlwifi-tests
 kasan_test
 kfence_test
 kunit

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3010
--
___
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 1/3] [redhat] mod-internal.list minor cleanup

2024-03-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] mod-internal.list minor cleanup

The drm_exec_test was included twice.

Signed-off-by: Scott Weaver 

diff --git a/redhat/scripts/mod/mod-internal.list 
b/redhat/scripts/mod/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/scripts/mod/mod-internal.list
+++ b/redhat/scripts/mod/mod-internal.list
@@ -25,7 +25,6 @@ drm_mm_test
 drm_modes_test
 drm_plane_helper_test
 drm_probe_helper_test
-drm_exec_test
 drm_rect_test
 ext4-inode-test
 fat_test

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3010
--
___
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 0/3] Fix depmod test issues

2024-03-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3010

CKI depmod tests failed due to missing modules.

Signed-off-by: Scott Weaver 

---
 redhat/scripts/mod/mod-internal.list |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
--
___
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 PATCHv2 0/0] A few updates to the module filtering files for the 6.9 merge window after experiences with -next

2024-03-13 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2975#note_1813833842

I'm only blocking this so that we don't merge it until we get all of these in
from upstream. The change will be included in ark-latest for koji builds.
--
___
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] lsm: update security_lock_kernel_down

2024-03-13 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

lsm: update security_lock_kernel_down

Update to RHEL-only security_lock_kernel_down() due to 260017f3 ('lsm:
use default hook return value in call_int_hook()').

Signed-off-by: Scott Weaver 

diff --git a/security/security.c b/security/security.c
index blahblah..blahblah 100644
--- a/security/security.c
+++ b/security/security.c
@@ -5569,7 +5569,7 @@ EXPORT_SYMBOL(security_locked_down);
  */
 int security_lock_kernel_down(const char *where, enum lockdown_reason level)
 {
-   return call_int_hook(lock_kernel_down, 0, where, level);
+   return call_int_hook(lock_kernel_down, where, level);
 }
 EXPORT_SYMBOL(security_lock_kernel_down);
 

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2990
--
___
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 PATCHv2 0/0] A few updates to the module filtering files for the 6.9 merge window after experiences with -next

2024-03-13 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2975#note_1813293834

Thank you @knurd42 for your help!
--
___
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] arch/x86/kernel/setup.c: fixup rh_check_supported

2024-03-12 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

arch/x86/kernel/setup.c: fixup rh_check_supported

With 8078f4d6102f9 ('x86/cpu/topology: Rename smp_num_siblings') and
89b0f15f408f7 ('x86/cpu/topology: Get rid of cpuinfo::x86_max_cores')
the RHEL only rh_check_supported() needs updated to also replaced
boot_cpu_data.x86_max_cores and smp_num_siblings.

Signed-off-by: Scott Weaver 

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index blahblah..blahblah 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -679,7 +679,7 @@ static void rh_check_supported(void)
guest = (x86_hyper_type != X86_HYPER_NATIVE || 
boot_cpu_has(X86_FEATURE_HYPERVISOR));
 
/* RHEL supports single cpu on guests only */
-   if (((boot_cpu_data.x86_max_cores * smp_num_siblings) == 1) &&
+   if (((topology_num_threads_per_package() * __max_threads_per_core) == 
1) &&
!guest && is_kdump_kernel()) {
pr_crit("Detected single cpu native boot.\n");
pr_crit("Important:  In this kernel, single threaded, single 
CPU 64-bit physical systems are unsupported.");

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2979
--
___
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 PATCHv2 0/1] gitlab-ci: drop test_makefile job

2024-02-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2951#note_1789309517

:smile: No worries.
--
___
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 PATCHv2 0/1] gitlab-ci: drop test_makefile job

2024-02-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2951
NOTE: Truncated patchset since committer email 'ptalb...@redhat.com'
  does not match the submitter's GitLab public email address
  'scwea...@redhat.com'.
We no longer need this test because we build using the cki build
containers which already have the build dependencies installed and those
build containers are gated on being able to build the kernel.

Fixes: #147

Signed-off-by: Scott Weaver 

---
 .gitlab-ci.yml |  22 --
 1 files changed, 0 insertions(+), 22 deletions(-)
--
___
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 PATCHv2] gitlab-ci: drop test_makefile job

2024-02-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

gitlab-ci: drop test_makefile job

We no longer need this test because we build using the cki build
containers which already have the build dependencies installed and those
build containers are gated on being able to build the kernel.

Signed-off-by: Scott Weaver 

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -446,28 +446,6 @@ rawhide_release:
 - *only-os-build-schedule
 - if: $RAWHIDE_RELEASE == "true"
 
-test_makefile:
-  image: quay.io/fedora/fedora:rawhide
-  variables:
-GIT_DEPTH: "0"
-GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/kernel-ark
-  before_script:
-- echo "fastestmirror=true" >> /etc/dnf/dnf.conf
-- dnf -y install python3-gitlab git openssh-clients dnf-utils gnupg2
-# These packages are required for 'make dist-get-buildreqs'
-- dnf -y install make rpm-build
-- git config user.name "Fedora Kernel Team"
-- git config user.email "kernel-t...@fedoraproject.org"
-  script:
-- export missing=$(make dist-get-buildreqs | grep "Missing dependencies:" 
| cut -d":" -f2-)
-- if [ "$missing" == "" ]; then echo "Missing dependencies should not be 
null but are empty. Review test log." && exit 1; fi;
-- dnf -y install $missing
-- export missingafter=$(make dist-get-buildreqs | grep "Missing 
dependencies:" | cut -d":" -f2-)
-- if [ "$missingafter" != "" ]; then echo "Missing dependencies should be 
null but are $missingafter. Review test log." && exit 1; fi;
-  rules:
-- *only-os-build-mr
-- *on-success
-
 docs:
   image: quay.io/cki/cki-tools:production
   script:

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2951
--
___
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] gitlab-ci: drop test_makefile job

2024-02-21 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

gitlab-ci: drop test_makefile job

We no longer need this test because we build using the cki build
containers which already have the build dependencies installed and those
build containers are gated on being able to build the kernel.

Signed-off-by: Scott Weaver 

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -446,28 +446,6 @@ rawhide_release:
 - *only-os-build-schedule
 - if: $RAWHIDE_RELEASE == "true"
 
-test_makefile:
-  image: quay.io/fedora/fedora:rawhide
-  variables:
-GIT_DEPTH: "0"
-GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/kernel-ark
-  before_script:
-- echo "fastestmirror=true" >> /etc/dnf/dnf.conf
-- dnf -y install python3-gitlab git openssh-clients dnf-utils gnupg2
-# These packages are required for 'make dist-get-buildreqs'
-- dnf -y install make rpm-build
-- git config user.name "Fedora Kernel Team"
-- git config user.email "kernel-t...@fedoraproject.org"
-  script:
-- export missing=$(make dist-get-buildreqs | grep "Missing dependencies:" 
| cut -d":" -f2-)
-- if [ "$missing" == "" ]; then echo "Missing dependencies should not be 
null but are empty. Review test log." && exit 1; fi;
-- dnf -y install $missing
-- export missingafter=$(make dist-get-buildreqs | grep "Missing 
dependencies:" | cut -d":" -f2-)
-- if [ "$missingafter" != "" ]; then echo "Missing dependencies should be 
null but are $missingafter. Review test log." && exit 1; fi;
-  rules:
-- *only-os-build-mr
-- *on-success
-
 docs:
   image: quay.io/cki/cki-tools:production
   script:

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2951
--
___
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] gitlab-ci: support CI for zfcpdump kernel on ELN

2024-02-13 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2932#note_1771612827

@mh21_rh It's not hurting anything but this technically adds `with zfcpdump`
to all the arches when it's only meant for s390x. The spec-file ignores it but
maybe something to sort out one day.
--
___
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] gitlab-ci: support CI for zfcpdump kernel on ELN

2024-02-13 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2932#note_1771605828

Thank you!
--
___
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] Fix dist-get-buildreqs breakage around perl(ExtUtils::Embed)

2024-02-05 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2924#note_1759024385

You're right. This is safe because of the variable expansion. Thanks!
--
___
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] Fix dist-get-buildreqs breakage around perl(ExtUtils::Embed)

2024-02-05 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2924#note_1758981394

@tales-aparecida does the gitlab ci environment take care such things and so
we shouldn't expect to see this kind of syntax error?
--
___
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] Fix dist-get-buildreqs breakage around perl(ExtUtils::Embed)

2024-02-05 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2924#note_1758970310

This does fix the parsing error but I believe the `perl(ExtUtils::Embed)`
package will need to be enclosed in quotes or it will result in a shell error.
```
$ sudo dnf install perl(ExtUtils::Embed)
bash: syntax error near unexpected token `('
```
--
___
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] [redhat] process_configs.sh: include config commit

2024-02-04 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] process_configs.sh: include config commit

This adds a comment to the pending config file that documents the commit
where the new config was defined.  This is based on the "Defined at"
line provided by the helpnewconfig make target.

Signed-off-by: Scott Weaver 

diff --git a/redhat/configs/process_configs.sh 
b/redhat/configs/process_configs.sh
index blahblah..blahblah 100755
--- a/redhat/configs/process_configs.sh
+++ b/redhat/configs/process_configs.sh
@@ -148,7 +148,8 @@ parsenewconfigs()
 /usr/bin/awk -v BASE="$tmpdir" '
 BEGIN { inpatch=0;
outfile="none";
-symbol="none"; }
+symbol="none";
+commit=""; }
 /^Symbol: .*$/ {
 split($0, a, " ");
 symbol="CONFIG_"a[2];
@@ -160,9 +161,11 @@ parsenewconfigs()
}
 else {
 if (symbol != "none") {
+print "# Commit: "commit >> outfile
 system("cat " outfile " " BASE "/" symbol 
" > " BASE "/tmpf");
 system("mv " BASE "/tmpf " BASE "/" 
symbol);
 symbol="none"
+commit=""
}
 outfile="none"
inpatch = 0;
@@ -173,6 +176,15 @@ parsenewconfigs()
 print "# "$0 >> outfile;
 }
 }
+/^Defined at .*$/ {
+split($0, x, " ");
+filenum=x[3];
+split(filenum, x, ":");
+file=x[1]
+line=x[2]
+cmd="git blame -L " line "," line " " file " | cut -d 
\" \" -f1 | xargs git log --pretty=format:\"%C(auto)%h %C(cyan)('%s')\" -1"
+cmd | getline commit
+}
 
 
 ' .helpnewconfig

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2923
--
___
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 0/5] Add libperf packages and build kernel tools for Fedora

2024-02-01 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1754559257

I see now that if we want CKI to pass you'll have to rebase. It's missing
`0b6eb15a24b2e ('gitlab-ci: merge ark-latest before building in MR
pipelines')`. I'm not sure that's really required since we know why clang is
failing. If we can get another ack we can just merge it IMHO.
@hertonrk-rh or @jstancek could you take a look at this MR when you get time?
Thanks!
--
___
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 PATCHv10] Add new os-build targets: rt-devel and automotive-devel

2024-01-29 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2732#note_1747883754

This topic doesn't need to block this MR and later if we decide to change it
we can do that. For now let's get this running and see what we learn from
running it daily.
--
___
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 PATCHv10] Add new os-build targets: rt-devel and automotive-devel

2024-01-28 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2732#note_1746932321

I think we want `RT_DEVEL_BRANCH` here instead of `RT_AUTOMATED_BRANCH` or any
patches added to `os-build-rt-devel` will not be propagated to the automotive
branch. Maybe we don't want that to avoid potential merge conflicts but I was
thinking that we would want to revert `f748a60b0b253 ('redhat: TEMPORARY set
configs to deal with PREEMPT_RT not available')` in the rt-devel branch and
have that merged automatically to automotive-devel. In other words, have the
automotive branch inherit a working kernel-rt configuration.
--
___
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 PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1745295177

Ah. Ok so that explains why it's not in ark yet. So we can leave it off for
ELN and handle it in RHEL10 then.
--
___
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 PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1745281940

We are building the libperf package in cs9 but somehow missed porting that to
ark. So we should have it enable for ELN.
--
___
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 PATCHv7] Add new os-build targets: rt-devel and automotive-devel

2024-01-23 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2732#note_1739120434

Hi @dzickusrh. I was playing with your rt merge script and I wasn't sure what
the initial conditions should be. Is this what you had in mind?
```
git checkout -b master-rt-devel linux-rt-devel/linux-6.7.y-rt
git branch os-build-rt-devel
git branch os-build-automotive-devel
```
But there was an error when I ran the script because `os-build-rt-automated`
didn't exist. Should the script create that since it sounds like a temporary
branch? Once I create that branch (based on `os-build-rt-devel`) I think
everything worked as expected.

Also, the remote to `linux-rt-devel` will be created in `.gitlab-ci.yaml`? I
guess maybe that's where `os-build-rt-automated` will get created.

Just a nit, but in order to see that I needed to create a gitlab remote I
moved the `set -e` to after you source `ark-ci-env.sh` or it fails quietly. I
also removed the `TO_PUSH` check in `ci_pre_check()` so the error gets printed
(I don't want to set `DIST_PUSH`).
--
___
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] redhat: filter-modules.sh.rhel: add dell-smm-hwmon

2024-01-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

redhat: filter-modules.sh.rhel: add dell-smm-hwmon

The dell-smm-hwmon module depends on wmi.ko which is packaged in
kernel-modules so move dell-smm-hwmon.ko to the module package as well.

Signed-off-by: Scott Weaver 

diff --git a/redhat/rhel_files/filter-modules.sh.rhel 
b/redhat/rhel_files/filter-modules.sh.rhel
index blahblah..blahblah 100755
--- a/redhat/rhel_files/filter-modules.sh.rhel
+++ b/redhat/rhel_files/filter-modules.sh.rhel
@@ -39,7 +39,7 @@ netprots="6lowpan appletalk atm ax25 batman-adv bluetooth can 
dccp dsa ieee80215
 
 drmdrvs="amd ast gma500 i2c i915 mgag200 nouveau radeon via "
 
-singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi 
qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys 
hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit 
iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism 
regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775 ntc_thermistor video 
apple_bl kasan_test intel-m10-bmc-hwmon"
+singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi 
qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys 
hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit 
iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism 
regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775 ntc_thermistor video 
apple_bl kasan_test intel-m10-bmc-hwmon dell-smm-hwmon"
 
 # Grab the arch-specific filter list overrides
 source ./filter-$2.sh

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2880
--
___
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] redhat: filter-modules.sh.rhel: add dell-smm-hwmon

2024-01-15 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

redhat: filter-modules.sh.rhel: add dell-smm-hwmon

The dell-smm-hwmon module depends on wmi.ko which is packaged in
kernel-modules so move dell-smm-hwmon.ko to the module package as well.

Signed-off-by: Scott Weaver 

diff --git a/redhat/rhel_files/filter-modules.sh.rhel 
b/redhat/rhel_files/filter-modules.sh.rhel
index blahblah..blahblah 100755
--- a/redhat/rhel_files/filter-modules.sh.rhel
+++ b/redhat/rhel_files/filter-modules.sh.rhel
@@ -39,7 +39,7 @@ netprots="6lowpan appletalk atm ax25 batman-adv bluetooth can 
dccp dsa ieee80215
 
 drmdrvs="amd ast gma500 i2c i915 mgag200 nouveau radeon via "
 
-singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi 
qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys 
hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit 
iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism 
regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775 ntc_thermistor video 
apple_bl kasan_test intel-m10-bmc-hwmon"
+singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi 
qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys 
hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit 
iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism 
regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus nct6775 ntc_thermistor video 
apple_bl kasan_test intel-m10-bmc-hwmon dell-smm-hwmon"
 
 # Grab the arch-specific filter list overrides
 source ./filter-$2.sh

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2879
--
___
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] Add snd-hda-cirrus-scodec-test to mod-internal.list

2023-11-07 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

Add snd-hda-cirrus-scodec-test to mod-internal.list

This is a new kunit test that needs to be added to the mod-internal list
in order to be able to access the kunit symbols.

Signed-off-by: Scott Weaver 

diff --git a/redhat/scripts/mod/mod-internal.list 
b/redhat/scripts/mod/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/scripts/mod/mod-internal.list
+++ b/redhat/scripts/mod/mod-internal.list
@@ -65,6 +65,7 @@ rocker
 scftorture
 siphash_kunit
 slub_kunit
+snd-hda-cirrus-scodec-test
 soc-topology-test
 soc-utils-test
 stackinit_kunit

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2816
___
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/3] redhat: Switch KABI file compression to xz

2023-10-24 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2760#note_1617290143

This is correct in our case but automotive changes `compression` to `zstd` and
because `xz` is still used in other places they need xz defined even though
it's redundant here for the stock kernel. https://gitlab.com/cki-
project/kernel-ark/-/merge_requests/2650#note_1525688570
___
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] CONFIG_HW_RANDOM_HISI: move to common and set to m

2023-09-01 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

CONFIG_HW_RANDOM_HISI: move to common and set to m

CONFIG_HW_RANDOM_HISI is arm specific and can be unified as a module for
Fedora and RHEL.

This addresses: https://gitlab.com/cki-project/kernel-ark/-/issues/102

Suggested-by: Thomas Huth 
Signed-off-by: Scott Weaver 

diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_HW_RANDOM_HISI 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_HW_RANDOM_HISI
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_HW_RANDOM_HISI
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_HW_RANDOM_HISI
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_HW_RANDOM_HISI
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_HW_RANDOM_HISI
diff --git a/redhat/configs/rhel/generic/CONFIG_HW_RANDOM_HISI 
b/redhat/configs/rhel/generic/CONFIG_HW_RANDOM_HISI
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_HW_RANDOM_HISI
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_HW_RANDOM_HISI=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2694
___
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] Fix tarball creation logic

2023-08-30 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658#note_1536037990

!2663 fixed this so I'm resolving this.
___
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] redhat/kernel.spec.template: update compression variables to support zstd

2023-08-24 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2650#note_1527276870

OK, so this change was intentional and there doesn't seem to be a good reason
to compress `Module.symvers` with `-9`. Dropping that looks okay to me. Thanks
for the 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 PATCHv3] redhat/kernel.spec.template: update compression variables to support zstd

2023-08-23 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2650#note_1525779750

Not worth it, just wondering. Thanks Brian.
___
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] redhat/kernel.spec.template: update compression variables to support zstd

2023-08-23 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2650#note_1525618035

Just a nit but it looks like in the current case `xz` will be defined twice in
the list. Can `xz` can be dropped from the list or maybe we still need it
somewhere else if %compression isn't set to `xz`.
___
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] redhat/kernel.spec.template: update compression variables to support zstd

2023-08-23 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2650#note_1525612236

Hi @bmasney. IIUC you're just adding the variable `compression_flags` for
future use but this drops the `-9` that used to be defined. Should it be
`%global compression_flags --compress -9` instead?
___
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] redhat/configs: update CONFIG_RPCSEC_GSS_KRB5_KUNIT_TEST

2023-08-07 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2478#note_1502904452

Hi @smayhew, thanks for the MR. Justin tries to fix cases like this during
each cycle and I believe this issue was addressed by his clean up. Therefore,
I'm going to close this MR.
___
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/7] CI: script cleanup part3

2023-08-03 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2519#note_1499831327

@dzickusrh this needs rebased after the change made in !2624. One thing that
might need adjusted in `ark-create-release.sh` is to move the `set -e` to
after sourcing `ark-ci-env.sh`. Then we'll see any error messages generated by
`ci_pre_check`.

Looking at `ark-create-release.sh`, it seems to me that we shouldn't need
!2624 because the first step after sourcing is to switch to `os-build` but I
guess there's no guarantee that the version of the script in the `ark-infra`
branch is really the version we want to execute. Otherwise, LGTM.
___
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/7] CI: script cleanup part3

2023-08-03 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2519#note_1499480849

Resolving this thread based on Michael's approval.
___
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 PATCHv2 0/6] treewide: Implement new Red Hat driver and device status infrastructure

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606#note_1494215199

I've removed it.
___
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 PATCHv2 6/6] [redhat] kernel/rh_messages.c: move hardware tables to rh_messages.h

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] kernel/rh_messages.c: move hardware tables to rh_messages.h

This moves the static message strings and hardware tables that were
in rh_messages.c into an auto-generated header file (rh_messages.h) that
contains the lists of unmaintained, deprecated and disabled drivers and
pci devices.

For kernel-ark, there is no need to maintain driver and device lists so
they are left empty. Note that for Gemini, there would be two separate
lists depending on if we build RHEL 9 or 10.

Signed-off-by: Scott Weaver 

diff --git a/kernel/rh_messages.c b/kernel/rh_messages.c
index blahblah..blahblah 100644
--- a/kernel/rh_messages.c
+++ b/kernel/rh_messages.c
@@ -1,8 +1,3 @@
-/*
- * WARNING: This file is auto-generated by an internal Red Hat script and,
- * in general, should not be modified by hand.
- */
-
 /*
  * The following functions are used by Red Hat to indicate to users that
  * hardware and drivers are unsupported, or have limited support in RHEL major
@@ -23,208 +18,7 @@
 #include 
 #include 
 #include 
-
-#define DEV_DESC_LEN 256
-static const char *rh_deprecated_drivers[] = {
-   "team",
-   "ebtables",
-   "arp_tables",
-   "ip_tables",
-   "ip6_tables",
-   "ip_set",
-   "nft_compat",
-   "firewire-core",
-   "" /* Terminating entry */
-};
-
-static const char *rh_deprecated_init_fns[] = {
-   "team_module_init",
-   "ebtables_init",
-   "arp_tables_init",
-   "ip_tables_init",
-   "ip6_tables_init",
-   "ip_set_init",
-   "nft_compat_module_init",
-   "fw_core_init",
-   "" /* Terminating entry */
-};
-
-static const char *rh_unmaintained_drivers[] = {
-   "bnx2",
-   "e1000",
-   "dl2k",
-   "hpsa",
-   "mptbase",
-   "mptsas",
-   "mptscsih",
-   "mptspi",
-   "myri10ge",
-   "netxen_nic",
-   "qla3xxx",
-   "hdlc_fr",
-   "nvmet-fc",
-   "nvmet-tcp",
-   "team",
-   "ebtables",
-   "arp_tables",
-   "ip_tables",
-   "ip6_tables",
-   "ip_set",
-   "nft_compat",
-   "nicvf",
-   "nicpf",
-   "" /* Terminating entry */
-};
-
-static const char *rh_unmaintained_init_fns[] = {
-   "bnx2_pci_driver_init",
-   "e1000_init_module",
-   "rio_driver_init",
-   "hpsa_init",
-   "fusion_init",
-   "mptsas_init",
-   "fusion_init",
-   "mptspi_init",
-   "myri10ge_init_module",
-   "netxen_init_module",
-   "ql3xxx_driver_init",
-   "hdlc_fr_init",
-   "nvmet_fc_init_module",
-   "nvmet_tcp_init",
-   "team_module_init",
-   "ebtables_init",
-   "arp_tables_init",
-   "ip_tables_init",
-   "ip6_tables_init",
-   "ip_set_init",
-   "nft_compat_module_init",
-   "nicvf_init_module",
-   "nic_init_module",
-   "" /* Terminating entry */
-};
-
-static const struct pci_device_id rh_deprecated_pci_devices[] = {
-   {0} /* Terminating entry */
-};
-
-static const struct pci_device_id rh_disabled_pci_devices[] = {
-   { 0x1011, 0x0046, 0x103c, 0x10c2 },
-   { 0x1011, 0x0046, 0x9005, 0x0364 },
-   { 0x1011, 0x0046, 0x9005, 0x0365 },
-   { 0x1011, 0x0046, 0x9005, 0x1364 },
-   { 0x1028, 0x0001, 0x1028, 0x0001 },
-   { 0x1028, 0x0002, 0x1028, 0x0002 },
-   { 0x1028, 0x0002, 0x1028, 0x00d1 },
-   { 0x1028, 0x0002, 0x1028, 0x00d9 },
-   { 0x1028, 0x0003, 0x1028, 0x0003 },
-   { 0x1028, 0x0004, 0x1028, 0x00d0 },
-   { 0x1028, 0x000a, 0x1028, 0x0106 },
-   { 0x1028, 0x000a, 0x1028, 0x011b },
-   { 0x1028, 0x000a, 0x1028, 0x0121 },
-   { 0x9005, 0x0200, 0x9005, 0x0200 },
-   { 0x9005, 0x0283, 0x9005, 0x0283 },
-   { 0x9005, 0x0284, 0x9005, 0x0284 },
-   { 0x9005, 0x0285, PCI_ANY_ID, PCI_ANY_ID },
-   { 0x9005, 0x0285, 0x1014, 0x02F2 },
-   { 0x9005, 0x0285, 0x1014, 0x0312 },
-   { 0x9005, 0x0285, 0x1028, PCI_ANY_ID },
-   { 0x9005, 0x0285, 0x1028, 0x0287 },
-   { 0x9005, 0x0285, 0x103C, 0x3227 },
-   { 0x9005, 0x0285, 0x17aa, PCI_ANY_ID },
-   { 0x9005, 0x0285, 0x17aa, 0x0286 },
-   { 0x9005, 0x0285, 0x17aa, 0x0287 },
-   { 0x9005, 0x0285, 0x9005, 0x0285 },
-   { 0x9005, 0x0285, 0x9005, 0x0286 },
-   { 0x9005, 0x0285, 0x9005, 0x0287 },
-   { 0x9005, 0x0285, 0x9005, 0x0288 },
-   { 0x9005, 0x0285, 0x9005, 0x0289 },
-   { 0x9005, 0x0285, 0x9005, 0x028a },
-   { 0x9005, 0x0285, 0x9005, 0x028b },
-   { 0x9005, 0x0285, 0x9005, 0x028e },
-   { 0x9005, 0x0285, 0x9005, 0x028f },
-   { 0x9005, 0x0285, 0x9005, 0x0290 },
-   { 0x9005, 0x0285, 0x9005, 0x0291 },
-   { 0x9005, 0x0285, 0x9005, 0x0292 },
-   { 0x9005, 0x0285, 0x9005, 0x0293 },
-   { 0x9005, 0x0285, 0x9005, 0x0294 },
-   { 0x9005, 0x0285, 0x9005, 0x0296 },
-   { 0x9005, 0x0285, 0x9005, 0x0297 },
-   { 0x9005, 0x0285, 0x9005, 0x0298 },
-   { 0x9005, 0x0285, 0x9005, 0x0299 },
-   { 0x9005, 0x0285, 0x

[OS-BUILD PATCHv2 4/6] [redhat] drivers/pci: Update rh_messages.c

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] drivers/pci: Update rh_messages.c

Database information is used to create lists of drivers and devices that are
unmaintained, deprecated, or disabled.  New functions using the data are
introduced and will be called directly from PCI driver loading and module
loading code.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index blahblah..blahblah 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -486,18 +486,11 @@ struct module;
 
 #ifdef CONFIG_RHEL_DIFFERENCES
 void mark_hardware_unmaintained(const char *driver_name, char *fmt, ...);
-void mark_driver_unmaintained(const char *driver_name);
-void mark_hardware_deprecated(const char *driver_name, char *fmt, ...);
-void mark_driver_deprecated(const char *driver_name);
-void mark_hardware_disabled(const char *driver_name, char *fmt, ...);
 void mark_tech_preview(const char *msg, struct module *mod);
 void mark_partner_supported(const char *msg, struct module *mod);
+void init_rh_check_status(char *fn_name);
 #else
 static inline void mark_hardware_unmaintained(const char *driver_name, char 
*fmt, ...) { }
-static inline void mark_driver_unmaintained(const char *driver_name) { }
-static inline void mark_hardware_deprecated(const char *driver_name, char 
*fmt, ...) { }
-static inline void mark_driver_deprecated(const char *driver_name) { }
-static inline void mark_hardware_disabled(const char *driver_name, char *fmt, 
...) { }
 static inline void mark_tech_preview(const char *msg, struct module *mod) { }
 static inline void mark_partner_supported(const char *msg, struct module *mod) 
{ }
 #endif
diff --git a/include/linux/module.h b/include/linux/module.h
index blahblah..blahblah 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -989,4 +989,8 @@ static inline unsigned long 
find_kallsyms_symbol_value(struct module *mod,
 
 #endif  /* CONFIG_MODULES && CONFIG_KALLSYMS */
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+void module_rh_check_status(const char * module_name);
+#endif
+
 #endif /* _LINUX_MODULE_H */
diff --git a/include/linux/pci.h b/include/linux/pci.h
index blahblah..blahblah 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2579,6 +2579,10 @@ static inline bool pci_is_thunderbolt_attached(struct 
pci_dev *pdev)
return false;
 }
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+bool pci_rh_check_status(struct pci_dev *pci_dev);
+#endif
+
 #if defined(CONFIG_PCIEPORTBUS) || defined(CONFIG_EEH)
 void pci_uevent_ers(struct pci_dev *pdev, enum  pci_ers_result err_type);
 #endif
diff --git a/kernel/rh_messages.c b/kernel/rh_messages.c
index blahblah..blahblah 100644
--- a/kernel/rh_messages.c
+++ b/kernel/rh_messages.c
@@ -1,7 +1,8 @@
-#include 
-#include 
+/*
+ * WARNING: This file is auto-generated by an internal Red Hat script and,
+ * in general, should not be modified by hand.
+ */
 
-#define DEV_DESC_LEN 256
 /*
  * The following functions are used by Red Hat to indicate to users that
  * hardware and drivers are unsupported, or have limited support in RHEL major
@@ -19,6 +20,212 @@
  * related fixes until they are disabled.
  */
 
+#include 
+#include 
+#include 
+
+#define DEV_DESC_LEN 256
+static const char *rh_deprecated_drivers[] = {
+   "team",
+   "ebtables",
+   "arp_tables",
+   "ip_tables",
+   "ip6_tables",
+   "ip_set",
+   "nft_compat",
+   "firewire-core",
+   "" /* Terminating entry */
+};
+
+static const char *rh_deprecated_init_fns[] = {
+   "team_module_init",
+   "ebtables_init",
+   "arp_tables_init",
+   "ip_tables_init",
+   "ip6_tables_init",
+   "ip_set_init",
+   "nft_compat_module_init",
+   "fw_core_init",
+   "" /* Terminating entry */
+};
+
+static const char *rh_unmaintained_drivers[] = {
+   "bnx2",
+   "e1000",
+   "dl2k",
+   "hpsa",
+   "mptbase",
+   "mptsas",
+   "mptscsih",
+   "mptspi",
+   "myri10ge",
+   "netxen_nic",
+   "qla3xxx",
+   "hdlc_fr",
+   "nvmet-fc",
+   "nvmet-tcp",
+   "team",
+   "ebtables",
+   "arp_tables",
+   "ip_tables",
+   "ip6_tables",
+   "ip_set",
+   "nft_compat",
+   "nicvf",
+   "nicpf",
+   "" /* Terminating entry */
+};
+
+static const char *rh_unmaintained_init_fns[] = {
+   "bnx2_pci_driver_init",
+   "e1000_init_module",
+   "rio_driver_init",
+   "hpsa_init",
+   "fusion_init",
+   "mptsas_init",
+   "fusion_init",
+   "mptspi_init",
+   "myri10ge_init_module",
+   "netxen_init_module",
+   "ql3xxx_driver_init",
+   "hdlc_fr_init",
+   "nvmet_fc_init_module",
+   "nvmet_tcp_init",
+   "team_module_init",
+   "ebtables_init",
+   "arp_tables_init",
+   "ip_tables_init",
+   "ip6_tables_init",
+   "ip_set_init",
+   "nft_compat_module_init",
+   "nicvf_init_module",
+   "nic_

[OS-BUILD PATCHv2 2/6] [redhat] mptsas: Remove add_taint()

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] mptsas: Remove add_taint()

Removed add_taint() call which had been removed in cs9 ba729644ae63e
('mptsas: add new messaging') but not brought to kernel-ark. A new
function to track unmaintained drivers will be added in a later commit
in this series.

Signed-off-by: Scott Weaver 

diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index blahblah..blahblah 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -5320,11 +5320,6 @@ mptsas_probe(struct pci_dev *pdev, const struct 
pci_device_id *id)
ioc, MPI_SAS_OP_CLEAR_ALL_PERSISTENT);
}
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-   add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
-   pr_warn("MPTSAS MODULE IS NOT SUPPORTED\n");
-#endif
-
error = scsi_add_host(sh, &ioc->pcidev->dev);
if (error) {
dprintk(ioc, printk(MYIOC_s_ERR_FMT

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
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 PATCHv2 5/6] [redhat] kernel/rh_messages.c: Wire up new calls

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] kernel/rh_messages.c: Wire up new calls

Wire up the new general calls into the module loading and pci driver
loading code.  This provides centralized call locations for drivers and
devices that are unmaintained, deprecated, or disabled.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index blahblah..blahblah 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -322,6 +322,12 @@ static long local_pci_probe(void *_ddi)
 */
pm_runtime_get_sync(dev);
pci_dev->driver = pci_drv;
+
+#ifdef CONFIG_RHEL_DIFFERENCES
+   if (pci_rh_check_status(pci_dev))
+   return -EACCES;
+#endif
+
rc = pci_drv->probe(pci_dev, ddi->id);
if (!rc)
return rc;
diff --git a/init/main.c b/init/main.c
index blahblah..blahblah 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1147,6 +1147,9 @@ static bool __init_or_module 
initcall_blacklisted(initcall_t fn)
 */
strreplace(fn_name, ' ', '\0');
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+   init_rh_check_status(fn_name);
+#endif
list_for_each_entry(entry, &blacklisted_initcalls, next) {
if (!strcmp(fn_name, entry->buf)) {
pr_debug("initcall %s blacklisted\n", fn_name);
diff --git a/kernel/module/main.c b/kernel/module/main.c
index blahblah..blahblah 100644
--- a/kernel/module/main.c
+++ b/kernel/module/main.c
@@ -2796,6 +2796,11 @@ static int early_mod_check(struct load_info *info, int 
flags)
return -EPERM;
}
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+   if (get_modinfo(info, "intree"))
+   module_rh_check_status(info->name);
+#endif
+
err = rewrite_section_headers(info, flags);
if (err)
return err;

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
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 PATCHv2 1/6] [redhat] drivers/pci: Remove RHEL-only pci_hw_*() functions

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] drivers/pci: Remove RHEL-only pci_hw_*() functions

Remove the RHEL-only pci_hw_*() functions.  These will be replaced with
new functions in a later commit.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index blahblah..blahblah 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -297,83 +297,6 @@ static struct attribute *pci_drv_attrs[] = {
 };
 ATTRIBUTE_GROUPS(pci_drv);
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-/**
- * pci_hw_deprecated - Tell if a PCI device is deprecated
- * @ids: array of PCI device id structures to search in
- * @dev: the PCI device structure to match against
- *
- * Used by a driver to check whether this device is in its list of deprecated
- * devices.  Returns the matching pci_device_id structure or %NULL if there is
- * no match.
- *
- * Reserved for Internal Red Hat use only.
- */
-const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
- struct pci_dev *dev)
-{
-   const struct pci_device_id *ret = pci_match_id(ids, dev);
-
-   if (!ret)
-   return NULL;
-
-   mark_hardware_deprecated(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
-dev->device, dev->vendor, pci_name(dev));
-   return ret;
-}
-EXPORT_SYMBOL(pci_hw_deprecated);
-
-/**
- * pci_hw_unmaintained - Tell if a PCI device is unmaintained
- * @ids: array of PCI device id structures to search in
- * @dev: the PCI device structure to match against
- *
- * Used by a driver to check whether this device is in its list of unmaintained
- * devices.  Returns the matching pci_device_id structure or %NULL if there is
- * no match.
- *
- * Reserved for Internal Red Hat use only.
- */
-const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id 
*ids,
-   struct pci_dev *dev)
-{
-   const struct pci_device_id *ret = pci_match_id(ids, dev);
-
-   if (!ret)
-   return NULL;
-
-   mark_hardware_unmaintained(dev_driver_string(&dev->dev), "%04X:%04X @ 
%s",
-  dev->device, dev->vendor, pci_name(dev));
-   return ret;
-}
-EXPORT_SYMBOL(pci_hw_unmaintained);
-
-/**
- * pci_hw_disabled - Tell if a PCI device is disabled
- * @ids: array of PCI device id structures to search in
- * @dev: the PCI device structure to match against
- *
- * Used by a driver to check whether this device is in its list of disabled
- * devices.  Returns the matching pci_device_id structure or %NULL if there is
- * no match.
- *
- * Reserved for Internal Red Hat use only.
- */
-const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
-   struct pci_dev *dev)
-{
-   const struct pci_device_id *ret = pci_match_id(ids, dev);
-
-   if (!ret)
-   return NULL;
-
-   mark_hardware_disabled(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
-  dev->device, dev->vendor, pci_name(dev));
-   return ret;
-}
-EXPORT_SYMBOL(pci_hw_disabled);
-#endif
-
 struct drv_dev_and_id {
struct pci_driver *drv;
struct pci_dev *dev;
diff --git a/include/linux/pci.h b/include/linux/pci.h
index blahblah..blahblah 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1561,21 +1561,6 @@ int pci_add_dynid(struct pci_driver *drv,
 const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
 struct pci_dev *dev);
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
- struct pci_dev *dev);
-const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id 
*ids,
-   struct pci_dev *dev);
-const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
-   struct pci_dev *dev);
-#else
-static inline const struct pci_device_id *pci_hw_deprecated(const struct 
pci_device_id *ids,
-   struct pci_dev 
*dev) { return NULL; }
-static inline const struct pci_device_id *pci_hw_unmaintained(const struct 
pci_device_id *ids,
- struct pci_dev 
*dev) { return NULL; }
-static inline const struct pci_device_id *pci_hw_disabled(const struct 
pci_device_id *ids,
- struct pci_dev *dev) 
{return NULL; }
-#endif
 int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max,
int pass);
 

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
kernel mailing list -- kernel@lists.fedoraproject.org
To un

[OS-BUILD PATCHv2 3/6] [redhat] drivers/message/fusion/mptspi.c: Remove extra disabled warning

2023-07-31 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] drivers/message/fusion/mptspi.c: Remove extra disabled warning

Remove this warning.  It is no longer needed.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c
index blahblah..blahblah 100644
--- a/drivers/message/fusion/mptspi.c
+++ b/drivers/message/fusion/mptspi.c
@@ -1540,11 +1540,6 @@ mptspi_probe(struct pci_dev *pdev, const struct 
pci_device_id *id)
 
scsi_scan_host(sh);
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-   add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
-   pr_warn("MPTSPI MODULE IS NOT SUPPORTED\n");
-#endif
-
return 0;
 
 out_mptspi_probe:

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
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 PATCHv2 0/6] treewide: Implement new Red Hat driver and device status infrastructure

2023-07-31 Thread Scott Weaver (via Email Bridge)
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 
Signed-off-by: Scott Weaver 

---
 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(-)
___
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/6] treewide: Implement new Red Hat driver and device status infrastructure

2023-07-28 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606#note_1492613091

@prarit, I assumed that because it's using `TAINT_SUPPORT_REMOVED`, which
isn't a TAINT state used by `rh_messages.c`, that it was intentionally left
in. In the case of `mptspi`, it is currently marked unmaintained and the user
will see that message but it will obviously no longer taint the kernel if we
remove it. Currently, `rh_messages.c` only taints the kernel for drivers that
are marked "Tech Preview" or "Partner Supported".

@thenzl, you're the author of the original patch. Should using `mptspi` taint
the kernel or will the unmaintained message in the log be enough?
___
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/6] treewide: Implement new Red Hat driver and device status infrastructure

2023-07-28 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606#note_1492595138

The current logic used to mark a driver deprecated is that if in a future
release that driver is marked unmaintained or disabled then we mark it as
deprecated. In the comment that defines deprecation, we say `"this driver is
planned to be unmaintained in a future major release, and will eventually be
disabled"`. IMO it is just this statement being reiterated in the
`init_fn_unmaintained` comment.

It seems to me that we can soften the language to say that it `"might be
disabled"`. Being unmaintained, from what I've seen, doesn't mean it will
definitely be disabled but it does make it a candidate for being disabled in a
future release.
___
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 5/6] [redhat] kernel/rh_messages.c: Wire up new calls

2023-07-20 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] kernel/rh_messages.c: Wire up new calls

Wire up the new general calls into the module loading and pci driver
loading code.  This provides centralized call locations for drivers and
devices that are unmaintained, deprecated, or disabled.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index blahblah..blahblah 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -322,6 +322,12 @@ static long local_pci_probe(void *_ddi)
 */
pm_runtime_get_sync(dev);
pci_dev->driver = pci_drv;
+
+#ifdef CONFIG_RHEL_DIFFERENCES
+   if (pci_rh_check_status(pci_dev))
+   return -EACCES;
+#endif
+
rc = pci_drv->probe(pci_dev, ddi->id);
if (!rc)
return rc;
diff --git a/init/main.c b/init/main.c
index blahblah..blahblah 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1147,6 +1147,9 @@ static bool __init_or_module 
initcall_blacklisted(initcall_t fn)
 */
strreplace(fn_name, ' ', '\0');
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+   init_rh_check_status(fn_name);
+#endif
list_for_each_entry(entry, &blacklisted_initcalls, next) {
if (!strcmp(fn_name, entry->buf)) {
pr_debug("initcall %s blacklisted\n", fn_name);
diff --git a/kernel/module/main.c b/kernel/module/main.c
index blahblah..blahblah 100644
--- a/kernel/module/main.c
+++ b/kernel/module/main.c
@@ -2796,6 +2796,11 @@ static int early_mod_check(struct load_info *info, int 
flags)
return -EPERM;
}
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+   if (get_modinfo(info, "intree"))
+   module_rh_check_status(info->name);
+#endif
+
err = rewrite_section_headers(info, flags);
if (err)
return err;

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
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 4/6] [redhat] drivers/pci: Update rh_messages.c

2023-07-20 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] drivers/pci: Update rh_messages.c

Database information is used to create lists of drivers and devices that are
unmaintained, deprecated, or disabled.  New functions using the data are
introduced and will be called directly from PCI driver loading and module
loading code.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index blahblah..blahblah 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -486,18 +486,11 @@ struct module;
 
 #ifdef CONFIG_RHEL_DIFFERENCES
 void mark_hardware_unmaintained(const char *driver_name, char *fmt, ...);
-void mark_driver_unmaintained(const char *driver_name);
-void mark_hardware_deprecated(const char *driver_name, char *fmt, ...);
-void mark_driver_deprecated(const char *driver_name);
-void mark_hardware_disabled(const char *driver_name, char *fmt, ...);
 void mark_tech_preview(const char *msg, struct module *mod);
 void mark_partner_supported(const char *msg, struct module *mod);
+void init_rh_check_status(char *fn_name);
 #else
 static inline void mark_hardware_unmaintained(const char *driver_name, char 
*fmt, ...) { }
-static inline void mark_driver_unmaintained(const char *driver_name) { }
-static inline void mark_hardware_deprecated(const char *driver_name, char 
*fmt, ...) { }
-static inline void mark_driver_deprecated(const char *driver_name) { }
-static inline void mark_hardware_disabled(const char *driver_name, char *fmt, 
...) { }
 static inline void mark_tech_preview(const char *msg, struct module *mod) { }
 static inline void mark_partner_supported(const char *msg, struct module *mod) 
{ }
 #endif
diff --git a/include/linux/module.h b/include/linux/module.h
index blahblah..blahblah 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -989,4 +989,8 @@ static inline unsigned long 
find_kallsyms_symbol_value(struct module *mod,
 
 #endif  /* CONFIG_MODULES && CONFIG_KALLSYMS */
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+void module_rh_check_status(const char * module_name);
+#endif
+
 #endif /* _LINUX_MODULE_H */
diff --git a/include/linux/pci.h b/include/linux/pci.h
index blahblah..blahblah 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2579,6 +2579,10 @@ static inline bool pci_is_thunderbolt_attached(struct 
pci_dev *pdev)
return false;
 }
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+bool pci_rh_check_status(struct pci_dev *pci_dev);
+#endif
+
 #if defined(CONFIG_PCIEPORTBUS) || defined(CONFIG_EEH)
 void pci_uevent_ers(struct pci_dev *pdev, enum  pci_ers_result err_type);
 #endif
diff --git a/kernel/rh_messages.c b/kernel/rh_messages.c
index blahblah..blahblah 100644
--- a/kernel/rh_messages.c
+++ b/kernel/rh_messages.c
@@ -1,7 +1,8 @@
-#include 
-#include 
+/*
+ * WARNING: This file is auto-generated by an internal Red Hat script and,
+ * in general, should not be modified by hand.
+ */
 
-#define DEV_DESC_LEN 256
 /*
  * The following functions are used by Red Hat to indicate to users that
  * hardware and drivers are unsupported, or have limited support in RHEL major
@@ -19,6 +20,212 @@
  * related fixes until they are disabled.
  */
 
+#include 
+#include 
+#include 
+
+#define DEV_DESC_LEN 256
+static const char *rh_deprecated_drivers[] = {
+   "team",
+   "ebtables",
+   "arp_tables",
+   "ip_tables",
+   "ip6_tables",
+   "ip_set",
+   "nft_compat",
+   "firewire-core",
+   "" /* Terminating entry */
+};
+
+static const char *rh_deprecated_init_fns[] = {
+   "team_module_init",
+   "ebtables_init",
+   "arp_tables_init",
+   "ip_tables_init",
+   "ip6_tables_init",
+   "ip_set_init",
+   "nft_compat_module_init",
+   "fw_core_init",
+   "" /* Terminating entry */
+};
+
+static const char *rh_unmaintained_drivers[] = {
+   "bnx2",
+   "e1000",
+   "dl2k",
+   "hpsa",
+   "mptbase",
+   "mptsas",
+   "mptscsih",
+   "mptspi",
+   "myri10ge",
+   "netxen_nic",
+   "qla3xxx",
+   "hdlc_fr",
+   "nvmet-fc",
+   "nvmet-tcp",
+   "team",
+   "ebtables",
+   "arp_tables",
+   "ip_tables",
+   "ip6_tables",
+   "ip_set",
+   "nft_compat",
+   "nicvf",
+   "nicpf",
+   "" /* Terminating entry */
+};
+
+static const char *rh_unmaintained_init_fns[] = {
+   "bnx2_pci_driver_init",
+   "e1000_init_module",
+   "rio_driver_init",
+   "hpsa_init",
+   "fusion_init",
+   "mptsas_init",
+   "fusion_init",
+   "mptspi_init",
+   "myri10ge_init_module",
+   "netxen_init_module",
+   "ql3xxx_driver_init",
+   "hdlc_fr_init",
+   "nvmet_fc_init_module",
+   "nvmet_tcp_init",
+   "team_module_init",
+   "ebtables_init",
+   "arp_tables_init",
+   "ip_tables_init",
+   "ip6_tables_init",
+   "ip_set_init",
+   "nft_compat_module_init",
+   "nicvf_init_module",
+   "nic_

[OS-BUILD PATCH 6/6] [redhat] kernel/rh_messages.c: move hardware tables to rh_messages.h

2023-07-20 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] kernel/rh_messages.c: move hardware tables to rh_messages.h

This moves the static message strings and hardware tables that were
in rh_messages.c into an auto-generated header file (rh_messages.h) that
contains the lists of unmaintained, deprecated and disabled drivers and
pci devices.

For kernel-ark, there is no need to maintain driver and device lists so
they are left empty. Note that for Gemini, there would be two separate
lists depending on if we build RHEL 9 or 10.

Signed-off-by: Scott Weaver 

diff --git a/kernel/rh_messages.c b/kernel/rh_messages.c
index blahblah..blahblah 100644
--- a/kernel/rh_messages.c
+++ b/kernel/rh_messages.c
@@ -1,8 +1,3 @@
-/*
- * WARNING: This file is auto-generated by an internal Red Hat script and,
- * in general, should not be modified by hand.
- */
-
 /*
  * The following functions are used by Red Hat to indicate to users that
  * hardware and drivers are unsupported, or have limited support in RHEL major
@@ -23,208 +18,7 @@
 #include 
 #include 
 #include 
-
-#define DEV_DESC_LEN 256
-static const char *rh_deprecated_drivers[] = {
-   "team",
-   "ebtables",
-   "arp_tables",
-   "ip_tables",
-   "ip6_tables",
-   "ip_set",
-   "nft_compat",
-   "firewire-core",
-   "" /* Terminating entry */
-};
-
-static const char *rh_deprecated_init_fns[] = {
-   "team_module_init",
-   "ebtables_init",
-   "arp_tables_init",
-   "ip_tables_init",
-   "ip6_tables_init",
-   "ip_set_init",
-   "nft_compat_module_init",
-   "fw_core_init",
-   "" /* Terminating entry */
-};
-
-static const char *rh_unmaintained_drivers[] = {
-   "bnx2",
-   "e1000",
-   "dl2k",
-   "hpsa",
-   "mptbase",
-   "mptsas",
-   "mptscsih",
-   "mptspi",
-   "myri10ge",
-   "netxen_nic",
-   "qla3xxx",
-   "hdlc_fr",
-   "nvmet-fc",
-   "nvmet-tcp",
-   "team",
-   "ebtables",
-   "arp_tables",
-   "ip_tables",
-   "ip6_tables",
-   "ip_set",
-   "nft_compat",
-   "nicvf",
-   "nicpf",
-   "" /* Terminating entry */
-};
-
-static const char *rh_unmaintained_init_fns[] = {
-   "bnx2_pci_driver_init",
-   "e1000_init_module",
-   "rio_driver_init",
-   "hpsa_init",
-   "fusion_init",
-   "mptsas_init",
-   "fusion_init",
-   "mptspi_init",
-   "myri10ge_init_module",
-   "netxen_init_module",
-   "ql3xxx_driver_init",
-   "hdlc_fr_init",
-   "nvmet_fc_init_module",
-   "nvmet_tcp_init",
-   "team_module_init",
-   "ebtables_init",
-   "arp_tables_init",
-   "ip_tables_init",
-   "ip6_tables_init",
-   "ip_set_init",
-   "nft_compat_module_init",
-   "nicvf_init_module",
-   "nic_init_module",
-   "" /* Terminating entry */
-};
-
-static const struct pci_device_id rh_deprecated_pci_devices[] = {
-   {0} /* Terminating entry */
-};
-
-static const struct pci_device_id rh_disabled_pci_devices[] = {
-   { 0x1011, 0x0046, 0x103c, 0x10c2 },
-   { 0x1011, 0x0046, 0x9005, 0x0364 },
-   { 0x1011, 0x0046, 0x9005, 0x0365 },
-   { 0x1011, 0x0046, 0x9005, 0x1364 },
-   { 0x1028, 0x0001, 0x1028, 0x0001 },
-   { 0x1028, 0x0002, 0x1028, 0x0002 },
-   { 0x1028, 0x0002, 0x1028, 0x00d1 },
-   { 0x1028, 0x0002, 0x1028, 0x00d9 },
-   { 0x1028, 0x0003, 0x1028, 0x0003 },
-   { 0x1028, 0x0004, 0x1028, 0x00d0 },
-   { 0x1028, 0x000a, 0x1028, 0x0106 },
-   { 0x1028, 0x000a, 0x1028, 0x011b },
-   { 0x1028, 0x000a, 0x1028, 0x0121 },
-   { 0x9005, 0x0200, 0x9005, 0x0200 },
-   { 0x9005, 0x0283, 0x9005, 0x0283 },
-   { 0x9005, 0x0284, 0x9005, 0x0284 },
-   { 0x9005, 0x0285, PCI_ANY_ID, PCI_ANY_ID },
-   { 0x9005, 0x0285, 0x1014, 0x02F2 },
-   { 0x9005, 0x0285, 0x1014, 0x0312 },
-   { 0x9005, 0x0285, 0x1028, PCI_ANY_ID },
-   { 0x9005, 0x0285, 0x1028, 0x0287 },
-   { 0x9005, 0x0285, 0x103C, 0x3227 },
-   { 0x9005, 0x0285, 0x17aa, PCI_ANY_ID },
-   { 0x9005, 0x0285, 0x17aa, 0x0286 },
-   { 0x9005, 0x0285, 0x17aa, 0x0287 },
-   { 0x9005, 0x0285, 0x9005, 0x0285 },
-   { 0x9005, 0x0285, 0x9005, 0x0286 },
-   { 0x9005, 0x0285, 0x9005, 0x0287 },
-   { 0x9005, 0x0285, 0x9005, 0x0288 },
-   { 0x9005, 0x0285, 0x9005, 0x0289 },
-   { 0x9005, 0x0285, 0x9005, 0x028a },
-   { 0x9005, 0x0285, 0x9005, 0x028b },
-   { 0x9005, 0x0285, 0x9005, 0x028e },
-   { 0x9005, 0x0285, 0x9005, 0x028f },
-   { 0x9005, 0x0285, 0x9005, 0x0290 },
-   { 0x9005, 0x0285, 0x9005, 0x0291 },
-   { 0x9005, 0x0285, 0x9005, 0x0292 },
-   { 0x9005, 0x0285, 0x9005, 0x0293 },
-   { 0x9005, 0x0285, 0x9005, 0x0294 },
-   { 0x9005, 0x0285, 0x9005, 0x0296 },
-   { 0x9005, 0x0285, 0x9005, 0x0297 },
-   { 0x9005, 0x0285, 0x9005, 0x0298 },
-   { 0x9005, 0x0285, 0x9005, 0x0299 },
-   { 0x9005, 0x0285, 0x

[OS-BUILD PATCH 1/6] [redhat] drivers/pci: Remove RHEL-only pci_hw_*() functions

2023-07-20 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] drivers/pci: Remove RHEL-only pci_hw_*() functions

Remove the RHEL-only pci_hw_*() functions.  These will be replaced with
new functions in a later commit.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index blahblah..blahblah 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -297,83 +297,6 @@ static struct attribute *pci_drv_attrs[] = {
 };
 ATTRIBUTE_GROUPS(pci_drv);
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-/**
- * pci_hw_deprecated - Tell if a PCI device is deprecated
- * @ids: array of PCI device id structures to search in
- * @dev: the PCI device structure to match against
- *
- * Used by a driver to check whether this device is in its list of deprecated
- * devices.  Returns the matching pci_device_id structure or %NULL if there is
- * no match.
- *
- * Reserved for Internal Red Hat use only.
- */
-const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
- struct pci_dev *dev)
-{
-   const struct pci_device_id *ret = pci_match_id(ids, dev);
-
-   if (!ret)
-   return NULL;
-
-   mark_hardware_deprecated(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
-dev->device, dev->vendor, pci_name(dev));
-   return ret;
-}
-EXPORT_SYMBOL(pci_hw_deprecated);
-
-/**
- * pci_hw_unmaintained - Tell if a PCI device is unmaintained
- * @ids: array of PCI device id structures to search in
- * @dev: the PCI device structure to match against
- *
- * Used by a driver to check whether this device is in its list of unmaintained
- * devices.  Returns the matching pci_device_id structure or %NULL if there is
- * no match.
- *
- * Reserved for Internal Red Hat use only.
- */
-const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id 
*ids,
-   struct pci_dev *dev)
-{
-   const struct pci_device_id *ret = pci_match_id(ids, dev);
-
-   if (!ret)
-   return NULL;
-
-   mark_hardware_unmaintained(dev_driver_string(&dev->dev), "%04X:%04X @ 
%s",
-  dev->device, dev->vendor, pci_name(dev));
-   return ret;
-}
-EXPORT_SYMBOL(pci_hw_unmaintained);
-
-/**
- * pci_hw_disabled - Tell if a PCI device is disabled
- * @ids: array of PCI device id structures to search in
- * @dev: the PCI device structure to match against
- *
- * Used by a driver to check whether this device is in its list of disabled
- * devices.  Returns the matching pci_device_id structure or %NULL if there is
- * no match.
- *
- * Reserved for Internal Red Hat use only.
- */
-const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
-   struct pci_dev *dev)
-{
-   const struct pci_device_id *ret = pci_match_id(ids, dev);
-
-   if (!ret)
-   return NULL;
-
-   mark_hardware_disabled(dev_driver_string(&dev->dev), "%04X:%04X @ %s",
-  dev->device, dev->vendor, pci_name(dev));
-   return ret;
-}
-EXPORT_SYMBOL(pci_hw_disabled);
-#endif
-
 struct drv_dev_and_id {
struct pci_driver *drv;
struct pci_dev *dev;
diff --git a/include/linux/pci.h b/include/linux/pci.h
index blahblah..blahblah 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1561,21 +1561,6 @@ int pci_add_dynid(struct pci_driver *drv,
 const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
 struct pci_dev *dev);
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-const struct pci_device_id *pci_hw_deprecated(const struct pci_device_id *ids,
- struct pci_dev *dev);
-const struct pci_device_id *pci_hw_unmaintained(const struct pci_device_id 
*ids,
-   struct pci_dev *dev);
-const struct pci_device_id *pci_hw_disabled(const struct pci_device_id *ids,
-   struct pci_dev *dev);
-#else
-static inline const struct pci_device_id *pci_hw_deprecated(const struct 
pci_device_id *ids,
-   struct pci_dev 
*dev) { return NULL; }
-static inline const struct pci_device_id *pci_hw_unmaintained(const struct 
pci_device_id *ids,
- struct pci_dev 
*dev) { return NULL; }
-static inline const struct pci_device_id *pci_hw_disabled(const struct 
pci_device_id *ids,
- struct pci_dev *dev) 
{return NULL; }
-#endif
 int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max,
int pass);
 

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
kernel mailing list -- kernel@lists.fedoraproject.org
To un

[OS-BUILD PATCH 0/6] treewide: Implement new Red Hat driver and device status infrastructure

2023-07-20 Thread Scott Weaver (via Email Bridge)
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 
Signed-off-by: Scott Weaver 

---
 drivers/message/fusion/mptsas.c |5 -
 drivers/message/fusion/mptspi.c |1 -
 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(+), 175 deletions(-)
___
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 3/6] [redhat] drivers/message/fusion/mptspi.c: Remove extra disabled warning

2023-07-20 Thread Scott Weaver (via Email Bridge)
From: Prarit Bhargava 

[redhat] drivers/message/fusion/mptspi.c: Remove extra disabled warning

Remove this warning.  It is no longer needed.

Signed-off-by: Prarit Bhargava 
Signed-off-by: Scott Weaver 

diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c
index blahblah..blahblah 100644
--- a/drivers/message/fusion/mptspi.c
+++ b/drivers/message/fusion/mptspi.c
@@ -1542,7 +1542,6 @@ mptspi_probe(struct pci_dev *pdev, const struct 
pci_device_id *id)
 
 #ifdef CONFIG_RHEL_DIFFERENCES
add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
-   pr_warn("MPTSPI MODULE IS NOT SUPPORTED\n");
 #endif
 
return 0;

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
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 2/6] [redhat] mptsas: Remove add_taint()

2023-07-20 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

[redhat] mptsas: Remove add_taint()

Removed add_taint() call which had been removed in cs9 ba729644ae63e
('mptsas: add new messaging') but not brought to kernel-ark. A new
function to track unmaintained drivers will be added in a later commit
in this series.

Signed-off-by: Scott Weaver 

diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index blahblah..blahblah 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -5320,11 +5320,6 @@ mptsas_probe(struct pci_dev *pdev, const struct 
pci_device_id *id)
ioc, MPI_SAS_OP_CLEAR_ALL_PERSISTENT);
}
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-   add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
-   pr_warn("MPTSAS MODULE IS NOT SUPPORTED\n");
-#endif
-
error = scsi_add_host(sh, &ioc->pcidev->dev);
if (error) {
dprintk(ioc, printk(MYIOC_s_ERR_FMT

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2606
___
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 0/3] CI: simple script cleanups part1

2023-07-07 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2517#note_1461923407

Based on @mh21 approval, I'll resolve this.
___
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] Change pathfix.py to %py3_shebang_fix

2023-07-06 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2588#note_1460420451

FTR: https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be
_removed
___
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 PATCHv6 0/8] redhat: Add realtime and arm64 64k-page-size build and packaging logic

2023-06-06 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1420546977

Yes, `--with rtonly` is working now so I'll resolve this as it sounds like
fixing the `files listed twice` issue will be fixed later.
```
kernel-rt-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-core-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-devel-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-devel-matched-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-kvm-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-modules-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-modules-core-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-modules-extra-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-modules-internal-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm
kernel-rt-modules-partner-6.4.0-0.rc4.9e87b63ed37e.39.test.el126.x86_64.rpm

```
___
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-06-02 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1416969004

Thanks, Jan. Marking as resolved.
___
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 0/13] redhat: Add realtime build and packaging logic

2023-05-25 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1406483994

While trying to build `--with rtonly` (using the ELN build container), I hit
the following error:

```
Processing files: kernel-rt-core-6.4.0-0.rc3.9d646009f65d.30.test.el126.x86_64
error: File must begin with "/": GPLv2
error: File must begin with "/": and
error: File must begin with "/": Redistributable,
error: File must begin with "/": no
error: File must begin with "/": modification
error: File must begin with "/": permitted
error: File must begin with "/": linux-6.4.0-0.rc3.9d646009f65d.30.test.el126.
x86_64/COPYING-6.4.0-0.rc3.9d646009f65d.30.test.el126

RPM build errors:
File must begin with "/": GPLv2
File must begin with "/": and
File must begin with "/": Redistributable,
File must begin with "/": no
File must begin with "/": modification
File must begin with "/": permitted
File must begin with "/": linux-6.4.0-0.rc3.9d646009f65d.30.test.el126.x86
_64/COPYING-6.4.0-0.rc3.9d646009f65d.30.test.el126
```
___
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 0/13] redhat: Add realtime build and packaging logic

2023-05-25 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1406174125

@clrkwllms Did you mean to include this [bpf samples](https://gitlab.com/cki-
project/kernel-ark/-/merge_requests/2403/diffs?commit_id=c9572b747c75fc47a024b
215d5bf66e670310d5c) patch?
I might be missing something but it doesn't seem related to enabling RT
packaging.
___
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 0/13] redhat: Add realtime build and packaging logic

2023-05-25 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1406161809

Thanks, Jan. I'm sure we'll still need to address this at some point but since
automotive has been dropped I'll resolve this thread.
___
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/20] redhat: Add realtime and automotive build and packaging logic

2023-05-18 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1396597817

FWIW, v7 failed in the same way.
___
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] Revert "Merge branch 'minimize_gzip' into 'os-build'"

2023-05-09 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

Revert "Merge branch 'minimize_gzip' into 'os-build'"

Installation of the kernel-core package failed due to a scriptlet issue
related to this change. Until that is sorted out let's revert this for
now.

This reverts commit 0e9039ca0ff6704530411742d2b53de1022978ca, reversing
changes made to 9e7b86efe6ad89f5defb2eff1163bc08b53a6ff2.

Signed-off-by: Scott Weaver 

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
@@ -106,11 +106,8 @@ Summary: The Linux kernel
 %global zipmodules 1
 %endif
 
-# Default compression algorithm
-%global compression xz
-%global compext xz
 %if %{zipmodules}
-%global zipsed -e 's/\.ko$/\.ko.%compext/'
+%global zipsed -e 's/\.ko$/\.ko.xz/'
 %endif
 
 %if 0%{?fedora}
@@ -608,7 +605,7 @@ Provides: installonlypkg(kernel)
 # List the packages used during the kernel build
 #
 BuildRequires: kmod, bash, coreutils, tar, git-core, which
-BuildRequires: bzip2, xz, findutils, m4, perl-interpreter, perl-Carp, 
perl-devel, perl-generators, make, diffutils, gawk
+BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, 
perl-devel, perl-generators, make, diffutils, gawk
 BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex, gcc-c++
 BuildRequires: net-tools, hostname, bc, elfutils-devel
 BuildRequires: dwarves
@@ -1856,7 +1853,14 @@ BuildKernel() {
 CopyKernel=cp
 fi
 
-SignImage=$KernelImage
+# Sign the image if we're using EFI
+# aarch64 kernels are gziped EFI images
+KernelExtension=${KernelImage##*.}
+if [ "$KernelExtension" == "gz" ]; then
+SignImage=${KernelImage%.*}
+else
+SignImage=$KernelImage
+fi
 
 %ifarch x86_64 aarch64
 %pesign -s -i $SignImage -o vmlinuz.tmp -a %{secureboot_ca_0} -c 
%{secureboot_key_0} -n %{pesign_name_0}
@@ -1879,6 +1883,9 @@ BuildKernel() {
 exit 1
 fi
 mv vmlinuz.signed $SignImage
+if [ "$KernelExtension" == "gz" ]; then
+gzip -f9 $SignImage
+fi
 # signkernel
 %endif
 
@@ -1955,8 +1962,8 @@ BuildKernel() {
 # NOTENOTE: checksums to the rpm metadata provides list.
 # NOTENOTE: if you change the symvers name, update the backend too
 echo " GENERATING kernel ABI metadata "
-%compression -c9 < Module.symvers > 
$RPM_BUILD_ROOT/boot/symvers-$KernelVer.%compext
-cp $RPM_BUILD_ROOT/boot/symvers-$KernelVer.%compext 
$RPM_BUILD_ROOT/lib/modules/$KernelVer/symvers.%compext
+gzip -c9 < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz
+cp $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz 
$RPM_BUILD_ROOT/lib/modules/$KernelVer/symvers.gz
 
 %if %{with_kabichk}
 echo " kABI checking is enabled in kernel SPEC file. "
@@ -2608,7 +2615,7 @@ find Documentation -type d | xargs chmod u+w
   fi \
   if [ "%{zipmodules}" -eq "1" ]; then \
 echo "Compressing kernel modules ..." \
-find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -n 16 
-P${RPM_BUILD_NCPUS} -r %compression; \
+find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -n 16 
-P${RPM_BUILD_NCPUS} -r xz; \
   fi \
 %{nil}
 
@@ -3042,9 +3049,9 @@ fi\
 %endif\
 rm -f 
%{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?1:+%{1}}\
 /bin/kernel-install add %{KVERREL}%{?1:+%{1}} 
/lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
-if [[ ! -e "/boot/symvers-%{KVERREL}%{?1:+%{1}}.%compext" ]]; then\
-ln -s "/lib/modules/%{KVERREL}%{?1:+%{1}}/symvers.%compext" 
"/boot/symvers-%{KVERREL}%{?1:+%{1}}.%compext"\
-command -v restorecon &>/dev/null && restorecon 
"/boot/symvers-%{KVERREL}%{?1:+%{1}}.%compext" \
+if [[ ! -e "/boot/symvers-%{KVERREL}%{?1:+%{1}}.gz" ]]; then\
+ln -s "/lib/modules/%{KVERREL}%{?1:+%{1}}/symvers.gz" 
"/boot/symvers-%{KVERREL}%{?1:+%{1}}.gz"\
+command -v restorecon &>/dev/null && restorecon 
"/boot/symvers-%{KVERREL}%{?1:+%{1}}.gz" \
 fi\
 %{nil}
 
@@ -3320,10 +3327,10 @@ fi
 %endif\
 %attr(0600, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\
 %ghost %attr(0600, root, root) /boot/System.map-%{KVERREL}%{?3:+%{3}}\
-/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.%compext\
+/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.gz\
 /lib/modules/%{KVERREL}%{?3:+%{3}}/config\
 /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\
-%ghost %attr(0600, root, root) /boot/symvers-%{KVERREL}%{?3:+%{3}}.%compext\
+%ghost %attr(0600, root, root) /boot/symvers-%{KVERREL}%{?3:+%{3}}.gz\
 %ghost %attr(0600, root, root) /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\
 %ghost %attr(0644, root, root) /boot/config-%{KVERREL}%{?3:+%{3}}\
 %{expand:%%files -f kernel-%{?3:%{3}-}modules-core.list 
%{?3:%{3}-}modules-core}\

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2473
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedor

Re: [OS-BUILD PATCHv9 0/3] redhat/kernel.spec.template: Add global compression variables

2023-04-26 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2173#note_1368994511

This is just a question and not meant to block this. Should the flags `-c9`
also be put under a variable for future proofing this change?
___
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] kernel.spec: add llvm-devel build requirement

2023-02-02 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264#note_1263931510

Hi Tom,

When the feature check fails to build the file `tools/build/feature/test-
llvm.make.output` will be generated which will show the error.

```
test-llvm.cpp:2:10: fatal error: llvm/Support/ManagedStatic.h: No such file or
directory
2 | #include "llvm/Support/ManagedStatic.h"
  |  ^~
compilation terminated.
```
___
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] kernel.spec: add llvm-devel build requirement

2023-01-31 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

kernel.spec: add llvm-devel build requirement

The bpftool and the llvm system feature check requires the llvm-devel
package. The bpftool package is only created if selftests is defined and
when selftests is enabled, then samples/bpf will be built which will use
the llvm feature check. Therefore the llvm-devel package is added as a
build requirement of selftests to keep it consistent with the llvm
package already specified there.

A dependency of the llvm-devel package is llvm so we no longer need to
specify this package explicitly.

This change came in eb9d1acf634ba ('bpftool: Add LLVM as default
library for disassembling JIT-ed programs').

Signed-off-by: Scott Weaver 

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
@@ -635,7 +635,7 @@ BuildRequires: python3-docutils
 BuildRequires: zlib-devel binutils-devel
 %endif
 %if %{with_selftests}
-BuildRequires: clang llvm fuse-devel
+BuildRequires: clang llvm-devel fuse-devel
 %ifnarch %{arm}
 BuildRequires: numactl-devel
 %endif

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264
___
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 PATCHv3] kernel.spec: add llvm-devel build requirement

2023-01-25 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

kernel.spec: add llvm-devel build requirement

The bpftool and the llvm system feature check requires the llvm-devel
package. The bpftool package is only created if selftests is defined and
when selftests is enabled, then samples/bpf will be built which will use
the llvm feature check. Therefore the llvm-devel package is added as a
build requirement of selftests to keep it consistent with the llvm
package already specified there.

This change came in eb9d1acf634ba ('bpftool: Add LLVM as default
library for disassembling JIT-ed programs').

Signed-off-by: Scott Weaver 

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
@@ -635,7 +635,7 @@ BuildRequires: python3-docutils
 BuildRequires: zlib-devel binutils-devel
 %endif
 %if %{with_selftests}
-BuildRequires: clang llvm fuse-devel
+BuildRequires: clang llvm llvm-devel fuse-devel
 %ifnarch %{arm}
 BuildRequires: numactl-devel
 %endif

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264
___
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 PATCHv2] kernel.spec: add llvm-devel build requirement

2023-01-25 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264#note_1252396117

After looking again, I see that my mistake was in how I described why the
package should be associated with selftests. Because samples/bpf will be built
when selftests is enabled and it will use the llvm system feature check the
package should still be associated with selftests' build requirement. I've
cleaned up my commit message.
___
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 PATCHv2] kernel.spec: add llvm-devel build requirement

2023-01-25 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

kernel.spec: add llvm-devel build requirement

The bpftool and the llvm system feature check requires the llvm-devel
package. The bpftool package is only created if selftests is defined and
when selftests is enabled, then samples/bpf will be built which will use
the llvm feature check. Therefore the llvm-devel package is added as a
build requirement of selftests to keep it consistent with the llvm
package already specified there.

This change came in eb9d1acf634ba ('bpftool: Add LLVM as default
library for disassembling JIT-ed programs').

Signed-off-by: Scott Weaver 

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
@@ -635,7 +635,7 @@ BuildRequires: python3-docutils
 BuildRequires: zlib-devel binutils-devel
 %endif
 %if %{with_selftests}
-BuildRequires: clang llvm fuse-devel
+BuildRequires: clang llvm llvm-devel fuse-devel
 %ifnarch %{arm}
 BuildRequires: numactl-devel
 %endif

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264
___
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] kernel.spec: add llvm-devel build requirement

2023-01-24 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264#note_1251412733

Hi Tom. I don't believe selftests is linking. The reason I included it in the
BuildRequires for selftests is that I thought that selftests was running the
systems feature check that included llvm. (The feature check for llvm
(`tools/build/feature/test-llvm.cpp`) requires headers from the llvm-devel
package.) But after taking a another look, I was wrong, I don't believe
selftests is running the system feature check. I'll make the change and
include this package only for bpftool.
___
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] kernel.spec: add llvm-devel build requirement

2023-01-24 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

kernel.spec: add llvm-devel build requirement

The bpftool and selftests feature check requires the llvm-devel package
as well as the bpftool itself (if llvm is available). The bpftool
package is only created if selftests is defined, therefore the
llvm-devel package is added as a build requirement of selftests to keep
it consistent with the llvm package already specified.

This change came in eb9d1acf634ba ('bpftool: Add LLVM as default
library for disassembling JIT-ed programs').

Signed-off-by: Scott Weaver 

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
@@ -635,7 +635,7 @@ BuildRequires: python3-docutils
 BuildRequires: zlib-devel binutils-devel
 %endif
 %if %{with_selftests}
-BuildRequires: clang llvm fuse-devel
+BuildRequires: clang llvm llvm-devel fuse-devel
 %ifnarch %{arm}
 BuildRequires: numactl-devel
 %endif

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2264
___
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] Revert "Merge branch 'ark-make-help' into 'os-build'"

2022-11-21 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2158#note_1180141884

@clrkwllms, Yes and also running make dist-rpms on aarch64 I ran into it (but
dist-rpms worked on x86).
___
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] Revert "Merge branch 'ark-make-help' into 'os-build'"

2022-11-21 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver 

Revert "Merge branch 'ark-make-help' into 'os-build'"

This reverts commit f11ef857288e28ec3859e4a6af74506b914d85b7, reversing
changes made to a6c76faa127a684197ec2febba863c856df93c12.

diff --git a/makefile b/makefile
index blahblah..blahblah 100644
--- a/makefile
+++ b/makefile
@@ -1,24 +1,16 @@
-ifeq ($(filter help dist-% distg-%,$(MAKECMDGOALS)),)
+ifeq ($(filter dist-% distg-%,$(MAKECMDGOALS)),)
include Makefile
 endif
 
-MAKEFLAGS += --no-print-directory
 _OUTPUT := "."
 # this section is needed in order to make O= to work
 ifeq ("$(origin O)", "command line")
   _OUTPUT := "$(abspath $(O))"
   _EXTRA_ARGS := O=$(_OUTPUT)
 endif
-help::
-   @echo "## Distribution Targets"
-   @$(MAKE) -C redhat dist-help
-   @echo ""
-   @echo "## Kernel Targets"
-   @$(MAKE) -f Makefile $(@)
-
 dist-%::
-   @$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
+   $(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
 
 distg-%::
-   @$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
+   $(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
 
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -19,7 +19,7 @@ SPECRELEASED_KERNEL=$(RELEASED_KERNEL)
 SPECINCLUDE_FEDORA_FILES=$(INCLUDE_FEDORA_FILES)
 SPECINCLUDE_RHEL_FILES=$(INCLUDE_RHEL_FILES)
 
-ifneq (,$(findstring n,$(filter-out --%,$(MAKEFLAGS
+ifneq (,$(findstring n,$(MAKEFLAGS)))
   # Do not set RHTEST on the command line. Use the make command built-in 
options
   # -n, --just-print, --dry-run, --recon on the command line.
   RHTEST=1

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2158
___
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] [redhat] Update scripts to put new configs under ark-common

2022-03-08 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1622#note_867660497

I believe the default FLAVOR will also need updated to -ark ?
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure