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 2022-04-13 21:04:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Wed Apr 13 21:04:32 2022 rev:637 rq:968309 version:5.17.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2022-03-31 17:18:53.397135868 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.1900/dtb-aarch64.changes 2022-04-13 21:05:11.344575944 +0200 @@ -1,0 +2,1939 @@ +Sat Apr 9 08:30:15 CEST 2022 - [email protected] + +- Linux 5.17.2 (bsc#1012628). +- USB: serial: pl2303: add IBM device IDs (bsc#1012628). +- dt-bindings: usb: hcd: correct usb-device path (bsc#1012628). +- USB: serial: pl2303: fix GS type detection (bsc#1012628). +- USB: serial: simple: add Nokia phone driver (bsc#1012628). +- mm: kfence: fix missing objcg housekeeping for SLAB + (bsc#1012628). +- locking/lockdep: Avoid potential access of invalid memory in + lock_class (bsc#1012628). +- drm/amdgpu: move PX checking into amdgpu_device_ip_early_init + (bsc#1012628). +- drm/amdgpu: only check for _PR3 on dGPUs (bsc#1012628). +- iommu/iova: Improve 32-bit free space estimate (bsc#1012628). +- block: flush plug based on hardware and software queue order + (bsc#1012628). +- block: ensure plug merging checks the correct queue at least + once (bsc#1012628). +- usb: typec: tipd: Forward plug orientation to typec subsystem + (bsc#1012628). +- USB: usb-storage: Fix use of bitfields for hardware data in + ene_ub6250.c (bsc#1012628). +- xhci: fix garbage USBSTS being logged in some cases + (bsc#1012628). +- xhci: fix runtime PM imbalance in USB2 resume (bsc#1012628). +- xhci: make xhci_handshake timeout for xhci_reset() adjustable + (bsc#1012628). +- xhci: fix uninitialized string returned by + xhci_decode_ctrl_ctx() (bsc#1012628). +- mei: me: disable driver on the ign firmware (bsc#1012628). +- mei: me: add Alder Lake N device id (bsc#1012628). +- mei: avoid iterator usage outside of list_for_each_entry + (bsc#1012628). +- bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series + (bsc#1012628). +- bus: mhi: Fix pm_state conversion to string (bsc#1012628). +- bus: mhi: Fix MHI DMA structure endianness (bsc#1012628). +- docs: sphinx/requirements: Limit jinja2<3.1 (bsc#1012628). +- coresight: Fix TRCCONFIGR.QE sysfs interface (bsc#1012628). +- coresight: syscfg: Fix memleak on registration failure in + cscfg_create_device (bsc#1012628). +- dt-bindings: iio: adc: zynqmp_ams: Add clock entry + (bsc#1012628). +- iio: adc: xilinx-ams: Fix single channel switching sequence + (bsc#1012628). +- iio: accel: mma8452: use the correct logic to get mma8452_data + (bsc#1012628). +- iio: adc: aspeed: Add divider flag to fix incorrect voltage + reading (bsc#1012628). +- iio: imu: st_lsm6dsx: use dev_to_iio_dev() to get iio_dev struct + (bsc#1012628). +- iio: afe: rescale: use s64 for temporary scale calculations + (bsc#1012628). +- iio: adc: xilinx-ams: Fixed missing PS channels (bsc#1012628). +- iio: adc: xilinx-ams: Fixed wrong sequencer register settings + (bsc#1012628). +- iio: inkern: apply consumer scale on IIO_VAL_INT cases + (bsc#1012628). +- iio: inkern: apply consumer scale when no channel scale is + available (bsc#1012628). +- iio: inkern: make a best effort on offset calculation + (bsc#1012628). +- greybus: svc: fix an error handling bug in gb_svc_hello() + (bsc#1012628). +- clk: rockchip: re-add rational best approximation algorithm + to the fractional divider (bsc#1012628). +- clk: uniphier: Fix fixed-rate initialization (bsc#1012628). +- ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on + PTRACE_SEIZE (bsc#1012628). +- cifs: truncate the inode and mapping when we simulate fcollapse + (bsc#1012628). +- cifs: fix handlecache and multiuser (bsc#1012628). +- cifs: we do not need a spinlock around the tree access during + umount (bsc#1012628). +- KEYS: fix length validation in keyctl_pkey_params_get_2() + (bsc#1012628). +- KEYS: asymmetric: enforce that sig algo matches key algo + (bsc#1012628). +- KEYS: asymmetric: properly validate hash_algo and encoding + (bsc#1012628). +- Documentation: add link to stable release candidate tree + (bsc#1012628). +- Documentation: update stable tree link (bsc#1012628). +- firmware: stratix10-svc: add missing callback parameter on RSU + (bsc#1012628). +- firmware: sysfb: fix platform-device leak in error path + (bsc#1012628). +- HID: intel-ish-hid: Use dma_alloc_coherent for firmware update + (bsc#1012628). +- SUNRPC: avoid race between mod_timer() and del_timer_sync() + (bsc#1012628). +- SUNRPC: Do not dereference non-socket transports in sysfs + (bsc#1012628). +- NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR + (bsc#1012628). +- NFSD: prevent underflow in nfssvc_decode_writeargs() + (bsc#1012628). +- NFSD: prevent integer overflow on 32 bit systems (bsc#1012628). +- f2fs: fix to unlock page correctly in error path of is_alive() + (bsc#1012628). +- f2fs: quota: fix loop condition at f2fs_quota_sync() + (bsc#1012628). +- f2fs: fix to do sanity check on .cp_pack_total_block_count + (bsc#1012628). +- remoteproc: Fix count check in rproc_coredump_write() + (bsc#1012628). +- mm/mlock: fix two bugs in user_shm_lock() (bsc#1012628). +- pinctrl: ingenic: Fix regmap on X series SoCs (bsc#1012628). +- pinctrl: samsung: drop pin banks references on error paths + (bsc#1012628). +- net: bnxt_ptp: fix compilation error (bsc#1012628). +- spi: mxic: Fix the transmit path (bsc#1012628). +- mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set + (bsc#1012628). +- mtd: rawnand: protect access to rawnand devices while in suspend + (bsc#1012628). +- can: m_can: m_can_tx_handler(): fix use after free of skb + (bsc#1012628). +- jffs2: fix use-after-free in jffs2_clear_xattr_subsystem + (bsc#1012628). +- jffs2: fix memory leak in jffs2_do_mount_fs (bsc#1012628). +- jffs2: fix memory leak in jffs2_scan_medium (bsc#1012628). +- mm: fs: fix lru_cache_disabled race in bh_lru (bsc#1012628). +- mm: don't skip swap entry even if zap_details specified + (bsc#1012628). +- mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of + a node (bsc#1012628). +- mm: invalidate hwpoison page cache page in fault path + (bsc#1012628). +- mempolicy: mbind_range() set_policy() after vma_merge() + (bsc#1012628). +- scsi: core: sd: Add silence_suspend flag to suppress some PM + messages (bsc#1012628). +- scsi: ufs: Fix runtime PM messages never-ending cycle + (bsc#1012628). +- scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics + counters (bsc#1012628). +- scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA + commands (bsc#1012628). +- qed: display VF trust config (bsc#1012628). +- qed: validate and restrict untrusted VFs vlan promisc mode + (bsc#1012628). +- riscv: dts: canaan: Fix SPI3 bus width (bsc#1012628). +- riscv: Fix fill_callchain return value (bsc#1012628). +- riscv: Increase stack size under KASAN (bsc#1012628). +- RISC-V: Declare per cpu boot data as static (bsc#1012628). +- cifs: do not skip link targets when an I/O fails (bsc#1012628). +- cifs: fix incorrect use of list iterator after the loop + (bsc#1012628). +- cifs: prevent bad output lengths in smb2_ioctl_query_info() + (bsc#1012628). +- cifs: fix NULL ptr dereference in smb2_ioctl_query_info() + (bsc#1012628). +- ALSA: cs4236: fix an incorrect NULL check on list iterator + (bsc#1012628). +- ALSA: hda: Avoid unsol event during RPM suspending + (bsc#1012628). +- ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and + mmap_lock (bsc#1012628). +- ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020 + (bsc#1012628). +- rtc: mc146818-lib: fix locking in mc146818_set_time + (bsc#1012628). +- rtc: pl031: fix rtc features null pointer dereference + (bsc#1012628). +- io_uring: ensure that fsnotify is always called (bsc#1012628). +- ocfs2: fix crash when mount with quota enabled (bsc#1012628). +- drm/simpledrm: Add "panel orientation" property on non-upright + mounted LCD panels (bsc#1012628). +- mm: madvise: skip unmapped vma holes passed to process_madvise + (bsc#1012628). +- mm: madvise: return correct bytes advised with process_madvise + (bsc#1012628). +- Revert "mm: madvise: skip unmapped vma holes passed to + process_madvise" (bsc#1012628). +- mm,hwpoison: unmap poisoned page before invalidation + (bsc#1012628). +- mm: only re-generate demotion targets when a numa node changes + its N_CPU state (bsc#1012628). +- mm/kmemleak: reset tag when compare object pointer + (bsc#1012628). +- dm stats: fix too short end duration_ns when using + precise_timestamps (bsc#1012628). +- dm: fix use-after-free in dm_cleanup_zoned_dev() (bsc#1012628). +- dm: interlock pending dm_io and dm_wait_for_bios_completion + (bsc#1012628). +- dm: fix double accounting of flush with data (bsc#1012628). +- dm integrity: set journal entry unused when shrinking device + (bsc#1012628). +- tracing: Have trace event string test handle zero length strings + (bsc#1012628). +- drbd: fix potential silent data corruption (bsc#1012628). +- can: isotp: sanitize CAN ID checks in isotp_bind() + (bsc#1012628). +- PCI: fu740: Force 2.5GT/s for initial device probe + (bsc#1012628). ++++ 1751 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.1900/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 Old: ---- _buildconfig-standard-x86_64 _buildinfo-standard-x86_64.xml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtb-aarch64.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.604582549 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.608582552 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %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: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %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.cdmdZy/_old 2022-04-13 21:05:19.736582655 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.748582665 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -107,9 +107,9 @@ Summary: Kernel with 64kb PAGE_SIZE License: GPL-2.0-only Group: System/Kernel -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -234,10 +234,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb -Provides: kernel-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: kernel-%build_flavor-base-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 +Provides: kernel-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 # END COMMON DEPS -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %obsolete_rebuilds %name Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc ++++++ kernel-debug.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.788582696 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.792582700 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -107,9 +107,9 @@ Summary: A Debug Version of the Kernel License: GPL-2.0-only Group: System/Kernel -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -234,10 +234,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb -Provides: kernel-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: kernel-%build_flavor-base-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 +Provides: kernel-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 # END COMMON DEPS -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %ifarch ppc64 Provides: kernel-kdump = 2.6.28 Obsoletes: kernel-kdump <= 2.6.28 ++++++ kernel-default.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.820582722 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.824582725 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -107,9 +107,9 @@ Summary: The Standard Kernel License: GPL-2.0-only Group: System/Kernel -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -234,10 +234,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb -Provides: kernel-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: kernel-%build_flavor-base-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 +Provides: kernel-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 # END COMMON DEPS -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %ifarch %ix86 Provides: kernel-smp = 2.6.17 Obsoletes: kernel-smp <= 2.6.17 ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.852582748 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.860582754 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -31,9 +31,9 @@ Summary: Kernel Documentation License: GPL-2.0-only Group: Documentation/Man -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -67,7 +67,7 @@ %endif URL: https://www.kernel.org/ Provides: %name = %version-%source_rel -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz ++++++ kernel-kvmsmall.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.884582773 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.892582779 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -107,9 +107,9 @@ Summary: The Small Developer Kernel for KVM License: GPL-2.0-only Group: System/Kernel -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -234,10 +234,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb -Provides: kernel-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: kernel-%build_flavor-base-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 +Provides: kernel-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 # END COMMON DEPS -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %obsolete_rebuilds %name Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc kernel-lpae.spec: same change ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.964582837 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:19.968582841 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 @@ -45,7 +45,7 @@ %endif %endif %endif -BuildRequires: kernel%kernel_flavor-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +BuildRequires: kernel%kernel_flavor-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %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: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:19.996582863 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:20.008582872 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 5.17.1 +%define patchversion 5.17.2 %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: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:20.036582895 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:20.040582898 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -107,9 +107,9 @@ Summary: Kernel with PAE Support License: GPL-2.0-only Group: System/Kernel -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -234,10 +234,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb -Provides: kernel-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: kernel-%build_flavor-base-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 +Provides: kernel-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 # END COMMON DEPS -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %ifarch %ix86 Provides: kernel-bigsmp = 2.6.17 Obsoletes: kernel-bigsmp <= 2.6.17 ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:20.072582923 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:20.080582930 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 @@ -31,9 +31,9 @@ %endif Name: kernel-source -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -50,7 +50,7 @@ BuildRequires: sed Requires(post): coreutils sed Provides: %name = %version-%source_rel -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 Provides: linux Provides: multiversion(kernel) Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:20.112582955 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:20.116582959 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0-only Group: Development/Sources -Version: 5.17.1 +Version: 5.17.2 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -52,7 +52,7 @@ %endif Requires: pesign-obs-integration Provides: %name = %version-%source_rel -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 Provides: multiversion(kernel) Source: README.KSYMS Requires: kernel-devel%variant = %version-%source_rel ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:20.144582981 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:20.152582987 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.17 -%define patchversion 5.17.1 +%define patchversion 5.17.2 %define variant %{nil} %define vanilla_only 0 %define compress_modules zstd @@ -107,9 +107,9 @@ Summary: The Standard Kernel - without any SUSE patches License: GPL-2.0-only Group: System/Kernel -Version: 5.17.1 +Version: 5.17.2 %if 0%{?is_kotd} -Release: <RELEASE>.g58205bc +Release: <RELEASE>.gb49cf22 %else Release: 0 %endif @@ -234,10 +234,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb -Provides: kernel-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: kernel-%build_flavor-base-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 +Provides: kernel-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 # END COMMON DEPS -Provides: %name-srchash-58205bc0990184a0cddf884ee828b9f8bc9290bb +Provides: %name-srchash-b49cf22cda82829222def627c86b2c0d6ebc8f79 %obsolete_rebuilds %name Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source3: kernel-source.rpmlintrc 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 2022-03-31 07:28:33.000000000 +0200 +++ new/config/arm64/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 5.17.0 Kernel Configuration +# Linux/arm64 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -3292,6 +3292,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/default new/config/armv6hl/default --- old/config/armv6hl/default 2022-03-31 07:28:33.000000000 +0200 +++ new/config/armv6hl/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 5.17.0 Kernel Configuration +# Linux/arm 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2491,6 +2491,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m # CONFIG_NET_DSA_XRS700X_MDIO is not set CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/default new/config/armv7hl/default --- old/config/armv7hl/default 2022-03-31 07:28:33.000000000 +0200 +++ new/config/armv7hl/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 5.17.0 Kernel Configuration +# Linux/arm 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -3216,6 +3216,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/lpae new/config/armv7hl/lpae --- old/config/armv7hl/lpae 2022-03-31 07:28:33.000000000 +0200 +++ new/config/armv7hl/lpae 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 5.17.0 Kernel Configuration +# Linux/arm 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -3154,6 +3154,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/pae new/config/i386/pae --- old/config/i386/pae 2022-03-31 07:28:33.000000000 +0200 +++ new/config/i386/pae 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/i386 5.17.0 Kernel Configuration +# Linux/i386 5.17.2 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/ppc64/default new/config/ppc64/default --- old/config/ppc64/default 2022-03-31 07:28:33.000000000 +0200 +++ new/config/ppc64/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 5.17.0 Kernel Configuration +# Linux/powerpc 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2792,6 +2792,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default --- old/config/ppc64le/default 2022-03-31 07:28:33.000000000 +0200 +++ new/config/ppc64le/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 5.17.0 Kernel Configuration +# Linux/powerpc 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2675,6 +2675,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/riscv64/default new/config/riscv64/default --- old/config/riscv64/default 2022-03-31 07:28:33.000000000 +0200 +++ new/config/riscv64/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/riscv 5.17.0 Kernel Configuration +# Linux/riscv 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -2667,6 +2667,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/default new/config/s390x/default --- old/config/s390x/default 2022-03-31 07:28:33.000000000 +0200 +++ new/config/s390x/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 5.17.0 Kernel Configuration +# Linux/s390 5.17.2 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/s390x/zfcpdump new/config/s390x/zfcpdump --- old/config/s390x/zfcpdump 2022-03-31 07:28:33.000000000 +0200 +++ new/config/s390x/zfcpdump 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 5.17.0 Kernel Configuration +# Linux/s390 5.17.2 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 2022-03-31 07:28:33.000000000 +0200 +++ new/config/x86_64/default 2022-04-09 08:30:15.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 5.17.0 Kernel Configuration +# Linux/x86_64 5.17.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" CONFIG_CC_IS_GCC=y @@ -3224,6 +3224,7 @@ CONFIG_NET_DSA_XRS700X_I2C=m CONFIG_NET_DSA_XRS700X_MDIO=m CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m ++++++ patches.kernel.org.tar.bz2 ++++++ ++++ 106532 lines of diff (skipped) ++++++ patches.suse.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-Input-clear-BTN_RIGHT-MIDDLE-on-buttonpads.patch new/patches.suse/Revert-Input-clear-BTN_RIGHT-MIDDLE-on-buttonpads.patch --- old/patches.suse/Revert-Input-clear-BTN_RIGHT-MIDDLE-on-buttonpads.patch 2022-03-28 12:44:17.000000000 +0200 +++ new/patches.suse/Revert-Input-clear-BTN_RIGHT-MIDDLE-on-buttonpads.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,65 +0,0 @@ -From 8100019908b2665d72ca576a1235e7ae1eaff7a3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= <[email protected]> -Date: Mon, 21 Mar 2022 19:44:05 +0100 -Subject: [PATCH] Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads" -Message-Id: <[email protected]> -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit -Patch-mainline: Submitted, linux-input ML -References: bsc#1197243 - -This reverts commit 37ef4c19b4c659926ce65a7ac709ceaefb211c40. - -The touchpad present in the Dell Precision 7550 and 7750 laptops -reports a HID_DG_BUTTONTYPE of type MT_BUTTONTYPE_CLICKPAD. However, -the device is not a clickpad, it is a touchpad with physical buttons. - -In order to fix this issue, a quirk for the device was introduced in -libinput [1] [2] to disable the INPUT_PROP_BUTTONPAD property: - - [Precision 7x50 Touchpad] - MatchBus=i2c - MatchUdevType=touchpad - MatchDMIModalias=dmi:*svnDellInc.:pnPrecision7?50* - AttrInputPropDisable=INPUT_PROP_BUTTONPAD - -However, because of the change introduced in 37ef4c19b4 ("Input: clear -BTN_RIGHT/MIDDLE on buttonpads") the BTN_RIGHT key bit is not mapped -anymore breaking the device right click button and making impossible to -workaround it in user space. - -In order to avoid breakage on other present or future devices, revert -the patch causing the issue. - -Cc: [email protected] -Link: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/481 [1] -Link: https://bugzilla.redhat.com/show_bug.cgi?id=1868789 [2] -Signed-off-by: Jos?? Exp??sito <[email protected]> -Reviewed-by: Hans de Goede <[email protected]> -Acked-by: Peter Hutterer <[email protected]> -Signed-off-by: Takashi Iwai <[email protected]> ---- - drivers/input/input.c | 6 ------ - 1 file changed, 6 deletions(-) - -diff --git a/drivers/input/input.c b/drivers/input/input.c -index c3139bc2aa0d..ccaeb2426385 100644 ---- a/drivers/input/input.c -+++ b/drivers/input/input.c -@@ -2285,12 +2285,6 @@ int input_register_device(struct input_dev *dev) - /* KEY_RESERVED is not supposed to be transmitted to userspace. */ - __clear_bit(KEY_RESERVED, dev->keybit); - -- /* Buttonpads should not map BTN_RIGHT and/or BTN_MIDDLE. */ -- if (test_bit(INPUT_PROP_BUTTONPAD, dev->propbit)) { -- __clear_bit(BTN_RIGHT, dev->keybit); -- __clear_bit(BTN_MIDDLE, dev->keybit); -- } -- - /* Make sure that bitmasks not mentioned in dev->evbit are clean. */ - input_cleanse_bitmasks(dev); - --- -2.31.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-swiotlb-rework-fix-info-leak-with-DMA_FROM_DE.patch new/patches.suse/Revert-swiotlb-rework-fix-info-leak-with-DMA_FROM_DE.patch --- old/patches.suse/Revert-swiotlb-rework-fix-info-leak-with-DMA_FROM_DE.patch 2022-03-28 12:44:17.000000000 +0200 +++ new/patches.suse/Revert-swiotlb-rework-fix-info-leak-with-DMA_FROM_DE.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,196 +0,0 @@ -From bddac7c1e02ba47f0570e494c9289acea3062cc1 Mon Sep 17 00:00:00 2001 -From: Linus Torvalds <[email protected]> -Date: Sat, 26 Mar 2022 10:42:04 -0700 -Subject: [PATCH] Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE"" -Mime-version: 1.0 -Content-type: text/plain; charset=UTF-8 -Content-transfer-encoding: 8bit -Git-commit: bddac7c1e02ba47f0570e494c9289acea3062cc1 -Patch-mainline: v5.18 -References: bsc#1197460 - -This reverts commit aa6f8dcbab473f3a3c7454b74caa46d36cdc5d13. - -It turns out this breaks at least the ath9k wireless driver, and -possibly others. - -What the ath9k driver does on packet receive is to set up the DMA -transfer with: - - int ath_rx_init(..) - .. - bf->bf_buf_addr = dma_map_single(sc->dev, skb->data, - common->rx_bufsize, - DMA_FROM_DEVICE); - -and then the receive logic (through ath_rx_tasklet()) will fetch -incoming packets - - static bool ath_edma_get_buffers(..) - .. - dma_sync_single_for_cpu(sc->dev, bf->bf_buf_addr, - common->rx_bufsize, DMA_FROM_DEVICE); - - ret = ath9k_hw_process_rxdesc_edma(ah, rs, skb->data); - if (ret == -EINPROGRESS) { - /*let device gain the buffer again*/ - dma_sync_single_for_device(sc->dev, bf->bf_buf_addr, - common->rx_bufsize, DMA_FROM_DEVICE); - return false; - } - -and it's worth noting how that first DMA sync: - - dma_sync_single_for_cpu(..DMA_FROM_DEVICE); - -is there to make sure the CPU can read the DMA buffer (possibly by -copying it from the bounce buffer area, or by doing some cache flush). -The iommu correctly turns that into a "copy from bounce bufer" so that -the driver can look at the state of the packets. - -In the meantime, the device may continue to write to the DMA buffer, but -we at least have a snapshot of the state due to that first DMA sync. - -But that _second_ DMA sync: - - dma_sync_single_for_device(..DMA_FROM_DEVICE); - -is telling the DMA mapping that the CPU wasn't interested in the area -because the packet wasn't there. In the case of a DMA bounce buffer, -that is a no-op. - -Note how it's not a sync for the CPU (the "for_device()" part), and it's -not a sync for data written by the CPU (the "DMA_FROM_DEVICE" part). - -Or rather, it _should_ be a no-op. That's what commit aa6f8dcbab47 -Broke: it made the code bounce the buffer unconditionally, and changed -the DMA_FROM_DEVICE to just unconditionally and illogically be -DMA_TO_DEVICE. - -[ Side note: purely within the confines of the swiotlb driver it wasn't - entirely illogical: The reason it did that odd DMA_FROM_DEVICE -> - DMA_TO_DEVICE conversion thing is because inside the swiotlb driver, - it uses just a swiotlb_bounce() helper that doesn't care about the - whole distinction of who the sync is for - only which direction to - bounce. - - So it took the "sync for device" to mean that the CPU must have been - the one writing, and thought it meant DMA_TO_DEVICE. ] - -Also note how the commentary in that commit was wrong, probably due to -that whole confusion, claiming that the commit makes the swiotlb code - - "bounce unconditionally (that is, also - when dir == DMA_TO_DEVICE) in order do avoid synchronising back stale - data from the swiotlb buffer" - -which is nonsensical for two reasons: - - - that "also when dir == DMA_TO_DEVICE" is nonsensical, as that was - exactly when it always did - and should do - the bounce. - - - since this is a sync for the device (not for the CPU), we're clearly - fundamentally not coping back stale data from the bounce buffers at - all, because we'd be copying *to* the bounce buffers. - -So that commit was just very confused. It confused the direction of the -synchronization (to the device, not the cpu) with the direction of the -DMA (from the device). - -Reported-and-bisected-by: Oleksandr Natalenko <[email protected]> -Reported-by: Olha Cherevyk <[email protected]> -Cc: Halil Pasic <[email protected]> -Cc: Christoph Hellwig <[email protected]> -Cc: Kalle Valo <[email protected]> -Cc: Robin Murphy <[email protected]> -Cc: Toke H??iland-J??rgensen <[email protected]> -Cc: Maxime Bizon <[email protected]> -Cc: Johannes Berg <[email protected]> -Signed-off-by: Linus Torvalds <[email protected]> -Acked-by: Takashi Iwai <[email protected]> - ---- - Documentation/core-api/dma-attributes.rst | 8 ++++++++ - include/linux/dma-mapping.h | 8 ++++++++ - kernel/dma/swiotlb.c | 23 ++++++++--------------- - 3 files changed, 24 insertions(+), 15 deletions(-) - -diff --git a/Documentation/core-api/dma-attributes.rst b/Documentation/core-api/dma-attributes.rst -index 1887d92e8e92..17706dc91ec9 100644 ---- a/Documentation/core-api/dma-attributes.rst -+++ b/Documentation/core-api/dma-attributes.rst -@@ -130,3 +130,11 @@ accesses to DMA buffers in both privileged "supervisor" and unprivileged - subsystem that the buffer is fully accessible at the elevated privilege - level (and ideally inaccessible or at least read-only at the - lesser-privileged levels). -+ -+DMA_ATTR_OVERWRITE -+------------------ -+ -+This is a hint to the DMA-mapping subsystem that the device is expected to -+overwrite the entire mapped size, thus the caller does not require any of the -+previous buffer contents to be preserved. This allows bounce-buffering -+implementations to optimise DMA_FROM_DEVICE transfers. -diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h -index dca2b1355bb1..6150d11a607e 100644 ---- a/include/linux/dma-mapping.h -+++ b/include/linux/dma-mapping.h -@@ -61,6 +61,14 @@ - */ - #define DMA_ATTR_PRIVILEGED (1UL << 9) - -+/* -+ * This is a hint to the DMA-mapping subsystem that the device is expected -+ * to overwrite the entire mapped size, thus the caller does not require any -+ * of the previous buffer contents to be preserved. This allows -+ * bounce-buffering implementations to optimise DMA_FROM_DEVICE transfers. -+ */ -+#define DMA_ATTR_OVERWRITE (1UL << 10) -+ - /* - * A dma_addr_t can hold any valid DMA or bus address for the platform. It can - * be given to a device to use as a DMA source or target. It is specific to a -diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c -index 6db1c475ec82..bfc56cb21705 100644 ---- a/kernel/dma/swiotlb.c -+++ b/kernel/dma/swiotlb.c -@@ -627,14 +627,10 @@ phys_addr_t swiotlb_tbl_map_single(struct device *dev, phys_addr_t orig_addr, - for (i = 0; i < nr_slots(alloc_size + offset); i++) - mem->slots[index + i].orig_addr = slot_addr(orig_addr, i); - tlb_addr = slot_addr(mem->start, index) + offset; -- /* -- * When dir == DMA_FROM_DEVICE we could omit the copy from the orig -- * to the tlb buffer, if we knew for sure the device will -- * overwirte the entire current content. But we don't. Thus -- * unconditional bounce may prevent leaking swiotlb content (i.e. -- * kernel memory) to user-space. -- */ -- swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); -+ if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && -+ (!(attrs & DMA_ATTR_OVERWRITE) || dir == DMA_TO_DEVICE || -+ dir == DMA_BIDIRECTIONAL)) -+ swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); - return tlb_addr; - } - -@@ -701,13 +697,10 @@ void swiotlb_tbl_unmap_single(struct device *dev, phys_addr_t tlb_addr, - void swiotlb_sync_single_for_device(struct device *dev, phys_addr_t tlb_addr, - size_t size, enum dma_data_direction dir) - { -- /* -- * Unconditional bounce is necessary to avoid corruption on -- * sync_*_for_cpu or dma_ummap_* when the device didn't overwrite -- * the whole lengt of the bounce buffer. -- */ -- swiotlb_bounce(dev, tlb_addr, size, DMA_TO_DEVICE); -- BUG_ON(!valid_dma_direction(dir)); -+ if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) -+ swiotlb_bounce(dev, tlb_addr, size, DMA_TO_DEVICE); -+ else -+ BUG_ON(dir != DMA_FROM_DEVICE); - } - - void swiotlb_sync_single_for_cpu(struct device *dev, phys_addr_t tlb_addr, --- -2.31.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/block-restore-the-old-set_task_ioprio-behaviour-wrt-.patch new/patches.suse/block-restore-the-old-set_task_ioprio-behaviour-wrt-.patch --- old/patches.suse/block-restore-the-old-set_task_ioprio-behaviour-wrt-.patch 2022-03-28 12:44:17.000000000 +0200 +++ new/patches.suse/block-restore-the-old-set_task_ioprio-behaviour-wrt-.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -From: Jiri Slaby <[email protected]> -Date: Mon, 28 Mar 2022 10:47:58 +0200 -Subject: block: restore the old set_task_ioprio() behaviour wrt PF_EXITING -Patch-mainline: submitted <[email protected]> -References: bsc#1197582 - -PF_EXITING tasks were silently ignored before the below commits. -Continue doing so. - -Fixes: 5fc11eebb4 (block: open code create_task_io_context in set_task_ioprio) -Fixes: a957b61254 (block: fix error in handling dead task for ioprio setting) -Signed-off-by: Jiri Slaby <[email protected]> ---- - block/blk-ioc.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - ---- a/block/blk-ioc.c -+++ b/block/blk-ioc.c -@@ -280,7 +280,6 @@ int set_task_ioprio(struct task_struct * - - task_lock(task); - if (task->flags & PF_EXITING) { -- err = -ESRCH; - kmem_cache_free(iocontext_cachep, ioc); - goto out; - } -@@ -292,7 +291,7 @@ int set_task_ioprio(struct task_struct * - task->io_context->ioprio = ioprio; - out: - task_unlock(task); -- return err; -+ return 0; - } - EXPORT_SYMBOL_GPL(set_task_ioprio); - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/x86-pm-save-the-msr-validity-status-at-context-setup.patch new/patches.suse/x86-pm-save-the-msr-validity-status-at-context-setup.patch --- old/patches.suse/x86-pm-save-the-msr-validity-status-at-context-setup.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/x86-pm-save-the-msr-validity-status-at-context-setup.patch 2022-04-09 08:30:15.000000000 +0200 @@ -0,0 +1,55 @@ +From: Pawan Gupta <[email protected]> +Date: Mon, 4 Apr 2022 17:34:19 -0700 +Subject: x86/pm: Save the MSR validity status at context setup +Git-commit: 73924ec4d560257004d5b5116b22a3647661e364 +Patch-mainline: v5.18 or v5.18-rc2 (next release) +References: git-fixes + +The mechanism to save/restore MSRs during S3 suspend/resume checks for +the MSR validity during suspend, and only restores the MSR if its a +valid MSR. This is not optimal, as an invalid MSR will unnecessarily +throw an exception for every suspend cycle. The more invalid MSRs, +higher the impact will be. + +Check and save the MSR validity at setup. This ensures that only valid +MSRs that are guaranteed to not throw an exception will be attempted +during suspend. + +Fixes: 7a9c2dd08ead ("x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume") +Suggested-by: Dave Hansen <[email protected]> +Signed-off-by: Pawan Gupta <[email protected]> +Reviewed-by: Dave Hansen <[email protected]> +Acked-by: Borislav Petkov <[email protected]> +Cc: [email protected] +Signed-off-by: Linus Torvalds <[email protected]> +--- + arch/x86/power/cpu.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c +index 9f2b251e83c5..eaec0cb3fe04 100644 +--- a/arch/x86/power/cpu.c ++++ b/arch/x86/power/cpu.c +@@ -40,7 +40,8 @@ static void msr_save_context(struct saved_context *ctxt) + struct saved_msr *end = msr + ctxt->saved_msrs.num; + + while (msr < end) { +- msr->valid = !rdmsrl_safe(msr->info.msr_no, &msr->info.reg.q); ++ if (msr->valid) ++ rdmsrl(msr->info.msr_no, msr->info.reg.q); + msr++; + } + } +@@ -424,8 +425,10 @@ static int msr_build_context(const u32 *msr_id, const int num) + } + + for (i = saved_msrs->num, j = 0; i < total_num; i++, j++) { ++ u64 dummy; ++ + msr_array[i].info.msr_no = msr_id[j]; +- msr_array[i].valid = false; ++ msr_array[i].valid = !rdmsrl_safe(msr_id[j], &dummy); + msr_array[i].info.reg.q = 0; + } + saved_msrs->num = total_num; + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/x86-speculation-restore-speculation-related-msrs-during-s3-resume.patch new/patches.suse/x86-speculation-restore-speculation-related-msrs-during-s3-resume.patch --- old/patches.suse/x86-speculation-restore-speculation-related-msrs-during-s3-resume.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/x86-speculation-restore-speculation-related-msrs-during-s3-resume.patch 2022-04-09 08:30:15.000000000 +0200 @@ -0,0 +1,60 @@ +From: Pawan Gupta <[email protected]> +Date: Mon, 4 Apr 2022 17:35:45 -0700 +Subject: x86/speculation: Restore speculation related MSRs during S3 resume +Git-commit: e2a1256b17b16f9b9adf1b6fea56819e7b68e463 +Patch-mainline: v5.18 or v5.18-rc2 (next release) +References: git-fixes + +After resuming from suspend-to-RAM, the MSRs that control CPU's +speculative execution behavior are not being restored on the boot CPU. + +These MSRs are used to mitigate speculative execution vulnerabilities. +Not restoring them correctly may leave the CPU vulnerable. Secondary +CPU's MSRs are correctly being restored at S3 resume by +identify_secondary_cpu(). + +During S3 resume, restore these MSRs for boot CPU when restoring its +processor state. + +Fixes: 772439717dbf ("x86/bugs/intel: Set proper CPU features and setup RDS") +Reported-by: Neelima Krishnan <[email protected]> +Signed-off-by: Pawan Gupta <[email protected]> +Tested-by: Neelima Krishnan <[email protected]> +Acked-by: Borislav Petkov <[email protected]> +Reviewed-by: Dave Hansen <[email protected]> +Cc: [email protected] +Signed-off-by: Linus Torvalds <[email protected]> +--- + arch/x86/power/cpu.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c +index eaec0cb3fe04..3822666fb73d 100644 +--- a/arch/x86/power/cpu.c ++++ b/arch/x86/power/cpu.c +@@ -503,10 +503,24 @@ static int pm_cpu_check(const struct x86_cpu_id *c) + return ret; + } + ++static void pm_save_spec_msr(void) ++{ ++ u32 spec_msr_id[] = { ++ MSR_IA32_SPEC_CTRL, ++ MSR_IA32_TSX_CTRL, ++ MSR_TSX_FORCE_ABORT, ++ MSR_IA32_MCU_OPT_CTRL, ++ MSR_AMD64_LS_CFG, ++ }; ++ ++ msr_build_context(spec_msr_id, ARRAY_SIZE(spec_msr_id)); ++} ++ + static int pm_check_save_msr(void) + { + dmi_check_system(msr_save_dmi_table); + pm_cpu_check(msr_save_cpu_table); ++ pm_save_spec_msr(); + + return 0; + } + ++++++ series.conf ++++++ ++++ 1159 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/series.conf ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.1900/series.conf ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.cdmdZy/_old 2022-04-13 21:05:22.064584516 +0200 +++ /var/tmp/diff_new_pack.cdmdZy/_new 2022-04-13 21:05:22.068584519 +0200 @@ -1,4 +1,4 @@ -2022-03-31 05:28:33 +0000 -GIT Revision: 58205bc0990184a0cddf884ee828b9f8bc9290bb +2022-04-09 06:30:15 +0000 +GIT Revision: b49cf22cda82829222def627c86b2c0d6ebc8f79 GIT Branch: stable
