Hello community,

here is the log from the commit of package kernel-source for openSUSE:Factory 
checked in at 2018-06-13 15:50:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
 and      /work/SRC/openSUSE:Factory/.kernel-source.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kernel-source"

Wed Jun 13 15:50:55 2018 rev:434 rq: version:4.16.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes        
2018-06-08 23:19:35.551119833 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/dtb-aarch64.changes   
2018-06-13 15:51:06.406744685 +0200
@@ -2,481 +1,0 @@
-Mon Jun  4 06:35:34 CEST 2018 - [email protected]
-
-- Update to 4.17-final
-- commit fb45ad0
-
--------------------------------------------------------------------
-Sat Jun  2 21:10:35 CEST 2018 - [email protected]
-
-- packet: fix reserve calculation (bsc#1095592).
-- commit f670a16
-
--------------------------------------------------------------------
-Fri Jun  1 19:37:49 CEST 2018 - [email protected]
-
-- xfs: enhance dinode verifier (bsc#1090749,CVE-2018-10322).
-- commit d565016
-
--------------------------------------------------------------------
-Thu May 31 07:56:10 CEST 2018 - [email protected]
-
-- Linux 4.16.13 (bnc#1012628).
-- drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
-  (bnc#1012628).
-- kdb: make "mdr" command repeat (bnc#1012628).
-- pinctrl: mcp23s08: spi: Fix regmap debugfs entries
-  (bnc#1012628).
-- pinctrl: msm: Use dynamic GPIO numbering (bnc#1012628).
-- regulator: of: Add a missing 'of_node_put()' in an error
-  handling path of 'of_regulator_match()' (bnc#1012628).
-- ARM: dts: porter: Fix HDMI output routing (bnc#1012628).
-- ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet (bnc#1012628).
-- i40e: Add delay after EMP reset for firmware to recover
-  (bnc#1012628).
-- soc: amlogic: meson-gx-pwrc-vpu: fix error on shutdown when
-  domain is powered off (bnc#1012628).
-- regmap: Correct comparison in regmap_cached (bnc#1012628).
-- ARM: dts: at91: tse850: use the correct compatible for the
-  eeprom (bnc#1012628).
-- ARM: dts: at91: nattis: use the correct compatible for the
-  eeprom (bnc#1012628).
-- selftests: Add FIB onlink tests (bnc#1012628).
-- drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen2
-  (bnc#1012628).
-- drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen3
-  (bnc#1012628).
-- netlabel: If PF_INET6, check sk_buff ip header version
-  (bnc#1012628).
-- drm/vblank: Data type fixes for 64-bit vblank sequences
-  (bnc#1012628).
-- selftests/net: fixes psock_fanout eBPF test case (bnc#1012628).
-- perf tests: Fix dwarf unwind for stripped binaries
-  (bnc#1012628).
-- perf report: Fix memory corruption in --branch-history mode
-  --branch-history (bnc#1012628).
-- perf tests: Use arch__compare_symbol_names to compare symbols
-  (bnc#1012628).
-- perf report: Fix wrong jump arrow (bnc#1012628).
-- perf test: Fix test case inet_pton to accept inlines
-  (bnc#1012628).
-- x86/apic: Set up through-local-APIC mode on the boot CPU if
-  'noapic' specified (bnc#1012628).
-- drm/rockchip: Respect page offset for PRIME mmap calls
-  (bnc#1012628).
-- soc: renesas: r8a77970-sysc: fix power area parents
-  (bnc#1012628).
-- MIPS: Octeon: Fix logging messages with spurious periods after
-  newlines (bnc#1012628).
-- dpaa_eth: fix pause capability advertisement logic
-  (bnc#1012628).
-- drm/amd/display: Set vsc pack revision when DPCD revision is >=
-  1.2 (bnc#1012628).
-- dt-bindings: display: msm/dsi: Fix the PHY regulator supply
-  props (bnc#1012628).
-- pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment
-  for SSI pins group (bnc#1012628).
-- rcu: Call touch_nmi_watchdog() while printing stall warnings
-  (bnc#1012628).
-- net: stmmac: call correct function in
-  stmmac_mac_config_rx_queues_routing() (bnc#1012628).
-- audit: return on memory error to avoid null pointer dereference
-  (bnc#1012628).
-- hwrng: bcm2835 - Handle deferred clock properly (bnc#1012628).
-- PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle
-  (bnc#1012628).
-- ARM: dts: bcm283x: Fix pin function of JTAG pins (bnc#1012628).
-- ARM: dts: bcm283x: Fix probing of bcm2835-i2s (bnc#1012628).
-- power: supply: ltc2941-battery-gauge: Fix temperature units
-  (bnc#1012628).
-- sh_eth: fix TSU init on SH7734/R8A7740 (bnc#1012628).
-- ixgbe: prevent ptp_rx_hang from running when in FILTER_ALL mode
-  (bnc#1012628).
-- udf: Provide saner default for invalid uid / gid (bnc#1012628).
-- PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
-  (bnc#1012628).
-- dpaa_eth: fix SG mapping (bnc#1012628).
-- cpufreq: Reorder cpufreq_online() error code path (bnc#1012628).
-- net: stmmac: ensure that the MSS desc is the last desc to set
-  the own bit (bnc#1012628).
-- net: stmmac: ensure that the device has released ownership
-  before reading data (bnc#1012628).
-- ibmvnic: Allocate statistics buffers during probe (bnc#1012628).
-- drm/amdgpu: adjust timeout for ib_ring_tests(v2) (bnc#1012628).
-- drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini
-  (bnc#1012628).
-- ARM: dts: dra71-evm: Correct evm_sd regulator max voltage
-  (bnc#1012628).
-- drm: omapdrm: dss: Move initialization code from component
-  bind to probe (bnc#1012628).
-- dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
-  (bnc#1012628).
-- vfio-ccw: fence off transport mode (bnc#1012628).
-- pinctrl: artpec6: dt: add missing pin group uart5nocts
-  (bnc#1012628).
-- pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs
-  (bnc#1012628).
-- hwrng: stm32 - add reset during probe (bnc#1012628).
-- watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()
-  (bnc#1012628).
-- enic: enable rq before updating rq descriptors (bnc#1012628).
-- dmaengine: rcar-dmac: Check the done lists in
-  rcar_dmac_chan_get_residue() (bnc#1012628).
-- powerpc/mm/slice: Fix hugepage allocation at hint address on
-  8xx (bnc#1012628).
-- powerpc/mm/slice: Enhance for supporting PPC32 (bnc#1012628).
-- powerpc/mm/slice: create header files dedicated to slices
-  (bnc#1012628).
-- powerpc/mm/slice: Remove intermediate bitmap copy (bnc#1012628).
-- ARM: dts: keystone-k2e-clocks: Fix missing unit address
-  separator (bnc#1012628).
-- dmaengine: pl330: fix a race condition in case of threaded irqs
-  (bnc#1012628).
-- block: null_blk: fix 'Invalid parameters' when loading module
-  (bnc#1012628).
-- tools: hv: fix compiler warnings about major/target_fname
-  (bnc#1012628).
-- drm/amdgpu: Clean sdma wptr register when only enable wptr
-  polling (bnc#1012628).
-- drm/bridge: sii902x: Retry status read after DDI I2C
-  (bnc#1012628).
-- phy: qcom-qmp: Fix phy pipe clock gating (bnc#1012628).
-- ALSA: vmaster: Propagate slave error (bnc#1012628).
-- phy: rockchip-emmc: retry calpad busy trimming (bnc#1012628).
-- x86/devicetree: Fix device IRQ settings in DT (bnc#1012628).
-- x86/devicetree: Initialize device tree before using it
-  (bnc#1012628).
-- gfs2: Fix fallocate chunk size (bnc#1012628).
-- soc: qcom: wcnss_ctrl: Fix increment in NV upload (bnc#1012628).
-- arm64: dts: qcom: Fix SPI5 config on MSM8996 (bnc#1012628).
-- perf/x86/intel: Fix event update for auto-reload (bnc#1012628).
-- perf/x86/intel: Fix large period handling on Broadwell CPUs
-  (bnc#1012628).
-- efi/arm*: Only register page tables when they exist
-  (bnc#1012628).
-- cdrom: do not call check_disk_change() inside cdrom_open()
-  (bnc#1012628).
-- perf/x86/intel: Properly save/restore the PMU state in the
-  NMI handler (bnc#1012628).
-- hwmon: (pmbus/adm1275) Accept negative page register values
-  (bnc#1012628).
-- hwmon: (pmbus/max8688) Accept negative page register values
-  (bnc#1012628).
-- drm/panel: simple: Fix the bus format for the Ontat panel
-  (bnc#1012628).
-- perf/core: Fix perf_output_read_group() (bnc#1012628).
-- max17042: propagate of_node to power supply device
-  (bnc#1012628).
-- perf/core: Fix installing cgroup events on CPU (bnc#1012628).
-- f2fs: fix to check extent cache in f2fs_drop_extent_tree
-  (bnc#1012628).
-- f2fs: fix to clear CP_TRIMMED_FLAG (bnc#1012628).
-- f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range (bnc#1012628).
-- cxl: Check if PSL data-cache is available before issue flush
-  request (bnc#1012628).
-- f2fs: flush cp pack except cp pack 2 page at first
-  (bnc#1012628).
-- powerpc/powernv/npu: Fix deadlock in mmio_invalidate()
-  (bnc#1012628).
-- powerpc: Add missing prototype for arch_irq_work_raise()
-  (bnc#1012628).
-- drm/meson: Fix an un-handled error path in
-  'meson_drv_bind_master()' (bnc#1012628).
-- drm/meson: Fix some error handling paths in
-  'meson_drv_bind_master()' (bnc#1012628).
-- ipmi_ssif: Fix kernel panic at msg_done_handler (bnc#1012628).
-- watchdog: aspeed: Fix translation of reset mode to ctrl register
-  (bnc#1012628).
-- watchdog: dw: RMW the control register (bnc#1012628).
-- watchdog: sprd_wdt: Fix error handling in sprd_wdt_enable()
-  (bnc#1012628).
-- PCI: Restore config space on runtime resume despite being
-  unbound (bnc#1012628).
-- powerpc/vas: Fix cleanup when VAS is not configured
-  (bnc#1012628).
-- MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
-  (bnc#1012628).
-- net/smc: pay attention to MAX_ORDER for CQ entries
-  (bnc#1012628).
++++ 496 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new/dtb-aarch64.changes
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-syzkaller.changes: same change
kernel-vanilla.changes: same change
kernel-zfcpdump.changes: same change

Old:
----
  linux-4.17.tar.xz

New:
----
  linux-4.16.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:47.729230336 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:47.733230189 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %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})
 
 Name:           dtb-aarch64
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif

dtb-armv6l.spec: same change
dtb-armv7l.spec: same change
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:47.849225938 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:47.857225645 +0200
@@ -17,8 +17,8 @@
 # needssslcertforbuild
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -58,9 +58,9 @@
 Summary:        Kernel with 64kb PAGE_SIZE
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -165,10 +165,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 # END COMMON DEPS
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 %obsolete_rebuilds %name
 Source0:        
http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
 Source2:        source-post.sh
@@ -1094,8 +1094,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %obsolete_rebuilds %name-base
 %ifarch %ix86

++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:47.889224472 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:47.909223739 +0200
@@ -17,8 +17,8 @@
 # needssslcertforbuild
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -58,9 +58,9 @@
 Summary:        A Debug Version of the Kernel
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -165,10 +165,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 # END COMMON DEPS
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 %ifarch ppc64
 Provides:       kernel-kdump = 2.6.28
 Obsoletes:      kernel-kdump <= 2.6.28
@@ -1100,8 +1100,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %ifarch ppc64
 Provides:       kernel-kdump-base = 2.6.28

++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:47.933222860 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:47.937222713 +0200
@@ -17,8 +17,8 @@
 # needssslcertforbuild
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -58,9 +58,9 @@
 Summary:        The Standard Kernel
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -165,10 +165,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 # END COMMON DEPS
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 %ifarch %ix86
 Provides:       kernel-smp = 2.6.17
 Obsoletes:      kernel-smp <= 2.6.17
@@ -1143,8 +1143,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %ifarch %ix86
 Provides:       kernel-trace-base = 3.13

++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:47.961221833 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:47.961221833 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 
 %include %_sourcedir/kernel-spec-macros
@@ -31,9 +31,9 @@
 Summary:        Kernel Documentation
 License:        GPL-2.0
 Group:          Documentation/Man
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -63,7 +63,7 @@
 %endif
 Url:            http://www.kernel.org/
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        
http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz

++++++ kernel-kvmsmall.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.009220074 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.017219781 +0200
@@ -17,8 +17,8 @@
 # needssslcertforbuild
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -58,9 +58,9 @@
 Summary:        The Small Developer Kernel for KVM
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -165,10 +165,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 # END COMMON DEPS
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 %obsolete_rebuilds %name
 Source0:        
http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
 Source2:        source-post.sh
@@ -1098,8 +1098,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %obsolete_rebuilds %name-base
 %ifarch %ix86

kernel-lpae.spec: same change
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.121215971 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.129215677 +0200
@@ -19,7 +19,7 @@
 
 #!BuildIgnore: post-build-checks
 
-%define patchversion 4.17.0
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -45,7 +45,7 @@
 %endif
 %endif
 %endif
-BuildRequires:  kernel%kernel_flavor-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
+BuildRequires:  kernel%kernel_flavor-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %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:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif

++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.181213772 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.185213625 +0200
@@ -17,7 +17,7 @@
 # needsrootforbuild
 
 
-%define patchversion 4.17.0
+%define patchversion 4.16.12
 %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:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif

++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.253211133 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.257210987 +0200
@@ -17,8 +17,8 @@
 # needssslcertforbuild
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -58,9 +58,9 @@
 Summary:        Kernel with PAE Support
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -165,10 +165,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 # END COMMON DEPS
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 %ifarch %ix86
 Provides:       kernel-bigsmp = 2.6.17
 Obsoletes:      kernel-bigsmp <= 2.6.17
@@ -1120,8 +1120,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %ifarch %ix86
 Provides:       kernel-vmi-base = 2.6.38

++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.305209227 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.313208934 +0200
@@ -17,8 +17,8 @@
 # icecream 0
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -30,9 +30,9 @@
 Summary:        The Linux Kernel Sources
 License:        GPL-2.0
 Group:          Development/Sources
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -43,7 +43,7 @@
 BuildRequires:  sed
 Requires(post): coreutils sed
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 Provides:       linux
 Provides:       multiversion(kernel)
 Source0:        
http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz

++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.361207175 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.365207029 +0200
@@ -24,10 +24,10 @@
 Summary:        Kernel Symbol Versions (modversions)
 License:        GPL-2.0
 Group:          Development/Sources
-Version:        4.17.0
+Version:        4.16.12
 %if %using_buildservice
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -55,7 +55,7 @@
 %endif
 Requires:       pesign-obs-integration
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 Provides:       multiversion(kernel)
 Source:         README.KSYMS
 Requires:       kernel-devel%variant = %version-%source_rel

++++++ kernel-syzkaller.spec ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.389206149 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.393206002 +0200
@@ -17,8 +17,8 @@
 # needssslcertforbuild
 
 
-%define srcversion 4.17
-%define patchversion 4.17.0
+%define srcversion 4.16
+%define patchversion 4.16.12
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -58,9 +58,9 @@
 Summary:        Kernel used for fuzzing by syzkaller
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        4.17.0
+Version:        4.16.12
 %if 0%{?is_kotd}
-Release:        <RELEASE>.gbcb3422
+Release:        <RELEASE>.g39c7522
 %else
 Release:        0
 %endif
@@ -165,10 +165,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 # END COMMON DEPS
-Provides:       %name-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       %name-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 %obsolete_rebuilds %name
 Source0:        
http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
 Source2:        source-post.sh
@@ -1093,8 +1093,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       kernel-%build_flavor-base-srchash = 
bcb34222e06b31c82927014bce646cd786d519f7
-Provides:       kernel-srchash = bcb34222e06b31c82927014bce646cd786d519f7
+Provides:       kernel-%build_flavor-base-srchash = 
39c752265b891e209d4fdfb390d8ae77fbfc430a
+Provides:       kernel-srchash = 39c752265b891e209d4fdfb390d8ae77fbfc430a
 
 %obsolete_rebuilds %name-base
 %ifarch %ix86

kernel-vanilla.spec: same change
kernel-zfcpdump.spec: same change
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:48.845189439 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:48.845189439 +0200
@@ -1,5 +1,5 @@
 # The version of the main tarball to use
-SRCVERSION=4.17
+SRCVERSION=4.16
 # variant of the kernel-source package, either empty or "-rt"
 VARIANT=
 # buildservice projects to build the kernel against

++++++ config.tar.bz2 ++++++
++++ 10890 lines of diff (skipped)

++++++ linux-4.17.tar.xz -> linux-4.16.tar.xz ++++++
/work/SRC/openSUSE:Factory/kernel-source/linux-4.17.tar.xz 
/work/SRC/openSUSE:Factory/.kernel-source.new/linux-4.16.tar.xz differ: char 
15, line 1

++++++ patches.kernel.org.tar.bz2 ++++++
++++ 88278 lines of diff (skipped)

++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/0001-cifs-smb2ops-Fix-listxattr-when-there-are-no-EAs.patch 
new/patches.suse/0001-cifs-smb2ops-Fix-listxattr-when-there-are-no-EAs.patch
--- 
old/patches.suse/0001-cifs-smb2ops-Fix-listxattr-when-there-are-no-EAs.patch    
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/patches.suse/0001-cifs-smb2ops-Fix-listxattr-when-there-are-no-EAs.patch    
    2018-05-24 17:24:46.000000000 +0200
@@ -0,0 +1,55 @@
+From ae2cd7fb478b8da707906ee1706ae1379968a8f9 Mon Sep 17 00:00:00 2001
+From: Paulo Alcantara <[email protected]>
+Date: Fri, 4 May 2018 11:25:26 -0300
+Subject: [PATCH] cifs: smb2ops: Fix listxattr() when there are no EAs
+Git-commit: ae2cd7fb478b8da707906ee1706ae1379968a8f9
+Patch-mainline: v4.17
+References: bsc#1091442
+
+As per listxattr(2):
+
+       On success, a nonnegative number is returned indicating the size
+       of the extended attribute name list.  On failure, -1 is returned
+       and errno  is set appropriately.
+
+In SMB1, when the server returns an empty EA list through a listxattr(),
+it will correctly return 0 as there are no EAs for the given file.
+
+However, in SMB2+, it returns -ENODATA in listxattr() which is wrong since
+the request and response were sent successfully, although there's no actual
+EA for the given file.
+
+This patch fixes listxattr() for SMB2+ by returning 0 in cifs_listxattr()
+when the server returns an empty list of EAs.
+
+Signed-off-by: Paulo Alcantara <[email protected]>
+Reviewed-by: Aurelien Aptel <[email protected]>
+Signed-off-by: Steve French <[email protected]>
+Signed-off-by: Paulo Alcantara <[email protected]>
+---
+ fs/cifs/smb2ops.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
+index b76b85881dcc..9c6d95ffca97 100644
+--- a/fs/cifs/smb2ops.c
++++ b/fs/cifs/smb2ops.c
+@@ -589,9 +589,15 @@ smb2_query_eas(const unsigned int xid, struct cifs_tcon 
*tcon,
+ 
+       SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
+ 
++      /*
++       * If ea_name is NULL (listxattr) and there are no EAs, return 0 as it's
++       * not an error. Otherwise, the specified ea_name was not found.
++       */
+       if (!rc)
+               rc = move_smb2_ea_to_cifs(ea_data, buf_size, smb2_data,
+                                         SMB2_MAX_EA_BUF, ea_name);
++      else if (!ea_name && rc == -ENODATA)
++              rc = 0;
+ 
+       kfree(smb2_data);
+       return rc;
+-- 
+2.13.6
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch
 
new/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch
--- 
old/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch
    2018-06-04 10:21:54.000000000 +0200
+++ 
new/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch
    2018-05-24 17:24:46.000000000 +0200
@@ -22,17 +22,17 @@
 Signed-off-by: KarimAllah Ahmed <[email protected]>
 Signed-off-by: Jiri Slaby <[email protected]>
 ---
- .../admin-guide/kernel-parameters.txt         |  1 +
- arch/x86/include/asm/cpufeatures.h            |  1 +
- arch/x86/include/asm/nospec-branch.h          |  2 --
- arch/x86/kernel/cpu/bugs.c                    | 35 ++++++++++++++-----
- arch/x86/lib/Makefile                         |  2 +-
- arch/x86/lib/retpoline.S                      |  5 +++
+ Documentation/admin-guide/kernel-parameters.txt |    1 
+ arch/x86/include/asm/cpufeatures.h              |    1 
+ arch/x86/include/asm/nospec-branch.h            |    2 -
+ arch/x86/kernel/cpu/bugs.c                      |   35 
++++++++++++++++++------
+ arch/x86/lib/Makefile                           |    2 -
+ arch/x86/lib/retpoline.S                        |    5 +++
  6 files changed, 35 insertions(+), 11 deletions(-)
 
 --- a/Documentation/admin-guide/kernel-parameters.txt
 +++ b/Documentation/admin-guide/kernel-parameters.txt
-@@ -4024,6 +4024,7 @@
+@@ -3996,6 +3996,7 @@
                        retpoline         - replace indirect branches
                        retpoline,generic - google's original retpoline
                        retpoline,amd     - AMD-specific minimal thunk
@@ -46,7 +46,7 @@
  #define X86_FEATURE_IBPB              ( 7*32+26) /* Indirect Branch 
Prediction Barrier */
  #define X86_FEATURE_STIBP             ( 7*32+27) /* Single Thread Indirect 
Branch Predictors */
  #define X86_FEATURE_ZEN                       ( 7*32+28) /* "" CPU is AMD 
family 0x17 (Zen) */
-+#define X86_FEATURE_USE_IBRS          ( 7*32+29) /* "" Use IBRS for Spectre 
v2 safety */
++#define X86_FEATURE_USE_IBRS          ( 7*32+23) /* "" Use IBRS for Spectre 
v2 safety */
  
  /* Virtualization flags: Linux defined, word 8 */
  #define X86_FEATURE_TPR_SHADOW                ( 8*32+ 0) /* Intel TPR Shadow 
*/
@@ -78,7 +78,7 @@
  };
  
  static const char *spectre_v2_strings[] = {
-@@ -129,6 +130,7 @@ static const char *spectre_v2_strings[] = {
+@@ -129,6 +130,7 @@ static const char *spectre_v2_strings[]
        [SPECTRE_V2_RETPOLINE_MINIMAL_AMD]      = "Vulnerable: Minimal AMD ASM 
retpoline",
        [SPECTRE_V2_RETPOLINE_GENERIC]          = "Mitigation: Full generic 
retpoline",
        [SPECTRE_V2_RETPOLINE_AMD]              = "Mitigation: Full AMD 
retpoline",
@@ -94,7 +94,7 @@
        { "auto",              SPECTRE_V2_CMD_AUTO,              false },
  };
  
-@@ -311,7 +314,7 @@ static enum spectre_v2_mitigation_cmd __init 
spectre_v2_parse_cmdline(void)
+@@ -311,7 +314,7 @@ static enum spectre_v2_mitigation_cmd __
        return cmd;
  }
  
@@ -103,7 +103,7 @@
  static bool __init is_skylake_era(void)
  {
        if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL &&
-@@ -345,19 +348,34 @@ static void __init spectre_v2_select_mitigation(void)
+@@ -345,19 +348,34 @@ static void __init spectre_v2_select_mit
        case SPECTRE_V2_CMD_NONE:
                return;
  
@@ -143,7 +143,7 @@
        case SPECTRE_V2_CMD_RETPOLINE:
                if (IS_ENABLED(CONFIG_RETPOLINE))
                        goto retpoline_auto;
-@@ -384,6 +402,7 @@ static void __init spectre_v2_select_mitigation(void)
+@@ -384,6 +402,7 @@ retpoline_auto:
                setup_force_cpu_cap(X86_FEATURE_RETPOLINE);
        }
  
@@ -151,7 +151,7 @@
        spectre_v2_enabled = mode;
        pr_info("%s\n", spectre_v2_strings[mode]);
  
-@@ -399,8 +418,8 @@ static void __init spectre_v2_select_mitigation(void)
+@@ -399,8 +418,8 @@ retpoline_auto:
         * or deactivated in favour of retpolines the RSB fill on context
         * switch is required.
         */
@@ -164,7 +164,7 @@
        }
 --- a/arch/x86/lib/Makefile
 +++ b/arch/x86/lib/Makefile
-@@ -27,7 +27,7 @@ lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
+@@ -27,7 +27,7 @@ lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) +=
  lib-$(CONFIG_INSTRUCTION_DECODER) += insn.o inat.o insn-eval.o
  lib-$(CONFIG_RANDOMIZE_BASE) += kaslr.o
  lib-$(CONFIG_FUNCTION_ERROR_INJECTION)        += error-inject.o
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/0002-x86-speculation-Add-inlines-to-control-Indirect-Bran.patch
 
new/patches.suse/0002-x86-speculation-Add-inlines-to-control-Indirect-Bran.patch
--- 
old/patches.suse/0002-x86-speculation-Add-inlines-to-control-Indirect-Bran.patch
    2018-06-04 10:21:54.000000000 +0200
+++ 
new/patches.suse/0002-x86-speculation-Add-inlines-to-control-Indirect-Bran.patch
    2018-05-24 17:24:46.000000000 +0200
@@ -23,14 +23,14 @@
 Signed-off-by: David Woodhouse <[email protected]>
 Signed-off-by: Jiri Slaby <[email protected]>
 ---
- arch/x86/include/asm/nospec-branch.h | 36 ++++++++++++++++++++++++++++
+ arch/x86/include/asm/nospec-branch.h |   36 
+++++++++++++++++++++++++++++++++++
  1 file changed, 36 insertions(+)
 
 --- a/arch/x86/include/asm/nospec-branch.h
 +++ b/arch/x86/include/asm/nospec-branch.h
-@@ -292,6 +292,42 @@ do {                                                      
                \
-       preempt_enable();                                               \
- } while (0)
+@@ -265,6 +265,42 @@ static inline void indirect_branch_predi
+       alternative_msr_write(MSR_IA32_PRED_CMD, val, X86_FEATURE_USE_IBPB);
+ }
  
 +/*
 + * This also performs a barrier, and setting it again when it was already
@@ -68,6 +68,6 @@
 +                   : "memory");
 +}
 +
- #endif /* __ASSEMBLY__ */
+ /* The Intel SPEC CTRL MSR base value cache */
+ extern u64 x86_spec_ctrl_base;
  
- /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/Bluetooth-Apply-QCA-Rome-patches-for-some-ATH3021-modules 
new/patches.suse/Bluetooth-Apply-QCA-Rome-patches-for-some-ATH3021-modules
--- old/patches.suse/Bluetooth-Apply-QCA-Rome-patches-for-some-ATH3021-modules  
2018-06-04 10:21:54.000000000 +0200
+++ new/patches.suse/Bluetooth-Apply-QCA-Rome-patches-for-some-ATH3021-modules  
2018-05-24 17:24:46.000000000 +0200
@@ -2,9 +2,7 @@
 Subject: [PATCH] Bluetooth: Apply QCA Rome patches for some ATH3012 models
 Date: Mon, 21 May 2018 22:34:52 +0200
 Message-id: <[email protected]>
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 2a2fc9efd93aabce3d3c07d8bdc2e69e284e3202
-Git-repo: 
git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git#master
+Patch-mainline: Submitted, linux-bluetooth ML
 References: bsc#1082504
 
 In commit f44cb4b19ed4 ("Bluetooth: btusb: Fix quirk for Atheros
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/brcmsmac-allocate-ucode-with-GFP_KERNEL.patch 
new/patches.suse/brcmsmac-allocate-ucode-with-GFP_KERNEL.patch
--- old/patches.suse/brcmsmac-allocate-ucode-with-GFP_KERNEL.patch      
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/brcmsmac-allocate-ucode-with-GFP_KERNEL.patch      
2018-05-24 17:24:46.000000000 +0200
@@ -0,0 +1,44 @@
+From: Takashi Iwai <[email protected]>
+Subject: [PATCH] brcmsmac: allocate ucode with GFP_KERNEL
+Date: Fri, 16 Mar 2018 16:41:49 +0100
+Message-id: <[email protected]>
+Patch-mainline: Submitted, linux-wireless ML
+References: bsc#1085174
+
+The brcms_ucode_init_buf() duplicates the ucode chunks via kmemdup()
+with GFP_ATOMIC as a precondition of wl->lock acquired.  This caused
+allocation failures sometimes as reported in the bugzilla below.
+
+When looking at the the real usage, one can find that it's called
+solely from brcms_request_fw(), and it's obviously outside the lock.
+Hence we can use GFP_KERNEL there safely for avoiding such allocation
+errors.
+
+Bugzilla: http://bugzilla.suse.com/show_bug.cgi?id=1085174
+Signed-off-by: Takashi Iwai <[email protected]>
+Acked-by: Arend van Spriel <[email protected]>
+
+---
+ drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
++++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
+@@ -1563,7 +1563,7 @@ void brcms_free_timer(struct brcms_timer
+ }
+ 
+ /*
+- * precondition: perimeter lock has been acquired
++ * precondition: no locking required
+  */
+ int brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf, u32 idx)
+ {
+@@ -1578,7 +1578,7 @@ int brcms_ucode_init_buf(struct brcms_in
+                       if (le32_to_cpu(hdr->idx) == idx) {
+                               pdata = wl->fw.fw_bin[i]->data +
+                                       le32_to_cpu(hdr->offset);
+-                              *pbuf = kmemdup(pdata, len, GFP_ATOMIC);
++                              *pbuf = kmemdup(pdata, len, GFP_KERNEL);
+                               if (*pbuf == NULL)
+                                       goto fail;
+ 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/btrfs-fs-super.c-add-new-super-block-devices-super_block_d.patch
 
new/patches.suse/btrfs-fs-super.c-add-new-super-block-devices-super_block_d.patch
--- 
old/patches.suse/btrfs-fs-super.c-add-new-super-block-devices-super_block_d.patch
   2018-06-04 10:21:54.000000000 +0200
+++ 
new/patches.suse/btrfs-fs-super.c-add-new-super-block-devices-super_block_d.patch
   2018-05-24 17:24:46.000000000 +0200
@@ -22,13 +22,13 @@
 
 Signed-off-by: Luis R. Rodriguez <[email protected]>
 ---
- fs/super.c         | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
- include/linux/fs.h | 20 +++++++++++++++++++
+ fs/super.c         |   57 
++++++++++++++++++++++++++++++++++++++++++++++++++++-
+ include/linux/fs.h |   20 ++++++++++++++++++
  2 files changed, 76 insertions(+), 1 deletion(-)
 
 --- a/fs/super.c
 +++ b/fs/super.c
-@@ -138,6 +138,59 @@ static unsigned long super_cache_count(struct shrinker 
*shrink,
+@@ -137,6 +137,59 @@ static unsigned long super_cache_count(s
        return total_objects;
  }
  
@@ -88,7 +88,7 @@
  static void destroy_super_work(struct work_struct *work)
  {
        struct super_block *s = container_of(work, struct super_block,
-@@ -165,6 +218,7 @@ static void destroy_unused_super(struct super_block *s)
+@@ -164,6 +217,7 @@ static void destroy_unused_super(struct
        list_lru_destroy(&s->s_dentry_lru);
        list_lru_destroy(&s->s_inode_lru);
        security_sb_free(s);
@@ -96,7 +96,7 @@
        put_user_ns(s->s_user_ns);
        kfree(s->s_subtype);
        free_prealloced_shrinker(&s->s_shrink);
-@@ -233,6 +287,7 @@ static struct super_block *alloc_super(struct 
file_system_type *type, int flags,
+@@ -232,6 +286,7 @@ static struct super_block *alloc_super(s
        spin_lock_init(&s->s_inode_list_lock);
        INIT_LIST_HEAD(&s->s_inodes_wb);
        spin_lock_init(&s->s_inode_wblist_lock);
@@ -104,7 +104,7 @@
  
        if (list_lru_init_memcg(&s->s_dentry_lru))
                goto fail;
-@@ -802,7 +857,7 @@ struct super_block *user_get_super(dev_t dev)
+@@ -779,7 +834,7 @@ rescan:
        list_for_each_entry(sb, &super_blocks, s_list) {
                if (hlist_unhashed(&sb->s_instances))
                        continue;
@@ -115,7 +115,7 @@
                        down_read(&sb->s_umount);
 --- a/include/linux/fs.h
 +++ b/include/linux/fs.h
-@@ -1342,6 +1342,14 @@ struct sb_writers {
+@@ -1340,6 +1340,14 @@ struct sb_writers {
        struct percpu_rw_semaphore      rw_sem[SB_FREEZE_LEVELS];
  };
  
@@ -130,7 +130,7 @@
  struct super_block {
        struct list_head        s_list;         /* Keep this first */
        dev_t                   s_dev;          /* search index; _not_ kdev_t */
-@@ -1368,6 +1376,7 @@ struct super_block {
+@@ -1366,6 +1374,7 @@ struct super_block {
        const struct fscrypt_operations *s_cop;
  
        struct hlist_bl_head    s_roots;        /* alternate root dentries for 
NFS */
@@ -138,7 +138,7 @@
        struct list_head        s_mounts;       /* list of mounts; _not_ for fs 
use */
        struct block_device     *s_bdev;
        struct backing_dev_info *s_bdi;
-@@ -2132,6 +2141,17 @@ void deactivate_locked_super(struct super_block *sb);
+@@ -2129,6 +2138,17 @@ void deactivate_locked_super(struct supe
  int set_anon_super(struct super_block *s, void *data);
  int get_anon_bdev(dev_t *);
  void free_anon_bdev(dev_t);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patches.suse/crasher.patch 
new/patches.suse/crasher.patch
--- old/patches.suse/crasher.patch      2018-06-04 10:21:54.000000000 +0200
+++ new/patches.suse/crasher.patch      2018-05-24 17:24:46.000000000 +0200
@@ -21,15 +21,14 @@
 Signed-off-by: Jiri Slaby <[email protected]>
 
 ---
- drivers/char/Kconfig   |   6 ++
- drivers/char/Makefile  |   1 +
- drivers/char/crasher.c | 235 +++++++++++++++++++++++++++++++++++++++++++++++++
+ drivers/char/Kconfig   |    6 +
+ drivers/char/Makefile  |    1 
+ drivers/char/crasher.c |  235 
+++++++++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 242 insertions(+)
- create mode 100644 drivers/char/crasher.c
 
 --- a/drivers/char/Kconfig
 +++ b/drivers/char/Kconfig
-@@ -538,6 +538,12 @@ config DEVPORT
+@@ -575,6 +575,12 @@ config DEVPORT
  
  source "drivers/s390/char/Kconfig"
  
@@ -39,12 +38,12 @@
 +      help
 +        Slab cache memory tester and crasher on will.
 +
- source "drivers/char/xillybus/Kconfig"
- 
- endmenu
+ config TILE_SROM
+       tristate "Character-device access via hypervisor to the Tilera SPI ROM"
+       depends on TILE
 --- a/drivers/char/Makefile
 +++ b/drivers/char/Makefile
-@@ -49,6 +49,7 @@ obj-$(CONFIG_PCMCIA)         += pcmcia/
+@@ -51,6 +51,7 @@ obj-$(CONFIG_PCMCIA)         += pcmcia/
  
  obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
  obj-$(CONFIG_TCG_TPM)         += tpm/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/kernel-add-product-identifying-information-to-kernel-build.patch
 
new/patches.suse/kernel-add-product-identifying-information-to-kernel-build.patch
--- 
old/patches.suse/kernel-add-product-identifying-information-to-kernel-build.patch
   2018-06-04 10:21:54.000000000 +0200
+++ 
new/patches.suse/kernel-add-product-identifying-information-to-kernel-build.patch
   2018-05-24 17:24:46.000000000 +0200
@@ -36,19 +36,18 @@
 
 Signed-off-by: Jeff Mahoney <[email protected]>
 ---
- Makefile                      | 11 +++++-
- init/Kconfig.suse             | 70 +++++++++++++++++++++++++++++++++++++
- lib/dump_stack.c              |  5 +--
- scripts/gen-suse_version_h.sh | 81 +++++++++++++++++++++++++++++++++++++++++++
- scripts/mod/modpost.c         | 10 ++++++
+ Makefile                      |   11 +++++
+ init/Kconfig.suse             |   70 ++++++++++++++++++++++++++++++++++++
+ kernel/printk/printk.c        |    5 +-
+ scripts/gen-suse_version_h.sh |   81 
++++++++++++++++++++++++++++++++++++++++++
+ scripts/mod/modpost.c         |   10 +++++
  5 files changed, 174 insertions(+), 3 deletions(-)
- create mode 100644 scripts/gen-suse_version_h.sh
 
 --- a/Makefile
 +++ b/Makefile
-@@ -978,6 +978,15 @@ ifdef CONFIG_STACK_VALIDATION
-   endif
- endif
+@@ -1035,6 +1035,15 @@ endef
+ include/config/kernel.release: include/config/auto.conf FORCE
+       $(call filechk,kernel.release)
  
 +suse_version_h := include/generated/uapi/linux/suse_version.h
 +
@@ -60,12 +59,12 @@
 +      $(call filechk,suse_version)
 +
  
- ifeq ($(KBUILD_EXTMOD),)
- core-y                += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/
-@@ -1108,7 +1117,7 @@ endif
+ # Things we need to do before we recursively start building the kernel
+ # or the modules are listed in "prepare".
+@@ -1064,7 +1073,7 @@ endif
  prepare2: prepare3 prepare-compiler-check outputmakefile asm-generic
  
- prepare1: prepare2 $(version_h) $(autoksyms_h) include/generated/utsrelease.h 
\
+ prepare1: prepare2 $(version_h) include/generated/utsrelease.h \
 -                   include/config/auto.conf
 +                   include/config/auto.conf $(suse_version_h)
        $(cmd_crmodverdir)
@@ -154,26 +153,24 @@
          say n.
  
 +endmenu
---- a/lib/dump_stack.c
-+++ b/lib/dump_stack.c
-@@ -12,6 +12,7 @@
- #include <linux/atomic.h>
- #include <linux/kexec.h>
- #include <linux/utsname.h>
+--- a/kernel/printk/printk.c
++++ b/kernel/printk/printk.c
+@@ -48,6 +48,7 @@
+ #include <linux/sched/clock.h>
+ #include <linux/sched/debug.h>
+ #include <linux/sched/task_stack.h>
 +#include <linux/suse_version.h>
  
- static char dump_stack_arch_desc_str[128];
- 
-@@ -44,13 +45,13 @@ void __init dump_stack_set_arch_desc(const char *fmt, ...)
+ #include <linux/uaccess.h>
+ #include <asm/sections.h>
+@@ -3272,11 +3273,11 @@ void __init dump_stack_set_arch_desc(con
   */
  void dump_stack_print_info(const char *log_lvl)
  {
--      printk("%sCPU: %d PID: %d Comm: %.20s %s%s %s %.*s\n",
-+      printk("%sCPU: %d PID: %d Comm: %.20s %s%s %s %.*s %s\n",
+-      printk("%sCPU: %d PID: %d Comm: %.20s %s %s %.*s\n",
++      printk("%sCPU: %d PID: %d Comm: %.20s %s %s %.*s %s\n",
               log_lvl, raw_smp_processor_id(), current->pid, current->comm,
-              kexec_crash_loaded() ? "Kdump: loaded " : "",
-              print_tainted(),
-              init_utsname()->release,
+              print_tainted(), init_utsname()->release,
               (int)strcspn(init_utsname()->version, " "),
 -             init_utsname()->version);
 +             init_utsname()->version, SUSE_PRODUCT_SHORTNAME);
@@ -274,7 +271,7 @@
  
  /* Are we using CONFIG_MODVERSIONS? */
  static int modversions = 0;
-@@ -2386,6 +2387,14 @@ static void add_srcversion(struct buffer *b, struct 
module *mod)
+@@ -2373,6 +2374,14 @@ static void add_srcversion(struct buffer
        }
  }
  
@@ -289,7 +286,7 @@
  static void write_if_changed(struct buffer *b, const char *fname)
  {
        char *tmp;
-@@ -2646,6 +2655,7 @@ int main(int argc, char **argv)
+@@ -2632,6 +2641,7 @@ int main(int argc, char **argv)
                add_depends(&buf, mod, modules);
                add_moddevtable(&buf, mod);
                add_srcversion(&buf, mod);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/kernel-add-release-status-to-kernel-build.patch 
new/patches.suse/kernel-add-release-status-to-kernel-build.patch
--- old/patches.suse/kernel-add-release-status-to-kernel-build.patch    
2018-06-04 10:21:54.000000000 +0200
+++ new/patches.suse/kernel-add-release-status-to-kernel-build.patch    
2018-05-24 17:24:46.000000000 +0200
@@ -12,9 +12,9 @@
 
 Signed-off-by: Jeff Mahoney <[email protected]>
 ---
- init/Kconfig.suse |  6 ++++++
- kernel/ksysfs.c   |  4 ++++
- lib/dump_stack.c  | 10 ++++++++--
+ init/Kconfig.suse      |    6 ++++++
+ kernel/ksysfs.c        |    4 ++++
+ kernel/printk/printk.c |   10 ++++++++--
  3 files changed, 18 insertions(+), 2 deletions(-)
 
 --- a/init/Kconfig.suse
@@ -40,7 +40,7 @@
        int mask = (1 << TAINT_PROPRIETARY_MODULE) | (1 << TAINT_NO_SUPPORT);
        if ((taint & mask) == mask)
                return "No, Proprietary and Unsupported modules are loaded";
-@@ -224,6 +225,9 @@ const char *supported_printable(int taint)
+@@ -224,6 +225,9 @@ const char *supported_printable(int tain
                return "Yes, External";
        else
                return "Yes";
@@ -50,18 +50,16 @@
  }
  
  static ssize_t supported_show(struct kobject *kobj,
---- a/lib/dump_stack.c
-+++ b/lib/dump_stack.c
-@@ -44,13 +44,19 @@ void __init dump_stack_set_arch_desc(const char *fmt, ...)
+--- a/kernel/printk/printk.c
++++ b/kernel/printk/printk.c
+@@ -3273,11 +3273,17 @@ void __init dump_stack_set_arch_desc(con
   */
  void dump_stack_print_info(const char *log_lvl)
  {
--      printk("%sCPU: %d PID: %d Comm: %.20s %s%s %s %.*s %s\n",
-+      printk("%sCPU: %d PID: %d Comm: %.20s %s%s %s %.*s %s%s\n",
+-      printk("%sCPU: %d PID: %d Comm: %.20s %s %s %.*s %s\n",
++      printk("%sCPU: %d PID: %d Comm: %.20s %s %s %.*s %s%s\n",
               log_lvl, raw_smp_processor_id(), current->pid, current->comm,
-              kexec_crash_loaded() ? "Kdump: loaded " : "",
-              print_tainted(),
-              init_utsname()->release,
+              print_tainted(), init_utsname()->release,
               (int)strcspn(init_utsname()->version, " "),
 -             init_utsname()->version, SUSE_PRODUCT_SHORTNAME);
 +             init_utsname()->version, SUSE_PRODUCT_SHORTNAME,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patches.suse/supported-flag 
new/patches.suse/supported-flag
--- old/patches.suse/supported-flag     2018-06-04 10:21:54.000000000 +0200
+++ new/patches.suse/supported-flag     2018-05-24 17:24:46.000000000 +0200
@@ -28,7 +28,7 @@
 
 --- a/Documentation/admin-guide/kernel-parameters.txt
 +++ b/Documentation/admin-guide/kernel-parameters.txt
-@@ -4355,6 +4355,14 @@
+@@ -4311,6 +4311,14 @@
        unknown_nmi_panic
                        [X86] Cause panic on unknown NMI.
  
@@ -45,12 +45,12 @@
                        (default -1 = authorized except for wireless USB,
 --- a/Documentation/sysctl/kernel.txt
 +++ b/Documentation/sysctl/kernel.txt
-@@ -992,6 +992,18 @@ ORed together. The letters are seen in "Tainted" line of 
Oops reports.
-  32768 (K): The kernel has been live patched.
-  65536 (X): Auxiliary taint, defined and used by for distros.
- 131072 (T): The kernel was built with the struct randomization plugin.
-+0x40000000 (N): An unsupported kernel module was loaded.
-+0x80000000 (X): An kernel module with external support was loaded.
+@@ -975,6 +975,18 @@ can be ORed together:
+        signature.
+ 16384 - A soft lockup has previously occurred on the system.
+ 32768 - The kernel has been live patched.
++ 0x40000000 - An unsupported kernel module was loaded.
++ 0x80000000 - An kernel module with external support was loaded.
 +
 +==============================================================
 +
@@ -66,8 +66,8 @@
  
 --- a/Makefile
 +++ b/Makefile
-@@ -432,6 +432,11 @@ KBUILD_LDFLAGS_MODULE := -T 
$(srctree)/scripts/module-common.lds
- LDFLAGS :=
+@@ -426,6 +426,11 @@ KBUILD_CFLAGS_MODULE  := -DMODULE
+ KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
  GCC_PLUGINS_CFLAGS :=
  
 +# Warn about unsupported modules in kernels built inside Autobuild
@@ -77,10 +77,10 @@
 +
  export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
  export CPP AR NM STRIP OBJCOPY OBJDUMP HOSTLDFLAGS HOST_LOADLIBES
- export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON PYTHON2 PYTHON3 
UTS_MACHINE
+ export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON UTS_MACHINE
 --- a/include/linux/kernel.h
 +++ b/include/linux/kernel.h
-@@ -498,6 +498,9 @@ extern int panic_on_unrecovered_nmi;
+@@ -487,6 +487,9 @@ extern int panic_on_unrecovered_nmi;
  extern int panic_on_io_nmi;
  extern int panic_on_warn;
  extern int sysctl_panic_on_rcu_stall;
@@ -92,7 +92,7 @@
  extern bool crash_kexec_post_notifiers;
 --- a/include/linux/module.h
 +++ b/include/linux/module.h
-@@ -502,6 +502,9 @@ bool is_module_address(unsigned long addr);
+@@ -496,6 +496,9 @@ bool is_module_address(unsigned long add
  bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr);
  bool is_module_percpu_address(unsigned long addr);
  bool is_module_text_address(unsigned long addr);
@@ -127,7 +127,7 @@
 +
 --- a/kernel/ksysfs.c
 +++ b/kernel/ksysfs.c
-@@ -210,6 +210,30 @@ static struct bin_attribute notes_attr __ro_after_init  = 
{
+@@ -210,6 +210,30 @@ static struct bin_attribute notes_attr _
  struct kobject *kernel_kobj;
  EXPORT_SYMBOL_GPL(kernel_kobj);
  
@@ -158,16 +158,16 @@
  static struct attribute * kernel_attrs[] = {
        &fscaps_attr.attr,
        &uevent_seqnum_attr.attr,
-@@ -230,6 +254,9 @@ static struct attribute * kernel_attrs[] = {
- #ifndef CONFIG_TINY_RCU
+@@ -231,6 +255,9 @@ static struct attribute * kernel_attrs[]
        &rcu_expedited_attr.attr,
        &rcu_normal_attr.attr,
-+#endif
+ #endif
 +#ifdef CONFIG_SUSE_KERNEL_SUPPORTED
 +      &supported_attr.attr,
- #endif
++#endif
        NULL
  };
+ 
 --- a/kernel/module.c
 +++ b/kernel/module.c
 @@ -88,6 +88,22 @@
@@ -193,7 +193,7 @@
  /*
   * Mutex protects:
   * 1) List of modules (also safely readable with preempt_disable),
-@@ -1178,6 +1194,12 @@ static size_t module_flags_taint(struct module *mod, 
char *buf)
+@@ -1178,6 +1194,12 @@ static size_t module_flags_taint(struct
                        buf[l++] = taint_flags[i].c_true;
        }
  
@@ -206,7 +206,7 @@
        return l;
  }
  
-@@ -1247,6 +1269,33 @@ static ssize_t show_taint(struct module_attribute 
*mattr,
+@@ -1247,6 +1269,33 @@ static ssize_t show_taint(struct module_
  static struct module_attribute modinfo_taint =
        __ATTR(taint, 0444, show_taint, NULL);
  
@@ -240,7 +240,7 @@
  static struct module_attribute *modinfo_attrs[] = {
        &module_uevent,
        &modinfo_version,
-@@ -1255,6 +1304,9 @@ static struct module_attribute *modinfo_attrs[] = {
+@@ -1255,6 +1304,9 @@ static struct module_attribute *modinfo_
        &modinfo_coresize,
        &modinfo_initsize,
        &modinfo_taint,
@@ -250,7 +250,7 @@
  #ifdef CONFIG_MODULE_UNLOAD
        &modinfo_refcnt,
  #endif
-@@ -1816,9 +1868,34 @@ static int mod_sysfs_setup(struct module *mod,
+@@ -1816,9 +1868,34 @@ static int mod_sysfs_setup(struct module
        add_sect_attrs(mod, info);
        add_notes_attrs(mod, info);
  
@@ -285,7 +285,7 @@
  out_unreg_modinfo_attrs:
        module_remove_modinfo_attrs(mod);
  out_unreg_param:
-@@ -4370,6 +4447,9 @@ void print_modules(void)
+@@ -4369,6 +4446,9 @@ void print_modules(void)
        if (last_unloaded_module[0])
                pr_cont(" [last unloaded: %s]", last_unloaded_module);
        pr_cont("\n");
@@ -297,7 +297,7 @@
  #ifdef CONFIG_MODVERSIONS
 --- a/kernel/sysctl.c
 +++ b/kernel/sysctl.c
-@@ -804,6 +804,15 @@ static struct ctl_table kern_table[] = {
+@@ -791,6 +791,15 @@ static struct ctl_table kern_table[] = {
                .extra1         = &pid_max_min,
                .extra2         = &pid_max_max,
        },
@@ -315,7 +315,7 @@
                .data           = &panic_on_oops,
 --- a/scripts/Makefile.modpost
 +++ b/scripts/Makefile.modpost
-@@ -79,7 +79,11 @@ modpost = scripts/mod/modpost                    \
+@@ -79,7 +79,11 @@ modpost = scripts/mod/modpost
   $(if $(KBUILD_EXTMOD),-o $(modulesymfile))      \
   $(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S)      \
   $(if $(CONFIG_SECTION_MISMATCH_WARN_ONLY),,-E)  \
@@ -330,7 +330,7 @@
  
 --- a/scripts/mod/modpost.c
 +++ b/scripts/mod/modpost.c
-@@ -1940,6 +1940,50 @@ static char *remove_dot(char *s)
+@@ -1941,6 +1941,50 @@ static char *remove_dot(char *s)
        return s;
  }
  
@@ -381,7 +381,7 @@
  static void read_symbols(char *modname)
  {
        const char *symname;
-@@ -2180,6 +2224,15 @@ static void add_staging_flag(struct buffer *b, const 
char *name)
+@@ -2181,6 +2225,15 @@ static void add_staging_flag(struct buff
                buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n");
  }
  
@@ -397,7 +397,7 @@
  /**
   * Record CRCs for unresolved symbols
   **/
-@@ -2327,6 +2380,15 @@ static void write_if_changed(struct buffer *b, const 
char *fname)
+@@ -2328,6 +2381,15 @@ static void write_if_changed(struct buff
        fclose(file);
  }
  
@@ -413,7 +413,7 @@
  /* parse Module.symvers file. line format:
   * 0x12345678<tab>symbol<tab>module[[<tab>export]<tab>something]
   **/
-@@ -2423,12 +2485,15 @@ int main(int argc, char **argv)
+@@ -2424,12 +2486,15 @@ int main(int argc, char **argv)
        struct buffer buf = { };
        char *kernel_read = NULL, *module_read = NULL;
        char *dump_write = NULL, *files_source = NULL;
@@ -430,7 +430,7 @@
                switch (opt) {
                case 'i':
                        kernel_read = optarg;
-@@ -2472,11 +2537,20 @@ int main(int argc, char **argv)
+@@ -2473,11 +2538,20 @@ int main(int argc, char **argv)
                case 'E':
                        sec_mismatch_fatal = 1;
                        break;
@@ -451,7 +451,7 @@
        if (kernel_read)
                read_dump(kernel_read, 1);
        if (module_read)
-@@ -2515,6 +2589,9 @@ int main(int argc, char **argv)
+@@ -2516,6 +2590,9 @@ int main(int argc, char **argv)
                add_intree_flag(&buf, !external_module);
                add_retpoline(&buf);
                add_staging_flag(&buf, mod->name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patches.suse/suse-hv-guest-os-id.patch 
new/patches.suse/suse-hv-guest-os-id.patch
--- old/patches.suse/suse-hv-guest-os-id.patch  2018-06-04 10:21:54.000000000 
+0200
+++ new/patches.suse/suse-hv-guest-os-id.patch  2018-05-24 17:24:46.000000000 
+0200
@@ -9,21 +9,22 @@
 A better change is pending.
 
 Acked-by: Olaf Hering <[email protected]>
- arch/x86/hyperv/hv_init.c | 4 +++-
+---
+ arch/x86/hyperv/hv_init.c |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
 --- a/arch/x86/hyperv/hv_init.c
 +++ b/arch/x86/hyperv/hv_init.c
-@@ -248,6 +248,8 @@ void hyperv_init(void)
+@@ -113,6 +113,8 @@ void hyperv_init(void)
+ {
        u64 guest_id, required_msrs;
        union hv_x64_msr_hypercall_contents hypercall_msr;
-       int cpuhp;
 +      __u8 d1 = 0x10; /* SuSE */
 +      __u16 d2 = 0x0; /* -d of a.b.c-d */
  
        if (x86_hyper_type != X86_HYPER_MS_HYPERV)
                return;
-@@ -282,7 +284,7 @@ void hyperv_init(void)
+@@ -122,7 +124,7 @@ void hyperv_init(void)
         * 1. Register the guest ID
         * 2. Enable the hypercall and register the hypercall page
         */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch 
new/patches.suse/xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch
--- old/patches.suse/xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/xfs-set-format-back-to-extents-if-xfs_bmap_extents_t.patch 
2018-05-24 17:24:46.000000000 +0200
@@ -0,0 +1,50 @@
+From 2c4306f719b083d17df2963bc761777576b8ad1b Mon Sep 17 00:00:00 2001
+From: Eric Sandeen <[email protected]>
+Date: Mon, 16 Apr 2018 23:07:27 -0700
+Subject: [PATCH] xfs: set format back to extents if xfs_bmap_extents_to_btree
+Git-commit: 2c4306f719b083d17df2963bc761777576b8ad1b
+Patch-mainline: Queued in subsystem maintainer repository
+Git-repo: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git xfs-4.17-fixes
+References: bsc#1090717, CVE-2018-10323
+
+If xfs_bmap_extents_to_btree fails in a mode where we call
+xfs_iroot_realloc(-1) to de-allocate the root, set the
+format back to extents.
+
+Otherwise we can assume we can dereference ifp->if_broot
+based on the XFS_DINODE_FMT_BTREE format, and crash.
+
+Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199423
+Signed-off-by: Eric Sandeen <[email protected]>
+Reviewed-by: Christoph Hellwig <[email protected]>
+Reviewed-by: Darrick J. Wong <[email protected]>
+Signed-off-by: Darrick J. Wong <[email protected]>
+Signed-off-by: Luis R. Rodriguez <[email protected]>
+---
+ fs/xfs/libxfs/xfs_bmap.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c
+index 6a7c2f03ea11..040eeda8426f 100644
+--- a/fs/xfs/libxfs/xfs_bmap.c
++++ b/fs/xfs/libxfs/xfs_bmap.c
+@@ -725,12 +725,16 @@ xfs_bmap_extents_to_btree(
+       *logflagsp = 0;
+       if ((error = xfs_alloc_vextent(&args))) {
+               xfs_iroot_realloc(ip, -1, whichfork);
++              ASSERT(ifp->if_broot == NULL);
++              XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS);
+               xfs_btree_del_cursor(cur, XFS_BTREE_ERROR);
+               return error;
+       }
+ 
+       if (WARN_ON_ONCE(args.fsbno == NULLFSBLOCK)) {
+               xfs_iroot_realloc(ip, -1, whichfork);
++              ASSERT(ifp->if_broot == NULL);
++              XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS);
+               xfs_btree_del_cursor(cur, XFS_BTREE_ERROR);
+               return -ENOSPC;
+       }
+-- 
+2.16.3
+

++++++ series.conf ++++++
++++ 1051 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/series.conf
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new/series.conf

++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.UQ7Sbi/_old  2018-06-13 15:51:50.789118199 +0200
+++ /var/tmp/diff_new_pack.UQ7Sbi/_new  2018-06-13 15:51:50.789118199 +0200
@@ -1,3 +1,3 @@
-2018-06-04 10:26:32 +0200
-GIT Revision: bcb34222e06b31c82927014bce646cd786d519f7
+2018-05-25 20:40:19 +0200
+GIT Revision: 39c752265b891e209d4fdfb390d8ae77fbfc430a
 GIT Branch: stable


Reply via email to