From 73ba65f5ddbe787a0145bb729225eb7b8a90efba Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 16 Jan 2025 23:47:00 +0300 Subject: [PATCH] Debranding for MSVSphere 10.0 --- .kernel.metadata | 2 - ...led-pci-devices-by-moving-to-unmaint.patch | 95 ++++++++++++++ ...cated-pci-ids-to-mptsas-mptspi-drive.patch | 39 ++++++ ...ck-deprecated-pci-ids-to-hpsa-driver.patch | 46 +++++++ ...deprecated-pci-ids-to-qla2xxx-driver.patch | 40 ++++++ ...ck-deprecated-pci-ids-to-lpfc-driver.patch | 68 ++++++++++ ...deprecated-pci-ids-to-qla4xxx-driver.patch | 25 ++++ ...eprecated-pci-ids-to-be2iscsi-driver.patch | 25 ++++ ...cated-pci-ids-to-megaraid_sas-driver.patch | 34 +++++ ...deprecated-pci-ids-to-mpt3sas-driver.patch | 34 +++++ ...deprecated-pci-ids-to-aacraid-driver.patch | 25 ++++ SOURCES/msvsphereca1.x509 | Bin 0 -> 1115 bytes SOURCES/msvspheredup1.x509 | Bin 0 -> 1149 bytes SOURCES/msvsphereima.x509 | Bin 0 -> 973 bytes SOURCES/msvspherepatch1.x509 | Bin 0 -> 1142 bytes SPECS/kernel.spec | 120 ++++++++++-------- 16 files changed, 496 insertions(+), 57 deletions(-) create mode 100644 SOURCES/0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch create mode 100644 SOURCES/0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch create mode 100644 SOURCES/0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch create mode 100644 SOURCES/0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch create mode 100644 SOURCES/0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch create mode 100644 SOURCES/0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch create mode 100644 SOURCES/0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch create mode 100644 SOURCES/0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch create mode 100644 SOURCES/0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch create mode 100644 SOURCES/0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch create mode 100644 SOURCES/msvsphereca1.x509 create mode 100644 SOURCES/msvspheredup1.x509 create mode 100644 SOURCES/msvsphereima.x509 create mode 100644 SOURCES/msvspherepatch1.x509 diff --git a/.kernel.metadata b/.kernel.metadata index 2bacbc5..c172302 100644 --- a/.kernel.metadata +++ b/.kernel.metadata @@ -3,8 +3,6 @@ eeceea84d94d4aee31c20b202d00454035ac9bc3 SOURCES/kernel-abi-stablelists-6.11.0-0 0254d07178299544f453de49ad6f55058656ef4a SOURCES/kernel-kabi-dw-6.11.0-0.rc5.23.el10.tar.xz 3d05fccce77545e7a68b108bc1a3c04a4fad6976 SOURCES/linux-6.11.0-0.rc5.23.el10.tar.xz 4fff8080e88afffc06d8ef5004db8d53bb21237f SOURCES/nvidiagpuoot001.x509 -ba0b760e594ff668ee72ae348adf3e49b97f75fb SOURCES/redhatsecureboot501.cer -e6f506462069aa17d2e8610503635c20f3a995c3 SOURCES/redhatsecurebootca5.cer 95b9b811c7b0a6c98b2eafc4e7d6d24f2cb63289 SOURCES/rheldup3.x509 99e571f9de4188f3b5fdf1f84ff73f6cc4bb6a0e SOURCES/rhelima.x509 61d5a223ff0c79189505abae77e0087c4b2d2b47 SOURCES/rhelima_centos.x509 diff --git a/SOURCES/0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch b/SOURCES/0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch new file mode 100644 index 0000000..21b936e --- /dev/null +++ b/SOURCES/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/SOURCES/0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch b/SOURCES/0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch new file mode 100644 index 0000000..db9e9d2 --- /dev/null +++ b/SOURCES/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/SOURCES/0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch b/SOURCES/0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch new file mode 100644 index 0000000..fd13593 --- /dev/null +++ b/SOURCES/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/SOURCES/0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch b/SOURCES/0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch new file mode 100644 index 0000000..93c90bf --- /dev/null +++ b/SOURCES/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/SOURCES/0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch b/SOURCES/0005-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch new file mode 100644 index 0000000..ce27ae8 --- /dev/null +++ b/SOURCES/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/SOURCES/0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch b/SOURCES/0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch new file mode 100644 index 0000000..224ae2c --- /dev/null +++ b/SOURCES/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/SOURCES/0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch b/SOURCES/0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch new file mode 100644 index 0000000..ca0b06e --- /dev/null +++ b/SOURCES/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/SOURCES/0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch b/SOURCES/0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch new file mode 100644 index 0000000..3939775 --- /dev/null +++ b/SOURCES/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/SOURCES/0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch b/SOURCES/0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch new file mode 100644 index 0000000..62c8a00 --- /dev/null +++ b/SOURCES/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/SOURCES/0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch b/SOURCES/0010-Bring-back-deprecated-pci-ids-to-aacraid-driver.patch new file mode 100644 index 0000000..45dbec0 --- /dev/null +++ b/SOURCES/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/SOURCES/msvsphereca1.x509 b/SOURCES/msvsphereca1.x509 new file mode 100644 index 0000000000000000000000000000000000000000..e9e1c1917960c6393d81b41f38ed873c1a8f4702 GIT binary patch literal 1115 zcmXqLVhJ~BVzytv%*4pVBoZWEbLPX}*h2l5&UTN>H`xon9zJNm%f_kI=F#?@mywa1 zmBFBKlcA)6I2&^)3p0;^Z*W*}K}Kp(s)DDlqk^-ep`ZajNQ#Sx!_PU`MZw3%*^t|S z6C}hY%oG%A$PY9Q$l>5&^UW_#&M$`vu)_t^4OHP4ax#iZ6sIPa7G;)HI^-6Y6@%^4 z%`es~DmBzH&;S|5&7+8Lg>!0ANoHDRa$-qlex8D3X-P&tNUwpMIIoehp@E^fp^2%1 ziCL65uZe+ysj(rHJ2XAj#HfTEIgG3f%uS5^3s>+i^5%JW(A=E~L> zm7fML-+PJaU6cIb!oTBVtx<^<>lIyVv(AF+kv~stoKshLG_fdh+tCvj7hMbgBJ$~A z`rgH>O7DOA>2X^4)6Nf5n3md{pY8l{;ijJd#}%yQN=2?c<6&gUZTcRjI_t*cqD|7` z?N&Co@?+T!_3XU&{^3`PbyrTR*@W*~zbQQS&AGE8Gc3!`?)bWPiOq7E!`cm(I(O75 z%}QsOc;jHu^UaBhHa!iN89j3El$W+;HHba*QvYTCH#4bI<66ww({@*`e^CxUclywq zQ~$kK-ptr?cIUT7o4>2~G;e(CzAv?JvWW2Iz4vE!|C)R%bk0G&l8~?K+7>EkZo0|D z%*epFIN2c4Ko*!#WcgUcSVYPh@_Qd>-%)>cw}jU2&trW9PO`GXjEw(TSPhtg zlz}`*y)ui0fmj1}9ef}K{2(1Hz?{Q|91Xxc0*nSmhQ(L@^s2_(v`RRf>-g~C&FWSA zg{K$J??1TgO*{2#1xIcCB~ zRX&IN@=kyM>Al3urUU2Xy|#u?5J4bRHPB2moDR9 za%sQonbV(ky0kG$g*=Fme13;Pw1LY#FG_WmVvYN;dq;|!s`zxQyZzM{3)uPu5# vrC-1PHk16am0y?W{V8_t=WChPef4ORXa6{Cz{|#|)#lOmotKf3o0Y+! zal4_Gfd(6MC=0i+qHl0ma6v|DQL2J-YEemMT4r)$NoIbYf@5h(Mt)IdNu{BRff8Il zC!?5XacXiYNWvkvxU3kgRj;VjkRNCZ&_s4&HsAc>``gF$+r|+!PG5D^$K(HRJ%{R><;S!h|4-Yo zp))h;-^LXgUH2;GGM=vxVLag)&BqWj!^pua_PIppxxIVJZKqhQx&0!p@Y22~773O= z9?p6v)pB3N_}sbMN5W5>zi3yq^7YobfbfNZY**RmJPMbRN$c6gx+>t#Bgv~Qe^=~n zeqF#O+4y0#mi?QvpZU+dD{XI|EY0Wg@aL|l!4uze=G{o{%Vfwimz~f&(_ZJ9G$4Cw%T!czi5kEFubm7S`+JUZmdB%sWy&q2AX*{q;TMNC9RfV5BfIG-xL|&hgGqr+WAKgB@cvn1g`P6ylJBl)1y<7Q-bLBPm>#piKzZULL zDF3bWF;cDImyfkf^|kh}c(l_ljf@{=YqK=6SFBvMuW6d#3cil53PA^z HSBU}u309yy literal 0 HcmV?d00001 diff --git a/SOURCES/msvsphereima.x509 b/SOURCES/msvsphereima.x509 new file mode 100644 index 0000000000000000000000000000000000000000..7361aeeae71bc1b3ed7ccd5c8b43def94b5b25b8 GIT binary patch literal 973 zcmXqLVm@im#I$h%GZP~dlStuW{@bw`y9C$rUSG8P(`@5RrA%o9UN%mxHjlRNyo`+8 ztPBQ?n+zol#MzibS(teQe1pS+3o=rRQWZRX9Tl7%4FwJOK~h{i9DdHhE($(A&W79u zoFE}KVWyx^Lw=xfKn@2Fn{R$`a(+2XfE_NNZlDUckdskNqBu3Vv?#Nr(jm9FtQc&U zZho;|QK_MpfdUiEDTD_NenFgR!2$#7TndYdF_$R_VdlspNHN{MWs|u6`7-T%j)~?05h?` zQ@T(1^%gD_o0Yum!?{D5TB|tDIf(b)z9+`v&Xmh-Y1XipSLo}ic@4emPENRXIc~`T zwPh8}Ea&ENif^|IT3lgJX21gsHd$dt#{Vo#1`Gy#ARa%6$HL6S-e4dG;;VxAJO*5B z9NKJ*tgP(J%m%U`aXuC?7Lf@Z66((U4Msm!o36R1k!!v4Yv=<5d62X+i-dt#gGf0; ze(wYAJL<1)-2QU#meAV$d8}{HQYCW}BO`-EmRZEKwZfk~rax;JdBfnWyJVJgL)0X; z->21*{;?=;5`1x`N;Oa9iS~hBb-hU&B^`CoJ$Y&{v*_yIwoTVWjoKzE#53L6_fL0& zN`goAeMdnvzWdWJEH?Av?s!vUw0+)!qWrJ^TXr8Pl+CeFvU%}hZiGWfZJVs~XQumN z?48ol7p}gV#bl8TxWH^ZcexD#F%pnH*L>sbbh<=d-CKL z-?#JE#!d;9_`+o>%y`Y4Ej-{<%`4^2Pv^XCZ&0q|PT};Nu}CSf*=ENR?ryO|R)X&; pvOX<2E_`o;?et?;TfS!XdBw>d{CuNfTjAG!>%VJ7ubr&81^{h=N#+0m literal 0 HcmV?d00001 diff --git a/SOURCES/msvspherepatch1.x509 b/SOURCES/msvspherepatch1.x509 new file mode 100644 index 0000000000000000000000000000000000000000..375fe9be16057692828acaa2a9419f7dc8a5580e GIT binary patch literal 1142 zcmXqLVkt6cVvbtC%*4pVB*^gD@lvhcPAAr_y|XO0thjsLfR~L^tIebBJ1-+6H!Fid z<90(W0}VFjP!?`sMc?4C;DU_QqErRv)S{Biw9MqhlFa-(1;^5ojQpa^l1f7r10}eA zPDU}&;?(3)kc2~Saal1~t6ov5AwSR-po#3lY`*!$$@%3l0S>qTw*enC%u83uPOUU(VpKwoEJjua z<|amd2B0_>QxhX2!^7V4e>KThS1>DFKKEgoR*UqU$Nh}o7nB|T@lM=D;0$lX{nTO| zgNjh$hM)7-ceH!IpK+G$f0Fr6-E%T=wJ$fU@#E(xaQ(k{$&DXZQr}8VUcJX~*}YeD z8oxb@J|1(?z4wv7?Mv|!b|=yTeOKHU`5_;A-%#hvg5SNC)|KCF{m#Tc4U5bw=h^@I zPfP8q=s=S{d;F^Q)h=FN`Cz`L=bf*DCv4|gcB<}94zE$(@ZiUrYM;}4PEPv$p}${v z!>;($jEb*$cOHh@1{|2O(J@*1Kl{mpT8}fPoOD_er!?qJzi-VkUh2KDnx-QNC6v%HX9==D?2kY8yAqp!Z?XTfRV|72N)r;!i35kg{t-Kkvb%w&Wua{JUBM$F;Q|WMOi&yoW zlAUteE7M{&hr4~6F?*V_$0C33wrPtDc(?ceZk}qTIZdVEvT_CM%6IwepT!g;`isWu zlq#)Inw5XPEr^l1_*_q0`UIP=76B}g1s_yRZ<(C2YkBTJ*@w~C#5U*os~d93&azn> z_cKZ>tWdw7G;e*)-k_=f*79U5mD=zpa>LI978~L>+0?!= 9.0-23 -%else -BuildRequires: redhat-sb-certs >= 9.4-0.1 -%endif -%endif +BuildRequires: sphere-sb-certs >= 10.0-0.4 %endif # Because this is the kernel, it's hard to get a single upstream URL @@ -822,9 +816,6 @@ Source0: linux-%{tarfile_release}.tar.xz Source1: Makefile.rhelver Source2: kernel.changelog -Source10: redhatsecurebootca5.cer -Source13: redhatsecureboot501.cer - %if %{signkernel} # Name of the packaged file containing signing key %ifarch ppc64le @@ -834,34 +825,9 @@ Source13: redhatsecureboot501.cer %define signing_key_filename kernel-signing-s390.cer %endif -# Fedora/ELN pesign macro expects to see these cert file names, see: -# https://github.com/rhboot/pesign/blob/main/src/pesign-rpmbuild-helper.in#L216 -%if 0%{?fedora}%{?eln} -%define pesign_name_0 redhatsecureboot501 -%define secureboot_ca_0 %{SOURCE10} -%define secureboot_key_0 %{SOURCE13} -%endif - -# RHEL/centos certs come from system-sb-certs -%if 0%{?rhel} && !0%{?eln} %define secureboot_ca_0 %{_datadir}/pki/sb-certs/secureboot-ca-%{_arch}.cer %define secureboot_key_0 %{_datadir}/pki/sb-certs/secureboot-kernel-%{_arch}.cer - -%if 0%{?centos} -%define pesign_name_0 centossecureboot201 -%else -%ifarch x86_64 aarch64 -%define pesign_name_0 redhatsecureboot501 -%endif -%ifarch s390x -%define pesign_name_0 redhatsecureboot302 -%endif -%ifarch ppc64le -%define pesign_name_0 redhatsecureboot701 -%endif -%endif -# rhel && !eln -%endif +%define pesign_name_0 spheresecureboot001 # signkernel %endif @@ -930,13 +896,13 @@ Source87: flavors Source151: uki_create_addons.py Source152: uki_addons.json -Source100: rheldup3.x509 -Source101: rhelkpatch1.x509 +Source100: msvspheredup1.x509 +Source101: msvspherepatch1.x509 Source102: nvidiagpuoot001.x509 -Source103: rhelimaca1.x509 -Source104: rhelima.x509 -Source105: rhelima_centos.x509 -Source106: fedoraimaca.x509 +Source103: msvsphereca1.x509 +Source104: msvsphereima.x509 +Source105: msvsphereima.x509 +Source106: msvsphereima.x509 %if 0%{?fedora}%{?eln} %define ima_ca_cert %{SOURCE106} @@ -1001,6 +967,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 +1020,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 +1287,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 MSVSphere Linux 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 MSVSphere +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 +1301,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 MSVSphere +kernel, suitable for the kabi-dw tool. %endif # @@ -1421,7 +1401,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 MSVSphere internal usage.\ %{nil} # @@ -1602,7 +1582,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 MSVSphere partners usage.\ %{nil} # Now, each variant package. @@ -1840,6 +1820,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 +1967,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="MSVSphere %{rhel} - Kernel Cryptographic API"/' $i done %endif @@ -2614,14 +2605,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,MSVSphere,$KernelVer,mailto:security@msvsphere-os.ru linux.$SBATsuffix,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + linux.$SBATsuffix,1,MSVSphere,$KernelVer,mailto:security@msvsphere-os.ru kernel-uki-virt.$SBATsuffix,1,Red Hat,kernel-uki-virt,$KernelVer,mailto:secalert@redhat.com + kernel-uki-virt.$SBATsuffix,1,MSVSphere,kernel-uki-virt,$KernelVer,mailto:security@msvsphere-os.ru EOF ) @@ -2654,9 +2648,11 @@ BuildKernel() { %pesign -s -i $KernelUnifiedImage -o $KernelUnifiedImage.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} %else %if 0%{?centos} - UKI_secureboot_name=centossecureboot204 + UKI_secureboot_name=spheresecureboot001 + UKI_secureboot_cert=%{SOURCE151} %else - UKI_secureboot_name=redhatsecureboot504 + UKI_secureboot_name=spheresecureboot001 + UKI_secureboot_cert=%{SOURCE152} %endif UKI_secureboot_cert=%{_datadir}/pki/sb-certs/secureboot-uki-virt-%{_arch}.cer @@ -4100,6 +4096,20 @@ fi\ # # %changelog +* Thu Jan 16 2025 Sergey Cherevko - 6.11.0-0.rc5.23 +- Debranding for MSVSphere 10.0 +- AlmaLinux patches: + * Enable all disabled pci devices by moving to unmaintained list + * Bring back deprecated pci ids to mptsas-mptspi driver + * Bring back deprecated pci ids to hpsa driver + * Bring back deprecated pci ids to qla2xxx driver + * Bring back deprecated pci ids to lpfc driver + * Bring back deprecated pci ids to qla4xxx driver + * Bring back deprecated pci ids to be2iscsi driver + * Bring back deprecated pci ids to megaraid_sas driver + * Bring back deprecated pci ids to mpt3sas driver + * Bring back deprecated pci ids to aacraid driver + * Tue Nov 26 2024 MSVSphere Packaging Team - 6.11.0-0.rc5.23 - Rebuilt for MSVSphere 10