commit kernel-source for openSUSE:Factory
Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2019-05-05 21:17:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kernel-source" Sun May 5 21:17:52 2019 rev:485 rq:700215 version:5.0.11 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2019-05-02 19:15:56.585253617 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.5148/dtb-aarch64.changes 2019-05-05 21:17:55.048704796 +0200 @@ -1,0 +2,182 @@ +Thu May 2 12:46:32 CEST 2019 - jslaby@suse.cz + +- Linux 5.0.11 (bnc#1012628). +- netfilter: nf_tables: bogus EBUSY when deleting set after flush + (bnc#1012628). +- netfilter: nf_tables: bogus EBUSY in helper removal from + transaction (bnc#1012628). +- intel_th: gth: Fix an off-by-one in output unassigning + (bnc#1012628). +- powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64 (bnc#1012628). +- ALSA: hda/realtek - Move to ACT_INIT state (bnc#1012628). +- fs/proc/proc_sysctl.c: Fix a NULL pointer dereference + (bnc#1012628). +- block, bfq: fix use after free in bfq_bfqq_expire (bnc#1012628). +- cifs: fix memory leak in SMB2_read (bnc#1012628). +- cifs: fix page reference leak with readv/writev (bnc#1012628). +- cifs: do not attempt cifs operation on smb2+ rename error + (bnc#1012628). +- tracing: Fix a memory leak by early error exit in + trace_pid_write() (bnc#1012628). +- tracing: Fix buffer_ref pipe ops (bnc#1012628). +- crypto: xts - Fix atomic sleep when walking skcipher + (bnc#1012628). +- crypto: lrw - Fix atomic sleep when walking skcipher + (bnc#1012628). +- gpio: eic: sprd: Fix incorrect irq type setting for the sync + EIC (bnc#1012628). +- zram: pass down the bvec we need to read into in the work struct + (bnc#1012628). +- lib/Kconfig.debug: fix build error without CONFIG_BLOCK + (bnc#1012628). +- MIPS: scall64-o32: Fix indirect syscall number load + (bnc#1012628). +- trace: Fix preempt_enable_no_resched() abuse (bnc#1012628). +- mm: do not boost watermarks to avoid fragmentation for the + DISCONTIG memory model (bnc#1012628). +- arm64: mm: Ensure tail of unaligned initrd is reserved + (bnc#1012628). +- IB/rdmavt: Fix frwr memory registration (bnc#1012628). +- RDMA/mlx5: Do not allow the user to write to the clock page + (bnc#1012628). +- RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages + (bnc#1012628). +- RDMA/ucontext: Fix regression with disassociate (bnc#1012628). +- sched/numa: Fix a possible divide-by-zero (bnc#1012628). +- ceph: only use d_name directly when parent is locked + (bnc#1012628). +- ceph: ensure d_name stability in ceph_dentry_hash() + (bnc#1012628). +- ceph: fix ci->i_head_snapc leak (bnc#1012628). +- nfsd: Don't release the callback slot unless it was actually + held (bnc#1012628). +- nfsd: wake waiters blocked on file_lock before deleting it + (bnc#1012628). +- nfsd: wake blocked file lock waiters before sending callback + (bnc#1012628). +- sunrpc: don't mark uninitialised items as VALID (bnc#1012628). +- perf/x86/intel: Update KBL Package C-state events to also + include PC8/PC9/PC10 counters (bnc#1012628). +- Input: synaptics-rmi4 - write config register values to the + right offset (bnc#1012628). +- dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid + (bnc#1012628). +- dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status + (bnc#1012628). +- dmaengine: mediatek-cqdma: fix wrong register usage in + mtk_cqdma_start (bnc#1012628). +- ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning + the cache (bnc#1012628). +- powerpc/mm/radix: Make Radix require HUGETLB_PAGE (bnc#1012628). +- drm/vc4: Fix memory leak during gpu reset (bnc#1012628). +- drm/ttm: fix re-init of global structures (bnc#1012628). +- drm/vc4: Fix compilation error reported by kbuild test bot + (bnc#1012628). +- USB: Add new USB LPM helpers (bnc#1012628). +- USB: Consolidate LPM checks to avoid enabling LPM twice + (bnc#1012628). +- ext4: fix some error pointer dereferences (bnc#1012628). +- loop: do not print warn message if partition scan is successful + (bnc#1012628). +- tipc: handle the err returned from cmd header function + (bnc#1012628). +- slip: make slhc_free() silently accept an error pointer + (bnc#1012628). +- workqueue: Try to catch flush_work() without INIT_WORK() + (bnc#1012628). +- binder: fix handling of misaligned binder object (bnc#1012628). +- sched/deadline: Correctly handle active 0-lag timers + (bnc#1012628). +- mac80211_hwsim: calculate if_combination.max_interfaces + (bnc#1012628). +- NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family + (bnc#1012628). +- netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON + (bnc#1012628). +- fm10k: Fix a potential NULL pointer dereference (bnc#1012628). +- tipc: check bearer name with right length in + tipc_nl_compat_bearer_enable (bnc#1012628). +- tipc: check link name with right length in + tipc_nl_compat_link_set (bnc#1012628). +- net: netrom: Fix error cleanup path of nr_proto_init + (bnc#1012628). +- net/rds: Check address length before reading address family + (bnc#1012628). +- rxrpc: fix race condition in rxrpc_input_packet() (bnc#1012628). +- pin iocb through aio (bnc#1012628). +- aio: fold lookup_kiocb() into its sole caller (bnc#1012628). +- aio: keep io_event in aio_kiocb (bnc#1012628). +- aio: store event at final iocb_put() (bnc#1012628). +- Fix aio_poll() races (bnc#1012628). +- x86, retpolines: Raise limit for generating indirect calls + from switch-case (bnc#1012628). +- x86/retpolines: Disable switch jump tables when retpolines + are enabled (bnc#1012628). +- rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE + use (bnc#1012628). +- ipv4: add sanity checks in ipv4_link_failure() (bnc#1012628). +- ipv4: set the tcp_min_rtt_wlen range from 0 to one day + (bnc#1012628). +- mlxsw: spectrum: Fix autoneg status in ethtool (bnc#1012628). +- net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages + query (bnc#1012628). +- net: rds: exchange of 8K and 1M pool (bnc#1012628). +- net/rose: fix unbound loop in rose_loopback_timer() + (bnc#1012628). +- net: stmmac: move stmmac_check_ether_addr() to driver probe + (bnc#1012628). +- net/tls: fix refcount adjustment in fallback (bnc#1012628). +- stmmac: pci: Adjust IOT2000 matching (bnc#1012628). +- team: fix possible recursive locking when add slaves + (bnc#1012628). +- net: socionext: replace napi_alloc_frag with the netdev variant + on init (bnc#1012628). +- net/ncsi: handle overflow when incrementing mac address + (bnc#1012628). +- mlxsw: pci: Reincrease PCI reset timeout (bnc#1012628). +- mlxsw: spectrum: Put MC TCs into DWRR mode (bnc#1012628). +- net/mlx5e: Fix the max MTU check in case of XDP (bnc#1012628). +- net/mlx5e: Fix use-after-free after xdp_return_frame + (bnc#1012628). +- net/tls: avoid potential deadlock in tls_set_device_offload_rx() + (bnc#1012628). +- net/tls: don't leak IV and record seq when offload fails + (bnc#1012628). +- commit 07c5318 + +------------------------------------------------------------------- +Wed May 1 23:18:08 CEST 2019 - tiwai@suse.de + +- Revert "ACPICA: Clear status of GPEs before enabling them" + (bsc#1132943). +- commit 13cf3aa + +------------------------------------------------------------------- +Tue Apr 30 13:57:42 CEST 2019 - tiwai@suse.de + +- HID: i2c-hid: Ignore input report if there's no data present + on Elan touchpanels (bsc#1133486). +- commit 5a94296 + +------------------------------------------------------------------- +Tue Apr 30 07:14:58 CEST 2019 - jslaby@suse.cz + +- KVM: x86: Whitelist port 0x7e for pre-incrementing %rip + (bnc#1132694). +- Delete patches.suse/kvm-Workaround-OUT-0x7E.patch. + Update per upstream. +- commit 93ba681 + +------------------------------------------------------------------- +Mon Apr 29 13:05:50 CEST 2019 - jslaby@suse.cz + +- memcg: make it work on sparse non-0-node systems (bnc#1133616). +- commit c0ba22a + +------------------------------------------------------------------- +Mon Apr 29 08:52:32 CEST 2019 - jslaby@suse.cz + +- Workaround Qemu "OUT 0x7E" handling in KVM (bnc#1132694). +- commit e8fc1e9 + +------------------------------------------------------------------- dtb-armv6l.changes: same change dtb-armv7l.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.XKQJmY/_old 2019-05-05 21:17:59.868717927 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:17:59.872717938 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %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.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif dtb-armv6l.spec: same change dtb-armv7l.spec: same change ++++++ kernel-64kb.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:17:59.928718091 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:17:59.932718101 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: Kernel with 64kb PAGE_SIZE License: GPL-2.0 Group: System/Kernel -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -169,10 +169,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 -Provides: kernel-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: kernel-%build_flavor-base-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c +Provides: kernel-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c # END COMMON DEPS -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh ++++++ kernel-debug.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:17:59.948718145 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:17:59.948718145 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: A Debug Version of the Kernel License: GPL-2.0 Group: System/Kernel -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -169,10 +169,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 -Provides: kernel-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: kernel-%build_flavor-base-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c +Provides: kernel-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c # END COMMON DEPS -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %ifarch ppc64 Provides: kernel-kdump = 2.6.28 Obsoletes: kernel-kdump <= 2.6.28 ++++++ kernel-default.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:17:59.964718188 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:17:59.968718199 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: The Standard Kernel License: GPL-2.0 Group: System/Kernel -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -169,10 +169,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 -Provides: kernel-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: kernel-%build_flavor-base-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c +Provides: kernel-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c # END COMMON DEPS -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %ifarch %ix86 Provides: kernel-smp = 2.6.17 Obsoletes: kernel-smp <= 2.6.17 ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:17:59.984718243 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:17:59.984718243 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -31,9 +31,9 @@ Summary: Kernel Documentation License: GPL-2.0 Group: Documentation/Man -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -63,7 +63,7 @@ %endif Url: http://www.kernel.org/ Provides: %name = %version-%source_rel -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz ++++++ kernel-kvmsmall.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.000718286 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.004718297 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: The Small Developer Kernel for KVM License: GPL-2.0 Group: System/Kernel -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -169,10 +169,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 -Provides: kernel-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: kernel-%build_flavor-base-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c +Provides: kernel-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c # END COMMON DEPS -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh kernel-lpae.spec: same change ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.036718385 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.040718395 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -45,7 +45,7 @@ %endif %endif %endif -BuildRequires: kernel%kernel_flavor-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +BuildRequires: kernel%kernel_flavor-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %if 0%{?rhel_version} BuildRequires: kernel @@ -64,9 +64,9 @@ Summary: package kernel and initrd for OBS VM builds License: GPL-2.0 Group: SLES -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.060718450 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.060718450 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -36,9 +36,9 @@ Summary: Basic QA tests for the kernel License: GPL-2.0 Group: SLES -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.076718493 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.080718504 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: Kernel with PAE Support License: GPL-2.0 Group: System/Kernel -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -169,10 +169,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 -Provides: kernel-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: kernel-%build_flavor-base-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c +Provides: kernel-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c # END COMMON DEPS -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %ifarch %ix86 Provides: kernel-bigsmp = 2.6.17 Obsoletes: kernel-bigsmp <= 2.6.17 ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.096718548 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.096718548 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -30,9 +30,9 @@ Summary: The Linux Kernel Sources License: GPL-2.0 Group: Development/Sources -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -43,7 +43,7 @@ BuildRequires: sed Requires(post): coreutils sed Provides: %name = %version-%source_rel -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c Provides: linux Provides: multiversion(kernel) Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.116718602 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.120718614 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0 Group: Development/Sources -Version: 5.0.10 +Version: 5.0.11 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -55,7 +55,7 @@ %endif Requires: pesign-obs-integration Provides: %name = %version-%source_rel -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c Provides: multiversion(kernel) Source: README.KSYMS Requires: kernel-devel%variant = %version-%source_rel ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:00.136718657 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:00.140718668 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.0 -%define patchversion 5.0.10 +%define patchversion 5.0.11 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: The Standard Kernel - without any SUSE patches License: GPL-2.0 Group: System/Kernel -Version: 5.0.10 +Version: 5.0.11 %if 0%{?is_kotd} -Release: <RELEASE>.g048e1d2 +Release: <RELEASE>.g07c5318 %else Release: 0 %endif @@ -169,10 +169,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 -Provides: kernel-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: kernel-%build_flavor-base-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c +Provides: kernel-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c # END COMMON DEPS -Provides: %name-srchash-048e1d279e4d522573b14fa5405b2800b5f4a191 +Provides: %name-srchash-07c53183bf911e733d5fdb4c59d1527c9697dc5c %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh kernel-zfcpdump.spec: same change ++++++ patches.kernel.org.tar.bz2 ++++++ ++++ 7729 lines of diff (skipped) ++++++ patches.suse.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/HID-i2c-hid-Ignore-input-report-if-there-s-no-data-p.patch new/patches.suse/HID-i2c-hid-Ignore-input-report-if-there-s-no-data-p.patch --- old/patches.suse/HID-i2c-hid-Ignore-input-report-if-there-s-no-data-p.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/HID-i2c-hid-Ignore-input-report-if-there-s-no-data-p.patch 2019-05-02 12:46:32.000000000 +0200 @@ -0,0 +1,58 @@ +From 1475af255e18f35dc46f8a7acc18354c73d45149 Mon Sep 17 00:00:00 2001 +From: Kai-Heng Feng <kai.heng.feng@canonical.com> +Date: Mon, 7 Jan 2019 15:24:29 +0800 +Subject: [PATCH] HID: i2c-hid: Ignore input report if there's no data present on Elan touchpanels +Git-commit: 1475af255e18f35dc46f8a7acc18354c73d45149 +Patch-mainline: v5.1-rc1 +References: bsc#1133486 + +While using Elan touchpads, the message floods: +[ 136.138487] i2c_hid i2c-DELL08D6:00: i2c_hid_get_input: incomplete report (14/65535) + +Though the message flood is annoying, the device it self works without +any issue. I suspect that the device in question takes too much time to +pull the IRQ back to high after I2C host has done reading its data. + +Since the host receives all useful data, let's ignore the input report +when there's no data. + +Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> +Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> +Acked-by: Takashi Iwai <tiwai@suse.de> + +--- + drivers/hid/i2c-hid/i2c-hid-core.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/drivers/hid/i2c-hid/i2c-hid-core.c ++++ b/drivers/hid/i2c-hid/i2c-hid-core.c +@@ -50,6 +50,7 @@ + #define I2C_HID_QUIRK_NO_IRQ_AFTER_RESET BIT(1) + #define I2C_HID_QUIRK_NO_RUNTIME_PM BIT(2) + #define I2C_HID_QUIRK_DELAY_AFTER_SLEEP BIT(3) ++#define I2C_HID_QUIRK_BOGUS_IRQ BIT(4) + + /* flags */ + #define I2C_HID_STARTED 0 +@@ -181,6 +182,8 @@ static const struct i2c_hid_quirks { + I2C_HID_QUIRK_NO_RUNTIME_PM }, + { I2C_VENDOR_ID_GOODIX, I2C_DEVICE_ID_GOODIX_01F0, + I2C_HID_QUIRK_NO_RUNTIME_PM }, ++ { USB_VENDOR_ID_ELAN, HID_ANY_ID, ++ I2C_HID_QUIRK_BOGUS_IRQ }, + { 0, 0 } + }; + +@@ -505,6 +508,12 @@ static void i2c_hid_get_input(struct i2c + return; + } + ++ if (ihid->quirks & I2C_HID_QUIRK_BOGUS_IRQ && ret_size == 0xffff) { ++ dev_warn_once(&ihid->client->dev, "%s: IRQ triggered but " ++ "there's no data\n", __func__); ++ return; ++ } ++ + if ((ret_size > size) || (ret_size < 2)) { + dev_err(&ihid->client->dev, "%s: incomplete report (%d/%d)\n", + __func__, size, ret_size); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/KVM-x86-Whitelist-port-0x7e-for-pre-incrementing-rip.patch new/patches.suse/KVM-x86-Whitelist-port-0x7e-for-pre-incrementing-rip.patch --- old/patches.suse/KVM-x86-Whitelist-port-0x7e-for-pre-incrementing-rip.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/KVM-x86-Whitelist-port-0x7e-for-pre-incrementing-rip.patch 2019-05-02 12:46:32.000000000 +0200 @@ -0,0 +1,96 @@ +From: Sean Christopherson <sean.j.christopherson@intel.com> +Date: Mon, 29 Apr 2019 07:04:15 -0700 +Subject: KVM: x86: Whitelist port 0x7e for pre-incrementing %rip +Patch-mainline: submitted on 2019/04/29 +References: bnc#1132694 + +KVM's recent bug fix to update %rip after emulating I/O broke userspace +that relied on the previous behavior of incrementing %rip prior to +exiting to userspace. When running a Windows XP guest on AMD hardware, +Qemu may patch "OUT 0x7E" instructions in reaction to the OUT itself. +Because KVM's old behavior was to increment %rip before exiting to +userspace to handle the I/O, Qemu manually adjusted %rip to account for +the OUT instruction. + +Arguably this is a userspace bug as KVM requires userspace to re-enter +the kernel to complete instruction emulation before taking any other +actions. That being said, this is a bit of a grey area and breaking +userspace that has worked for many years is bad. + +Pre-increment %rip on OUT to port 0x7e before exiting to userspace to +hack around the issue. + +Fixes: 45def77ebf79e ("KVM: x86: update %rip after emulating IO") +Reported-by: Simon Becherer <simon@becherer.de> +Reported-and-tested-by: Iakov Karpov <srid@rkmail.ru> +Reported-by: Gabriele Balducci <balducci@units.it> +Reported-by: Antti Antinoja <reader@fennosys.fi> +Cc: stable@vger.kernel.org +Cc: Takashi Iwai <tiwai@suse.com> +Cc: Jiri Slaby <jslaby@suse.com> +Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> +Signed-off-by: Jiri Slaby <jslaby@suse.cz> +--- + arch/x86/include/uapi/asm/kvm.h | 1 + + arch/x86/kvm/x86.c | 21 +++++++++++++++++++-- + 2 files changed, 20 insertions(+), 2 deletions(-) + +diff --git a/arch/x86/include/uapi/asm/kvm.h b/arch/x86/include/uapi/asm/kvm.h +index dabfcf7c3941..7a0e64ccd6ff 100644 +--- a/arch/x86/include/uapi/asm/kvm.h ++++ b/arch/x86/include/uapi/asm/kvm.h +@@ -381,6 +381,7 @@ struct kvm_sync_regs { + #define KVM_X86_QUIRK_LINT0_REENABLED (1 << 0) + #define KVM_X86_QUIRK_CD_NW_CLEARED (1 << 1) + #define KVM_X86_QUIRK_LAPIC_MMIO_HOLE (1 << 2) ++#define KVM_X86_QUIRK_OUT_7E_INC_RIP (1 << 3) + + #define KVM_STATE_NESTED_GUEST_MODE 0x00000001 + #define KVM_STATE_NESTED_RUN_PENDING 0x00000002 +diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c +index c55fcab15a7b..0b38aec15cf3 100644 +--- a/arch/x86/kvm/x86.c ++++ b/arch/x86/kvm/x86.c +@@ -6554,6 +6554,12 @@ int kvm_emulate_instruction_from_buffer(struct kvm_vcpu *vcpu, + } + EXPORT_SYMBOL_GPL(kvm_emulate_instruction_from_buffer); + ++static int complete_fast_pio_out_port_0x7e(struct kvm_vcpu *vcpu) ++{ ++ vcpu->arch.pio.count = 0; ++ return 1; ++} ++ + static int complete_fast_pio_out(struct kvm_vcpu *vcpu) + { + vcpu->arch.pio.count = 0; +@@ -6570,12 +6576,23 @@ static int kvm_fast_pio_out(struct kvm_vcpu *vcpu, int size, + unsigned long val = kvm_register_read(vcpu, VCPU_REGS_RAX); + int ret = emulator_pio_out_emulated(&vcpu->arch.emulate_ctxt, + size, port, &val, 1); ++ if (ret) ++ return ret; + +- if (!ret) { ++ /* ++ * Workaround userspace that relies on old KVM behavior of %rip being ++ * incremented prior to exiting to userspace to handle "OUT 0x7e". ++ */ ++ if (port == 0x7e && ++ kvm_check_has_quirk(vcpu->kvm, KVM_X86_QUIRK_OUT_7E_INC_RIP)) { ++ vcpu->arch.complete_userspace_io = ++ complete_fast_pio_out_port_0x7e; ++ kvm_skip_emulated_instruction(vcpu); ++ } else { + vcpu->arch.pio.linear_rip = kvm_get_linear_rip(vcpu); + vcpu->arch.complete_userspace_io = complete_fast_pio_out; + } +- return ret; ++ return 0; + } + + static int complete_fast_pio_in(struct kvm_vcpu *vcpu) +-- +2.21.0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-ACPICA-Clear-status-of-GPEs-before-enabling-t.patch new/patches.suse/Revert-ACPICA-Clear-status-of-GPEs-before-enabling-t.patch --- old/patches.suse/Revert-ACPICA-Clear-status-of-GPEs-before-enabling-t.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/Revert-ACPICA-Clear-status-of-GPEs-before-enabling-t.patch 2019-05-02 12:46:32.000000000 +0200 @@ -0,0 +1,52 @@ +From 2c2a2fb1e2a9256714338875bede6b7cbd4b9542 Mon Sep 17 00:00:00 2001 +From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> +Date: Tue, 30 Apr 2019 11:18:21 +0200 +Subject: [PATCH] Revert "ACPICA: Clear status of GPEs before enabling them" +Git-commit: 2c2a2fb1e2a9256714338875bede6b7cbd4b9542 +Patch-mainline: v5.1 +References: bsc#1132943 + +Revert commit c8b1917c8987 ("ACPICA: Clear status of GPEs before +enabling them") that causes problems with Thunderbolt controllers +to occur if a dock device is connected at init time (the xhci_hcd +and thunderbolt modules crash which prevents peripherals connected +through them from working). + +Commit c8b1917c8987 effectively causes commit ecc1165b8b74 ("ACPICA: +Dispatch active GPEs at init time") to get undone, so the problem +addressed by commit ecc1165b8b74 appears again as a result of it. + +Fixes: c8b1917c8987 ("ACPICA: Clear status of GPEs before enabling them") +Link: https://lore.kernel.org/lkml/s5hy33siofw.wl-tiwai@suse.de/T/#u +Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1132943 +Reported-by: Michael Hirmke <opensuse@mike.franken.de> +Reported-by: Takashi Iwai <tiwai@suse.de> +Cc: 4.17+ <stable@vger.kernel.org> # 4.17+ +Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> +Acked-by: Takashi Iwai <tiwai@suse.de> + +--- + drivers/acpi/acpica/evgpe.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c +index 5e9d7348c16f..62d3aa74277b 100644 +--- a/drivers/acpi/acpica/evgpe.c ++++ b/drivers/acpi/acpica/evgpe.c +@@ -81,12 +81,8 @@ acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info) + + ACPI_FUNCTION_TRACE(ev_enable_gpe); + +- /* Clear the GPE status */ +- status = acpi_hw_clear_gpe(gpe_event_info); +- if (ACPI_FAILURE(status)) +- return_ACPI_STATUS(status); +- + /* Enable the requested GPE */ ++ + status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE); + return_ACPI_STATUS(status); + } +-- +2.16.4 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-drm-i915-fbdev-Actually-configure-untiled-dis.patch new/patches.suse/Revert-drm-i915-fbdev-Actually-configure-untiled-dis.patch --- old/patches.suse/Revert-drm-i915-fbdev-Actually-configure-untiled-dis.patch 2019-04-27 20:39:53.000000000 +0200 +++ new/patches.suse/Revert-drm-i915-fbdev-Actually-configure-untiled-dis.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -From 09641f5216bc9c4f0cc5b820cc7ec3524262d13e Mon Sep 17 00:00:00 2001 -From: Takashi Iwai <tiwai@suse.de> -Date: Sun, 31 Mar 2019 09:54:04 +0200 -Subject: [PATCH] Revert "drm/i915/fbdev: Actually configure untiled displays" -Patch-mainline: Never, a tentative fix until X driver gets fixed -References: bsc#1129027, bsc#1131048 - -This reverts commit d179b88deb3bf6fed4991a31fd6f0f2cad21fab5. -It causes a regression on old i915 chipset that leads to a blank -screen when used with X modesetting driver. - -Signed-off-by: Takashi Iwai <tiwai@suse.de> - ---- - drivers/gpu/drm/i915/intel_fbdev.c | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c -index e8f694b57b8a..376ffe842e26 100644 ---- a/drivers/gpu/drm/i915/intel_fbdev.c -+++ b/drivers/gpu/drm/i915/intel_fbdev.c -@@ -338,8 +338,8 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper, - bool *enabled, int width, int height) - { - struct drm_i915_private *dev_priv = to_i915(fb_helper->dev); -+ unsigned long conn_configured, conn_seq, mask; - unsigned int count = min(fb_helper->connector_count, BITS_PER_LONG); -- unsigned long conn_configured, conn_seq; - int i, j; - bool *save_enabled; - bool fallback = true, ret = true; -@@ -357,9 +357,10 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper, - drm_modeset_backoff(&ctx); - - memcpy(save_enabled, enabled, count); -- conn_seq = GENMASK(count - 1, 0); -+ mask = GENMASK(count - 1, 0); - conn_configured = 0; - retry: -+ conn_seq = conn_configured; - for (i = 0; i < count; i++) { - struct drm_fb_helper_connector *fb_conn; - struct drm_connector *connector; -@@ -372,8 +373,7 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper, - if (conn_configured & BIT(i)) - continue; - -- /* First pass, only consider tiled connectors */ -- if (conn_seq == GENMASK(count - 1, 0) && !connector->has_tile) -+ if (conn_seq == 0 && !connector->has_tile) - continue; - - if (connector->status == connector_status_connected) -@@ -477,10 +477,8 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper, - conn_configured |= BIT(i); - } - -- if (conn_configured != conn_seq) { /* repeat until no more are found */ -- conn_seq = conn_configured; -+ if ((conn_configured & mask) != mask && conn_configured != conn_seq) - goto retry; -- } - - /* - * If the BIOS didn't enable everything it could, fall back to have the --- -2.16.4 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/memcg-make-it-work-on-sparse-non-0-node-systems.patch new/patches.suse/memcg-make-it-work-on-sparse-non-0-node-systems.patch --- old/patches.suse/memcg-make-it-work-on-sparse-non-0-node-systems.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/memcg-make-it-work-on-sparse-non-0-node-systems.patch 2019-05-02 12:46:32.000000000 +0200 @@ -0,0 +1,71 @@ +From: Jiri Slaby <jslaby@suse.cz> +Date: Mon, 29 Apr 2019 12:39:10 +0200 +Subject: memcg: make it work on sparse non-0-node systems +Patch-mainline: submitted on 2019/04/29 +References: bnc#1133616 + +We have a single node system with node 0 disabled: + Scanning NUMA topology in Northbridge 24 + Number of physical nodes 2 + Skipping disabled node 0 + Node 1 MemBase 0000000000000000 Limit 00000000fbff0000 + NODE_DATA(1) allocated [mem 0xfbfda000-0xfbfeffff] + +This causes crashes in memcg when system boots: + BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 + #PF error: [normal kernel read fault] +... + RIP: 0010:list_lru_add+0x94/0x170 +... + Call Trace: + d_lru_add+0x44/0x50 + dput.part.34+0xfc/0x110 + __fput+0x108/0x230 + task_work_run+0x9f/0xc0 + exit_to_usermode_loop+0xf5/0x100 + +It is reproducible as far as 4.12. I did not try older kernels. You have +to have a new enough systemd, e.g. 241 (the reason is unknown -- was not +investigated). Cannot be reproduced with systemd 234. + +The system crashes because the size of lru array is never updated in +memcg_update_all_list_lrus and the reads are past the zero-sized array, +causing dereferences of random memory. + +The root cause are list_lru_memcg_aware checks in the list_lru code. +The test in list_lru_memcg_aware is broken: it assumes node 0 is always +present, but it is not true on some systems as can be seen above. + +So fix this by checking the first online node instead of node 0. + +Signed-off-by: Jiri Slaby <jslaby@suse.cz> +Cc: Johannes Weiner <hannes@cmpxchg.org> +Cc: Michal Hocko <mhocko@kernel.org> +Cc: Vladimir Davydov <vdavydov.dev@gmail.com> +Cc: <cgroups@vger.kernel.org> +Cc: <linux-mm@kvack.org> +Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> +--- + mm/list_lru.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/mm/list_lru.c b/mm/list_lru.c +index 0730bf8ff39f..7689910f1a91 100644 +--- a/mm/list_lru.c ++++ b/mm/list_lru.c +@@ -37,11 +37,7 @@ static int lru_shrinker_id(struct list_lru *lru) + + static inline bool list_lru_memcg_aware(struct list_lru *lru) + { +- /* +- * This needs node 0 to be always present, even +- * in the systems supporting sparse numa ids. +- */ +- return !!lru->node[0].memcg_lrus; ++ return !!lru->node[first_online_node].memcg_lrus; + } + + static inline struct list_lru_one * +-- +2.21.0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/vfio-type1-limit-dma-mappings-per-container new/patches.suse/vfio-type1-limit-dma-mappings-per-container --- old/patches.suse/vfio-type1-limit-dma-mappings-per-container 2019-04-27 20:39:53.000000000 +0200 +++ new/patches.suse/vfio-type1-limit-dma-mappings-per-container 1970-01-01 01:00:00.000000000 +0100 @@ -1,94 +0,0 @@ -From: Alex Williamson <alex.williamson@redhat.com> -Date: Wed, 3 Apr 2019 12:36:21 -0600 -Subject: vfio/type1: Limit DMA mappings per container -Git-commit: 492855939bdb59c6f947b0b5b44af9ad82b7e38c -Patch-mainline: v5.1-rc4 -References: CVE-2019-3882 bsc#1131427 - -Memory backed DMA mappings are accounted against a user's locked -memory limit, including multiple mappings of the same memory. This -accounting bounds the number of such mappings that a user can create. -However, DMA mappings that are not backed by memory, such as DMA -mappings of device MMIO via mmaps, do not make use of page pinning -and therefore do not count against the user's locked memory limit. -These mappings still consume memory, but the memory is not well -associated to the process for the purpose of oom killing a task. - -To add bounding on this use case, we introduce a limit to the total -number of concurrent DMA mappings that a user is allowed to create. -This limit is exposed as a tunable module option where the default -value of 64K is expected to be well in excess of any reasonable use -case (a large virtual machine configuration would typically only make -use of tens of concurrent mappings). - -This fixes CVE-2019-3882. - -Reviewed-by: Eric Auger <eric.auger@redhat.com> -Tested-by: Eric Auger <eric.auger@redhat.com> -Reviewed-by: Peter Xu <peterx@redhat.com> -Reviewed-by: Cornelia Huck <cohuck@redhat.com> -Signed-off-by: Alex Williamson <alex.williamson@redhat.com> -Acked-by: Joerg Roedel <jroedel@suse.de> ---- - drivers/vfio/vfio_iommu_type1.c | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c -index 73652e21efec..d0f731c9920a 100644 ---- a/drivers/vfio/vfio_iommu_type1.c -+++ b/drivers/vfio/vfio_iommu_type1.c -@@ -58,12 +58,18 @@ module_param_named(disable_hugepages, - MODULE_PARM_DESC(disable_hugepages, - "Disable VFIO IOMMU support for IOMMU hugepages."); - -+static unsigned int dma_entry_limit __read_mostly = U16_MAX; -+module_param_named(dma_entry_limit, dma_entry_limit, uint, 0644); -+MODULE_PARM_DESC(dma_entry_limit, -+ "Maximum number of user DMA mappings per container (65535)."); -+ - struct vfio_iommu { - struct list_head domain_list; - struct vfio_domain *external_domain; /* domain for external user */ - struct mutex lock; - struct rb_root dma_list; - struct blocking_notifier_head notifier; -+ unsigned int dma_avail; - bool v2; - bool nesting; - }; -@@ -836,6 +842,7 @@ static void vfio_remove_dma(struct vfio_iommu *iommu, struct vfio_dma *dma) - vfio_unlink_dma(iommu, dma); - put_task_struct(dma->task); - kfree(dma); -+ iommu->dma_avail++; - } - - static unsigned long vfio_pgsize_bitmap(struct vfio_iommu *iommu) -@@ -1081,12 +1088,18 @@ static int vfio_dma_do_map(struct vfio_iommu *iommu, - goto out_unlock; - } - -+ if (!iommu->dma_avail) { -+ ret = -ENOSPC; -+ goto out_unlock; -+ } -+ - dma = kzalloc(sizeof(*dma), GFP_KERNEL); - if (!dma) { - ret = -ENOMEM; - goto out_unlock; - } - -+ iommu->dma_avail--; - dma->iova = iova; - dma->vaddr = vaddr; - dma->prot = prot; -@@ -1583,6 +1596,7 @@ static void *vfio_iommu_type1_open(unsigned long arg) - - INIT_LIST_HEAD(&iommu->domain_list); - iommu->dma_list = RB_ROOT; -+ iommu->dma_avail = dma_entry_limit; - mutex_init(&iommu->lock); - BLOCKING_INIT_NOTIFIER_HEAD(&iommu->notifier); - - ++++++ series.conf ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:01.272721751 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:01.272721751 +0200 @@ -1159,6 +1159,96 @@ patches.kernel.org/5.0.10-115-percpu-stop-printing-kernel-addresses.patch patches.kernel.org/5.0.10-116-kernel-sysctl.c-fix-out-of-bounds-access-when-.patch patches.kernel.org/5.0.10-117-Linux-5.0.10.patch + patches.kernel.org/5.0.11-001-netfilter-nf_tables-bogus-EBUSY-when-deleting-.patch + patches.kernel.org/5.0.11-002-netfilter-nf_tables-bogus-EBUSY-in-helper-remo.patch + patches.kernel.org/5.0.11-003-intel_th-gth-Fix-an-off-by-one-in-output-unass.patch + patches.kernel.org/5.0.11-004-powerpc-vdso32-fix-CLOCK_MONOTONIC-on-PPC64.patch + patches.kernel.org/5.0.11-005-ALSA-hda-realtek-Move-to-ACT_INIT-state.patch + patches.kernel.org/5.0.11-006-fs-proc-proc_sysctl.c-Fix-a-NULL-pointer-deref.patch + patches.kernel.org/5.0.11-007-block-bfq-fix-use-after-free-in-bfq_bfqq_expir.patch + patches.kernel.org/5.0.11-008-cifs-fix-memory-leak-in-SMB2_read.patch + patches.kernel.org/5.0.11-009-cifs-fix-page-reference-leak-with-readv-writev.patch + patches.kernel.org/5.0.11-010-cifs-do-not-attempt-cifs-operation-on-smb2-ren.patch + patches.kernel.org/5.0.11-011-tracing-Fix-a-memory-leak-by-early-error-exit-.patch + patches.kernel.org/5.0.11-012-tracing-Fix-buffer_ref-pipe-ops.patch + patches.kernel.org/5.0.11-013-crypto-xts-Fix-atomic-sleep-when-walking-skcip.patch + patches.kernel.org/5.0.11-014-crypto-lrw-Fix-atomic-sleep-when-walking-skcip.patch + patches.kernel.org/5.0.11-015-gpio-eic-sprd-Fix-incorrect-irq-type-setting-f.patch + patches.kernel.org/5.0.11-016-zram-pass-down-the-bvec-we-need-to-read-into-i.patch + patches.kernel.org/5.0.11-017-lib-Kconfig.debug-fix-build-error-without-CONF.patch + patches.kernel.org/5.0.11-018-MIPS-scall64-o32-Fix-indirect-syscall-number-l.patch + patches.kernel.org/5.0.11-019-trace-Fix-preempt_enable_no_resched-abuse.patch + patches.kernel.org/5.0.11-020-mm-do-not-boost-watermarks-to-avoid-fragmentat.patch + patches.kernel.org/5.0.11-021-arm64-mm-Ensure-tail-of-unaligned-initrd-is-re.patch + patches.kernel.org/5.0.11-022-IB-rdmavt-Fix-frwr-memory-registration.patch + patches.kernel.org/5.0.11-023-RDMA-mlx5-Do-not-allow-the-user-to-write-to-th.patch + patches.kernel.org/5.0.11-024-RDMA-mlx5-Use-rdma_user_map_io-for-mapping-BAR.patch + patches.kernel.org/5.0.11-025-RDMA-ucontext-Fix-regression-with-disassociate.patch + patches.kernel.org/5.0.11-026-sched-numa-Fix-a-possible-divide-by-zero.patch + patches.kernel.org/5.0.11-027-ceph-only-use-d_name-directly-when-parent-is-l.patch + patches.kernel.org/5.0.11-028-ceph-ensure-d_name-stability-in-ceph_dentry_ha.patch + patches.kernel.org/5.0.11-029-ceph-fix-ci-i_head_snapc-leak.patch + patches.kernel.org/5.0.11-030-nfsd-Don-t-release-the-callback-slot-unless-it.patch + patches.kernel.org/5.0.11-031-nfsd-wake-waiters-blocked-on-file_lock-before-.patch + patches.kernel.org/5.0.11-032-nfsd-wake-blocked-file-lock-waiters-before-sen.patch + patches.kernel.org/5.0.11-033-sunrpc-don-t-mark-uninitialised-items-as-VALID.patch + patches.kernel.org/5.0.11-034-perf-x86-intel-Update-KBL-Package-C-state-even.patch + patches.kernel.org/5.0.11-035-Input-synaptics-rmi4-write-config-register-val.patch + patches.kernel.org/5.0.11-036-vfio-type1-Limit-DMA-mappings-per-container.patch + patches.kernel.org/5.0.11-037-dmaengine-sh-rcar-dmac-With-cyclic-DMA-residue.patch + patches.kernel.org/5.0.11-038-dmaengine-sh-rcar-dmac-Fix-glitch-in-dmaengine.patch + patches.kernel.org/5.0.11-039-dmaengine-mediatek-cqdma-fix-wrong-register-us.patch + patches.kernel.org/5.0.11-040-ARM-8857-1-efi-enable-CP15-DMB-instructions-be.patch + patches.kernel.org/5.0.11-041-powerpc-mm-radix-Make-Radix-require-HUGETLB_PA.patch + patches.kernel.org/5.0.11-042-drm-vc4-Fix-memory-leak-during-gpu-reset.patch + patches.kernel.org/5.0.11-043-drm-ttm-fix-re-init-of-global-structures.patch + patches.kernel.org/5.0.11-044-Revert-drm-i915-fbdev-Actually-configure-until.patch + patches.kernel.org/5.0.11-045-drm-vc4-Fix-compilation-error-reported-by-kbui.patch + patches.kernel.org/5.0.11-046-USB-Add-new-USB-LPM-helpers.patch + patches.kernel.org/5.0.11-047-USB-Consolidate-LPM-checks-to-avoid-enabling-L.patch + patches.kernel.org/5.0.11-048-ext4-fix-some-error-pointer-dereferences.patch + patches.kernel.org/5.0.11-049-loop-do-not-print-warn-message-if-partition-sc.patch + patches.kernel.org/5.0.11-050-tipc-handle-the-err-returned-from-cmd-header-f.patch + patches.kernel.org/5.0.11-051-slip-make-slhc_free-silently-accept-an-error-p.patch + patches.kernel.org/5.0.11-052-workqueue-Try-to-catch-flush_work-without-INIT.patch + patches.kernel.org/5.0.11-053-binder-fix-handling-of-misaligned-binder-objec.patch + patches.kernel.org/5.0.11-054-sched-deadline-Correctly-handle-active-0-lag-t.patch + patches.kernel.org/5.0.11-055-mac80211_hwsim-calculate-if_combination.max_in.patch + patches.kernel.org/5.0.11-056-NFS-Forbid-setting-AF_INET6-to-struct-sockaddr.patch + patches.kernel.org/5.0.11-057-netfilter-ebtables-CONFIG_COMPAT-drop-a-bogus-.patch + patches.kernel.org/5.0.11-058-fm10k-Fix-a-potential-NULL-pointer-dereference.patch + patches.kernel.org/5.0.11-059-tipc-check-bearer-name-with-right-length-in-ti.patch + patches.kernel.org/5.0.11-060-tipc-check-link-name-with-right-length-in-tipc.patch + patches.kernel.org/5.0.11-061-net-netrom-Fix-error-cleanup-path-of-nr_proto_.patch + patches.kernel.org/5.0.11-062-net-rds-Check-address-length-before-reading-ad.patch + patches.kernel.org/5.0.11-063-rxrpc-fix-race-condition-in-rxrpc_input_packet.patch + patches.kernel.org/5.0.11-064-pin-iocb-through-aio.patch + patches.kernel.org/5.0.11-065-aio-fold-lookup_kiocb-into-its-sole-caller.patch + patches.kernel.org/5.0.11-066-aio-keep-io_event-in-aio_kiocb.patch + patches.kernel.org/5.0.11-067-aio-store-event-at-final-iocb_put.patch + patches.kernel.org/5.0.11-068-Fix-aio_poll-races.patch + patches.kernel.org/5.0.11-069-x86-retpolines-Raise-limit-for-generating-indi.patch + patches.kernel.org/5.0.11-070-x86-retpolines-Disable-switch-jump-tables-when.patch + patches.kernel.org/5.0.11-071-rdma-fix-build-errors-on-s390-and-MIPS-due-to-.patch + patches.kernel.org/5.0.11-072-ipv4-add-sanity-checks-in-ipv4_link_failure.patch + patches.kernel.org/5.0.11-073-ipv4-set-the-tcp_min_rtt_wlen-range-from-0-to-.patch + patches.kernel.org/5.0.11-074-mlxsw-spectrum-Fix-autoneg-status-in-ethtool.patch + patches.kernel.org/5.0.11-075-net-mlx5e-ethtool-Remove-unsupported-SFP-EEPRO.patch + patches.kernel.org/5.0.11-076-net-rds-exchange-of-8K-and-1M-pool.patch + patches.kernel.org/5.0.11-077-net-rose-fix-unbound-loop-in-rose_loopback_tim.patch + patches.kernel.org/5.0.11-078-net-stmmac-move-stmmac_check_ether_addr-to-dri.patch + patches.kernel.org/5.0.11-079-net-tls-fix-refcount-adjustment-in-fallback.patch + patches.kernel.org/5.0.11-080-stmmac-pci-Adjust-IOT2000-matching.patch + patches.kernel.org/5.0.11-081-team-fix-possible-recursive-locking-when-add-s.patch + patches.kernel.org/5.0.11-082-net-socionext-replace-napi_alloc_frag-with-the.patch + patches.kernel.org/5.0.11-083-net-ncsi-handle-overflow-when-incrementing-mac.patch + patches.kernel.org/5.0.11-084-mlxsw-pci-Reincrease-PCI-reset-timeout.patch + patches.kernel.org/5.0.11-085-mlxsw-spectrum-Put-MC-TCs-into-DWRR-mode.patch + patches.kernel.org/5.0.11-086-net-mlx5e-Fix-the-max-MTU-check-in-case-of-XDP.patch + patches.kernel.org/5.0.11-087-net-mlx5e-Fix-use-after-free-after-xdp_return_.patch + patches.kernel.org/5.0.11-088-net-tls-avoid-potential-deadlock-in-tls_set_de.patch + patches.kernel.org/5.0.11-089-net-tls-don-t-leak-IV-and-record-seq-when-offl.patch + patches.kernel.org/5.0.11-090-Linux-5.0.11.patch ######################################################## # Build fixes that apply to the vanilla kernel too. @@ -1212,6 +1302,7 @@ # Scheduler / Core ######################################################## patches.suse/setuid-dumpable-wrongdir + patches.suse/memcg-make-it-work-on-sparse-non-0-node-systems.patch ######################################################## # Architecture-specific patches. These used to be all @@ -1309,6 +1400,7 @@ ######################################################## patches.suse/acpi_thinkpad_introduce_acpi_root_table_boot_param.patch patches.suse/acpi_thermal_passive_blacklist.patch + patches.suse/Revert-ACPICA-Clear-status-of-GPEs-before-enabling-t.patch ######################################################## # CPUFREQ @@ -1423,7 +1515,6 @@ ######################################################## # DRM/Video ######################################################## - patches.suse/Revert-drm-i915-fbdev-Actually-configure-untiled-dis.patch patches.suse/efifb-Omit-memory-map-check-on-legacy-boot.patch ######################################################## @@ -1472,6 +1563,7 @@ ######################################################## # Input & Console ######################################################## + patches.suse/HID-i2c-hid-Ignore-input-report-if-there-s-no-data-p.patch ########################################################## # Sound @@ -1559,7 +1651,7 @@ # KVM patches ######################################################## - patches.suse/vfio-type1-limit-dma-mappings-per-container + patches.suse/KVM-x86-Whitelist-port-0x7e-for-pre-incrementing-rip.patch ######################################################## # documentation ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.XKQJmY/_old 2019-05-05 21:18:01.296721817 +0200 +++ /var/tmp/diff_new_pack.XKQJmY/_new 2019-05-05 21:18:01.300721828 +0200 @@ -1,3 +1,3 @@ -2019-04-27 18:39:53 +0000 -GIT Revision: 048e1d279e4d522573b14fa5405b2800b5f4a191 +2019-05-02 10:46:32 +0000 +GIT Revision: 07c53183bf911e733d5fdb4c59d1527c9697dc5c GIT Branch: stable
participants (1)
-
root