Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2019-05-20 10:27:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Mon May 20 10:27:40 2019 rev:488 rq:703597 version:5.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2019-05-16 21:58:09.798833655 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.5148/dtb-aarch64.changes 2019-05-20 10:27:42.437929975 +0200 @@ -1,0 +2,94 @@ +Fri May 17 06:54:10 CEST 2019 - [email protected] + +- Revert "selinux: do not report error on connect(AF_UNSPEC)" + (git-fixes). +- Revert "Don't jump to compute_result state from check_result + state" (git-fixes). +- commit 3d34296 + +------------------------------------------------------------------- +Fri May 17 06:38:43 CEST 2019 - [email protected] + +- Linux 5.1.3 (bnc#1012628). +- f2fs: Fix use of number of devices (bnc#1012628). +- PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), + if necessary (bnc#1012628). +- PCI: hv: Add hv_pci_remove_slots() when we unload the driver + (bnc#1012628). +- PCI: hv: Fix a memory leak in hv_eject_device_work() + (bnc#1012628). +- virtio_ring: Fix potential mem leak in + virtqueue_add_indirect_packed (bnc#1012628). +- powerpc/booke64: set RI in default MSR (bnc#1012628). +- powerpc/powernv/idle: Restore IAMR after idle (bnc#1012628). +- powerpc/book3s/64: check for NULL pointer in pgd_alloc() + (bnc#1012628). +- drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl + (bnc#1012628). +- drivers/virt/fsl_hypervisor.c: dereferencing error pointers + in ioctl (bnc#1012628). +- isdn: bas_gigaset: use usb_fill_int_urb() properly + (bnc#1012628). +- flow_dissector: disable preemption around BPF calls + (bnc#1012628). +- net: phy: fix phy_validate_pause (bnc#1012628). +- tuntap: synchronize through tfiles array instead of + tun->numqueues (bnc#1012628). +- tuntap: fix dividing by zero in ebpf queue selection + (bnc#1012628). +- vrf: sit mtu should not be updated when vrf netdev is the link + (bnc#1012628). +- vlan: disable SIOCSHWTSTAMP in container (bnc#1012628). +- tipc: fix hanging clients using poll with EPOLLOUT flag + (bnc#1012628). +- selinux: do not report error on connect(AF_UNSPEC) + (bnc#1012628). +- packet: Fix error path in packet_init (bnc#1012628). +- net: ucc_geth - fix Oops when changing number of buffers in + the ring (bnc#1012628). +- net: seeq: fix crash caused by not set dev.parent (bnc#1012628). +- net: macb: Change interrupt and napi enable order in open + (bnc#1012628). +- net: ethernet: stmmac: dwmac-sun8i: enable support of unicast + filtering (bnc#1012628). +- net: dsa: Fix error cleanup path in dsa_init_module + (bnc#1012628). +- ipv4: Fix raw socket lookup for local traffic (bnc#1012628). +- fib_rules: return 0 directly if an exactly same rule exists + when NLM_F_EXCL not supplied (bnc#1012628). +- dpaa_eth: fix SG frame cleanup (bnc#1012628). +- bridge: Fix error path for kobject_init_and_add() (bnc#1012628). +- bonding: fix arp_validate toggling in active-backup mode + (bnc#1012628). +- Don't jump to compute_result state from check_result state + (bnc#1012628). +- rtlwifi: rtl8723ae: Fix missing break in switch statement + (bnc#1012628). +- mwl8k: Fix rate_idx underflow (bnc#1012628). +- USB: serial: fix unthrottle races (bnc#1012628). +- virt: vbox: Sanity-check parameter types for hgcm-calls coming + from userspace (bnc#1012628). +- kernfs: fix barrier usage in __kernfs_new_node() (bnc#1012628). +- i2c: core: ratelimit 'transfer when suspended' errors + (bnc#1012628). +- selftests/seccomp: Handle namespace failures gracefully + (bnc#1012628). +- hwmon: (occ) Fix extended status bits (bnc#1012628). +- hwmon: (pwm-fan) Disable PWM if fetching cooling data fails + (bnc#1012628). +- platform/x86: dell-laptop: fix rfkill functionality + (bnc#1012628). +- platform/x86: thinkpad_acpi: Disable Bluetooth for some machines + (bnc#1012628). +- platform/x86: sony-laptop: Fix unintentional fall-through + (bnc#1012628). +- commit 073196d + +------------------------------------------------------------------- +Wed May 15 09:44:48 CEST 2019 - [email protected] + +- x86/kvm/pmu: Set AMD's virt PMU version to 1 + (https://patchwork.kernel.org/patch/10936271/). +- commit d737fc7 + +------------------------------------------------------------------- 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.vqL1qJ/_old 2019-05-20 10:27:51.237927060 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:51.261927052 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %else Release: 0 %endif dtb-armv6l.spec: same change dtb-armv7l.spec: same change ++++++ kernel-64kb.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:52.257926722 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:52.285926712 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %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-08094c3e7184c834a637fa15f7b4a3ec0ee750ea -Provides: kernel-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: kernel-%build_flavor-base-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 +Provides: kernel-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 # END COMMON DEPS -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %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.vqL1qJ/_old 2019-05-20 10:27:52.569926618 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:52.601926608 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %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-08094c3e7184c834a637fa15f7b4a3ec0ee750ea -Provides: kernel-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: kernel-%build_flavor-base-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 +Provides: kernel-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 # END COMMON DEPS -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %ifarch ppc64 Provides: kernel-kdump = 2.6.28 Obsoletes: kernel-kdump <= 2.6.28 ++++++ kernel-default.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:52.849926526 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:52.877926516 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %define variant %{nil} %define vanilla_only 0 @@ -62,9 +62,9 @@ Summary: The Standard Kernel License: GPL-2.0 Group: System/Kernel -Version: 5.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %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-08094c3e7184c834a637fa15f7b4a3ec0ee750ea -Provides: kernel-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: kernel-%build_flavor-base-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 +Provides: kernel-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 # END COMMON DEPS -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %ifarch %ix86 Provides: kernel-smp = 2.6.17 Obsoletes: kernel-smp <= 2.6.17 ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:53.145926427 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:53.169926419 +0200 @@ -17,7 +17,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -31,9 +31,9 @@ Summary: Kernel Documentation License: GPL-2.0 Group: Documentation/Man -Version: 5.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %else Release: 0 %endif @@ -63,7 +63,7 @@ %endif Url: http://www.kernel.org/ Provides: %name = %version-%source_rel -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 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.vqL1qJ/_old 2019-05-20 10:27:53.457926324 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:53.497926310 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %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-08094c3e7184c834a637fa15f7b4a3ec0ee750ea -Provides: kernel-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: kernel-%build_flavor-base-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 +Provides: kernel-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 # END COMMON DEPS -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %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.vqL1qJ/_old 2019-05-20 10:27:54.109926108 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:54.157926092 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 5.1.2 +%define patchversion 5.1.3 %define variant %{nil} %define vanilla_only 0 @@ -45,7 +45,7 @@ %endif %endif %endif -BuildRequires: kernel%kernel_flavor-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +BuildRequires: kernel%kernel_flavor-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:54.473925987 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:54.505925977 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:54.893925848 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:54.917925840 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %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-08094c3e7184c834a637fa15f7b4a3ec0ee750ea -Provides: kernel-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: kernel-%build_flavor-base-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 +Provides: kernel-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 # END COMMON DEPS -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %ifarch %ix86 Provides: kernel-bigsmp = 2.6.17 Obsoletes: kernel-bigsmp <= 2.6.17 ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:55.209925744 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:55.261925726 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %else Release: 0 %endif @@ -43,7 +43,7 @@ BuildRequires: sed Requires(post): coreutils sed Provides: %name = %version-%source_rel -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 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.vqL1qJ/_old 2019-05-20 10:27:55.617925608 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:55.637925601 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0 Group: Development/Sources -Version: 5.1.2 +Version: 5.1.3 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %else Release: 0 %endif @@ -55,7 +55,7 @@ %endif Requires: pesign-obs-integration Provides: %name = %version-%source_rel -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 Provides: multiversion(kernel) Source: README.KSYMS Requires: kernel-devel%variant = %version-%source_rel ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:27:55.953925497 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:27:55.993925484 +0200 @@ -18,7 +18,7 @@ %define srcversion 5.1 -%define patchversion 5.1.2 +%define patchversion 5.1.3 %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.1.2 +Version: 5.1.3 %if 0%{?is_kotd} -Release: <RELEASE>.g08094c3 +Release: <RELEASE>.g07d2e25 %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-08094c3e7184c834a637fa15f7b4a3ec0ee750ea -Provides: kernel-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: kernel-%build_flavor-base-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 +Provides: kernel-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 # END COMMON DEPS -Provides: %name-srchash-08094c3e7184c834a637fa15f7b4a3ec0ee750ea +Provides: %name-srchash-07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 %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 ++++++ ++++ 3421 lines of diff (skipped) ++++++ patches.suse.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch new/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch --- old/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch 2019-05-17 06:54:29.000000000 +0200 @@ -0,0 +1,56 @@ +From: Song Liu <[email protected]> +Date: Tue, 16 Apr 2019 09:34:21 -0700 +Subject: Revert "Don't jump to compute_result state from check_result state" +Git-commit: a25d8c327bb41742dbd59f8c545f59f3b9c39983 +Patch-mainline: 5.2-rc1 +References: git-fixes + +This reverts commit 4f4fd7c5798bbdd5a03a60f6269cf1177fbd11ef. + +Cc: Dan Williams <[email protected]> +Cc: Nigel Croxon <[email protected]> +Cc: Xiao Ni <[email protected]> +Signed-off-by: Song Liu <[email protected]> +Signed-off-by: Jiri Slaby <[email protected]> +--- + drivers/md/raid5.c | 19 +++++++++++++++---- + 1 file changed, 15 insertions(+), 4 deletions(-) + +diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c +index 2b0a715e70c9..b5742d07662d 100644 +--- a/drivers/md/raid5.c ++++ b/drivers/md/raid5.c +@@ -4227,15 +4227,26 @@ static void handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh, + case check_state_check_result: + sh->check_state = check_state_idle; + +- if (s->failed > 1) +- break; + /* handle a successful check operation, if parity is correct + * we are done. Otherwise update the mismatch count and repair + * parity if !MD_RECOVERY_CHECK + */ + if (sh->ops.zero_sum_result == 0) { +- /* Any parity checked was correct */ +- set_bit(STRIPE_INSYNC, &sh->state); ++ /* both parities are correct */ ++ if (!s->failed) ++ set_bit(STRIPE_INSYNC, &sh->state); ++ else { ++ /* in contrast to the raid5 case we can validate ++ * parity, but still have a failure to write ++ * back ++ */ ++ sh->check_state = check_state_compute_result; ++ /* Returning at this point means that we may go ++ * off and bring p and/or q uptodate again so ++ * we make sure to check zero_sum_result again ++ * to verify if p or q need writeback ++ */ ++ } + } else { + atomic64_add(STRIPE_SECTORS, &conf->mddev->resync_mismatches); + if (test_bit(MD_RECOVERY_CHECK, &conf->mddev->recovery)) { +-- +2.21.0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-selinux-do-not-report-error-on-connect-AF_UNS.patch new/patches.suse/Revert-selinux-do-not-report-error-on-connect-AF_UNS.patch --- old/patches.suse/Revert-selinux-do-not-report-error-on-connect-AF_UNS.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/Revert-selinux-do-not-report-error-on-connect-AF_UNS.patch 2019-05-17 06:54:29.000000000 +0200 @@ -0,0 +1,53 @@ +From: Paolo Abeni <[email protected]> +Date: Fri, 10 May 2019 11:37:58 +0200 +Subject: Revert "selinux: do not report error on connect(AF_UNSPEC)" +Git-commit: e711ab936a44ee9f63f1746c09029543f1b29dd2 +Patch-mainline: 5.2-rc1 +References: git-fixes + +This reverts commit c7e0d6cca86581092cbbf2cd868b3601495554cf. + +It was agreed a slightly different fix via the selinux tree. + +v1 -> v2: + - use the correct reverted commit hash + +Signed-off-by: Paolo Abeni <[email protected]> +Signed-off-by: David S. Miller <[email protected]> +Signed-off-by: Jiri Slaby <[email protected]> +--- + security/selinux/hooks.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c +index d82b87c16b0a..c61787b15f27 100644 +--- a/security/selinux/hooks.c ++++ b/security/selinux/hooks.c +@@ -4649,7 +4649,7 @@ static int selinux_socket_connect_helper(struct socket *sock, + struct lsm_network_audit net = {0,}; + struct sockaddr_in *addr4 = NULL; + struct sockaddr_in6 *addr6 = NULL; +- unsigned short snum = 0; ++ unsigned short snum; + u32 sid, perm; + + /* sctp_connectx(3) calls via selinux_sctp_bind_connect() +@@ -4674,12 +4674,12 @@ static int selinux_socket_connect_helper(struct socket *sock, + break; + default: + /* Note that SCTP services expect -EINVAL, whereas +- * others must handle this at the protocol level: +- * connect(AF_UNSPEC) on a connected socket is +- * a documented way disconnect the socket. ++ * others expect -EAFNOSUPPORT. + */ + if (sksec->sclass == SECCLASS_SCTP_SOCKET) + return -EINVAL; ++ else ++ return -EAFNOSUPPORT; + } + + err = sel_netport_sid(sk->sk_protocol, snum, &sid); +-- +2.21.0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/x86-kvm-pmu-Set-AMD-s-virt-PMU-version-to-1.patch new/patches.suse/x86-kvm-pmu-Set-AMD-s-virt-PMU-version-to-1.patch --- old/patches.suse/x86-kvm-pmu-Set-AMD-s-virt-PMU-version-to-1.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/x86-kvm-pmu-Set-AMD-s-virt-PMU-version-to-1.patch 2019-05-17 06:54:29.000000000 +0200 @@ -0,0 +1,65 @@ +From: Borislav Petkov <[email protected]> +Date: Wed, 8 May 2019 19:02:48 +0200 +Subject: x86/kvm/pmu: Set AMD's virt PMU version to 1 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +Patch-mainline: Submitted - 2019-05-08 +References: https://patchwork.kernel.org/patch/10936271/ + +After commit: + + 672ff6cff80c ("KVM: x86: Raise #GP when guest vCPU do not support PMU") + +my AMD guests started #GPing like this: + + general protection fault: 0000 [#1] PREEMPT SMP + CPU: 1 PID: 4355 Comm: bash Not tainted 5.1.0-rc6+ #3 + Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 + RIP: 0010:x86_perf_event_update+0x3b/0xa0 + +with Code: pointing to RDPMC. It is RDPMC because the guest has the +hardware watchdog CONFIG_HARDLOCKUP_DETECTOR_PERF enabled which uses +perf. Instrumenting kvm_pmu_rdpmc() some, showed that it fails due to: + + if (!pmu->version) + return 1; + +which the above commit added. Since AMD's PMU leaves the version at 0, +that causes the #GP injection into the guest. + +Set pmu->version arbitrarily to 1 and move it above the non-applicable +struct kvm_pmu members. + +Fixes: 672ff6cff80c ("KVM: x86: Raise #GP when guest vCPU do not support PMU") +Signed-off-by: Borislav Petkov <[email protected]> +Cc: "H. Peter Anvin" <[email protected]> +Cc: Ingo Molnar <[email protected]> +Cc: Janakarajan Natarajan <[email protected]> +Cc: [email protected] +Cc: Liran Alon <[email protected]> +Cc: Mihai Carabas <[email protected]> +Cc: Paolo Bonzini <[email protected]> +Cc: Peter Zijlstra <[email protected]> +Cc: "Radim Krčmář" <[email protected]> +Cc: Thomas Gleixner <[email protected]> +Cc: Tom Lendacky <[email protected]> +Cc: [email protected] +--- + arch/x86/kvm/pmu_amd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/arch/x86/kvm/pmu_amd.c ++++ b/arch/x86/kvm/pmu_amd.c +@@ -269,10 +269,10 @@ static void amd_pmu_refresh(struct kvm_vcpu *vcpu) + + pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << 48) - 1; + pmu->reserved_bits = 0xffffffff00200000ull; ++ pmu->version = 1; + /* not applicable to AMD; but clean them to prevent any fall out */ + pmu->counter_bitmask[KVM_PMC_FIXED] = 0; + pmu->nr_arch_fixed_counters = 0; +- pmu->version = 0; + pmu->global_status = 0; + } + ++++++ series.conf ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:28:03.853922878 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:28:03.853922878 +0200 @@ -86,6 +86,50 @@ patches.kernel.org/5.1.2-026-Documentation-Correct-the-possible-MDS-sysfs-va.patch patches.kernel.org/5.1.2-027-x86-speculation-mds-Fix-documentation-typo.patch patches.kernel.org/5.1.2-028-Linux-5.1.2.patch + patches.kernel.org/5.1.3-001-platform-x86-sony-laptop-Fix-unintentional-fall.patch + patches.kernel.org/5.1.3-002-platform-x86-thinkpad_acpi-Disable-Bluetooth-fo.patch + patches.kernel.org/5.1.3-003-platform-x86-dell-laptop-fix-rfkill-functionali.patch + patches.kernel.org/5.1.3-004-hwmon-pwm-fan-Disable-PWM-if-fetching-cooling-d.patch + patches.kernel.org/5.1.3-005-hwmon-occ-Fix-extended-status-bits.patch + patches.kernel.org/5.1.3-006-selftests-seccomp-Handle-namespace-failures-gra.patch + patches.kernel.org/5.1.3-007-i2c-core-ratelimit-transfer-when-suspended-erro.patch + patches.kernel.org/5.1.3-008-kernfs-fix-barrier-usage-in-__kernfs_new_node.patch + patches.kernel.org/5.1.3-009-virt-vbox-Sanity-check-parameter-types-for-hgcm.patch + patches.kernel.org/5.1.3-010-USB-serial-fix-unthrottle-races.patch + patches.kernel.org/5.1.3-011-mwl8k-Fix-rate_idx-underflow.patch + patches.kernel.org/5.1.3-012-rtlwifi-rtl8723ae-Fix-missing-break-in-switch-s.patch + patches.kernel.org/5.1.3-013-Don-t-jump-to-compute_result-state-from-check_r.patch + patches.kernel.org/5.1.3-014-bonding-fix-arp_validate-toggling-in-active-bac.patch + patches.kernel.org/5.1.3-015-bridge-Fix-error-path-for-kobject_init_and_add.patch + patches.kernel.org/5.1.3-016-dpaa_eth-fix-SG-frame-cleanup.patch + patches.kernel.org/5.1.3-017-fib_rules-return-0-directly-if-an-exactly-same-.patch + patches.kernel.org/5.1.3-018-ipv4-Fix-raw-socket-lookup-for-local-traffic.patch + patches.kernel.org/5.1.3-019-net-dsa-Fix-error-cleanup-path-in-dsa_init_modu.patch + patches.kernel.org/5.1.3-020-net-ethernet-stmmac-dwmac-sun8i-enable-support-.patch + patches.kernel.org/5.1.3-021-net-macb-Change-interrupt-and-napi-enable-order.patch + patches.kernel.org/5.1.3-022-net-seeq-fix-crash-caused-by-not-set-dev.parent.patch + patches.kernel.org/5.1.3-023-net-ucc_geth-fix-Oops-when-changing-number-of-b.patch + patches.kernel.org/5.1.3-024-packet-Fix-error-path-in-packet_init.patch + patches.kernel.org/5.1.3-025-selinux-do-not-report-error-on-connect-AF_UNSPE.patch + patches.kernel.org/5.1.3-026-tipc-fix-hanging-clients-using-poll-with-EPOLLO.patch + patches.kernel.org/5.1.3-027-vlan-disable-SIOCSHWTSTAMP-in-container.patch + patches.kernel.org/5.1.3-028-vrf-sit-mtu-should-not-be-updated-when-vrf-netd.patch + patches.kernel.org/5.1.3-029-tuntap-fix-dividing-by-zero-in-ebpf-queue-selec.patch + patches.kernel.org/5.1.3-030-tuntap-synchronize-through-tfiles-array-instead.patch + patches.kernel.org/5.1.3-031-net-phy-fix-phy_validate_pause.patch + patches.kernel.org/5.1.3-032-flow_dissector-disable-preemption-around-BPF-ca.patch + patches.kernel.org/5.1.3-033-isdn-bas_gigaset-use-usb_fill_int_urb-properly.patch + patches.kernel.org/5.1.3-034-drivers-virt-fsl_hypervisor.c-dereferencing-err.patch + patches.kernel.org/5.1.3-035-drivers-virt-fsl_hypervisor.c-prevent-integer-o.patch + patches.kernel.org/5.1.3-036-powerpc-book3s-64-check-for-NULL-pointer-in-pgd.patch + patches.kernel.org/5.1.3-037-powerpc-powernv-idle-Restore-IAMR-after-idle.patch + patches.kernel.org/5.1.3-038-powerpc-booke64-set-RI-in-default-MSR.patch + patches.kernel.org/5.1.3-039-virtio_ring-Fix-potential-mem-leak-in-virtqueue.patch + patches.kernel.org/5.1.3-040-PCI-hv-Fix-a-memory-leak-in-hv_eject_device_wor.patch + patches.kernel.org/5.1.3-041-PCI-hv-Add-hv_pci_remove_slots-when-we-unload-t.patch + patches.kernel.org/5.1.3-042-PCI-hv-Add-pci_destroy_slot-in-pci_devices_pres.patch + patches.kernel.org/5.1.3-043-f2fs-Fix-use-of-number-of-devices.patch + patches.kernel.org/5.1.3-044-Linux-5.1.3.patch ######################################################## # Build fixes that apply to the vanilla kernel too. @@ -417,12 +461,14 @@ ######################################################## # md ######################################################## + patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch ########################################################## # # Security stuff # ########################################################## + patches.suse/Revert-selinux-do-not-report-error-on-connect-AF_UNS.patch ########################################################## # Audit @@ -470,6 +516,7 @@ ######################################################## # KVM patches ######################################################## + patches.suse/x86-kvm-pmu-Set-AMD-s-virt-PMU-version-to-1.patch ######################################################## # documentation ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.vqL1qJ/_old 2019-05-20 10:28:04.105922795 +0200 +++ /var/tmp/diff_new_pack.vqL1qJ/_new 2019-05-20 10:28:04.105922795 +0200 @@ -1,3 +1,3 @@ -2019-05-14 18:21:06 +0000 -GIT Revision: 08094c3e7184c834a637fa15f7b4a3ec0ee750ea +2019-05-17 04:54:29 +0000 +GIT Revision: 07d2e253d2b388efd4d1cced9cc6fa3746f2ef78 GIT Branch: stable
