Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2023-03-13 12:40:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Mon Mar 13 12:40:03 2023 rev:682 rq:1070843 version:6.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2023-03-10 22:06:53.933001102 +0100 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.31432/dtb-aarch64.changes 2023-03-13 12:40:08.787494859 +0100 @@ -1,0 +2,1748 @@ +Sat Mar 11 11:13:45 CET 2023 - [email protected] + +- Linux 6.2.4 (bsc#1012628). +- Revert "blk-cgroup: dropping parent refcount after pd_free_fn() + is done" (bsc#1012628). +- Revert "blk-cgroup: synchronize pd_free_fn() from + blkg_free_workfn() and blkcg_deactivate_policy()" (bsc#1012628). +- commit 0532a55 + +------------------------------------------------------------------- +Sat Mar 11 09:42:58 CET 2023 - [email protected] + +- Update + patches.kernel.org/6.2.3-264-tap-tap_open-correctly-initialize-socket-uid.patch + (bsc#1012628 bsc#1208599 CVE-2023-1076). + Add a CVE reference. +- commit 99340b9 + +------------------------------------------------------------------- +Fri Mar 10 15:12:57 CET 2023 - [email protected] + +- powerpc/mm: Fix false detection of read faults (bsc#1208864). +- commit 6635b6f + +------------------------------------------------------------------- +Fri Mar 10 09:59:40 CET 2023 - [email protected] + +- Linux 6.2.3 (bsc#1012628). +- HID: asus: use spinlock to protect concurrent accesses + (bsc#1012628). +- HID: asus: use spinlock to safely schedule workers + (bsc#1012628). +- iommu/amd: Fix error handling for pdev_pri_ats_enable() + (bsc#1012628). +- iommu/amd: Skip attach device domain is same as new domain + (bsc#1012628). +- iommu/amd: Improve page fault error reporting (bsc#1012628). +- iommu: Attach device group to old domain in error path + (bsc#1012628). +- powerpc/mm: Rearrange if-else block to avoid clang warning + (bsc#1012628). +- ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI + controller" (bsc#1012628). +- ARM: OMAP2+: Fix memory leak in realtime_counter_init() + (bsc#1012628). +- arm64: dts: qcom: qcs404: use symbol names for PCIe resets + (bsc#1012628). +- arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to + wake up (bsc#1012628). +- arm64: dts: qcom: sm6115: Fix UFS node (bsc#1012628). +- arm64: dts: qcom: sm6115: Provide xo clk to rpmcc (bsc#1012628). +- arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k + instead of 4k (bsc#1012628). +- arm64: dts: qcom: pmi8950: Correct rev_1250v channel label to mv + (bsc#1012628). +- arm64: dts: qcom: sm6350: Fix up the ramoops node (bsc#1012628). +- arm64: dts: qcom: sdm670-google-sargo: keep pm660 ldo8 on + (bsc#1012628). +- arm64: dts: qcom: Re-enable resin on MSM8998 and SDM845 boards + (bsc#1012628). +- arm64: dts: qcom: sm8350-sagami: Configure SLG51000 PMIC on + PDX215 (bsc#1012628). +- arm64: dts: qcom: sm8350-sagami: Add GPIO line names for PMIC + GPIOs (bsc#1012628). +- arm64: dts: qcom: sm8350-sagami: Rectify GPIO keys + (bsc#1012628). +- arm64: dts: qcom: sm6350-lena: Flatten gpio-keys pinctrl state + (bsc#1012628). +- arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match + bindings (bsc#1012628). +- arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down) + (bsc#1012628). +- arm64: dts: imx8m: Align SoC unique ID node unit address + (bsc#1012628). +- ARM: zynq: Fix refcount leak in zynq_early_slcr_init + (bsc#1012628). +- fs: dlm: fix return value check in dlm_memory_init() + (bsc#1012628). +- arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY + (bsc#1012628). +- arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock + description (bsc#1012628). +- arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock + description (bsc#1012628). +- arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock + description (bsc#1012628). +- arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock + description (bsc#1012628). +- arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt + pin name (bsc#1012628). +- arm64: dts: qcom: sdm845-xiaomi-beryllium: fix audio codec + interrupt pin name (bsc#1012628). +- x86/acpi/boot: Do not register processors that cannot be + onlined for x2APIC (bsc#1012628). +- arm64: dts: qcom: sc7180: correct SPMI bus address cells + (bsc#1012628). +- arm64: dts: qcom: sc7280: correct SPMI bus address cells + (bsc#1012628). +- arm64: dts: qcom: sc8280xp: correct SPMI bus address cells + (bsc#1012628). +- arm64: dts: qcom: sm8450: correct Soundwire wakeup interrupt + name (bsc#1012628). +- arm64: dts: qcom: sdm845: make DP node follow the schema + (bsc#1012628). +- arm64: dts: qcom: msm8996-oneplus-common: drop vdda-supply + from DSI PHY (bsc#1012628). +- arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers + (bsc#1012628). +- arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node + (bsc#1012628). +- arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name + (bsc#1012628). +- arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names + (bsc#1012628). +- arm64: dts: meson-gx: Fix Ethernet MAC address unit name + (bsc#1012628). +- arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name + (bsc#1012628). +- arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit + address (bsc#1012628). +- cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again* + (bsc#1012628). +- arm64: dts: ti: k3-am62-main: Fix clocks for McSPI + (bsc#1012628). +- arm64: tegra: Fix duplicate regulator on Jetson TX1 + (bsc#1012628). +- arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size + (bsc#1012628). +- arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem + (bsc#1012628). +- arm64: dts: qcom: msm8956: use SoC-specific compat for tsens + (bsc#1012628). +- arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output + names (bsc#1012628). +- arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY (bsc#1012628). +- arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY (bsc#1012628). +- arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges + (bsc#1012628). +- arm64: dts: qcom: ipq8074: fix Gen3 PCIe node (bsc#1012628). +- arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock + names (bsc#1012628). +- arm64: dts: meson: remove CPU opps below 1GHz for G12A boards + (bsc#1012628). +- ARM: OMAP1: call platform_device_put() in error case in + omap1_dm_timer_init() (bsc#1012628). +- arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken + (bsc#1012628). +- ARM: bcm2835_defconfig: Enable the framebuffer (bsc#1012628). +- ARM: s3c: fix s3c64xx_set_timer_source prototype (bsc#1012628). +- arm64: dts: ti: k3-j7200: Fix wakeup pinmux range (bsc#1012628). +- ARM: dts: exynos: correct wr-active property in Exynos3250 + Rinato (bsc#1012628). +- ARM: imx: Call ida_simple_remove() for ida_simple_get + (bsc#1012628). +- arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name + (bsc#1012628). +- arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name + (bsc#1012628). +- arm64: dts: amlogic: meson-gx: add missing SCPI sensors + compatible (bsc#1012628). +- arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply + name of USB controller node (bsc#1012628). +- arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid + clock-names property (bsc#1012628). +- arm64: dts: amlogic: meson-gx: add missing unit address to + rng node name (bsc#1012628). +- arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: + fix invalid rtc node name (bsc#1012628). +- arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid + rtc node name (bsc#1012628). +- arm64: dts: amlogic: meson-gxl: add missing unit address to + eth-phy-mux node name (bsc#1012628). +- arm64: dts: amlogic: meson-gx-libretech-pc: fix update button + name (bsc#1012628). +- arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node + names (bsc#1012628). +- arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node + name (bsc#1012628). +- arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name + (bsc#1012628). +- arm64: dts: amlogic: meson-g12b-odroid-go-ultra: fix rk818 + pmic properties (bsc#1012628). +- arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan + thermal trip (bsc#1012628). +- locking/rwsem: Disable preemption in all down_read*() and + up_read() code paths (bsc#1012628). +- arm64: tegra: Mark host1x as dma-coherent on Tegra194/234 + (bsc#1012628). +- arm64: dts: renesas: beacon-renesom: Fix gpio expander reference + (bsc#1012628). +- arm64: dts: meson: radxa-zero: allow usb otg mode (bsc#1012628). +- arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN + (bsc#1012628). +- ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference + (bsc#1012628). +- ublk_drv: remove nr_aborted_queues from ublk_device + (bsc#1012628). ++++ 1558 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.31432/dtb-aarch64.changes dtb-armv6l.changes: same change dtb-armv7l.changes: same change dtb-riscv64.changes: same change kernel-64kb.changes: same change kernel-debug.changes: same change kernel-default.changes: same change kernel-docs.changes: same change kernel-kvmsmall.changes: same change kernel-lpae.changes: same change kernel-obs-build.changes: same change kernel-obs-qa.changes: same change kernel-pae.changes: same change kernel-source.changes: same change kernel-syms.changes: same change kernel-vanilla.changes: same change kernel-zfcpdump.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtb-aarch64.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:18.727546657 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:18.731546678 +0100 @@ -17,7 +17,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -29,9 +29,9 @@ %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) Name: dtb-aarch64 -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif dtb-armv6l.spec: same change dtb-armv7l.spec: same change dtb-riscv64.spec: same change ++++++ kernel-64kb.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:18.851547303 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:18.855547324 +0100 @@ -18,7 +18,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -111,9 +111,9 @@ Summary: Kernel with 64kb PAGE_SIZE License: GPL-2.0-only Group: System/Kernel -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -240,10 +240,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-44ca817f15b215421a4c788790dd5351c186d1df -Provides: kernel-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: kernel-%build_flavor-base-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e +Provides: kernel-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e # END COMMON DEPS -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %obsolete_rebuilds %name Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc @@ -803,6 +803,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor ++++++ kernel-debug.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:18.883547470 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:18.891547512 +0100 @@ -18,7 +18,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -111,9 +111,9 @@ Summary: A Debug Version of the Kernel License: GPL-2.0-only Group: System/Kernel -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -240,10 +240,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-44ca817f15b215421a4c788790dd5351c186d1df -Provides: kernel-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: kernel-%build_flavor-base-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e +Provides: kernel-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e # END COMMON DEPS -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %ifarch ppc64 Provides: kernel-kdump = 2.6.28 Obsoletes: kernel-kdump <= 2.6.28 @@ -809,6 +809,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor ++++++ kernel-default.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:18.919547658 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:18.939547762 +0100 @@ -18,7 +18,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -111,9 +111,9 @@ Summary: The Standard Kernel License: GPL-2.0-only Group: System/Kernel -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -240,10 +240,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-44ca817f15b215421a4c788790dd5351c186d1df -Provides: kernel-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: kernel-%build_flavor-base-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e +Provides: kernel-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e # END COMMON DEPS -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %ifarch %ix86 Provides: kernel-smp = 2.6.17 Obsoletes: kernel-smp <= 2.6.17 @@ -852,6 +852,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:18.959547867 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:18.963547887 +0100 @@ -17,7 +17,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -31,9 +31,9 @@ Summary: Kernel Documentation License: GPL-2.0-only Group: Documentation/Man -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -67,7 +67,7 @@ %endif URL: https://www.kernel.org/ Provides: %name = %version-%source_rel -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz ++++++ kernel-kvmsmall.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:18.987548013 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:18.987548013 +0100 @@ -18,7 +18,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -111,9 +111,9 @@ Summary: The Small Developer Kernel for KVM License: GPL-2.0-only Group: System/Kernel -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -240,10 +240,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-44ca817f15b215421a4c788790dd5351c186d1df -Provides: kernel-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: kernel-%build_flavor-base-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e +Provides: kernel-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e # END COMMON DEPS -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %obsolete_rebuilds %name Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc @@ -807,6 +807,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor kernel-lpae.spec: same change ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.035548262 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.039548283 +0100 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 @@ -45,7 +45,7 @@ %endif %endif %endif -BuildRequires: kernel%kernel_flavor-srchash-44ca817f15b215421a4c788790dd5351c186d1df +BuildRequires: kernel%kernel_flavor-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %if 0%{?rhel_version} BuildRequires: kernel @@ -64,9 +64,9 @@ Summary: package kernel and initrd for OBS VM builds License: GPL-2.0-only Group: SLES -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.063548408 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.067548429 +0100 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -36,9 +36,9 @@ Summary: Basic QA tests for the kernel License: GPL-2.0-only Group: SLES -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.087548533 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.091548554 +0100 @@ -18,7 +18,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -111,9 +111,9 @@ Summary: Kernel with PAE Support License: GPL-2.0-only Group: System/Kernel -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -240,10 +240,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-44ca817f15b215421a4c788790dd5351c186d1df -Provides: kernel-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: kernel-%build_flavor-base-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e +Provides: kernel-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e # END COMMON DEPS -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %ifarch %ix86 Provides: kernel-bigsmp = 2.6.17 Obsoletes: kernel-bigsmp <= 2.6.17 @@ -829,6 +829,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.115548679 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.119548700 +0100 @@ -17,7 +17,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 @@ -31,9 +31,9 @@ %endif Name: kernel-source -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -50,7 +50,7 @@ BuildRequires: sed Requires(post): coreutils sed Provides: %name = %version-%source_rel -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e Provides: linux Provides: multiversion(kernel) Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.143548825 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.147548846 +0100 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0-only Group: Development/Sources -Version: 6.2.2 +Version: 6.2.4 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -52,7 +52,7 @@ %endif Requires: pesign-obs-integration Provides: %name = %version-%source_rel -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e Provides: multiversion(kernel) Source: README.KSYMS Requires: kernel-devel%variant = %version-%source_rel ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.171548971 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.179549013 +0100 @@ -18,7 +18,7 @@ %define srcversion 6.2 -%define patchversion 6.2.2 +%define patchversion 6.2.4 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -111,9 +111,9 @@ Summary: The Standard Kernel - without any SUSE patches License: GPL-2.0-only Group: System/Kernel -Version: 6.2.2 +Version: 6.2.4 %if 0%{?is_kotd} -Release: <RELEASE>.g44ca817 +Release: <RELEASE>.g0532a55 %else Release: 0 %endif @@ -240,10 +240,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-44ca817f15b215421a4c788790dd5351c186d1df -Provides: kernel-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: kernel-%build_flavor-base-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e +Provides: kernel-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e # END COMMON DEPS -Provides: %name-srchash-44ca817f15b215421a4c788790dd5351c186d1df +Provides: %name-srchash-0532a55e39a8752b6674ba3ce852f0c1000b1e6e %obsolete_rebuilds %name Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc @@ -800,6 +800,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor kernel-zfcpdump.spec: same change ++++++ config.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/arm64/default new/config/arm64/default --- old/config/arm64/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/arm64/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 6.2.1 Kernel Configuration +# Linux/arm64 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -7896,6 +7896,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 # CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set +# CONFIG_SND_HDA_CTL_DEV_ID is not set # end of HD-Audio CONFIG_SND_HDA_CORE=m @@ -11889,9 +11890,6 @@ CONFIG_ARCH_SUPPORTS_HUGETLBFS=y CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y -CONFIG_ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y -CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y -# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set CONFIG_MEMFD_CREATE=y CONFIG_ARCH_HAS_GIGANTIC_PAGE=y CONFIG_CONFIGFS_FS=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/default new/config/armv6hl/default --- old/config/armv6hl/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/armv6hl/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 6.2.1 Kernel Configuration +# Linux/arm 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -4064,7 +4064,6 @@ CONFIG_SENSORS_NTC_THERMISTOR=m CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775_CORE=m -CONFIG_SENSORS_NCT6775=m CONFIG_SENSORS_NCT6775_I2C=m CONFIG_SENSORS_NCT7802=m CONFIG_SENSORS_NCT7904=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/default new/config/armv7hl/default --- old/config/armv7hl/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/armv7hl/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 6.2.1 Kernel Configuration +# Linux/arm 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -5492,7 +5492,6 @@ # CONFIG_SENSORS_NTC_THERMISTOR is not set CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775_CORE=m -# CONFIG_SENSORS_NCT6775 is not set CONFIG_SENSORS_NCT6775_I2C=m # CONFIG_SENSORS_NCT7802 is not set CONFIG_SENSORS_NCT7904=m @@ -7736,6 +7735,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 # CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set +# CONFIG_SND_HDA_CTL_DEV_ID is not set # end of HD-Audio CONFIG_SND_HDA_CORE=m @@ -9319,6 +9319,7 @@ CONFIG_DW_AXI_DMAC=m CONFIG_FSL_EDMA=m CONFIG_FSL_QDMA=m +# CONFIG_HISI_DMA is not set CONFIG_IMX_DMA=m CONFIG_IMX_SDMA=m # CONFIG_INTEL_IDMA64 is not set diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/pae new/config/i386/pae --- old/config/i386/pae 2023-03-09 07:06:13.000000000 +0100 +++ new/config/i386/pae 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/i386 6.2.1 Kernel Configuration +# Linux/i386 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -6820,8 +6820,6 @@ # CONFIG_DRM_ETNAVIV is not set # CONFIG_DRM_LOGICVC is not set -# CONFIG_DRM_MXSFB is not set -# CONFIG_DRM_IMX_LCDIF is not set # CONFIG_DRM_ARCPGU is not set CONFIG_DRM_BOCHS=m CONFIG_DRM_CIRRUS_QEMU=m @@ -7154,6 +7152,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 # CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set +# CONFIG_SND_HDA_CTL_DEV_ID is not set # end of HD-Audio CONFIG_SND_HDA_CORE=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64/default new/config/ppc64/default --- old/config/ppc64/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/ppc64/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 6.2.1 Kernel Configuration +# Linux/powerpc 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -6085,8 +6085,6 @@ # CONFIG_DRM_ETNAVIV is not set # CONFIG_DRM_LOGICVC is not set -# CONFIG_DRM_MXSFB is not set -# CONFIG_DRM_IMX_LCDIF is not set # CONFIG_DRM_ARCPGU is not set CONFIG_DRM_BOCHS=m CONFIG_DRM_CIRRUS_QEMU=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default --- old/config/ppc64le/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/ppc64le/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 6.2.1 Kernel Configuration +# Linux/powerpc 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -5974,8 +5974,6 @@ # CONFIG_DRM_ETNAVIV is not set # CONFIG_DRM_LOGICVC is not set -# CONFIG_DRM_MXSFB is not set -# CONFIG_DRM_IMX_LCDIF is not set # CONFIG_DRM_ARCPGU is not set CONFIG_DRM_BOCHS=m CONFIG_DRM_CIRRUS_QEMU=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/riscv64/default new/config/riscv64/default --- old/config/riscv64/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/riscv64/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/riscv 6.2.1 Kernel Configuration +# Linux/riscv 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -4768,7 +4768,6 @@ # CONFIG_SENSORS_NTC_THERMISTOR is not set CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775_CORE=m -CONFIG_SENSORS_NCT6775=m CONFIG_SENSORS_NCT6775_I2C=m CONFIG_SENSORS_NCT7802=m CONFIG_SENSORS_NCT7904=m @@ -6187,8 +6186,6 @@ # CONFIG_DRM_ETNAVIV is not set # CONFIG_DRM_LOGICVC is not set -# CONFIG_DRM_MXSFB is not set -# CONFIG_DRM_IMX_LCDIF is not set # CONFIG_DRM_ARCPGU is not set CONFIG_DRM_BOCHS=m CONFIG_DRM_CIRRUS_QEMU=m @@ -6478,6 +6475,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 # CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set +# CONFIG_SND_HDA_CTL_DEV_ID is not set # end of HD-Audio CONFIG_SND_HDA_CORE=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/default new/config/s390x/default --- old/config/s390x/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/s390x/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 6.2.1 Kernel Configuration +# Linux/s390 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2748,7 +2748,6 @@ # CONFIG_SENSORS_PC87427 is not set # CONFIG_SENSORS_NCT6683 is not set CONFIG_SENSORS_NCT6775_CORE=m -# CONFIG_SENSORS_NCT6775 is not set CONFIG_SENSORS_NCT6775_I2C=m # CONFIG_SENSORS_NCT7802 is not set # CONFIG_SENSORS_NCT7904 is not set diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/zfcpdump new/config/s390x/zfcpdump --- old/config/s390x/zfcpdump 2023-03-09 07:06:13.000000000 +0100 +++ new/config/s390x/zfcpdump 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 6.2.1 Kernel Configuration +# Linux/s390 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/default new/config/x86_64/default --- old/config/x86_64/default 2023-03-09 07:06:13.000000000 +0100 +++ new/config/x86_64/default 2023-03-10 09:59:40.000000000 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 6.2.1 Kernel Configuration +# Linux/x86_64 6.2.3 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -6973,6 +6973,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 # CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set +# CONFIG_SND_HDA_CTL_DEV_ID is not set # end of HD-Audio CONFIG_SND_HDA_CORE=m ++++++ kernel-binary.spec.in ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:19.775552118 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:19.779552139 +0100 @@ -670,6 +670,10 @@ %if "%{compress_modules}" != "none" export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} %endif +# Do not sign vanilla kernels released in official projects +%if %build_vanilla && ! %vanilla_only +BRP_PESIGN_FILES="" +%endif if test -x /usr/lib/rpm/pesign/gen-hmac; then $_ -r %buildroot /boot/%image-%kernelrelease-%build_flavor ++++++ patches.kernel.org.tar.bz2 ++++++ ++++ 81301 lines of diff (skipped) ++++++ patches.rpmify.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.rpmify/bpf_doc-Fix-build-error-with-older-python-versions.patch new/patches.rpmify/bpf_doc-Fix-build-error-with-older-python-versions.patch --- old/patches.rpmify/bpf_doc-Fix-build-error-with-older-python-versions.patch 2023-01-16 11:57:44.000000000 +0100 +++ new/patches.rpmify/bpf_doc-Fix-build-error-with-older-python-versions.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,46 +0,0 @@ -From 5fbea42387eba1c7517fcad79099df706def7054 Mon Sep 17 00:00:00 2001 -From: Michal Suchanek <[email protected]> -Date: Mon, 9 Jan 2023 12:34:42 +0100 -Subject: [PATCH] bpf_doc: Fix build error with older python versions - -References: TypeError: '_sre.SRE_Match' object is not subscriptable -Patch-mainline: queued -Git-commit: 5fbea42387eba1c7517fcad79099df706def7054 -Git-repo: https://git.kernel.org/bpf/bpf-next - -The ability to subscript match result as an array is only available -since python 3.6. Existing code in bpf_doc uses the older group() -interface but commit 8a76145a2ec2 adds code using the new interface. - -Use the old interface consistently to avoid build error on older -distributions like the below: - -+ make -j48 -s -C /dev/shm/kbuild/linux.33946/current ARCH=powerpc HOSTCC=gcc CROSS_COMPILE=powerpc64-suse-linux- clean -TypeError: '_sre.SRE_Match' object is not subscriptable - -Fixes: 8a76145a2ec2 ("bpf: explicitly define BPF_FUNC_xxx integer values") -Signed-off-by: Michal Suchanek <[email protected]> -Signed-off-by: Andrii Nakryiko <[email protected]> -Acked-by: Quentin Monnet <[email protected]> -Link: https://lore.kernel.org/bpf/[email protected] -Acked-by: Michal Suchanek <[email protected]> ---- - scripts/bpf_doc.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/scripts/bpf_doc.py b/scripts/bpf_doc.py -index e8d90829f23e..38d51e05c7a2 100755 ---- a/scripts/bpf_doc.py -+++ b/scripts/bpf_doc.py -@@ -271,7 +271,7 @@ class HeaderParser(object): - if capture: - fn_defines_str += self.line - helper_name = capture.expand(r'bpf_\1') -- self.helper_enum_vals[helper_name] = int(capture[2]) -+ self.helper_enum_vals[helper_name] = int(capture.group(2)) - self.helper_enum_pos[helper_name] = i - i += 1 - else: --- -2.35.3 - ++++++ patches.suse.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/powerpc-mm-Fix-false-detection-of-read-faults.patch new/patches.suse/powerpc-mm-Fix-false-detection-of-read-faults.patch --- old/patches.suse/powerpc-mm-Fix-false-detection-of-read-faults.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/powerpc-mm-Fix-false-detection-of-read-faults.patch 2023-03-10 15:17:36.000000000 +0100 @@ -0,0 +1,61 @@ +From cbe94edc1c062ba2f31e9d2432a374d17f25a002 Mon Sep 17 00:00:00 2001 +From: Russell Currey <[email protected]> +Date: Fri, 10 Mar 2023 16:08:34 +1100 +Subject: [PATCH] powerpc/mm: Fix false detection of read faults +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Patch-mainline: submitted http://patchwork.ozlabs.org/project/linuxppc-dev/patch/[email protected]/ +References: bsc#1208864 + +To support detection of read faults with Radix execute-only memory, the +vma_is_accessible() check in access_error() (which checks for PROT_NONE) +was replaced with a check to see if VM_READ was missing, and if so, +returns true to assert the fault was caused by a bad read. + +This is incorrect, as it ignores that both VM_WRITE and VM_EXEC imply +read on powerpc, as defined in protection_map[]. This causes mappings +containing VM_WRITE or VM_EXEC without VM_READ to misreport the cause of +page faults, since the MMU is still allowing reads. + +Correct this by restoring the original vma_is_accessible() check for +PROT_NONE mappings, and adding a separate check for Radix PROT_EXEC-only +mappings. + +Fixes: 395cac7752b9 ("powerpc/mm: Support execute-only memory on the Radix MMU") +Reported-by: Michal Suchánek <[email protected]> +Tested-by: Benjamin Gray <[email protected]> +Signed-off-by: Russell Currey <[email protected]> +Acked-by: Michal Suchanek <[email protected]> +--- + arch/powerpc/mm/fault.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c +index 2bef19cc1b98..af46aa88422b 100644 +--- a/arch/powerpc/mm/fault.c ++++ b/arch/powerpc/mm/fault.c +@@ -271,11 +271,16 @@ static bool access_error(bool is_write, bool is_exec, struct vm_area_struct *vma + } + + /* +- * Check for a read fault. This could be caused by a read on an +- * inaccessible page (i.e. PROT_NONE), or a Radix MMU execute-only page. ++ * VM_READ, VM_WRITE and VM_EXEC all imply read permissions, as ++ * defined in protection_map[]. Read faults can only be caused by ++ * a PROT_NONE mapping, or with a PROT_EXEC-only mapping on Radix. + */ +- if (unlikely(!(vma->vm_flags & VM_READ))) ++ if (unlikely(!vma_is_accessible(vma))) + return true; ++ ++ if (unlikely(radix_enabled() && ((vma->vm_flags & VM_ACCESS_FLAGS) == VM_EXEC))) ++ return true; ++ + /* + * We should ideally do the vma pkey access check here. But in the + * fault path, handle_mm_fault() also does the same check. To avoid +-- +2.39.2 + ++++++ series.conf ++++++ ++++ 1028 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/series.conf ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.31432/series.conf ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.7qg6y4/_old 2023-03-13 12:40:20.599556412 +0100 +++ /var/tmp/diff_new_pack.7qg6y4/_new 2023-03-13 12:40:20.603556433 +0100 @@ -1,4 +1,4 @@ -2023-03-09 06:06:13 +0000 -GIT Revision: 44ca817f15b215421a4c788790dd5351c186d1df +2023-03-11 10:13:47 +0000 +GIT Revision: 0532a55e39a8752b6674ba3ce852f0c1000b1e6e GIT Branch: stable
