From f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Fri, 17 Mar 2023 12:58:37 +0100 Subject: kernel 6.2.6 --- SPECS/kernel.spec | 784 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 515 insertions(+), 269 deletions(-) (limited to 'SPECS/kernel.spec') diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 8c18e53..40dc16f 100755 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -3,6 +3,9 @@ # environment changes that affect %%install need to go # here before the %%install macro is pre-built. +# Disable frame pointers +%undefine _include_frame_pointers + # Disable LTO in userspace packages. %global _lto_cflags %{nil} @@ -32,6 +35,18 @@ %global buildroot %{_buildrootdir}/%{NAME}-%{VERSION}-%{RELEASE}.%{_build_cpu} %endif +# RPM macros strip everything in BUILDROOT, either with __strip +# or find-debuginfo.sh. Make use of __spec_install_post override +# and save/restore binaries we want to package as unstripped. +%define buildroot_unstripped %{_builddir}/root_unstripped +%define buildroot_save_unstripped() \ +(cd %{buildroot}; cp -rav --parents -t %{buildroot_unstripped}/ %1 || true) \ +%{nil} +%define __restore_unstripped_root_post \ + echo "Restoring unstripped artefacts %{buildroot_unstripped} -> %{buildroot}" \ + cp -rav %{buildroot_unstripped}/. %{buildroot}/ \ +%{nil} + # The kernel's %%install section is special # Normally the %%install section starts by cleaning up the BUILD_ROOT # like so: @@ -91,6 +106,14 @@ Summary: The Linux kernel %global zipmodules 1 %endif +%ifarch x86_64 +%if 0%{?fedora} > 36 +%global efiuki 1 +%endif +%else +%global efiuki 0 +%endif + %if %{zipmodules} %global zipsed -e 's/\.ko$/\.ko.xz/' %endif @@ -124,17 +147,17 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 %define buildid .fsync -%define specversion 6.1.18 -%define patchversion 6.1 +%define specversion 6.2.6 +%define patchversion 6.2 %define pkgrelease 200 %define kversion 6 -%define tarfile_release 6.1.18 +%define tarfile_release 6.2.6 # This is needed to do merge window version magic -%define patchlevel 1 +%define patchlevel 2 # This allows pkg_release to have configurable %%{?dist} tag %define specrelease 201%{?buildid}%{?dist} # This defines the kabi tarball version -%define kabiversion 6.1.18 +%define kabiversion 6.2.6 # If this variable is set to 1, a bpf selftests build failure will cause a # fatal kernel package build error @@ -478,8 +501,8 @@ Summary: The Linux kernel %define all_arch_configs kernel-%{version}-aarch64*.config %define asmarch arm64 %define hdrarch arm64 -%define make_target Image.gz -%define kernel_image arch/arm64/boot/Image.gz +%define make_target vmlinuz.efi +%define kernel_image arch/arm64/boot/vmlinuz.efi %endif # Should make listnewconfig fail if there's config options @@ -571,6 +594,7 @@ ExclusiveOS: Linux %ifnarch %{nobuildarches} Requires: kernel-core-uname-r = %{KVERREL} Requires: kernel-modules-uname-r = %{KVERREL} +Requires: kernel-modules-core-uname-r = %{KVERREL} %endif @@ -615,6 +639,7 @@ BuildRequires: opencsd-devel >= 1.0.0 %endif %endif %if %{with_tools} +BuildRequires: python3-docutils BuildRequires: gettext ncurses-devel BuildRequires: libcap-devel libcap-ng-devel BuildRequires: libtracefs-devel @@ -633,7 +658,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 @@ -697,6 +722,19 @@ BuildRequires: llvm BuildRequires: lld %endif +%if %{efiuki} +BuildRequires: dracut +# For dracut UEFI uki binaries +BuildRequires: binutils +# For the initrd +BuildRequires: lvm2 +BuildRequires: systemd-boot-unsigned +# For systemd-stub and systemd-pcrphase +BuildRequires: systemd-udev +# For TPM operations in UKI initramfs +BuildRequires: tpm2-tools +%endif + # Because this is the kernel, it's hard to get a single upstream URL # to represent the base without needing to do a bunch of patching. This # tarball is generated from a src-git tree. If you want to see the @@ -824,6 +862,8 @@ Source82: update_scripts.sh Source84: mod-internal.list Source85: mod-partner.list +Source86: dracut-virt.conf + Source100: rheldup3.x509 Source101: rhelkpatch1.x509 @@ -848,7 +888,7 @@ Source2002: kvm_stat.logrotate # Some people enjoy building customized kernels from the dist-git in Fedora and # use this to override configuration options. One day they may all use the # source tree, but in the mean time we carry this to support the legacy workflow -Source3000: merge.pl +Source3000: merge.py Source3001: kernel-local %if %{patchlist_changelog} Source3002: Patchlist.changelog @@ -882,6 +922,7 @@ Patch401: 0001-Revert-PCI-Add-a-REBAR-size-quirk-for-Sapphire-RX-56.patch Patch405: mt76:-mt7921:-Disable-powersave-features-by-default.patch Patch408: 0001-acpi-proc-idle-skip-dummy-wait.patch Patch409: 0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch +Patch410: 0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch %endif @@ -905,6 +946,7 @@ Provides: kernel = %{specversion}-%{pkg_release}\ %endif\ Provides: kernel-%{_target_cpu} = %{specversion}-%{pkg_release}%{?1:+%{1}}\ Provides: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires(pre): %{kernel_prereq}\ Requires(pre): %{initrd_prereq}\ Requires(pre): ((linux-firmware >= 20150904-56.git6ebf5d57) if linux-firmware)\ @@ -1059,7 +1101,7 @@ This package provides debug information for package kernel-tools. %{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/lsgpio(\.debug)?|.*%%{_bindir}/gpio-hammer(\.debug)?|.*%%{_bindir}/gpio-event-mon(\.debug)?|.*%%{_bindir}/gpio-watch(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|.*%%{_bindir}/intel-speed-select(\.debug)?|.*%%{_bindir}/page_owner_sort(\.debug)?|.*%%{_bindir}/slabinfo(\.debug)?|.*%%{_sbindir}/intel_sdsi(\.debug)?|XXX' -o kernel-tools-debuginfo.list} %package -n rtla -Summary: RTLA: Real-Time Linux Analysis tools +Summary: RTLA: Real-Time Linux Analysis tools %description -n rtla The rtla tool is a meta-tool that includes a set of commands that aims to analyze the real-time properties of Linux. But, instead of @@ -1227,6 +1269,7 @@ Provides: installonlypkg(kernel-module)\ Provides: kernel%{?1:-%{1}}-modules-internal-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ AutoReq: no\ AutoProv: yes\ %description %{?1:%{1}-}modules-internal\ @@ -1247,6 +1290,7 @@ Provides: installonlypkg(kernel-module)\ Provides: kernel%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ %if %{-m:1}%{!-m:0}\ Requires: kernel-modules-extra-uname-r = %{KVERREL}\ %endif\ @@ -1269,6 +1313,7 @@ Provides: kernel-modules = %{version}-%{release}%{?1:+%{1}}\ Provides: installonlypkg(kernel-module)\ Provides: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ %if %{-m:1}%{!-m:0}\ Requires: kernel-modules-uname-r = %{KVERREL}\ %endif\ @@ -1278,6 +1323,28 @@ AutoProv: yes\ This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\ %{nil} +# +# This macro creates a kernel--modules-core package. +# %%kernel_modules_core_package [-m] +# +%define kernel_modules_core_package(m) \ +%package %{?1:%{1}-}modules-core\ +Summary: Core kernel modules to match the %{?2:%{2}-}core kernel\ +Provides: kernel%{?1:-%{1}}-modules-core-%{_target_cpu} = %{version}-%{release}\ +Provides: kernel-modules-core-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\ +Provides: kernel-modules-core = %{version}-%{release}%{?1:+%{1}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-core-uname-r = %{KVERREL}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-core\ +This package provides essential kernel modules for the %{?2:%{2}-}core kernel package.\ +%{nil} + # # this macro creates a kernel- meta package. # %%kernel_meta_package @@ -1287,6 +1354,7 @@ This package provides commonly used kernel modules for the %{?2:%{2}-}core kerne summary: kernel meta-package for the %{1} kernel\ Requires: kernel-%{1}-core-uname-r = %{KVERREL}+%{1}\ Requires: kernel-%{1}-modules-uname-r = %{KVERREL}+%{1}\ +Requires: kernel-%{1}-modules-core-uname-r = %{KVERREL}+%{1}\ Provides: installonlypkg(kernel)\ %description %{1}\ The meta-package for the %{1} kernel\ @@ -1304,6 +1372,7 @@ Provides: kernel-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?1:+%{1}}\ Provides: installonlypkg(kernel)\ %if %{-m:1}%{!-m:0}\ Requires: kernel-core-uname-r = %{KVERREL}\ +Requires: kernel-%{?1:%{1}-}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ %endif\ %{expand:%%kernel_reqprovconf %{?1:%{1}} %{-o:%{-o}}}\ %if %{?1:1} %{!?1:0} \ @@ -1312,6 +1381,7 @@ Requires: kernel-core-uname-r = %{KVERREL}\ %{expand:%%kernel_devel_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ %{expand:%%kernel_devel_matched_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ %{expand:%%kernel_modules_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_core_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ %{expand:%%kernel_modules_extra_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ %if %{-m:0}%{!-m:1}\ %{expand:%%kernel_modules_internal_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ @@ -1320,6 +1390,13 @@ Requires: kernel-core-uname-r = %{KVERREL}\ %endif\ %{expand:%%kernel_debuginfo_package %{?1:%{1}}}\ %endif\ +%if %{efiuki}\ +%package %{?1:%{1}-}uki-virt\ +Summary: %{variant_summary} unified kernel image for virtual machines\ +Provides: installonlypkg(kernel)\ +Provides: kernel-%{?1:%{1}-}uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ +%endif\ %{nil} # @@ -1337,6 +1414,7 @@ Provides: installonlypkg(kernel-module)\ Provides: kernel%{?1:-%{1}}-modules-partner-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\ Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{?1:+%{1}}\ AutoReq: no\ AutoProv: yes\ %description %{?1:%{1}-}modules-partner\ @@ -1388,6 +1466,14 @@ Linux operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc. +%if %{efiuki} +%description debug-uki-virt +Prebuilt debug unified kernel image for virtual machines. + +%description uki-virt +Prebuilt default unified kernel image for virtual machines. +%endif + %if %{with_ipaclones} %kernel_ipaclones_package %endif @@ -1475,6 +1561,7 @@ ApplyOptionalPatch 0001-Revert-PCI-Add-a-REBAR-size-quirk-for-Sapphire-RX-56.pat ApplyOptionalPatch mt76:-mt7921:-Disable-powersave-features-by-default.patch ApplyOptionalPatch 0001-acpi-proc-idle-skip-dummy-wait.patch ApplyOptionalPatch 0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch +ApplyOptionalPatch 0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch %endif @@ -1498,6 +1585,7 @@ touch .scmversion # This fixes errors such as # *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly. # We patch all sources below for which we got a report/error. +echo "Fixing Python shebangs..." pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \ tools/kvm/kvm_stat/kvm_stat \ scripts/show_delta \ @@ -1506,7 +1594,7 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \ scripts/jobserver-exec \ tools \ Documentation \ - scripts/clang-tools + scripts/clang-tools 2> /dev/null # only deal with configs if we are going to build for the arch %ifnarch %nobuildarches @@ -1520,7 +1608,7 @@ cd configs # Drop some necessary files from the source dir into the buildroot cp $RPM_SOURCE_DIR/kernel-*.config . cp %{SOURCE80} . -# merge.pl +# merge.py cp %{SOURCE3000} . # kernel-local cp %{SOURCE3001} . @@ -1531,12 +1619,12 @@ FLAVOR=%{primary_target} SPECVERSION=%{version} ./generate_all_configs.sh %{debu for i in %{all_arch_configs} do mv $i $i.tmp - ./merge.pl %{SOURCE3001} $i.tmp > $i + ./merge.py %{SOURCE3001} $i.tmp > $i %if %{with_gcov} echo "Merging with gcov options" cat %{SOURCE75} mv $i $i.tmp - ./merge.pl %{SOURCE75} $i.tmp > $i + ./merge.py %{SOURCE75} $i.tmp > $i %endif rm $i.tmp done @@ -1618,6 +1706,9 @@ cd .. ### %build +rm -rf %{buildroot_unstripped} || true +mkdir -p %{buildroot_unstripped} + %if %{with_sparse} %define sparse_mflags C=1 %endif @@ -2075,7 +2166,7 @@ BuildKernel() { mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer mv vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer ln -s $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux vmlinux - if [ -n "%{vmlinux_decompressor}" ]; then + if [ -n "%{?vmlinux_decompressor}" ]; then eu-readelf -n %{vmlinux_decompressor} | grep "Build ID" | awk '{print $NF}' > vmlinux.decompressor.id # Without build-id the build will fail. But for s390 the build-id # wasn't added before 5.11. In case it is missing prefer not @@ -2188,6 +2279,45 @@ BuildKernel() { touch lib/modules/$KernelVer/modules.builtin fi +%if %{efiuki} + popd + + KernelUnifiedImageDir="$RPM_BUILD_ROOT/lib/modules/$KernelVer" + KernelUnifiedImage="$KernelUnifiedImageDir/$InstallName-virt.efi" + + mkdir -p $KernelUnifiedImageDir + + dracut --conf=%{SOURCE86} \ + --confdir=$(mktemp -d) \ + --verbose \ + --kver "$KernelVer" \ + --kmoddir "$RPM_BUILD_ROOT/lib/modules/$KernelVer/" \ + --logfile=$(mktemp) \ + --uefi \ + --kernel-image $(realpath $KernelImage) \ + --kernel-cmdline 'console=tty0 console=ttyS0' \ + $KernelUnifiedImage + +%if %{signkernel} + + %pesign -s -i $KernelUnifiedImage -o $KernelUnifiedImage.tmp -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} + %pesign -s -i $KernelUnifiedImage.tmp -o $KernelUnifiedImage.signed -a %{secureboot_ca_1} -c %{secureboot_key_1} -n %{pesign_name_1} + rm -f $KernelUnifiedImage.tmp + + if [ ! -s $KernelUnifiedImage.signed ]; then + echo "pesigning failed" + exit 1 + fi + mv $KernelUnifiedImage.signed $KernelUnifiedImage + +# signkernel +%endif + + pushd $RPM_BUILD_ROOT + +# efiuki +%endif + remove_depmod_files # Go back and find all of the various directories in the tree. We use this @@ -2210,13 +2340,9 @@ BuildKernel() { # Make sure the files lists start with absolute paths or rpmbuild fails. # Also add in the dir entries sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/k-d.list > ../kernel${Variant:+-${Variant}}-modules.list - sed -e 's/^lib*/%dir \/lib/' %{?zipsed} $RPM_BUILD_ROOT/module-dirs.list > ../kernel${Variant:+-${Variant}}-core.list - sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/modules.list >> ../kernel${Variant:+-${Variant}}-core.list + sed -e 's/^lib*/%dir \/lib/' %{?zipsed} $RPM_BUILD_ROOT/module-dirs.list > ../kernel${Variant:+-${Variant}}-modules-core.list + sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/modules.list >> ../kernel${Variant:+-${Variant}}-modules-core.list sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-extra.list >> ../kernel${Variant:+-${Variant}}-modules-extra.list - sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-internal.list >> ../kernel${Variant:+-${Variant}}-modules-internal.list -%if 0%{!?fedora:1} - sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-partner.list >> ../kernel${Variant:+-${Variant}}-modules-partner.list -%endif # Cleanup rm -f $RPM_BUILD_ROOT/k-d.list @@ -2379,7 +2505,7 @@ pushd tools/gpio/ popd # build VM tools pushd tools/vm/ -%{tools_make} CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" slabinfo page_owner_sort +%{tools_make} slabinfo page_owner_sort popd pushd tools/tracing/rtla %{tools_make} @@ -2441,6 +2567,7 @@ for dir in bpf bpf/no_alu32 bpf/progs; do -name '*.o' -exec sh -c 'readelf -h "{}" | grep -q "^ Machine:.*BPF"' \; \) -print0 | \ xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true done +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" popd export -n BPFTOOL %endif @@ -2454,16 +2581,10 @@ chmod -R a=rX Documentation find Documentation -type d | xargs chmod u+w %endif -# In the modsign case, we do 3 things. 1) We check the "variant" and hard -# code the value in the following invocations. This is somewhat sub-optimal -# but we're doing this inside of an RPM macro and it isn't as easy as it -# could be because of that. 2) We restore the .tmp_versions/ directory from -# the one we saved off in BuildKernel above. This is to make sure we're -# signing the modules we actually built/installed in that variant. 3) We -# grab the arch and invoke mod-sign.sh command to actually sign the modules. +# Module signing (modsign) # -# We have to do all of those things _after_ find-debuginfo runs, otherwise -# that will strip the signature off of the modules. +# This must be run _after_ find-debuginfo.sh runs, otherwise that will strip +# the signature off of the modules. # # Don't sign modules for the zfcpdump variant as it is monolithic. @@ -2480,7 +2601,8 @@ find Documentation -type d | xargs chmod u+w fi \ fi \ if [ "%{zipmodules}" -eq "1" ]; then \ - find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -P${RPM_BUILD_NCPUS} -r xz; \ + echo "Compressing kernel modules ..." \ + find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -n 16 -P${RPM_BUILD_NCPUS} -r xz; \ fi \ %{nil} @@ -2522,6 +2644,7 @@ find Documentation -type d | xargs chmod u+w %{__arch_install_post}\ %{__os_install_post}\ %{__remove_unwanted_dbginfo_install_post}\ + %{__restore_unstripped_root_post}\ %{__modsign_install_post} ### @@ -2876,6 +2999,21 @@ if [ -f %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{? fi\ %{nil} +# +# This macro defines a %%post script for a kernel*-modules-core package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_core_post [] +# +# FIXME: /bin/kernel-install can't handle UKIs (yet), so cleanup depmod files in %postun for now. +# +%define kernel_modules_core_post() \ +%{expand:%%posttrans %{?1:%{1}-}modules-core}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-core}\ +rm -f /lib/modules/%{KVERREL}%{?1:+%{1}}/modules.*\ +%{nil} + # This macro defines a %%posttrans script for a kernel package. # %%kernel_variant_posttrans [] # More text can follow to go at the end of this variant's %%post. @@ -2904,6 +3042,7 @@ fi\ %define kernel_variant_post(v:r:) \ %{expand:%%kernel_devel_post %{?-v*}}\ %{expand:%%kernel_modules_post %{?-v*}}\ +%{expand:%%kernel_modules_core_post %{?-v*}}\ %{expand:%%kernel_modules_extra_post %{?-v*}}\ %{expand:%%kernel_modules_internal_post %{?-v*}}\ %if 0%{!?fedora:1}\ @@ -2920,6 +3059,20 @@ mkdir -p %{_localstatedir}/lib/rpm-state/%{name}\ touch %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?-v:+%{-v*}}\ %{nil} +# +# This macro defines scripts for a kernel*-uki-virt package +# +# FIXME: /bin/kernel-install can't handle UKIs (yet), so just cp/rm as temporary stop-gap +# +%define kernel_uki_virt_scripts() \ +%{expand:%%posttrans %{?1:%{1}-}uki-virt}\ +mkdir -p /boot/efi/EFI/Linux\ +cp /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz-virt.efi /boot/efi/EFI/Linux/vmlinuz-%{KVERREL}%{?1:+%{1}}-virt.efi\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}uki-virt}\ +rm -f /boot/efi/EFI/Linux/vmlinuz-%{KVERREL}%{?1:+%{1}}-virt.efi\ +%{nil} + # # This macro defines a %%preun script for a kernel package. # %%kernel_variant_preun @@ -2933,6 +3086,10 @@ then\ fi\ %{nil} +%if %{efiuki} +%kernel_uki_virt_scripts +%endif + %kernel_variant_preun %kernel_variant_post -r kernel-smp @@ -2942,6 +3099,9 @@ fi\ %endif %if %{with_debug} +%if %{efiuki} +%kernel_uki_virt_scripts debug +%endif %kernel_variant_preun debug %kernel_variant_post -v debug %endif @@ -3134,7 +3294,7 @@ fi # %define kernel_variant_files(k:) \ %if %{2}\ -%{expand:%%files -f kernel-%{?3:%{3}-}core.list %{?1:-f kernel-%{?3:%{3}-}ldsoconf.list} %{?3:%{3}-}core}\ +%{expand:%%files %{?1:-f kernel-%{?3:%{3}-}ldsoconf.list} %{?3:%{3}-}core}\ %{!?_licensedir:%global license %%doc}\ %license linux-%{KVERREL}/COPYING-%{version}-%{release}\ /lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}\ @@ -3152,6 +3312,7 @@ fi %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}\ %dir /lib/modules\ %dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ %dir /lib/modules/%{KVERREL}%{?3:+%{3}}/kernel\ @@ -3172,15 +3333,22 @@ fi %{expand:%%files %{?3:%{3}-}devel-matched}\ %{expand:%%files -f kernel-%{?3:%{3}-}modules-extra.list %{?3:%{3}-}modules-extra}\ %config(noreplace) /etc/modprobe.d/*-blacklist.conf\ -%{expand:%%files -f kernel-%{?3:%{3}-}modules-internal.list %{?3:%{3}-}modules-internal}\ +%{expand:%%files %{?3:%{3}-}modules-internal}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/internal\ %if 0%{!?fedora:1}\ -%{expand:%%files -f kernel-%{?3:%{3}-}modules-partner.list %{?3:%{3}-}modules-partner}\ +%{expand:%%files %{?3:%{3}-}modules-partner}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/partner\ %endif\ %if %{with_debuginfo}\ %ifnarch noarch\ %{expand:%%files -f debuginfo%{?3}.list %{?3:%{3}-}debuginfo}\ %endif\ %endif\ +%if %{efiuki}\ +%{expand:%%files %{?3:%{3}-}uki-virt}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi\ +%ghost /%{image_install_path}/efi/EFI/Linux/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?3:+%{3}}-virt.efi\ +%endif\ %if %{?3:1} %{!?3:0}\ %{expand:%%files %{3}}\ %endif\ @@ -3195,6 +3363,7 @@ fi %files debug-devel %files debug-devel-matched %files debug-modules +%files debug-modules-core %files debug-modules-extra %endif %kernel_variant_files %{use_vdso} %{with_pae} lpae @@ -3218,78 +3387,317 @@ fi # # %changelog -* Mon Mar 13 2023 Jan Drögehoff - 6.1.18-201.fsync -- kernel-fsync v6.1.18 +* Thu Mar 16 2023 Jan Drögehoff - 6.2.6-201.fsync +- kernel-fsync v6.2.6 + +* Mon Mar 13 2023 Justin M. Forbes [6.2.6-0] +- Add Fedora 37 and 36 to release targets (Justin M. Forbes) +- wifi: cfg80211: Fix use after free for wext (Alexander Wetzel) +- Drop the applypatches for f37 (Justin M. Forbes) +- Linux v6.2.6 -* Sat Mar 11 2023 Justin M. Forbes [6.1.18-0] +* Sat Mar 11 2023 Justin M. Forbes [6.2.5-0] - Revert "wifi: cfg80211: Fix use after free for wext" (Justin M. Forbes) -- Linux v6.1.18 +- Fix up buildReqs for UKI (Justin M. Forbes) +- Linux v6.2.5 -* Fri Mar 10 2023 Augusto Caringi [6.1.16-0] +* Fri Mar 10 2023 Justin M. Forbes [6.2.3-0] - Add new config option for 6.2.3 (Justin M. Forbes) -- Linux v6.1.16 +- Only build the efiuki for F37 and newer (Justin M. Forbes) +- Reset release (Justin M. Forbes) +- Linux v6.2.3 + +* Tue Mar 07 2023 Justin M. Forbes [6.2.2-1] +- Bump for rebuild (Justin M. Forbes) +- iommu/amd: Do not identity map v2 capable device when snp is enabled (Vasant Hegde) +- iommu: Attach device group to old domain in error path (Vasant Hegde) +- iommu/amd: Improve page fault error reporting (Vasant Hegde) +- iommu/amd: Skip attach device domain is same as new domain (Vasant Hegde) +- iommu/amd: Fix error handling for pdev_pri_ats_enable() (Vasant Hegde) +- redhat/kernel.spec.template: Fix RHEL systemd-boot-unsigned dependency (Prarit Bhargava) + +* Fri Mar 03 2023 Justin M. Forbes [6.2.2-0] +- Turn off DEBUG_INFO_COMPRESSED_ZLIB for Fedora (Justin M. Forbes) +- Linux v6.2.2 + +* Sat Feb 25 2023 Justin M. Forbes [6.2.1-0] +- Add UKI revert patch to allow builds on F36 and F37 (Justin M. Forbes) +- Turn E1000 back on (Justin M. Forbes) +- More files for stable Fedora (Justin M. Forbes) +- Update Makefile.variables for stable releases (Justin M. Forbes) +- drivers/firmware: skip simpledrm if nvidia-drm.modeset=1 is set (Javier Martinez Canillas) +- enable efifb for Nvidia (Justin M. Forbes) +- Fix up configs for dropped patches (Justin M. Forbes) +- Reset RHEL_RELEASE to 0 for the 6.3 cycle (Justin M. Forbes) +- redhat/configs: Enable CONFIG_V4L_TEST_DRIVERS related drivers (Enric Balletbo i Serra) +- Linux v6.2.1 + +* Mon Feb 20 2023 Fedora Kernel Team [6.2.0-63] +- Linux v6.2.0 + +* Sun Feb 19 2023 Fedora Kernel Team [6.2.0-0.rc8.925cf0457d7e.62] +- Linux v6.2.0-0.rc8.925cf0457d7e + +* Sat Feb 18 2023 Fedora Kernel Team [6.2.0-0.rc8.38f8ccde04a3.61] +- redhat/configs: Enable UCSI_CCG support (David Marlin) +- Linux v6.2.0-0.rc8.38f8ccde04a3 + +* Fri Feb 17 2023 Fedora Kernel Team [6.2.0-0.rc8.ec35307e18ba.60] +- Linux v6.2.0-0.rc8.ec35307e18ba + +* Thu Feb 16 2023 Fedora Kernel Team [6.2.0-0.rc8.033c40a89f55.59] +- Fix underline mark-up after text change (Justin M. Forbes) +- Turn on CONFIG_XFS_RT for Fedora (Justin M. Forbes) +- Linux v6.2.0-0.rc8.033c40a89f55 + +* Wed Feb 15 2023 Fedora Kernel Team [6.2.0-0.rc8.e1c04510f521.58] +- Consolidate common configs for 6.2 (Justin M. Forbes) +- aarch64: enable zboot (Gerd Hoffmann) +- redhat: remove duplicate pending-rhel config items (Patrick Talbert) +- Disable frame pointers (Justin M. Forbes) +- Linux v6.2.0-0.rc8.e1c04510f521 + +* Tue Feb 14 2023 Fedora Kernel Team [6.2.0-0.rc8.f6feea56f66d.57] +- redhat/configs: update scripts and docs for ark -> rhel rename (Clark Williams) +- redhat/configs: rename ark configs dir to rhel (Clark Williams) +- Turn off CONFIG_DEBUG_INFO_COMPRESSED_ZLIB for ppc64le (Justin M. Forbes) +- kernel.spec: package unstripped kselftests/bpf/test_progs (Jan Stancek) +- kernel.spec: allow to package some binaries as unstripped (Jan Stancek) +- redhat/configs: Make merge.py portable for older python (Desnes Nunes) +- Linux v6.2.0-0.rc8.f6feea56f66d + +* Mon Feb 13 2023 Fedora Kernel Team [6.2.0-0.rc8.56] +- Linux v6.2.0-0.rc8 + +* Sun Feb 12 2023 Fedora Kernel Team [6.2.0-0.rc7.f339c2597ebb.55] +- Linux v6.2.0-0.rc7.f339c2597ebb + +* Sat Feb 11 2023 Fedora Kernel Team [6.2.0-0.rc7.420b2d431d18.54] +- Fedora configs for 6.2 (Justin M. Forbes) +- Linux v6.2.0-0.rc7.420b2d431d18 + +* Fri Feb 10 2023 Fedora Kernel Team [6.2.0-0.rc7.38c1e0c65865.53] +- redhat: Repair ELN build broken by the recent UKI changes (Vitaly Kuznetsov) +- Linux v6.2.0-0.rc7.38c1e0c65865 + +* Wed Feb 08 2023 Fedora Kernel Team [6.2.0-0.rc7.0983f6bf2bfc.52] +- redhat/configs: enable CONFIG_INET_DIAG_DESTROY (Andrea Claudi) +- Enable TDX Guest driver (Vitaly Kuznetsov) +- Linux v6.2.0-0.rc7.0983f6bf2bfc + +* Tue Feb 07 2023 Fedora Kernel Team [6.2.0-0.rc7.05ecb680708a.51] +- redhat/configs: Enable CONFIG_PCIE_PTM generically (Corinna Vinschen) +- redhat: Add sub-RPM with a EFI unified kernel image for virtual machines (Vitaly Kuznetsov) +- Linux v6.2.0-0.rc7.05ecb680708a + +* Mon Feb 06 2023 Fedora Kernel Team [6.2.0-0.rc7.d2d11f342b17.50] +- redhat/Makefile: Remove GIT deprecated message (Prarit Bhargava) +- Revert "redhat: configs: Disable xtables and ipset" (Phil Sutter) +- Linux v6.2.0-0.rc7.d2d11f342b17 + +* Sun Feb 05 2023 Fedora Kernel Team [6.2.0-0.rc6.837c07cf68fe.49] +- Linux v6.2.0-0.rc6.837c07cf68fe + +* Sat Feb 04 2023 Fedora Kernel Team [6.2.0-0.rc6.0136d86b7852.48] +- Linux v6.2.0-0.rc6.0136d86b7852 + +* Fri Feb 03 2023 Fedora Kernel Team [6.2.0-0.rc6.66a87fff1a87.47] +- Linux v6.2.0-0.rc6.66a87fff1a87 + +* Thu Feb 02 2023 Fedora Kernel Team [6.2.0-0.rc6.9f266ccaa2f5.46] +- redhat/configs: Enable CONFIG_SENSORS_LM90 for RHEL (Mark Salter) +- Fix up SQUASHFS decompression configs (Justin M. Forbes) +- redhat/configs: enable CONFIG_OCTEON_EP as a module in ARK (Michal Schmidt) [2041990] +- redhat: ignore rpminspect runpath report on urandom_read selftest binaries (Herton R. Krzesinski) +- kernel.spec: add llvm-devel build requirement (Scott Weaver) +- Update self-test data to not expect debugbuildsenabled 0 (Justin M. Forbes) +- Turn off forced debug builds (Justin M. Forbes) +- Turn on debug builds for aarch64 Fedora (Justin M. Forbes) +- redhat/configs: modify merge.py to match old overrides input (Clark Williams) +- redhat: fixup pylint complaints (Clark Williams) +- redhat: remove merge.pl and references to it (Clark Williams) +- redhat: update merge.py to handle merge.pl corner cases (Clark Williams) +- Revert "redhat: fix elf got hardening for vm tools" (Don Zickus) +- Linux v6.2.0-0.rc6.9f266ccaa2f5 + +* Wed Feb 01 2023 Fedora Kernel Team [6.2.0-0.rc6.c0b67534c95c.45] +- Update rebase notes for Fedora (Justin M. Forbes) +- Update CONFIG_LOCKDEP_CHAINS_BITS to 19 (cmurf) +- Linux v6.2.0-0.rc6.c0b67534c95c + +* Tue Jan 31 2023 Fedora Kernel Team [6.2.0-0.rc6.22b8077d0fce.44] +- Linux v6.2.0-0.rc6.22b8077d0fce + +* Mon Jan 30 2023 Fedora Kernel Team [6.2.0-0.rc6.43] +- Linux v6.2.0-0.rc6 + +* Sun Jan 29 2023 Fedora Kernel Team [6.2.0-0.rc5.c96618275234.42] +- Linux v6.2.0-0.rc5.c96618275234 + +* Sat Jan 28 2023 Fedora Kernel Team [6.2.0-0.rc5.5af6ce704936.41] +- redhat/configs: Turn on CONFIG_SPI_TEGRA210_QUAD for RHEL (Mark Salter) +- ark: aarch64: drop CONFIG_SMC911X (Peter Robinson) +- all: cleanup and de-dupe CDROM_PKTCDVD options. (Peter Robinson) +- all: remove CRYPTO_GF128MUL (Peter Robinson) +- all: cleanup UEFI options (Peter Robinson) +- common: arm64: Enable Ampere Altra SMpro Hardware Monitoring (Peter Robinson) +- fedora: enable STACKPROTECTOR_STRONG (Peter Robinson) +- fedora: enable STACKPROTECTOR on arm platforms (Peter Robinson) +- Linux v6.2.0-0.rc5.5af6ce704936 + +* Thu Jan 26 2023 Fedora Kernel Team [6.2.0-0.rc5.7c46948a6e9c.40] +- redhat/self-test: Update data with ENABLE_WERROR (Prarit Bhargava) +- redhat/Makefile.variables: Add ENABLE_WERROR (Prarit Bhargava) +- makefile: Add -Werror support for RHEL (Prarit Bhargava) +- redhat/Makefile.variables: Remove mention of Makefile.rhpkg (Prarit Bhargava) +- redhat/Makefile.variables: Alphabetize variables (Prarit Bhargava) +- Linux v6.2.0-0.rc5.7c46948a6e9c + +* Wed Jan 25 2023 Fedora Kernel Team [6.2.0-0.rc5.948ef7bb70c4.39] +- gitlab-ci: use CI templates from production branch (Michael Hofmann) +- Linux v6.2.0-0.rc5.948ef7bb70c4 + +* Tue Jan 24 2023 Fedora Kernel Team [6.2.0-0.rc5.7bf70dbb1882.38] +- redhat/kernel.spec.template: Fix internal "File listed twice" errors (Prarit Bhargava) +- redhat: Remove stale .tmp_versions code and comments (Prarit Bhargava) +- redhat/kernel.spec.template: Fix vmlinux_decompressor on !s390x (Prarit Bhargava) +- redhat/kernel.spec.template: Remove unnecessary output from pathfix.py (Prarit Bhargava) +- Modularize CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU (Mark Salter) +- redhat/kernel.spec.template: Parallelize compression (Prarit Bhargava) +- config: Enable Security Path (Ricardo Robaina) +- redhat/self-test/data: Regenerate self-test data for make change (Prarit Bhargava) +- Linux v6.2.0-0.rc5.7bf70dbb1882 + +* Mon Jan 23 2023 Fedora Kernel Team [6.2.0-0.rc5.2475bf0250de.37] +- Linux v6.2.0-0.rc5.2475bf0250de + +* Sun Jan 22 2023 Fedora Kernel Team [6.2.0-0.rc5.36] +- Update module filters for nvmem_u-boot-env (Justin M. Forbes) +- Linux v6.2.0-0.rc5 -* Fri Mar 03 2023 Augusto Caringi [6.1.15-0] -- Linux v6.1.15 +* Sat Jan 21 2023 Fedora Kernel Team [6.2.0-0.rc4.f883675bf652.35] +- fedora: Updates for 6.2 merge (Peter Robinson) +- fedora: Updates for 6.1 merge (Peter Robinson) +- Linux v6.2.0-0.rc4.f883675bf652 -* Sat Feb 25 2023 Justin M. Forbes [6.1.14-0] -- Linux v6.1.14 +* Fri Jan 20 2023 Fedora Kernel Team [6.2.0-0.rc4.d368967cb103.34] +- Linux v6.2.0-0.rc4.d368967cb103 -* Wed Feb 22 2023 Justin M. Forbes [6.1.13-0] -- Linux v6.1.13 +* Thu Jan 19 2023 Fedora Kernel Team [6.2.0-0.rc4.7287904c8771.33] +- modules-core: use %%posttrans (Gerd Hoffmann) +- split sub-rpm kernel-modules-core from kernel-core (Gerd Hoffmann) +- Turn off CONFIG_MTK_T7XX for S390x (Justin M. Forbes) +- CI: add variable for variant handling (Veronika Kabatova) +- Linux v6.2.0-0.rc4.7287904c8771 -* Tue Feb 14 2023 Augusto Caringi [6.1.12-0] -- Linux v6.1.12 +* Wed Jan 18 2023 Fedora Kernel Team [6.2.0-0.rc4.c1649ec55708.32] +- Fix up configs with SND_SOC_NAU8315 mismatch (Justin M. Forbes) +- Linux v6.2.0-0.rc4.c1649ec55708 -* Thu Feb 09 2023 Augusto Caringi [6.1.11-0] -- Linux v6.1.11 +* Tue Jan 17 2023 Fedora Kernel Team [6.2.0-0.rc4.6e50979a9c87.31] +- CI: Do a full build for non-bot runs (Veronika Kabatova) +- Fix up configs with SND_SOC_NAU8315 mismatch (Justin M. Forbes) +- Linux v6.2.0-0.rc4.6e50979a9c87 -* Mon Feb 06 2023 Augusto Caringi [6.1.10-0] -- Linux v6.1.10 +* Mon Jan 16 2023 Fedora Kernel Team [6.2.0-0.rc4.30] +- Linux v6.2.0-0.rc4 -* Wed Feb 01 2023 Augusto Caringi [6.1.9-0] -- Add BugsFixed file with bz entries to be included in updates. (Justin M. Forbes) -- x86/mm: Randomize per-cpu entry area (Peter Zijlstra) -- Update self-test data to not expect debugbuildsenabled 0 (Justin M. Forbes) -- Turn off forced debug builds (Justin M. Forbes) -- Turn on debug builds for aarch64 Fedora (Justin M. Forbes) -- Linux v6.1.9 +* Sun Jan 15 2023 Fedora Kernel Team [6.2.0-0.rc3.7c6984405241.29] +- Linux v6.2.0-0.rc3.7c6984405241 -* Tue Jan 24 2023 Augusto Caringi [6.1.8-0] -- Linux v6.1.8 +* Sat Jan 14 2023 Fedora Kernel Team [6.2.0-0.rc3.97ec4d559d93.28] +- Linux v6.2.0-0.rc3.97ec4d559d93 -* Wed Jan 18 2023 Augusto Caringi [6.1.7-0] -- enable efifb for Nvidia (Justin M. Forbes) -- Linux v6.1.7 +* Fri Jan 13 2023 Fedora Kernel Team [6.2.0-0.rc3.d9fc1511728c.27] +- kernel/rh_messages.c: gcc12 warning on redundant NULL test (Eric Chanudet) [2142658] +- Linux v6.2.0-0.rc3.d9fc1511728c -* Sat Jan 14 2023 Justin M. Forbes [6.1.6-0] -- Linux v6.1.6 +* Thu Jan 12 2023 Fedora Kernel Team [6.2.0-0.rc3.e8f60cd7db24.26] +- Linux v6.2.0-0.rc3.e8f60cd7db24 -* Thu Jan 12 2023 Justin M. Forbes [6.1.5-0] -- KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS (Jim Mattson) -- Update module filters for nvmem_u-boot-env (Justin M. Forbes) -- drivers/firmware: skip simpledrm if nvidia-drm.modeset=1 is set (Javier Martinez Canillas) -- fedora: Updates for 6.1 merge (Peter Robinson) -- Linux v6.1.5 - -* Sat Jan 07 2023 Justin M. Forbes [6.1.4-0] -- brcmfmac: Prefer DT board type over DMI board type (Ivan T. Ivanov) -- Remove the revert patch from F36, as a new pahole is being pushed to stable making it unnecessary (Justin M. Forbes) -- Linux v6.1.4 - -* Wed Jan 04 2023 Justin M. Forbes [6.1.3-0] -- Linux v6.1.3 - -* Sat Dec 31 2022 Justin M. Forbes [6.1.2-0] -- Configs fix up for 6.1.2 (Justin M. Forbes) -- disable enum64 BTF in fedora rawhide (Jiri Olsa) -- Turn on CONFIG_SC_GPUCC_8280XP (Justin M. Forbes) -- Linux v6.1.2 - -* Wed Dec 21 2022 Justin M. Forbes [6.1.1-0] -- ovl: update ->f_iocb_flags when ovl_change_flags() modifies ->f_flags (Al Viro) -- Updates for building stable Fedora (Justin M. Forbes) -- Config fixup for discarded RHEL patches (Justin M. Forbes) +* Wed Jan 11 2023 Fedora Kernel Team [6.2.0-0.rc3.7dd4b804e080.25] +- Linux v6.2.0-0.rc3.7dd4b804e080 + +* Tue Jan 10 2023 Fedora Kernel Team [6.2.0-0.rc3.5a41237ad1d4.24] +- redhat/configs: Enable CRYPTO_CURVE25519 in ark (Prarit Bhargava) +- Linux v6.2.0-0.rc3.5a41237ad1d4 + +* Mon Jan 09 2023 Fedora Kernel Team [6.2.0-0.rc3.1fe4fd6f5cad.23] +- Linux v6.2.0-0.rc3.1fe4fd6f5cad + +* Sun Jan 08 2023 Fedora Kernel Team [6.2.0-0.rc2.9b43a525db12.22] +- Linux v6.2.0-0.rc2.9b43a525db12 + +* Sat Jan 07 2023 Fedora Kernel Team [6.2.0-0.rc2.0a71553536d2.21] +- Linux v6.2.0-0.rc2.0a71553536d2 + +* Fri Jan 06 2023 Fedora Kernel Team [6.2.0-0.rc2.1f5abbd77e2c.20] +- general: arm: cleanup ASPEED options (Peter Robinson) +- redhat/configs: ALSA - cleanups for the AMD Pink Sardine DMIC driver (Jaroslav Kysela) +- Linux v6.2.0-0.rc2.1f5abbd77e2c + +* Thu Jan 05 2023 Fedora Kernel Team [6.2.0-0.rc2.41c03ba9beea.19] +- Linux v6.2.0-0.rc2.41c03ba9beea + +* Tue Jan 03 2023 Fedora Kernel Team [6.2.0-0.rc2.69b41ac87e4a.18] +- redhat/docs: Add FAQ entry for booting between Fedora & ELN/RHEL kernels (Prarit Bhargava) +- Linux v6.2.0-0.rc2.69b41ac87e4a + +* Mon Jan 02 2023 Fedora Kernel Team [6.2.0-0.rc2.17] +- Linux v6.2.0-0.rc2 + +* Sun Jan 01 2023 Fedora Kernel Team [6.2.0-0.rc1.e4cf7c25bae5.16] +- Linux v6.2.0-0.rc1.e4cf7c25bae5 + +* Sat Dec 31 2022 Fedora Kernel Team [6.2.0-0.rc1.c8451c141e07.15] +- Linux v6.2.0-0.rc1.c8451c141e07 + +* Fri Dec 30 2022 Fedora Kernel Team [6.2.0-0.rc1.bff687b3dad6.14] +- Linux v6.2.0-0.rc1.bff687b3dad6 + +* Mon Dec 26 2022 Fedora Kernel Team [6.2.0-0.rc1.13] +- Linux v6.2.0-0.rc1 + +* Sat Dec 24 2022 Fedora Kernel Team [6.2.0-0.rc0.72a85e2b0a1e.12] +- Linux v6.2.0-0.rc0.72a85e2b0a1e + +* Fri Dec 23 2022 Fedora Kernel Team [6.2.0-0.rc0.8395ae05cb5a.11] +- Linux v6.2.0-0.rc0.8395ae05cb5a + +* Thu Dec 22 2022 Fedora Kernel Team [6.2.0-0.rc0.9d2f6060fe4c.10] +- spec: add missing BuildRequires: python3-docutils for tools (Ondrej Mosnacek) +- Linux v6.2.0-0.rc0.9d2f6060fe4c + +* Wed Dec 21 2022 Fedora Kernel Team [6.2.0-0.rc0.b6bb9676f216.9] +- Linux v6.2.0-0.rc0.b6bb9676f216 + +* Tue Dec 20 2022 Fedora Kernel Team [6.2.0-0.rc0.6feb57c2fd7c.8] +- Linux v6.2.0-0.rc0.6feb57c2fd7c + +* Sun Dec 18 2022 Fedora Kernel Team [6.2.0-0.rc0.f9ff5644bcc0.7] +- Linux v6.2.0-0.rc0.f9ff5644bcc0 + +* Sat Dec 17 2022 Fedora Kernel Team [6.2.0-0.rc0.77856d911a8c.6] +- config: enable RCU_TRACE for debug kernels (Wander Lairson Costa) +- Linux v6.2.0-0.rc0.77856d911a8c + +* Fri Dec 16 2022 Fedora Kernel Team [6.2.0-0.rc0.84e57d292203.5] +- Add siphash_kunit and strscpy_kunit to mod-internal.list (Justin M. Forbes) +- Add drm_kunit_helpers to mod-internal.list (Justin M. Forbes) +- Linux v6.2.0-0.rc0.84e57d292203 + +* Thu Dec 15 2022 Fedora Kernel Team [6.2.0-0.rc0.041fae9c105a.4] +- Linux v6.2.0-0.rc0.041fae9c105a + +* Wed Dec 14 2022 Fedora Kernel Team [6.2.0-0.rc0.e2ca6ba6ba01.3] +- Fix up configs for Fedora so we don't have a mismatch (Justin M. Forbes) +- Linux v6.2.0-0.rc0.e2ca6ba6ba01 + +* Wed Dec 14 2022 Fedora Kernel Team [6.2.0-0.rc0.764822972d64.2] +- Turn on CONFIG_SQUASHFS_DECOMP_SINGLE in pending (Justin M. Forbes) +- Trim changelog for 6.2 cycle (Justin M. Forbes) + +* Tue Dec 13 2022 Fedora Kernel Team [6.2.0-0.rc0.764822972d64.1] - Reset RHEL_RELEASE for the 6.2 window. (Justin M. Forbes) - redhat/kernel.spec.template: Fix cpupower file error (Prarit Bhargava) - redhat/configs: aarhc64: clean up some erratum configs (Mark Salter) @@ -3297,227 +3705,82 @@ fi - redhat/configs: make SOC_TEGRA_CBB a module (Mark Salter) - redhat/configs: aarch64: reorganize tegra configs to common dir (Mark Salter) - Enforces buildroot if cross_arm (Nicolas Chauvet) -- Linux v6.1.1 - -* Mon Dec 12 2022 Fedora Kernel Team [6.1.0-65] -- Linux v6.1.0 - -* Sun Dec 11 2022 Fedora Kernel Team [6.1.0-0.rc8.4cee37b3a4e6.64] -- Linux v6.1.0-0.rc8.4cee37b3a4e6 - -* Sat Dec 10 2022 Fedora Kernel Team [6.1.0-0.rc8.3ecc37918c80.63] - Handle automated case when config generation works correctly (Don Zickus) -- Linux v6.1.0-0.rc8.3ecc37918c80 - -* Fri Dec 09 2022 Fedora Kernel Team [6.1.0-0.rc8.0d1409e4ff08.62] - Turn off CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64 (Justin M. Forbes) - Turn off CONFIG_EFI_ZBOOT as it makes CKI choke (Justin M. Forbes) -- Linux v6.1.0-0.rc8.0d1409e4ff08 - -* Thu Dec 08 2022 Fedora Kernel Team [6.1.0-0.rc8.479174d402bc.61] - Fedora config updates for 6.1 (Justin M. Forbes) - redhat: Remove cpupower files (Prarit Bhargava) -- Linux v6.1.0-0.rc8.479174d402bc - -* Wed Dec 07 2022 Fedora Kernel Team [6.1.0-0.rc8.8ed710da2873.60] - redhat/configs: update CXL-related options to match what RHEL will use (John W. Linville) - Clean up the config for the Tegra186 timer (Al Stone) -- Linux v6.1.0-0.rc8.8ed710da2873 - -* Tue Dec 06 2022 Fedora Kernel Team [6.1.0-0.rc8.bce9332220bd.59] - redhat/configs: move CONFIG_TEGRA186_GPC_DMA config (Mark Salter) - Check for kernel config git-push failures (Don Zickus) - redhat: genlog.sh failures should interrupt the recipe (Patrick Talbert) - Turn CONFIG_GNSS back on for Fedora (Justin M. Forbes) - redhat/configs: enable CONFIG_GNSS for RHEL (Michal Schmidt) -- Linux v6.1.0-0.rc8.bce9332220bd - -* Mon Dec 05 2022 Fedora Kernel Team [6.1.0-0.rc8.58] -- Linux v6.1.0-0.rc8 - -* Sun Dec 04 2022 Fedora Kernel Team [6.1.0-0.rc7.c2bf05db6c78.57] -- Linux v6.1.0-0.rc7.c2bf05db6c78 - -* Sat Dec 03 2022 Fedora Kernel Team [6.1.0-0.rc7.97ee9d1c1696.56] - Turn off NVMEM_U_BOOT_ENV for fedora (Justin M. Forbes) - Consolidate matching fedora and ark entries to common (Justin M. Forbes) - Empty out redhat/configs/common (Justin M. Forbes) -- Linux v6.1.0-0.rc7.97ee9d1c1696 - -* Fri Dec 02 2022 Fedora Kernel Team [6.1.0-0.rc7.a4412fdd49dc.55] -- Linux v6.1.0-0.rc7.a4412fdd49dc - -* Thu Dec 01 2022 Fedora Kernel Team [6.1.0-0.rc7.ef4d3ea40565.54] - Adjust path to compressed vmlinux kernel image for s390x (Justin M. Forbes) [2149273] - Fedora config updates for 6.1 (Justin M. Forbes) - redhat: genlog.sh should expect genlog.py in the current directory (Patrick Talbert) -- Linux v6.1.0-0.rc7.ef4d3ea40565 - -* Mon Nov 21 2022 Fedora Kernel Team [6.1.0-0.rc6.46] -- Linux v6.1.0-0.rc6 - -* Sun Nov 20 2022 Fedora Kernel Team [6.1.0-0.rc5.77c51ba552a1.45] -- Linux v6.1.0-0.rc5.77c51ba552a1 - -* Sat Nov 19 2022 Fedora Kernel Team [6.1.0-0.rc5.fe24a97cf254.44] -- Linux v6.1.0-0.rc5.fe24a97cf254 - -* Fri Nov 18 2022 Fedora Kernel Team [6.1.0-0.rc5.84368d882b96.43] +- redhat/configs: consolidate CONFIG_TEST_LIVEPATCH=m (Joe Lawrence) +- redhat/configs: enable CONFIG_TEST_LIVEPATCH=m for s390x (Julia Denham) +- Revert "Merge branch 'ark-make-help' into 'os-build'" (Scott Weaver) +- Remove recommendation to use 'common' for config changes. (Don Zickus) +- Update config to add i3c support for AArch64 (Mark Charlebois) +- redhat: Move cross-compile scripts into their own directory (Prarit Bhargava) +- redhat: Move yaml files into their own directory (Prarit Bhargava) +- redhat: Move update_scripts.sh into redhat/scripts (Prarit Bhargava) +- redhat: Move kernel-tools scripts into their own directory (Prarit Bhargava) +- redhat: Move gen-* scripts into their own directory (Prarit Bhargava) +- redhat: Move mod-* scripts into their own directory (Prarit Bhargava) - redhat/Makefile: Fix RHJOBS grep warning (Prarit Bhargava) -- Linux v6.1.0-0.rc5.84368d882b96 - -* Thu Nov 17 2022 Fedora Kernel Team [6.1.0-0.rc5.cc675d22e422.42] - redhat: Force remove tmp file (Prarit Bhargava) - redhat/configs: ALSA - cleanups for the CentOS 9.2 update (Jaroslav Kysela) - CI: Use CKI container images from quay.io (Veronika Kabatova) - redhat: clean up the partial-kgcov-snip.config file (Patrick Talbert) -- Linux v6.1.0-0.rc5.cc675d22e422 - -* Wed Nov 16 2022 Fedora Kernel Team [6.1.0-0.rc5.59d0d52c30d4.41] -- Linux v6.1.0-0.rc5.59d0d52c30d4 - -* Tue Nov 15 2022 Fedora Kernel Team [6.1.0-0.rc5.e01d50cbd6ee.40] - redhat: avoid picking up stray editor backups when processing configs (Clark Williams) - CI: Remove old configs (Veronika Kabatova) - redhat: override `make help` to include dist-help (Jonathan Toppins) - redhat: make RHTEST stricter (Jonathan Toppins) - redhat: Enable support for SN2201 system (Ivan Vecera) - redhat/docs/index.rst: Add FLAVOR information to generate configs for local builds (Enric Balletbo i Serra) -- Linux v6.1.0-0.rc5.e01d50cbd6ee - -* Mon Nov 14 2022 Fedora Kernel Team [6.1.0-0.rc5.39] -- Linux v6.1.0-0.rc5 - -* Fri Nov 11 2022 Fedora Kernel Team [6.1.0-0.rc4.4bbf3422df78.38] -- Linux v6.1.0-0.rc4.4bbf3422df78 - -* Thu Nov 10 2022 Fedora Kernel Team [6.1.0-0.rc4.f67dd6ce0723.37] - redhat: fix selftest git command so it picks the right commit (Patrick Talbert) -- Linux v6.1.0-0.rc4.f67dd6ce0723 - -* Wed Nov 09 2022 Fedora Kernel Team [6.1.0-0.rc4.f141df371335.36] - redhat/configs: enable HP_WATCHDOG for aarch64 (Mark Salter) - redhat: disable Kfence Kunit Test (Nico Pache) - configs: enable CONFIG_LRU_GEN_ENABLED everywhere (Patrick Talbert) - redhat: Enable WWAN feature and support for Intel, Qualcomm and Mediatek devices (Jose Ignacio Tornos Martinez) - Turn on dln2 support (RHBZ 2110372) (Justin M. Forbes) -- Linux v6.1.0-0.rc4.f141df371335 - -* Tue Nov 08 2022 Fedora Kernel Team [6.1.0-0.rc4.59f2f4b8a757.35] - Enable configs for imx8m PHYs (Al Stone) - configs/fedora: Build some SC7180 clock controllers as modules (Javier Martinez Canillas) - redhat/configs: Disable fbdev drivers and use simpledrm everywhere (Javier Martinez Canillas) [1986223] - redhat: fix the branch we pull from the documentation tree (Herton R. Krzesinski) - redhat/configs: change so watchdog is module versus builtin (Steve Best) -- Linux v6.1.0-0.rc4.59f2f4b8a757 - -* Mon Nov 07 2022 Fedora Kernel Team [6.1.0-0.rc4.34] - redhat/configs: move CONFIG_ACPI_VIDEO to common/generic (Mark Langsdorf) - enable imx8xm I2C configs properly (Al Stone) -- Linux v6.1.0-0.rc4 - -* Sun Nov 06 2022 Fedora Kernel Team [6.1.0-0.rc3.2f5065a0bc9d.33] -- Linux v6.1.0-0.rc3.2f5065a0bc9d - -* Sat Nov 05 2022 Fedora Kernel Team [6.1.0-0.rc3.b208b9fbbcba.32] -- Linux v6.1.0-0.rc3.b208b9fbbcba - -* Fri Nov 04 2022 Fedora Kernel Team [6.1.0-0.rc3.ee6050c8af96.31] -- Linux v6.1.0-0.rc3.ee6050c8af96 - -* Thu Nov 03 2022 Fedora Kernel Team [6.1.0-0.rc3.8e5423e991e8.30] - configs/fedora: Enable a few more drivers needed by the HP X2 Chromebook (Javier Martinez Canillas) - enable the rtc-rv8803 driver on RHEL and Fedora (David Arcari) -- Linux v6.1.0-0.rc3.8e5423e991e8 - -* Wed Nov 02 2022 Fedora Kernel Team [6.1.0-0.rc3.8f71a2b3f435.29] - redhat/Makefile: Remove BUILD_SCRATCH_TARGET (Prarit Bhargava) -- Linux v6.1.0-0.rc3.8f71a2b3f435 - -* Tue Nov 01 2022 Fedora Kernel Team [6.1.0-0.rc3.5aaef24b5c6d.28] -- Linux v6.1.0-0.rc3.5aaef24b5c6d - -* Mon Oct 31 2022 Fedora Kernel Team [6.1.0-0.rc3.27] -- Linux v6.1.0-0.rc3 - -* Sun Oct 30 2022 Fedora Kernel Team [6.1.0-0.rc2.882ad2a2a8ff.26] -- Linux v6.1.0-0.rc2.882ad2a2a8ff - -* Sat Oct 29 2022 Fedora Kernel Team [6.1.0-0.rc2.576e61cea1e4.25] - configs: move CONFIG_INTEL_TDX_GUEST to common directory (Wander Lairson Costa) - redhat/Makefile: Use new BUILD_TARGET for RHEL dist[g]-brew target (Prarit Bhargava) -- Linux v6.1.0-0.rc2.576e61cea1e4 - -* Fri Oct 28 2022 Fedora Kernel Team [6.1.0-0.rc2.23758867219c.24] - redhat: method.py: change the output loop to use 'values' method (Patrick Talbert) - redhat: use 'update' method in merge.py (Patrick Talbert) - redhat: Use a context manager in merge.py for opening the config file for reading (Patrick Talbert) - redhat: automatically strip newlines in merge.py (Clark Williams) - redhat: python replacement for merge.pl (Clark Williams) -- Linux v6.1.0-0.rc2.23758867219c - -* Thu Oct 27 2022 Fedora Kernel Team [6.1.0-0.rc2.b229b6ca5abb.23] - redhat/docs: Update with DISTLOCALVERSION (Prarit Bhargava) -- Linux v6.1.0-0.rc2.b229b6ca5abb - -* Wed Oct 26 2022 Fedora Kernel Team [6.1.0-0.rc2.4dc12f37a8e9.22] - redhat/Makefile: Rename LOCALVERSION to DISTLOCALVERSION (Akihiko Odaki) -- Linux v6.1.0-0.rc2.4dc12f37a8e9 - -* Tue Oct 25 2022 Fedora Kernel Team [6.1.0-0.rc2.1a2dcbdde82e.21] -- Linux v6.1.0-0.rc2.1a2dcbdde82e - -* Mon Oct 24 2022 Fedora Kernel Team [6.1.0-0.rc2.20] -- Linux v6.1.0-0.rc2 - -* Sun Oct 23 2022 Fedora Kernel Team [6.1.0-0.rc1.d47136c28015.19] -- Linux v6.1.0-0.rc1.d47136c28015 - -* Sat Oct 22 2022 Fedora Kernel Team [6.1.0-0.rc1.4da34b7d175d.18] -- Linux v6.1.0-0.rc1.4da34b7d175d - -* Fri Oct 21 2022 Fedora Kernel Team [6.1.0-0.rc1.e35184f32151.17] -- Linux v6.1.0-0.rc1.e35184f32151 - -* Wed Oct 19 2022 Fedora Kernel Team [6.1.0-0.rc1.aae703b02f92.16] - Adjust FIPS module name in RHEL (Vladis Dronov) - spec: prevent git apply from searching for the .git directory (Ondrej Mosnacek) - redhat: Remove parallel_xz.sh (Prarit Bhargava) -- Linux v6.1.0-0.rc1.aae703b02f92 - -* Tue Oct 18 2022 Fedora Kernel Team [6.1.0-0.rc1.bb1a1146467a.15] -- Linux v6.1.0-0.rc1.bb1a1146467a - -* Mon Oct 17 2022 Fedora Kernel Team [6.1.0-0.rc1.14] -- Linux v6.1.0-0.rc1 - -* Sun Oct 16 2022 Fedora Kernel Team [6.1.0-0.rc0.1501278bb7ba.13] -- Linux v6.1.0-0.rc0.1501278bb7ba - -* Sat Oct 15 2022 Fedora Kernel Team [6.1.0-0.rc0.19d17ab7c68b.12] - Turn on Multi-Gen LRU for Fedora (Justin M. Forbes) -- Linux v6.1.0-0.rc0.19d17ab7c68b - -* Fri Oct 14 2022 Fedora Kernel Team [6.1.0-0.rc0.9c9155a3509a.11] - Add kasan_test to mod-internal.list (Justin M. Forbes) - redhat/Makefile.variables: Fix typo with RHDISTGIT_TMP (Prarit Bhargava) - spec: fix path to `installing_core` stamp file for subpackages (Jonathan Lebon) - Remove unused ci scripts (Don Zickus) - Rename rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER in configs (Justin M. Forbes) - redhat: Add new fortify_kunit & is_signed_type_kunit to mod-internal.list (Patrick Talbert) -- Linux v6.1.0-0.rc0.9c9155a3509a - -* Thu Oct 13 2022 Fedora Kernel Team [6.1.0-0.rc0.a185a0995518.10] -- Linux v6.1.0-0.rc0.a185a0995518 - -* Wed Oct 12 2022 Fedora Kernel Team [6.1.0-0.rc0.49da07006239.9] - Rename rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER in pending (Justin M. Forbes) -- Linux v6.1.0-0.rc0.49da07006239 - -* Tue Oct 11 2022 Fedora Kernel Team [6.1.0-0.rc0.60bb8154d1d7.8] -- Linux v6.1.0-0.rc0.60bb8154d1d7 - -* Mon Oct 10 2022 Fedora Kernel Team [6.1.0-0.rc0.493ffd6605b2.7] - Add acpi video to the filter_modules.sh for rhel (Justin M. Forbes) - Change acpi_bus_get_acpi_device to acpi_get_acpi_dev (Justin M. Forbes) - Turn on ACPI_VIDEO for arm (Justin M. Forbes) @@ -3526,29 +3789,11 @@ fi - redhat: fix elf got hardening for vm tools (Frantisek Hrbata) - kernel.spec.template: remove some temporary files early (Ondrej Mosnacek) - kernel.spec.template: avoid keeping two copies of vmlinux (Ondrej Mosnacek) -- Linux v6.1.0-0.rc0.493ffd6605b2 - -* Sun Oct 09 2022 Fedora Kernel Team [6.1.0-0.rc0.a6afa4199d3d.6] -- Linux v6.1.0-0.rc0.a6afa4199d3d - -* Sat Oct 08 2022 Fedora Kernel Team [6.1.0-0.rc0.e8bc52cb8df8.5] -- Linux v6.1.0-0.rc0.e8bc52cb8df8 - -* Fri Oct 07 2022 Fedora Kernel Team [6.1.0-0.rc0.4c86114194e6.4] - Add fortify_kunit to mod-internal.list (Justin M. Forbes) - Add module filters for Fedora as acpi video has new deps (Justin M. Forbes) - One more mismatch (Justin M. Forbes) - Fix up pending for mismatches (Justin M. Forbes) -- Linux v6.1.0-0.rc0.4c86114194e6 - -* Thu Oct 06 2022 Fedora Kernel Team [6.1.0-0.rc0.833477fce7a1.3] -- Linux v6.1.0-0.rc0.833477fce7a1 - -* Wed Oct 05 2022 Fedora Kernel Team [6.1.0-0.rc0.2bca25eaeba6.2] - Trim changelog with the reset (Justin M. Forbes) -- Linux v6.1.0-0.rc0.2bca25eaeba6 - -* Tue Oct 04 2022 Fedora Kernel Team [6.1.0-0.rc0.725737e7c21d.1] - Reset the RHEL_RELEASE in Makefile.rhelver (Justin M. Forbes) - Forgot too remove this from pending, it is set properly in ark (Justin M. Forbes) - redhat/Makefile: Add DIST to git tags for RHEL (Prarit Bhargava) @@ -3670,8 +3915,6 @@ fi - redhat/Makefile: Fix eln BUILD_TARGET (Prarit Bhargava) - redhat/Makefile: Set BUILD_TARGET for dist-brew (Prarit Bhargava) - kernel.spec.template: update (s390x) expoline.o path (Joe Lawrence) -- drm: Prevent drm_copy_field() to attempt copying a NULL pointer (Javier Martinez Canillas) -- drm: Use size_t type for len variable in drm_copy_field() (Javier Martinez Canillas) - fedora: enable BCM_NET_PHYPTP (Peter Robinson) - Fedora 5.19 configs update part 2 (Justin M. Forbes) - redhat/Makefile: Change fedora BUILD_TARGET (Prarit Bhargava) @@ -5081,7 +5324,10 @@ fi - [initial commit] Add scripts (Laura Abbott) - [initial commit] Add configs (Laura Abbott) - [initial commit] Add Makefiles (Laura Abbott) -- Linux v6.1.0-0.rc0.725737e7c21d +- Linux v6.2.0-0.rc0.764822972d64 + +* Mon Dec 12 2022 Fedora Kernel Team [6.1.0-65] +- Linux v6.1.0 ### # The following Emacs magic makes C-c C-e use UTC dates. -- cgit v1.2.3