diff --git a/0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch b/0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch new file mode 100644 index 000000000..21b936e34 --- /dev/null +++ b/0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch @@ -0,0 +1,95 @@ +From 122ad46137ec1fae695b8047c5ae1eafef0a7491 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:36:33 +0000 +Subject: [PATCH 01/10] Enable all disabled pci devices by moving to + unmaintained list + +--- + kernel/rh_messages.h | 66 ++++++++++++++++++++++---------------------- + 1 file changed, 33 insertions(+), 33 deletions(-) + +diff --git a/kernel/rh_messages.h b/kernel/rh_messages.h +index 3ac7e00e0..c0737616b 100644 +--- a/kernel/rh_messages.h ++++ b/kernel/rh_messages.h +@@ -123,6 +123,39 @@ static const struct pci_device_id rh_deprecated_pci_devices[] = { + }; + + static const struct pci_device_id rh_disabled_pci_devices[] = { ++ {0} /* Terminating entry */ ++}; ++ ++static const struct pci_device_id rh_unmaintained_pci_devices[] = { ++ { 0x10df, 0xe220, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x10df, 0x0724, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x10df, 0xe200, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x10df, 0xf011, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x10df, 0xf015, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x10df, 0xf100, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x10df, 0xfc40, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1000, 0x005b, PCI_ANY_ID, PCI_ANY_ID }, ++ { 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 }, ++ { 0x1000, 0x0082, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1000, 0x0083, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1000, 0x0084, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1000, 0x0085, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1000, 0x0086, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1000, 0x0087, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x177d, 0xa01e, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x177d, 0xa034, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x177d, 0x0011, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1077, 0x2031, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1077, 0x2532, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1077, 0x8031, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1924, 0x0803, PCI_ANY_ID, PCI_ANY_ID }, ++ { 0x1924, 0x0813, PCI_ANY_ID, PCI_ANY_ID }, + { 0x1011, 0x0046, 0x103c, 0x10c2 }, + { 0x1011, 0x0046, 0x9005, 0x0364 }, + { 0x1011, 0x0046, 0x9005, 0x0365 }, +@@ -289,37 +322,4 @@ static const struct pci_device_id rh_disabled_pci_devices[] = { + {0} /* Terminating entry */ + }; + +-static const struct pci_device_id rh_unmaintained_pci_devices[] = { +- { 0x10df, 0xe220, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x10df, 0x0724, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x10df, 0xe200, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x10df, 0xf011, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x10df, 0xf015, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x10df, 0xf100, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x10df, 0xfc40, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1000, 0x005b, PCI_ANY_ID, PCI_ANY_ID }, +- { 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 }, +- { 0x1000, 0x0082, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1000, 0x0083, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1000, 0x0084, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1000, 0x0085, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1000, 0x0086, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1000, 0x0087, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x177d, 0xa01e, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x177d, 0xa034, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x177d, 0x0011, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1077, 0x2031, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1077, 0x2532, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1077, 0x8031, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1924, 0x0803, PCI_ANY_ID, PCI_ANY_ID }, +- { 0x1924, 0x0813, PCI_ANY_ID, PCI_ANY_ID }, +- {0} /* Terminating entry */ +-}; +- + #endif /* __RH_MESSAGES_H */ +-- +2.43.5 + diff --git a/0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch b/0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch new file mode 100644 index 000000000..db9e9d297 --- /dev/null +++ b/0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch @@ -0,0 +1,39 @@ +From 0437ffb56aa745a623adce7232efca23c6788d62 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:38:01 +0000 +Subject: [PATCH 02/10] Bring back deprecated pci ids to mptsas-mptspi driver + +--- + drivers/message/fusion/mptsas.c | 2 +- + drivers/message/fusion/mptspi.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c +index d5f52a128..5f10cbd35 100644 +--- a/drivers/message/fusion/mptsas.c ++++ b/drivers/message/fusion/mptsas.c +@@ -5380,7 +5380,7 @@ static void mptsas_remove(struct pci_dev *pdev) + } + + static struct pci_device_id mptsas_pci_table[] = { +-#ifdef CONFIG_RHEL_DIFFERENCES ++#ifdef CONFIG_ALMALINUX_DIFFERENCES + { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1068, + PCI_VENDOR_ID_VMWARE, PCI_ANY_ID }, + #else +diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c +index 5a8b2ea73..b1cff4289 100644 +--- a/drivers/message/fusion/mptspi.c ++++ b/drivers/message/fusion/mptspi.c +@@ -1239,7 +1239,7 @@ static struct spi_function_template mptspi_transport_functions = { + */ + + static struct pci_device_id mptspi_pci_table[] = { +-#ifdef CONFIG_RHEL_DIFFERENCES ++#ifdef CONFIG_ALMALINUX_DIFFERENCES + { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_53C1030, + PCI_VENDOR_ID_VMWARE, PCI_ANY_ID }, + #else +-- +2.43.5 + diff --git a/0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch b/0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch new file mode 100644 index 000000000..fd13593aa --- /dev/null +++ b/0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch @@ -0,0 +1,46 @@ +From 21a3bf14f10c6129864fe7049c15baec679fbd24 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:40:30 +0000 +Subject: [PATCH 03/10] Bring back deprecated pci ids to hpsa driver + +--- + drivers/scsi/hpsa.c | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c +index aa5f9c19d..03226fe8f 100644 +--- a/drivers/scsi/hpsa.c ++++ b/drivers/scsi/hpsa.c +@@ -82,7 +82,7 @@ MODULE_DESCRIPTION("Driver for HP Smart Array Controller version " \ + HPSA_DRIVER_VERSION); + MODULE_VERSION(HPSA_DRIVER_VERSION); + MODULE_LICENSE("GPL"); +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + MODULE_ALIAS("cciss"); + #endif + +@@ -93,6 +93,11 @@ MODULE_PARM_DESC(hpsa_simple_mode, + + /* define the PCI info for the cards we can control */ + static const struct pci_device_id hpsa_pci_device_id[] = { ++ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3223}, ++ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3234}, ++ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3235}, ++ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3237}, ++ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x323D}, + {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3241}, + {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3243}, + {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3245}, +@@ -146,7 +151,7 @@ static const struct pci_device_id hpsa_pci_device_id[] = { + {PCI_VENDOR_ID_HP_3PAR, 0x0075, 0x1590, 0x007D}, + {PCI_VENDOR_ID_HP_3PAR, 0x0075, 0x1590, 0x0088}, + {PCI_VENDOR_ID_HP, 0x333f, 0x103c, 0x333f}, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_HP, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, + PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0}, + {PCI_VENDOR_ID_COMPAQ, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, +-- +2.43.5 + diff --git a/0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch b/0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch new file mode 100644 index 000000000..93c90bf76 --- /dev/null +++ b/0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch @@ -0,0 +1,40 @@ +From 18a57b9cd3833462356c3b4df180840f3fede7c6 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:41:35 +0000 +Subject: [PATCH 04/10] Bring back deprecated pci ids to qla2xxx driver + +--- + drivers/scsi/qla2xxx/qla_os.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c +index 26089872a..8018c68f2 100644 +--- a/drivers/scsi/qla2xxx/qla_os.c ++++ b/drivers/scsi/qla2xxx/qla_os.c +@@ -8123,7 +8123,7 @@ static const struct pci_error_handlers qla2xxx_err_handler = { + }; + + static struct pci_device_id qla2xxx_pci_tbl[] = { +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2100) }, + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2200) }, + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2300) }, +@@ -8139,12 +8139,12 @@ static struct pci_device_id qla2xxx_pci_tbl[] = { + #endif + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2532) }, + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2031) }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8001) }, + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8021) }, + #endif + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8031) }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISPF001) }, + { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8044) }, + #endif +-- +2.43.5 + diff --git a/0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch b/0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch new file mode 100644 index 000000000..ce27ae839 --- /dev/null +++ b/0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch @@ -0,0 +1,68 @@ +From 4ad65faf019bfae8aec7b4e24d41c62184266ba1 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:42:21 +0000 +Subject: [PATCH 05/10] Bring back deprecated pci ids to lpfc driver + +--- + drivers/scsi/lpfc/lpfc_ids.h | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/drivers/scsi/lpfc/lpfc_ids.h b/drivers/scsi/lpfc/lpfc_ids.h +index 85fc52038..83dc9f4c7 100644 +--- a/drivers/scsi/lpfc/lpfc_ids.h ++++ b/drivers/scsi/lpfc/lpfc_ids.h +@@ -24,7 +24,7 @@ + #include + + const struct pci_device_id lpfc_id_table[] = { +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_VIPER, + PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_FIREFLY, +@@ -58,7 +58,7 @@ const struct pci_device_id lpfc_id_table[] = { + #endif + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_BMID, + PCI_ANY_ID, PCI_ANY_ID, }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_BSMB, + PCI_ANY_ID, PCI_ANY_ID, }, + #endif +@@ -72,7 +72,7 @@ const struct pci_device_id lpfc_id_table[] = { + PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_ZSMB, + PCI_ANY_ID, PCI_ANY_ID, }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_TFLY, + PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LP101, +@@ -96,7 +96,7 @@ const struct pci_device_id lpfc_id_table[] = { + PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT_S, + PCI_ANY_ID, PCI_ANY_ID, }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PROTEUS_VF, + PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PROTEUS_PF, +@@ -110,13 +110,13 @@ const struct pci_device_id lpfc_id_table[] = { + #endif + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_FALCON, + PCI_ANY_ID, PCI_ANY_ID, }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_BALIUS, + PCI_ANY_ID, PCI_ANY_ID, }, + #endif + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FC, + PCI_ANY_ID, PCI_ANY_ID, }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FCOE, + PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FC_VF, +-- +2.43.5 + diff --git a/0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch b/0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch new file mode 100644 index 000000000..224ae2c44 --- /dev/null +++ b/0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch @@ -0,0 +1,25 @@ +From 03c58c504f05b1682b29686a5783338a4bb1e9ad Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:43:03 +0000 +Subject: [PATCH 06/10] Bring back deprecated pci ids to qla4xxx driver + +--- + drivers/scsi/qla4xxx/ql4_os.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c +index 7f0cef737..3b6005f55 100644 +--- a/drivers/scsi/qla4xxx/ql4_os.c ++++ b/drivers/scsi/qla4xxx/ql4_os.c +@@ -9865,7 +9865,7 @@ static struct pci_device_id qla4xxx_pci_tbl[] = { + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + { + .vendor = PCI_VENDOR_ID_QLOGIC, + .device = PCI_DEVICE_ID_QLOGIC_ISP8022, +-- +2.43.5 + diff --git a/0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch b/0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch new file mode 100644 index 000000000..ca0b06e41 --- /dev/null +++ b/0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch @@ -0,0 +1,25 @@ +From c4966c5288bd0cfc3c25526364c6332914131596 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:43:41 +0000 +Subject: [PATCH 07/10] Bring back deprecated pci ids to be2iscsi driver + +--- + drivers/scsi/be2iscsi/be_main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c +index a54ea7cf7..46833f122 100644 +--- a/drivers/scsi/be2iscsi/be_main.c ++++ b/drivers/scsi/be2iscsi/be_main.c +@@ -387,7 +387,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc) + + /*------------------- PCI Driver operations and data ----------------- */ + static const struct pci_device_id beiscsi_pci_id_table[] = { +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID1) }, + { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) }, + { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) }, +-- +2.43.5 + diff --git a/0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch b/0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch new file mode 100644 index 000000000..393977540 --- /dev/null +++ b/0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch @@ -0,0 +1,34 @@ +From e5609c1f01d0d018484e4d517c725fab3e1bd723 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:48:24 +0000 +Subject: [PATCH 08/10] Bring back deprecated pci ids to megaraid_sas driver + +--- + drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c +index bf57fd3b9..0eaed98ac 100644 +--- a/drivers/scsi/megaraid/megaraid_sas_base.c ++++ b/drivers/scsi/megaraid/megaraid_sas_base.c +@@ -149,7 +149,7 @@ megasas_set_ld_removed_by_fw(struct megasas_instance *instance); + */ + static struct pci_device_id megasas_pci_table[] = { + +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1064R)}, + /* xscale IOP */ + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078R)}, +@@ -165,7 +165,7 @@ static struct pci_device_id megasas_pci_table[] = { + /* skinny*/ + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS0071SKINNY)}, + /* skinny*/ +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_VERDE_ZCR)}, + /* xscale IOP, vega */ + {PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)}, +-- +2.43.5 + diff --git a/0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch b/0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch new file mode 100644 index 000000000..62c8a003e --- /dev/null +++ b/0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch @@ -0,0 +1,34 @@ +From cf4290fb89163ec4eb55e682063972035f40c648 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:49:54 +0000 +Subject: [PATCH 09/10] Bring back deprecated pci ids to mpt3sas driver + +--- + drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c +index 21af6aff1..7f8add3e6 100644 +--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c ++++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c +@@ -12575,7 +12575,7 @@ scsih_pci_mmio_enabled(struct pci_dev *pdev) + * The pci device ids are defined in mpi/mpi2_cnfg.h. + */ + static const struct pci_device_id mpt3sas_pci_table[] = { +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + /* Spitfire ~ 2004 */ + { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2004, + PCI_ANY_ID, PCI_ANY_ID }, +@@ -12619,7 +12619,7 @@ static const struct pci_device_id mpt3sas_pci_table[] = { + PCI_ANY_ID, PCI_ANY_ID }, + { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SWITCH_MPI_EP_1, + PCI_ANY_ID, PCI_ANY_ID }, +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + /* SSS6200 */ + { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SSS6200, + PCI_ANY_ID, PCI_ANY_ID }, +-- +2.43.5 + diff --git a/0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch b/0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch new file mode 100644 index 000000000..45dbec0fc --- /dev/null +++ b/0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch @@ -0,0 +1,25 @@ +From c462f778d114958a05afed7f5ba199417fbc7f1a Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 8 Aug 2024 16:50:33 +0000 +Subject: [PATCH 10/10] Bring back deprecated pci ids to aacraid driver + +--- + drivers/scsi/aacraid/linit.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c +index 90a6070a1..e6d12db09 100644 +--- a/drivers/scsi/aacraid/linit.c ++++ b/drivers/scsi/aacraid/linit.c +@@ -77,7 +77,7 @@ char aac_driver_version[] = AAC_DRIVER_FULL_VERSION; + * Note: The last field is used to index into aac_drivers below. + */ + static const struct pci_device_id aac_pci_tbl[] = { +-#ifndef CONFIG_RHEL_DIFFERENCES ++#ifndef CONFIG_ALMALINUX_DIFFERENCES + { 0x1028, 0x0001, 0x1028, 0x0001, 0, 0, 0 }, /* PERC 2/Si (Iguana/PERC2Si) */ + { 0x1028, 0x0002, 0x1028, 0x0002, 0, 0, 1 }, /* PERC 3/Di (Opal/PERC3Di) */ + { 0x1028, 0x0003, 0x1028, 0x0003, 0, 0, 2 }, /* PERC 3/Si (SlimFast/PERC3Si */ +-- +2.43.5 + diff --git a/Module.kabi_dup_x86_64_v2 b/Module.kabi_dup_x86_64_v2 new file mode 120000 index 000000000..c7754a2d9 --- /dev/null +++ b/Module.kabi_dup_x86_64_v2 @@ -0,0 +1 @@ +Module.kabi_dup_x86_64 \ No newline at end of file diff --git a/Module.kabi_x86_64_v2 b/Module.kabi_x86_64_v2 new file mode 120000 index 000000000..eec7038ed --- /dev/null +++ b/Module.kabi_x86_64_v2 @@ -0,0 +1 @@ +Module.kabi_x86_64 \ No newline at end of file diff --git a/almalinuxdup1.x509 b/almalinuxdup1.x509 new file mode 100644 index 000000000..29720140f Binary files /dev/null and b/almalinuxdup1.x509 differ diff --git a/almalinuxima.x509 b/almalinuxima.x509 new file mode 100644 index 000000000..3b888cf45 Binary files /dev/null and b/almalinuxima.x509 differ diff --git a/almalinuximaca1.x509 b/almalinuximaca1.x509 new file mode 100644 index 000000000..473d80d01 Binary files /dev/null and b/almalinuximaca1.x509 differ diff --git a/almalinuxkpatch1.x509 b/almalinuxkpatch1.x509 new file mode 100644 index 000000000..129261029 Binary files /dev/null and b/almalinuxkpatch1.x509 differ diff --git a/kernel-aarch64-64k-debug-rhel.config b/kernel-aarch64-64k-debug-rhel.config index f73144d37..06878847f 100644 --- a/kernel-aarch64-64k-debug-rhel.config +++ b/kernel-aarch64-64k-debug-rhel.config @@ -586,8 +586,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SR_THERMAL is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3833,12 +3833,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set +CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-aarch64-64k-rhel.config b/kernel-aarch64-64k-rhel.config index abeef6752..2d003b074 100644 --- a/kernel-aarch64-64k-rhel.config +++ b/kernel-aarch64-64k-rhel.config @@ -586,8 +586,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SR_THERMAL is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3812,12 +3812,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set +CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-aarch64-debug-rhel.config b/kernel-aarch64-debug-rhel.config index 357ea9d44..c51c41f3b 100644 --- a/kernel-aarch64-debug-rhel.config +++ b/kernel-aarch64-debug-rhel.config @@ -584,8 +584,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SR_THERMAL is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3830,12 +3830,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set +CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-aarch64-rhel.config b/kernel-aarch64-rhel.config index 919fb9dee..12b2a3078 100644 --- a/kernel-aarch64-rhel.config +++ b/kernel-aarch64-rhel.config @@ -584,8 +584,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SR_THERMAL is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3809,12 +3809,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set +CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-aarch64-rt-debug-rhel.config b/kernel-aarch64-rt-debug-rhel.config index 8a59e4c70..53c2691f0 100644 --- a/kernel-aarch64-rt-debug-rhel.config +++ b/kernel-aarch64-rt-debug-rhel.config @@ -584,8 +584,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SR_THERMAL is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3870,12 +3870,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set +CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-aarch64-rt-rhel.config b/kernel-aarch64-rt-rhel.config index 674588856..7c42f43b9 100644 --- a/kernel-aarch64-rt-rhel.config +++ b/kernel-aarch64-rt-rhel.config @@ -584,8 +584,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SR_THERMAL is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3849,12 +3849,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set +CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-ppc64le-debug-rhel.config b/kernel-ppc64le-debug-rhel.config index 9239c5801..b69826753 100644 --- a/kernel-ppc64le-debug-rhel.config +++ b/kernel-ppc64le-debug-rhel.config @@ -437,8 +437,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3499,12 +3499,12 @@ CONFIG_MISC_RTSX_PCI=m CONFIG_MISC_RTSX_USB=m CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-ppc64le-rhel.config b/kernel-ppc64le-rhel.config index eac1ace50..17e9eb01b 100644 --- a/kernel-ppc64le-rhel.config +++ b/kernel-ppc64le-rhel.config @@ -437,8 +437,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3479,12 +3479,12 @@ CONFIG_MISC_RTSX_PCI=m CONFIG_MISC_RTSX_USB=m CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-s390x-debug-rhel.config b/kernel-s390x-debug-rhel.config index b5064cd3e..0bfcf5ae1 100644 --- a/kernel-s390x-debug-rhel.config +++ b/kernel-s390x-debug-rhel.config @@ -436,8 +436,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set # CONFIG_BE2ISCSI is not set -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3480,12 +3480,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MISC_RTSX_USB=m CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-s390x-rhel.config b/kernel-s390x-rhel.config index 1d6634aa3..24ed89d86 100644 --- a/kernel-s390x-rhel.config +++ b/kernel-s390x-rhel.config @@ -436,8 +436,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set # CONFIG_BE2ISCSI is not set -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3460,12 +3460,12 @@ CONFIG_MISC_FILESYSTEMS=y CONFIG_MISC_RTSX_USB=m CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-s390x-zfcpdump-rhel.config b/kernel-s390x-zfcpdump-rhel.config index af7c5766c..d156dc4e0 100644 --- a/kernel-s390x-zfcpdump-rhel.config +++ b/kernel-s390x-zfcpdump-rhel.config @@ -437,8 +437,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set # CONFIG_BE2ISCSI is not set -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3469,12 +3469,12 @@ CONFIG_MIGRATION=y CONFIG_MISC_RTSX_USB=m CONFIG_MITIGATION_RFDS=y CONFIG_MITIGATION_SPECTRE_BHI=y -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-x86_64-debug-rhel.config b/kernel-x86_64-debug-rhel.config index 8804678ee..ba5057f9e 100644 --- a/kernel-x86_64-debug-rhel.config +++ b/kernel-x86_64-debug-rhel.config @@ -465,8 +465,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3709,12 +3709,12 @@ CONFIG_MITIGATION_SPECTRE_BHI=y CONFIG_MITIGATION_SRSO=y CONFIG_MITIGATION_UNRET_ENTRY=y # CONFIG_MK8 is not set -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-x86_64-rhel.config b/kernel-x86_64-rhel.config index 8d9b8abdf..db26836fa 100644 --- a/kernel-x86_64-rhel.config +++ b/kernel-x86_64-rhel.config @@ -465,8 +465,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3689,12 +3689,12 @@ CONFIG_MITIGATION_SPECTRE_BHI=y CONFIG_MITIGATION_SRSO=y CONFIG_MITIGATION_UNRET_ENTRY=y # CONFIG_MK8 is not set -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-x86_64-rt-debug-rhel.config b/kernel-x86_64-rt-debug-rhel.config index f5bdf3a78..a0dbd1b38 100644 --- a/kernel-x86_64-rt-debug-rhel.config +++ b/kernel-x86_64-rt-debug-rhel.config @@ -465,8 +465,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3749,12 +3749,12 @@ CONFIG_MITIGATION_SPECTRE_BHI=y CONFIG_MITIGATION_SRSO=y CONFIG_MITIGATION_UNRET_ENTRY=y # CONFIG_MK8 is not set -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-x86_64-rt-rhel.config b/kernel-x86_64-rt-rhel.config index 25fbd5abe..d93ee68c7 100644 --- a/kernel-x86_64-rt-rhel.config +++ b/kernel-x86_64-rt-rhel.config @@ -465,8 +465,8 @@ CONFIG_BCMGENET=m # CONFIG_BCM_SBA_RAID is not set # CONFIG_BCM_VK is not set CONFIG_BE2ISCSI=m -# CONFIG_BE2NET_BE2 is not set -# CONFIG_BE2NET_BE3 is not set +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y CONFIG_BE2NET_HWMON=y CONFIG_BE2NET_LANCER=y CONFIG_BE2NET=m @@ -3729,12 +3729,12 @@ CONFIG_MITIGATION_SPECTRE_BHI=y CONFIG_MITIGATION_SRSO=y CONFIG_MITIGATION_UNRET_ENTRY=y # CONFIG_MK8 is not set -# CONFIG_MLX4_CORE_GEN2 is not set -# CONFIG_MLX4_CORE is not set +CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN_DCB=y -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_INFINIBAND is not set +CONFIG_MLX4_EN=m +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_CORE_EN_DCB=y diff --git a/kernel-x86_64_v2-debug-rhel.config b/kernel-x86_64_v2-debug-rhel.config new file mode 120000 index 000000000..8f1356af7 --- /dev/null +++ b/kernel-x86_64_v2-debug-rhel.config @@ -0,0 +1 @@ +kernel-x86_64-debug-rhel.config \ No newline at end of file diff --git a/kernel-x86_64_v2-rhel.config b/kernel-x86_64_v2-rhel.config new file mode 120000 index 000000000..3889be209 --- /dev/null +++ b/kernel-x86_64_v2-rhel.config @@ -0,0 +1 @@ +kernel-x86_64-rhel.config \ No newline at end of file diff --git a/kernel-x86_64_v2-rt-debug-rhel.config b/kernel-x86_64_v2-rt-debug-rhel.config new file mode 120000 index 000000000..87a414524 --- /dev/null +++ b/kernel-x86_64_v2-rt-debug-rhel.config @@ -0,0 +1 @@ +kernel-x86_64-rt-debug-rhel.config \ No newline at end of file diff --git a/kernel-x86_64_v2-rt-rhel.config b/kernel-x86_64_v2-rt-rhel.config new file mode 120000 index 000000000..71fcdaa4c --- /dev/null +++ b/kernel-x86_64_v2-rt-rhel.config @@ -0,0 +1 @@ +kernel-x86_64-rt-rhel.config \ No newline at end of file diff --git a/kernel.spec b/kernel.spec index 4718f6061..53b828882 100644 --- a/kernel.spec +++ b/kernel.spec @@ -4,7 +4,9 @@ # here before the %%install macro is pre-built. # Disable frame pointers +%if 0%{?almalinux} < 10 %undefine _include_frame_pointers +%endif # Disable LTO in userspace packages. %global _lto_cflags %{nil} @@ -451,14 +453,14 @@ Summary: The Linux kernel %define with_selftests 0 %endif -%ifnarch noarch +%ifnarch aarch64 %define with_kernel_abi_stablelists 0 %endif # Overrides for generic default options # only package docs noarch -%ifnarch noarch +%ifnarch aarch64 %define with_doc 0 %define doc_build_fail true %endif @@ -520,6 +522,12 @@ Summary: The Linux kernel %define kernel_image arch/x86/boot/bzImage %endif +%ifarch x86_64_v2 +%define hdrarch x86_64 +%define asmarch x86 +%define kernel_image arch/x86/boot/bzImage +%endif + %ifarch ppc64le %define asmarch powerpc %define hdrarch powerpc @@ -647,7 +655,7 @@ Release: %{pkg_release} %if 0%{?fedora} ExclusiveArch: noarch x86_64 s390x aarch64 ppc64le %else -ExclusiveArch: noarch i386 i686 x86_64 s390x aarch64 ppc64le +ExclusiveArch: noarch i386 i686 x86_64 s390x aarch64 ppc64le x86_64_v2 %endif ExclusiveOS: Linux %ifnarch %{nobuildarches} @@ -888,6 +896,9 @@ Source33: %{name}-x86_64-debug-rhel.config Source34: def_variants.yaml.rhel +Source35: %{name}-x86_64_v2-rhel.config +Source36: %{name}-x86_64_v2-debug-rhel.config + Source41: x509.genkey.centos # ARM64 64K page-size kernel config Source42: %{name}-aarch64-64k-rhel.config @@ -930,13 +941,13 @@ Source87: flavors Source151: uki_create_addons.py Source152: uki_addons.json -Source100: rheldup3.x509 -Source101: rhelkpatch1.x509 +Source100: almalinuxdup1.x509 +Source101: almalinuxkpatch1.x509 Source102: nvidiagpuoot001.x509 -Source103: rhelimaca1.x509 -Source104: rhelima.x509 -Source105: rhelima_centos.x509 -Source106: fedoraimaca.x509 +Source103: almalinuximaca1.x509 +Source104: almalinuxima.x509 +Source105: almalinuxima.x509 +Source106: almalinuxima.x509 %if 0%{?fedora}%{?eln} %define ima_ca_cert %{SOURCE106} @@ -961,11 +972,13 @@ Source201: Module.kabi_aarch64 Source202: Module.kabi_ppc64le Source203: Module.kabi_s390x Source204: Module.kabi_x86_64 +Source205: Module.kabi_x86_64_v2 Source210: Module.kabi_dup_aarch64 Source211: Module.kabi_dup_ppc64le Source212: Module.kabi_dup_s390x Source213: Module.kabi_dup_x86_64 +Source214: Module.kabi_dup_x86_64_v2 Source300: kernel-abi-stablelists-%{kabiversion}.tar.xz Source301: kernel-kabi-dw-%{kabiversion}.tar.xz @@ -976,6 +989,8 @@ Source474: %{name}-aarch64-rt-rhel.config Source475: %{name}-aarch64-rt-debug-rhel.config Source476: %{name}-x86_64-rt-rhel.config Source477: %{name}-x86_64-rt-debug-rhel.config +Source478: %{name}-x86_64_v2-rt-rhel.config +Source479: %{name}-x86_64_v2-rt-debug-rhel.config %endif # Sources for kernel-tools @@ -1001,6 +1016,18 @@ Source4002: gating.yaml Patch1: patch-%{patchversion}-redhat.patch %endif +# Bring back deprecated PCI ids #CFHack #CFHack2024 +Patch2001: 0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch +Patch2002: 0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch +Patch2003: 0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch +Patch2004: 0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch +Patch2005: 0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch +Patch2006: 0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch +Patch2007: 0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch +Patch2008: 0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch +Patch2009: 0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch +Patch2010: 0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch + # empty final patch to facilitate testing of kernel patches Patch999999: linux-kernel-test.patch @@ -1042,6 +1069,7 @@ AutoProv: yes\ %package doc Summary: Various documentation bits found in the kernel source +BuildArch: noarch Group: Documentation %description doc This package contains documentation files from the kernel @@ -1308,11 +1336,12 @@ Summary: gcov graph and source files for coverage data collection.\ %{nil} %package -n %{package_name}-abi-stablelists -Summary: The Red Hat Enterprise Linux kernel ABI symbol stablelists +Summary: The AlmaLinux kernel ABI symbol stablelists +BuildArch: noarch AutoReqProv: no %description -n %{package_name}-abi-stablelists -The kABI package contains information pertaining to the Red Hat Enterprise -Linux kernel ABI, including lists of kernel symbols that are needed by +The kABI package contains information pertaining to the AlmaLinux +kernel ABI, including lists of kernel symbols that are needed by external Linux kernel modules, and a yum plugin to aid enforcement. %if %{with_kabidw_base} @@ -1321,8 +1350,8 @@ Summary: The baseline dataset for kABI verification using DWARF data Group: System Environment/Kernel AutoReqProv: no %description kernel-kabidw-base-internal -The package contains data describing the current ABI of the Red Hat Enterprise -Linux kernel, suitable for the kabi-dw tool. +The package contains data describing the current ABI of the AlmaLinux +kernel, suitable for the kabi-dw tool. %endif # @@ -1421,7 +1450,7 @@ Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1 AutoReq: no\ AutoProv: yes\ %description %{?1:%{1}-}modules-internal\ -This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat internal usage.\ +This package provides kernel modules for the %{?2:%{2} }kernel package for AlmaLinux internal usage.\ %{nil} # @@ -1602,7 +1631,7 @@ Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1 AutoReq: no\ AutoProv: yes\ %description %{?1:%{1}-}modules-partner\ -This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat partners usage.\ +This package provides kernel modules for the %{?2:%{2} }kernel package for AlmaLinux partners usage.\ %{nil} # Now, each variant package. @@ -1840,6 +1869,17 @@ cp -a %{SOURCE1} . %{log_msg "Start of patch applications"} %if !%{nopatches} +ApplyPatch 0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch +ApplyPatch 0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch +ApplyPatch 0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch +ApplyPatch 0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch +ApplyPatch 0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch +ApplyPatch 0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch +ApplyPatch 0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch +ApplyPatch 0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch +ApplyPatch 0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch +ApplyPatch 0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch + ApplyOptionalPatch patch-%{patchversion}-redhat.patch %endif @@ -1976,7 +2016,7 @@ done %if 0%{?rhel} %{log_msg "Adjust FIPS module name for RHEL"} for i in *.config; do - sed -i 's/CONFIG_CRYPTO_FIPS_NAME=.*/CONFIG_CRYPTO_FIPS_NAME="Red Hat Enterprise Linux %{rhel} - Kernel Cryptographic API"/' $i + sed -i 's/CONFIG_CRYPTO_FIPS_NAME=.*/CONFIG_CRYPTO_FIPS_NAME="AlmaLinux %{rhel} - Kernel Cryptographic API"/' $i done %endif @@ -2614,14 +2654,17 @@ BuildKernel() { # RHEL/CentOS specific .SBAT entries %if 0%{?centos} - SBATsuffix="centos" + SBATsuffix="rhel" %else SBATsuffix="rhel" %endif SBAT=$(cat <<- EOF linux,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + linux,1,AlmaLinux,linux,$KernelVer,mailto:security@almalinux.org linux.$SBATsuffix,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + linux.almalinux,1,AlmaLinux,linux,$KernelVer,mailto:security@almalinux.org kernel-uki-virt.$SBATsuffix,1,Red Hat,kernel-uki-virt,$KernelVer,mailto:secalert@redhat.com + kernel-uki-virt,almalinux,1,AlmaLinux,kernel-uki-virt,$KernelVer,mailto:security@almalinux.org EOF ) diff --git a/x509.genkey.centos b/x509.genkey.centos index c91af3b46..4c34491f9 100644 --- a/x509.genkey.centos +++ b/x509.genkey.centos @@ -5,9 +5,9 @@ prompt = no x509_extensions = myexts [ req_distinguished_name ] -O = The CentOS Project -CN = CentOS Stream kernel signing key -emailAddress = security@centos.org +O = AlmaLinux +CN = AlmaLinux kernel signing key +emailAddress = security@almalinux.org [ myexts ] basicConstraints=critical,CA:FALSE diff --git a/x509.genkey.rhel b/x509.genkey.rhel index b1bbe387f..4c34491f9 100644 --- a/x509.genkey.rhel +++ b/x509.genkey.rhel @@ -5,9 +5,9 @@ prompt = no x509_extensions = myexts [ req_distinguished_name ] -O = Red Hat -CN = Red Hat Enterprise Linux kernel signing key -emailAddress = secalert@redhat.com +O = AlmaLinux +CN = AlmaLinux kernel signing key +emailAddress = security@almalinux.org [ myexts ] basicConstraints=critical,CA:FALSE