Fix RHEL-36117 and bump release to 553.rt7.342.el8_10

This commit is contained in:
Andrew Lukoshko 2024-05-24 09:43:11 +00:00
parent 4d5bb4bfbe
commit a04dc0a565
2 changed files with 40 additions and 5 deletions

26
SOURCES/RHEL-36117.patch Normal file
View File

@ -0,0 +1,26 @@
diff -Naur linux-4.18.0-552.3.1.el8_10/include/linux/cpuhotplug.h linux-4.18.0-553.4.1.el8_10/include/linux/cpuhotplug.h
--- linux-4.18.0-552.3.1.el8_10/include/linux/cpuhotplug.h 2024-05-11 16:20:25
+++ linux-4.18.0-553.4.1.el8_10/include/linux/cpuhotplug.h 2024-05-15 17:42:15
@@ -151,7 +151,9 @@
* the other CPUHP states are not changed or broken.
*/
RH_KABI_BROKEN_INSERT_ENUM(CPUHP_AP_SCHED_WAIT_EMPTY)
+#if defined(CONFIG_X86) || defined(CONFIG_ARM64)
RH_KABI_BROKEN_INSERT_ENUM(CPUHP_AP_HYPERV_ONLINE)
+#endif
CPUHP_AP_SMPBOOT_THREADS,
RH_KABI_BROKEN_REMOVE_ENUM(CPUHP_AP_X86_VDSO_VMA_ONLINE)
CPUHP_AP_IRQ_AFFINITY_ONLINE,
@@ -165,7 +167,12 @@
CPUHP_AP_PERF_X86_CQM_ONLINE,
CPUHP_AP_PERF_X86_CSTATE_ONLINE,
/* kABI: CPUHP_AP_PERF_X86_IDXD_ONLINE, */
+#if defined(CONFIG_X86) || defined(CONFIG_ARM64)
+ /* Compensate for the addition of CPUHP_AP_HYPERV_ONLINE */
+ RH_KABI_BROKEN_REMOVE_ENUM(CPUHP_AP_PERF_S390_CF_ONLINE)
+#else
CPUHP_AP_PERF_S390_CF_ONLINE,
+#endif
/* kABI: CPUHP_AP_PERF_S390_CFD_ONLINE, */
CPUHP_AP_PERF_S390_SF_ONLINE,
CPUHP_AP_PERF_ARM_CCI_ONLINE,

View File

@ -38,10 +38,11 @@
# define buildid .local
%define specversion 4.18.0
%define pkgrelease 552.rt7.341.el8
%define pkgrelease 553.rt7.342.el8_10
# allow pkg_release to have configurable %%{?dist} tag
%define specrelease 552.rt7.341%{?dist}
%define specrelease 553.rt7.342%{?dist}
%define tarfile_release 552.rt7.341.el8
%define pkg_release %{specrelease}%{?buildid}
@ -433,7 +434,7 @@ BuildRequires: xmlto
BuildRequires: asciidoc
%endif
Source0: linux-%{specversion}-%{pkgrelease}.tar.xz
Source0: linux-%{specversion}-%{tarfile_release}.tar.xz
Source9: x509.genkey
@ -536,6 +537,9 @@ Patch2006: 0006-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch
Patch2007: 0007-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch
Patch2008: 0008-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch
# RHEL-36117 patch that makes difference between 4.18.0-552.rt7.341.el8 and 4.18.0-553.rt7.342.el8_10
Patch2009: RHEL-36117.patch
# END OF PATCH DEFINITIONS
BuildRoot: %{_tmppath}/%{name}-%{KVERREL}-root
@ -1092,8 +1096,8 @@ ApplyOptionalPatch()
fi
}
%setup -q -n %{name}-%{specversion}-%{pkgrelease} -c
mv linux-%{specversion}-%{pkgrelease} linux-%{KVERREL}
%setup -q -n %{name}-%{specversion}-%{tarfile_release} -c
mv linux-%{specversion}-%{tarfile_release} linux-%{KVERREL}
cd linux-%{KVERREL}
@ -1106,6 +1110,8 @@ ApplyPatch 0006-Bring-back-deprecated-pci-ids-to-lpfc-driver.patch
ApplyPatch 0007-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch
ApplyPatch 0008-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch
ApplyPatch RHEL-36117.patch
ApplyOptionalPatch linux-kernel-test.patch
# END OF PATCH APPLICATIONS
@ -2704,6 +2710,9 @@ fi
#
#
%changelog
* Wed May 22 2024 Andrew Lukoshko <alukoshko@almalinux.org> [4.18.0-553.rt7.342.el8_10]
- cpuhotplug: Fix kABI breakage caused by CPUHP_AP_HYPERV_ONLINE (Vitaly Kuznetsov) [RHEL-36117]
* Sun Apr 07 2024 Denys Vlasenko <dvlasenk@redhat.com> [4.18.0-552.rt7.341.el8]
- [rt] build kernel-rt-4.18.0-552.rt7.341.el8 [RHEL-5332]
- i40e: Enforce software interrupt during busy-poll exit (Ivan Vecera) [RHEL-26248]