Hello community,

here is the log from the commit of package kernel-source for openSUSE:Factory 
checked in at 2019-08-13 13:12:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
 and      /work/SRC/openSUSE:Factory/.kernel-source.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kernel-source"

Tue Aug 13 13:12:36 2019 rev:500 rq:722261 version:5.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes        
2019-08-10 23:45:00.503625575 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new.9556/dtb-aarch64.changes      
2019-08-13 13:12:42.681543594 +0200
@@ -1,0 +2,117 @@
+Fri Aug  9 19:51:51 CEST 2019 - [email protected]
+
+- Linux 5.2.8 (bnc#1012628).
+- scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
+  (bnc#1012628).
+- libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant
+  (bnc#1012628).
+- libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
+  (bnc#1012628).
+- ALSA: usb-audio: Sanity checks for each pipe and EP types
+  (bnc#1012628).
+- ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check
+  (bnc#1012628).
+- HID: wacom: fix bit shift for Cintiq Companion 2 (bnc#1012628).
+- HID: Add quirk for HP X1200 PIXART OEM mouse (bnc#1012628).
+- atm: iphase: Fix Spectre v1 vulnerability (bnc#1012628).
+- bnx2x: Disable multi-cos feature (bnc#1012628).
+- drivers/net/ethernet/marvell/mvmdio.c: Fix non OF case
+  (bnc#1012628).
+- ife: error out when nla attributes are empty (bnc#1012628).
+- ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6 (bnc#1012628).
+- ip6_tunnel: fix possible use-after-free on xmit (bnc#1012628).
+- ipip: validate header length in ipip_tunnel_xmit (bnc#1012628).
+- mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
+  (bnc#1012628).
+- mvpp2: fix panic on module removal (bnc#1012628).
+- mvpp2: refactor MTU change code (bnc#1012628).
+- net: bridge: delete local fdb on device init failure
+  (bnc#1012628).
+- net: bridge: mcast: don't delete permanent entries when fast
+  leave is enabled (bnc#1012628).
+- net: bridge: move default pvid init/deinit to
+  NETDEV_REGISTER/UNREGISTER (bnc#1012628).
+- net: fix ifindex collision during namespace removal
+  (bnc#1012628).
+- net/mlx5e: always initialize frag->last_in_page (bnc#1012628).
+- net/mlx5: Use reversed order when unregister devices
+  (bnc#1012628).
+- net: phy: fixed_phy: print gpio error only if gpio node is
+  present (bnc#1012628).
+- net: phylink: don't start and stop SGMII PHYs in SFP modules
+  twice (bnc#1012628).
+- net: phylink: Fix flow control for fixed-link (bnc#1012628).
+- net: phy: mscc: initialize stats array (bnc#1012628).
+- net: qualcomm: rmnet: Fix incorrect UL checksum offload logic
+  (bnc#1012628).
+- net: sched: Fix a possible null-pointer dereference in
+  dequeue_func() (bnc#1012628).
+- net sched: update vlan action for batched events operations
+  (bnc#1012628).
+- net: sched: use temporary variable for actions indexes
+  (bnc#1012628).
+- net/smc: do not schedule tx_work in SMC_CLOSED state
+  (bnc#1012628).
+- net: stmmac: Use netif_tx_napi_add() for TX polling function
+  (bnc#1012628).
+- NFC: nfcmrvl: fix gpio-handling regression (bnc#1012628).
+- ocelot: Cancel delayed work before wq destruction (bnc#1012628).
+- tipc: compat: allow tipc commands without arguments
+  (bnc#1012628).
+- tipc: fix unitilized skb list crash (bnc#1012628).
+- tun: mark small packets as owned by the tap sock (bnc#1012628).
+- net/mlx5: Fix modify_cq_in alignment (bnc#1012628).
+- net/mlx5e: Prevent encap flow counter update async to user query
+  (bnc#1012628).
+- r8169: don't use MSI before RTL8168d (bnc#1012628).
+- bpf: fix XDP vlan selftests test_xdp_vlan.sh (bnc#1012628).
+- selftests/bpf: add wrapper scripts for test_xdp_vlan.sh
+  (bnc#1012628).
+- selftests/bpf: reduce time to execute test_xdp_vlan.sh
+  (bnc#1012628).
+- net: fix bpf_xdp_adjust_head regression for generic-XDP
+  (bnc#1012628).
+- hv_sock: Fix hang when a connection is closed (bnc#1012628).
+- net: phy: fix race in genphy_update_link (bnc#1012628).
+- net/smc: avoid fallback in case of non-blocking connect
+  (bnc#1012628).
+- rocker: fix memory leaks of fib_work on two error return paths
+  (bnc#1012628).
+- mlxsw: spectrum_buffers: Further reduce pool size on Spectrum-2
+  (bnc#1012628).
+- net/mlx5: Add missing RDMA_RX capabilities (bnc#1012628).
+- net/mlx5e: Fix matching of speed to PRM link modes
+  (bnc#1012628).
+- compat_ioctl: pppoe: fix PPPOEIOCSFWD handling (bnc#1012628).
+- Revert "mac80211: set NETIF_F_LLTX when using intermediate tx
+  queues" (bnc#1012628).
+- spi: bcm2835: Fix 3-wire mode if DMA is enabled (bnc#1012628).
+- commit bf37e83
+
+-------------------------------------------------------------------
+Thu Aug  8 20:01:30 CEST 2019 - [email protected]
+
+- Use the upstream patch.
+  (Including the tags.)
+- commit 5dd5b2d
+
+-------------------------------------------------------------------
+Thu Aug  8 15:31:02 CEST 2019 - [email protected]
+
+- s390: enable detection of kernel version from bzImage
+  (bnc#1139939).
+- commit 8434c05
+
+-------------------------------------------------------------------
+Wed Aug  7 21:34:48 CEST 2019 - [email protected]
+
+- drm/i915/vbt: Fix VBT parsing for the PSR section (bsc#1143139).
+- commit 0bef772
+
+-------------------------------------------------------------------
+Wed Aug  7 21:14:19 CEST 2019 - [email protected]
+
+- rpm/kernel-binary.spec.in: support partial rt debug config.
+- commit af37821
+
+-------------------------------------------------------------------
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.tfk39y/_old  2019-08-13 13:12:47.513540960 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.517540958 +0200
@@ -17,7 +17,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %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.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif

dtb-armv6l.spec: same change
dtb-armv7l.spec: same change
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.573540927 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.573540927 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 %define compress_modules none
@@ -63,9 +63,9 @@
 Summary:        Kernel with 64kb PAGE_SIZE
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -170,10 +170,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
-Provides:       kernel-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       
kernel-%build_flavor-base-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
+Provides:       kernel-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 # END COMMON DEPS
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 %obsolete_rebuilds %name
 Source0:        
http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
 Source2:        source-post.sh
@@ -475,12 +475,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.593540916 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.597540914 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 %define compress_modules none
@@ -63,9 +63,9 @@
 Summary:        A Debug Version of the Kernel
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -170,10 +170,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
-Provides:       kernel-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       
kernel-%build_flavor-base-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
+Provides:       kernel-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 # END COMMON DEPS
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 %ifarch ppc64
 Provides:       kernel-kdump = 2.6.28
 Obsoletes:      kernel-kdump <= 2.6.28
@@ -481,12 +481,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.613540905 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.617540903 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 %define compress_modules none
@@ -63,9 +63,9 @@
 Summary:        The Standard Kernel
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -170,10 +170,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
-Provides:       kernel-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       
kernel-%build_flavor-base-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
+Provides:       kernel-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 # END COMMON DEPS
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 %ifarch %ix86
 Provides:       kernel-smp = 2.6.17
 Obsoletes:      kernel-smp <= 2.6.17
@@ -524,12 +524,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.629540897 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.629540897 +0200
@@ -17,7 +17,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 
 %include %_sourcedir/kernel-spec-macros
@@ -31,9 +31,9 @@
 Summary:        Kernel Documentation
 License:        GPL-2.0
 Group:          Documentation/Man
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -63,7 +63,7 @@
 %endif
 Url:            http://www.kernel.org/
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 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.tfk39y/_old  2019-08-13 13:12:47.649540886 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.653540884 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 %define compress_modules none
@@ -63,9 +63,9 @@
 Summary:        The Small Developer Kernel for KVM
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -170,10 +170,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
-Provides:       kernel-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       
kernel-%build_flavor-base-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
+Provides:       kernel-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 # END COMMON DEPS
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 %obsolete_rebuilds %name
 Source0:        
http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
 Source2:        source-post.sh
@@ -479,12 +479,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

kernel-lpae.spec: same change
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.685540866 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.685540866 +0200
@@ -19,7 +19,7 @@
 
 #!BuildIgnore: post-build-checks
 
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 
@@ -45,7 +45,7 @@
 %endif
 %endif
 %endif
-BuildRequires:  
kernel%kernel_flavor-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+BuildRequires:  
kernel%kernel_flavor-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 
 %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.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif

++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.701540857 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.701540857 +0200
@@ -17,7 +17,7 @@
 # needsrootforbuild
 
 
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %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.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif

++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.713540851 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.721540847 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 %define compress_modules none
@@ -63,9 +63,9 @@
 Summary:        Kernel with PAE Support
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -170,10 +170,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
-Provides:       kernel-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       
kernel-%build_flavor-base-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
+Provides:       kernel-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 # END COMMON DEPS
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 %ifarch %ix86
 Provides:       kernel-bigsmp = 2.6.17
 Obsoletes:      kernel-bigsmp <= 2.6.17
@@ -501,12 +501,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.733540840 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.733540840 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %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.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -43,7 +43,7 @@
 BuildRequires:  sed
 Requires(post): coreutils sed
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 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.tfk39y/_old  2019-08-13 13:12:47.749540832 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.749540832 +0200
@@ -24,10 +24,10 @@
 Summary:        Kernel Symbol Versions (modversions)
 License:        GPL-2.0
 Group:          Development/Sources
-Version:        5.2.7
+Version:        5.2.8
 %if %using_buildservice
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -55,7 +55,7 @@
 %endif
 Requires:       pesign-obs-integration
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 Provides:       multiversion(kernel)
 Source:         README.KSYMS
 Requires:       kernel-devel%variant = %version-%source_rel

++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:47.765540822 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:47.769540821 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 5.2
-%define patchversion 5.2.7
+%define patchversion 5.2.8
 %define variant %{nil}
 %define vanilla_only 0
 %define compress_modules none
@@ -63,9 +63,9 @@
 Summary:        The Standard Kernel - without any SUSE patches
 License:        GPL-2.0
 Group:          System/Kernel
-Version:        5.2.7
+Version:        5.2.8
 %if 0%{?is_kotd}
-Release:        <RELEASE>.ga3e04b1
+Release:        <RELEASE>.gbf37e83
 %else
 Release:        0
 %endif
@@ -170,10 +170,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
-Provides:       kernel-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       
kernel-%build_flavor-base-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
+Provides:       kernel-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 # END COMMON DEPS
-Provides:       %name-srchash-a3e04b12075fef2f407834c0006e3f4e3779b55f
+Provides:       %name-srchash-bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 %obsolete_rebuilds %name
 Source0:        
http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
 Source2:        source-post.sh
@@ -472,12 +472,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

kernel-zfcpdump.spec: same change
++++++ kernel-binary.spec.in ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:48.025540681 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:48.025540681 +0200
@@ -330,12 +330,16 @@
     cat %_sourcedir/localversion > localversion
 fi
 
-vanilla_base="default"
+config_base="default"
 %ifarch %ix86
-vanilla_base="pae"
+config_base="pae"
 %endif
+if ! [ -f %my_builddir/config/%cpu_arch/$config_base ] ; then
+    config_base=%variant
+    config_base=${config_base#-}
+fi
 if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
-cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
+cp "%my_builddir/config/%cpu_arch/$config_base" .config
 ../scripts/kconfig/merge_config.sh -m .config \
                                    %my_builddir/config/%cpu_arch_flavor
 else

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

++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/s390-enable-detection-of-kernel-version-from-bzImage.patch 
new/patches.suse/s390-enable-detection-of-kernel-version-from-bzImage.patch
--- old/patches.suse/s390-enable-detection-of-kernel-version-from-bzImage.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/s390-enable-detection-of-kernel-version-from-bzImage.patch 
2019-08-09 19:51:51.000000000 +0200
@@ -0,0 +1,98 @@
+From: Vasily Gorbik <[email protected]>
+Date: Mon, 15 Jul 2019 15:30:33 +0200
+Subject: s390: enable detection of kernel version from bzImage
+Git-commit: 6abe28197024f732f1e298b1a593505282505857
+Patch-mainline: 5.3-rc2
+References: bnc#1139939
+
+Extend "parmarea" to include an offset of the version string, which is
+stored as 8-byte big endian value.
+
+To retrieve version string from bzImage reliably, one should check the
+presence of "S390EP" ascii string at 0x10008 (available since v3.2),
+then read the version string offset from 0x10428 (which has been 0
+since v3.2 up to now). The string is null terminated.
+
+Could be retrieved with the following "file" command magic (requires
+file v5.34):
+8 string 
\x02\x00\x00\x18\x60\x00\x00\x50\x02\x00\x00\x68\x60\x00\x00\x50\x40\x40\x40\x40\x40\x40\x40\x40
 Linux S390
+>0x10008       string          S390EP
+>>0x10428      bequad          >0
+>>>(0x10428.Q) string          >\0             \b, version %s
+
+Reported-by: Petr Tesarik <[email protected]>
+Suggested-by: Petr Tesarik <[email protected]>
+Reviewed-by: Heiko Carstens <[email protected]>
+Signed-off-by: Vasily Gorbik <[email protected]>
+Signed-off-by: Heiko Carstens <[email protected]>
+Signed-off-by: Jiri Slaby <[email protected]>
+---
+ arch/s390/boot/Makefile       |    2 +-
+ arch/s390/boot/boot.h         |    1 +
+ arch/s390/boot/head.S         |    1 +
+ arch/s390/boot/version.c      |    7 +++++++
+ arch/s390/include/asm/setup.h |    4 +++-
+ 5 files changed, 13 insertions(+), 2 deletions(-)
+ create mode 100644 arch/s390/boot/version.c
+
+--- a/arch/s390/boot/Makefile
++++ b/arch/s390/boot/Makefile
+@@ -36,7 +36,7 @@ CFLAGS_sclp_early_core.o += -I$(srctree)
+ 
+ obj-y := head.o als.o startup.o mem_detect.o ipl_parm.o ipl_report.o
+ obj-y += string.o ebcdic.o sclp_early_core.o mem.o ipl_vmparm.o cmdline.o
+-obj-y += ctype.o text_dma.o
++obj-y += version.o ctype.o text_dma.o
+ obj-$(CONFIG_PROTECTED_VIRTUALIZATION_GUEST)  += uv.o
+ obj-$(CONFIG_RELOCATABLE)     += machine_kexec_reloc.o
+ obj-$(CONFIG_RANDOMIZE_BASE)  += kaslr.o
+--- a/arch/s390/boot/boot.h
++++ b/arch/s390/boot/boot.h
+@@ -12,6 +12,7 @@ void print_missing_facilities(void);
+ unsigned long get_random_base(unsigned long safe_addr);
+ 
+ extern int kaslr_enabled;
++extern const char kernel_version[];
+ 
+ unsigned long read_ipl_report(unsigned long safe_offset);
+ 
+--- a/arch/s390/boot/head.S
++++ b/arch/s390/boot/head.S
+@@ -361,6 +361,7 @@ ENTRY(startup_kdump)
+       .quad   0                       # INITRD_SIZE
+       .quad   0                       # OLDMEM_BASE
+       .quad   0                       # OLDMEM_SIZE
++      .quad   kernel_version          # points to kernel version string
+ 
+       .org    COMMAND_LINE
+       .byte   "root=/dev/ram0 ro"
+--- /dev/null
++++ b/arch/s390/boot/version.c
+@@ -0,0 +1,7 @@
++// SPDX-License-Identifier: GPL-2.0
++#include <generated/utsrelease.h>
++#include <generated/compile.h>
++#include "boot.h"
++
++const char kernel_version[] = UTS_RELEASE
++      " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") " UTS_VERSION;
+--- a/arch/s390/include/asm/setup.h
++++ b/arch/s390/include/asm/setup.h
+@@ -54,6 +54,7 @@
+ #define INITRD_SIZE_OFFSET    0x10410
+ #define OLDMEM_BASE_OFFSET    0x10418
+ #define OLDMEM_SIZE_OFFSET    0x10420
++#define KERNEL_VERSION_OFFSET 0x10428
+ #define COMMAND_LINE_OFFSET   0x10480
+ 
+ #ifndef __ASSEMBLY__
+@@ -74,7 +75,8 @@ struct parmarea {
+       unsigned long initrd_size;                      /* 0x10410 */
+       unsigned long oldmem_base;                      /* 0x10418 */
+       unsigned long oldmem_size;                      /* 0x10420 */
+-      char pad1[0x10480 - 0x10428];                   /* 0x10428 - 0x10480 */
++      unsigned long kernel_version;                   /* 0x10428 */
++      char pad1[0x10480 - 0x10430];                   /* 0x10430 - 0x10480 */
+       char command_line[ARCH_COMMAND_LINE_SIZE];      /* 0x10480 */
+ };
+ 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/tpm-fixes-uninitialized-allocated-banks-for-IBM-vtpm-driver.patch
 
new/patches.suse/tpm-fixes-uninitialized-allocated-banks-for-IBM-vtpm-driver.patch
--- 
old/patches.suse/tpm-fixes-uninitialized-allocated-banks-for-IBM-vtpm-driver.patch
  2019-08-04 17:14:38.000000000 +0200
+++ 
new/patches.suse/tpm-fixes-uninitialized-allocated-banks-for-IBM-vtpm-driver.patch
  1970-01-01 01:00:00.000000000 +0100
@@ -1,186 +0,0 @@
-From: Nayna Jain <[email protected]>
-To: [email protected], [email protected]
-Subject: [PATCH v2] tpm: tpm_ibm_vtpm: Fix unallocated banks
-Date: Sat,  6 Jul 2019 20:18:45 -0400
-Message-Id: <[email protected]>
-
-References: boo#1139244
-Patch-mainline: submitted, https://lkml.org/lkml/2019/7/6/217
-
-The nr_allocated_banks and allocated banks are initialized as part of
-tpm_chip_register. Currently, this is done as part of auto startup
-function. However, some drivers, like the ibm vtpm driver, do not run
-auto startup during initialization. This results in uninitialized memory
-issue and causes a kernel panic during boot.
-
-This patch moves the pcr allocation outside the auto startup function
-into tpm_chip_register. This ensures that allocated banks are initialized
-in any case.
-
-Fixes: 879b589210a9 ("tpm: retrieve digest size of unknown algorithms with
-PCR read")
-Reported-by: Michal Suchanek <[email protected]>
-Signed-off-by: Nayna Jain <[email protected]>
-Reviewed-by: Mimi Zohar <[email protected]>
-Tested-by: Sachin Sant <[email protected]>
-Tested-by: Michal Suchánek <[email protected]>
-Acked-by: Michal Suchánek <[email protected]>
----
-Changelog:
-
-v2:
-* Includes Jarkko's feedbacks
-  * fixes the function name to tpm_get_pcr_allocation()
-  * adds new function tpm1_get_pcr_allocation()
-  * updates patch summary line
-  * fixes alignment
-  * adds Reported-by: Michal Suchanek <[email protected]>
-* Includes Stefan's feedbacks
-  * Fixes overwriting of return code
-  * Fixes misplacing of tpm_chip_stop()
-* Adds Reviewed-by, Tested-by
-
- drivers/char/tpm/tpm-chip.c | 22 ++++++++++++++++++++++
- drivers/char/tpm/tpm.h      |  2 ++
- drivers/char/tpm/tpm1-cmd.c | 36 ++++++++++++++++++++++++------------
- drivers/char/tpm/tpm2-cmd.c |  6 +-----
- 4 files changed, 49 insertions(+), 17 deletions(-)
-
-diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c
-index 8804c9e916fd..6589291df355 100644
---- a/drivers/char/tpm/tpm-chip.c
-+++ b/drivers/char/tpm/tpm-chip.c
-@@ -550,6 +550,22 @@ static int tpm_add_hwrng(struct tpm_chip *chip)
-       return hwrng_register(&chip->hwrng);
- }
- 
-+/*
-+ * tpm_get_pcr_allocation() - initialize the chip allocated banks for PCRs
-+ * @chip: TPM chip to use.
-+ */
-+static int tpm_get_pcr_allocation(struct tpm_chip *chip)
-+{
-+      int rc;
-+
-+      if (chip->flags & TPM_CHIP_FLAG_TPM2)
-+              rc = tpm2_get_pcr_allocation(chip);
-+      else
-+              rc = tpm1_get_pcr_allocation(chip);
-+
-+      return rc;
-+}
-+
- /*
-  * tpm_chip_register() - create a character device for the TPM chip
-  * @chip: TPM chip to use.
-@@ -569,6 +585,12 @@ int tpm_chip_register(struct tpm_chip *chip)
-       if (rc)
-               return rc;
-       rc = tpm_auto_startup(chip);
-+      if (rc) {
-+              tpm_chip_stop(chip);
-+              return rc;
-+      }
-+
-+      rc = tpm_get_pcr_allocation(chip);
-       tpm_chip_stop(chip);
-       if (rc)
-               return rc;
-diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
-index 2cce072f25b5..d571df3694c3 100644
---- a/drivers/char/tpm/tpm.h
-+++ b/drivers/char/tpm/tpm.h
-@@ -399,6 +399,7 @@ int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 
*res_buf);
- ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap,
-                   const char *desc, size_t min_cap_length);
- int tpm1_get_random(struct tpm_chip *chip, u8 *out, size_t max);
-+int tpm1_get_pcr_allocation(struct tpm_chip *chip);
- unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
- int tpm_pm_suspend(struct device *dev);
- int tpm_pm_resume(struct device *dev);
-@@ -454,6 +455,7 @@ int tpm2_unseal_trusted(struct tpm_chip *chip,
- ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id,
-                       u32 *value, const char *desc);
- 
-+ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip);
- int tpm2_auto_startup(struct tpm_chip *chip);
- void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type);
- unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
-diff --git a/drivers/char/tpm/tpm1-cmd.c b/drivers/char/tpm/tpm1-cmd.c
-index 85dcf2654d11..260a3917f0fe 100644
---- a/drivers/char/tpm/tpm1-cmd.c
-+++ b/drivers/char/tpm/tpm1-cmd.c
-@@ -696,18 +696,6 @@ int tpm1_auto_startup(struct tpm_chip *chip)
-               goto out;
-       }
- 
--      chip->allocated_banks = kcalloc(1, sizeof(*chip->allocated_banks),
--                                      GFP_KERNEL);
--      if (!chip->allocated_banks) {
--              rc = -ENOMEM;
--              goto out;
--      }
--
--      chip->allocated_banks[0].alg_id = TPM_ALG_SHA1;
--      chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1];
--      chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1;
--      chip->nr_allocated_banks = 1;
--
-       return rc;
- out:
-       if (rc > 0)
-@@ -776,3 +764,27 @@ int tpm1_pm_suspend(struct tpm_chip *chip, u32 
tpm_suspend_pcr)
-       return rc;
- }
- 
-+/**
-+ * tpm1_get_pcr_allocation() - initialize the allocated bank
-+ * @chip: TPM chip to use.
-+ *
-+ * The function initializes the SHA1 allocated bank to extend PCR
-+ *
-+ * Return:
-+ * * 0 on success,
-+ * * < 0 on error.
-+ */
-+int tpm1_get_pcr_allocation(struct tpm_chip *chip)
-+{
-+      chip->allocated_banks = kcalloc(1, sizeof(*chip->allocated_banks),
-+                                      GFP_KERNEL);
-+      if (!chip->allocated_banks)
-+              return -ENOMEM;
-+
-+      chip->allocated_banks[0].alg_id = TPM_ALG_SHA1;
-+      chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1];
-+      chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1;
-+      chip->nr_allocated_banks = 1;
-+
-+      return 0;
-+}
-diff --git a/drivers/char/tpm/tpm2-cmd.c b/drivers/char/tpm/tpm2-cmd.c
-index e74c5b7b64bf..b4384d0e3741 100644
---- a/drivers/char/tpm/tpm2-cmd.c
-+++ b/drivers/char/tpm/tpm2-cmd.c
-@@ -841,7 +841,7 @@ struct tpm2_pcr_selection {
-       u8  pcr_select[3];
- } __packed;
- 
--static ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip)
-+ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip)
- {
-       struct tpm2_pcr_selection pcr_selection;
-       struct tpm_buf buf;
-@@ -1041,10 +1041,6 @@ int tpm2_auto_startup(struct tpm_chip *chip)
-                       goto out;
-       }
- 
--      rc = tpm2_get_pcr_allocation(chip);
--      if (rc)
--              goto out;
--
-       rc = tpm2_get_cc_attrs_tbl(chip);
- 
- out:
--- 
-2.20.1
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/tpm-tpm_ibm_vtpm-Fix-unallocated-banks.patch 
new/patches.suse/tpm-tpm_ibm_vtpm-Fix-unallocated-banks.patch
--- old/patches.suse/tpm-tpm_ibm_vtpm-Fix-unallocated-banks.patch       
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/tpm-tpm_ibm_vtpm-Fix-unallocated-banks.patch       
2019-08-09 19:51:51.000000000 +0200
@@ -0,0 +1,161 @@
+From: Nayna Jain <[email protected]>
+Date: Thu, 11 Jul 2019 12:13:35 -0400
+Subject: tpm: tpm_ibm_vtpm: Fix unallocated banks
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+Git-commit: fa4f99c05320eb28bf6ba52a9adf64d888da1f9e
+Patch-mainline: 5.3-rc3
+References: bnc#1139244
+
+The nr_allocated_banks and allocated banks are initialized as part of
+tpm_chip_register. Currently, this is done as part of auto startup
+function. However, some drivers, like the ibm vtpm driver, do not run
+auto startup during initialization. This results in uninitialized memory
+issue and causes a kernel panic during boot.
+
+This patch moves the pcr allocation outside the auto startup function
+into tpm_chip_register. This ensures that allocated banks are initialized
+in any case.
+
+Fixes: 879b589210a9 ("tpm: retrieve digest size of unknown algorithms with PCR 
read")
+Reported-by: Michal Suchanek <[email protected]>
+Signed-off-by: Nayna Jain <[email protected]>
+Reviewed-by: Mimi Zohar <[email protected]>
+Tested-by: Sachin Sant <[email protected]>
+Tested-by: Michal Suchánek <[email protected]>
+Reviewed-by: Jarkko Sakkinen <[email protected]>
+Signed-off-by: Jarkko Sakkinen <[email protected]>
+Signed-off-by: Jiri Slaby <[email protected]>
+---
+ drivers/char/tpm/tpm-chip.c |   20 ++++++++++++++++++++
+ drivers/char/tpm/tpm.h      |    2 ++
+ drivers/char/tpm/tpm1-cmd.c |   36 ++++++++++++++++++++++++------------
+ drivers/char/tpm/tpm2-cmd.c |    6 +-----
+ 4 files changed, 47 insertions(+), 17 deletions(-)
+
+--- a/drivers/char/tpm/tpm-chip.c
++++ b/drivers/char/tpm/tpm-chip.c
+@@ -554,6 +554,20 @@ static int tpm_add_hwrng(struct tpm_chip
+       return hwrng_register(&chip->hwrng);
+ }
+ 
++static int tpm_get_pcr_allocation(struct tpm_chip *chip)
++{
++      int rc;
++
++      rc = (chip->flags & TPM_CHIP_FLAG_TPM2) ?
++           tpm2_get_pcr_allocation(chip) :
++           tpm1_get_pcr_allocation(chip);
++
++      if (rc > 0)
++              return -ENODEV;
++
++      return rc;
++}
++
+ /*
+  * tpm_chip_register() - create a character device for the TPM chip
+  * @chip: TPM chip to use.
+@@ -573,6 +587,12 @@ int tpm_chip_register(struct tpm_chip *c
+       if (rc)
+               return rc;
+       rc = tpm_auto_startup(chip);
++      if (rc) {
++              tpm_chip_stop(chip);
++              return rc;
++      }
++
++      rc = tpm_get_pcr_allocation(chip);
+       tpm_chip_stop(chip);
+       if (rc)
+               return rc;
+--- a/drivers/char/tpm/tpm.h
++++ b/drivers/char/tpm/tpm.h
+@@ -394,6 +394,7 @@ int tpm1_pcr_read(struct tpm_chip *chip,
+ ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap,
+                   const char *desc, size_t min_cap_length);
+ int tpm1_get_random(struct tpm_chip *chip, u8 *out, size_t max);
++int tpm1_get_pcr_allocation(struct tpm_chip *chip);
+ unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
+ int tpm_pm_suspend(struct device *dev);
+ int tpm_pm_resume(struct device *dev);
+@@ -449,6 +450,7 @@ int tpm2_unseal_trusted(struct tpm_chip
+ ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id,
+                       u32 *value, const char *desc);
+ 
++ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip);
+ int tpm2_auto_startup(struct tpm_chip *chip);
+ void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type);
+ unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
+--- a/drivers/char/tpm/tpm1-cmd.c
++++ b/drivers/char/tpm/tpm1-cmd.c
+@@ -699,18 +699,6 @@ int tpm1_auto_startup(struct tpm_chip *c
+               goto out;
+       }
+ 
+-      chip->allocated_banks = kcalloc(1, sizeof(*chip->allocated_banks),
+-                                      GFP_KERNEL);
+-      if (!chip->allocated_banks) {
+-              rc = -ENOMEM;
+-              goto out;
+-      }
+-
+-      chip->allocated_banks[0].alg_id = TPM_ALG_SHA1;
+-      chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1];
+-      chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1;
+-      chip->nr_allocated_banks = 1;
+-
+       return rc;
+ out:
+       if (rc > 0)
+@@ -779,3 +767,27 @@ int tpm1_pm_suspend(struct tpm_chip *chi
+       return rc;
+ }
+ 
++/**
++ * tpm1_get_pcr_allocation() - initialize the allocated bank
++ * @chip: TPM chip to use.
++ *
++ * The function initializes the SHA1 allocated bank to extend PCR
++ *
++ * Return:
++ * * 0 on success,
++ * * < 0 on error.
++ */
++int tpm1_get_pcr_allocation(struct tpm_chip *chip)
++{
++      chip->allocated_banks = kcalloc(1, sizeof(*chip->allocated_banks),
++                                      GFP_KERNEL);
++      if (!chip->allocated_banks)
++              return -ENOMEM;
++
++      chip->allocated_banks[0].alg_id = TPM_ALG_SHA1;
++      chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1];
++      chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1;
++      chip->nr_allocated_banks = 1;
++
++      return 0;
++}
+--- a/drivers/char/tpm/tpm2-cmd.c
++++ b/drivers/char/tpm/tpm2-cmd.c
+@@ -840,7 +840,7 @@ struct tpm2_pcr_selection {
+       u8  pcr_select[3];
+ } __packed;
+ 
+-static ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip)
++ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip)
+ {
+       struct tpm2_pcr_selection pcr_selection;
+       struct tpm_buf buf;
+@@ -1040,10 +1040,6 @@ int tpm2_auto_startup(struct tpm_chip *c
+                       goto out;
+       }
+ 
+-      rc = tpm2_get_pcr_allocation(chip);
+-      if (rc)
+-              goto out;
+-
+       rc = tpm2_get_cc_attrs_tbl(chip);
+ 
+ out:

++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:48.893540208 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:48.893540208 +0200
@@ -964,6 +964,63 @@
        
patches.kernel.org/5.2.7-136-x86-speculation-swapgs-Exclude-ATOMs-from-specu.patch
        
patches.kernel.org/5.2.7-137-Documentation-Add-swapgs-description-to-the-Spe.patch
        patches.kernel.org/5.2.7-138-Linux-5.2.7.patch
+       
patches.kernel.org/5.2.8-001-scsi-fcoe-Embed-fc_rport_priv-in-fcoe_rport-str.patch
+       
patches.kernel.org/5.2.8-002-libnvdimm-bus-Prepare-the-nd_ioctl-path-to-be-r.patch
+       
patches.kernel.org/5.2.8-003-libnvdimm-bus-Fix-wait_nvdimm_bus_probe_idle-AB.patch
+       
patches.kernel.org/5.2.8-004-ALSA-usb-audio-Sanity-checks-for-each-pipe-and-.patch
+       
patches.kernel.org/5.2.8-005-ALSA-usb-audio-Fix-gpf-in-snd_usb_pipe_sanity_c.patch
+       
patches.kernel.org/5.2.8-006-HID-wacom-fix-bit-shift-for-Cintiq-Companion-2.patch
+       
patches.kernel.org/5.2.8-007-HID-Add-quirk-for-HP-X1200-PIXART-OEM-mouse.patch
+       
patches.kernel.org/5.2.8-008-atm-iphase-Fix-Spectre-v1-vulnerability.patch
+       patches.kernel.org/5.2.8-009-bnx2x-Disable-multi-cos-feature.patch
+       
patches.kernel.org/5.2.8-010-drivers-net-ethernet-marvell-mvmdio.c-Fix-non-O.patch
+       
patches.kernel.org/5.2.8-011-ife-error-out-when-nla-attributes-are-empty.patch
+       
patches.kernel.org/5.2.8-012-ip6_gre-reload-ipv6h-in-prepare_ip6gre_xmit_ipv.patch
+       
patches.kernel.org/5.2.8-013-ip6_tunnel-fix-possible-use-after-free-on-xmit.patch
+       
patches.kernel.org/5.2.8-014-ipip-validate-header-length-in-ipip_tunnel_xmit.patch
+       
patches.kernel.org/5.2.8-015-mlxsw-spectrum-Fix-error-path-in-mlxsw_sp_modul.patch
+       patches.kernel.org/5.2.8-016-mvpp2-fix-panic-on-module-removal.patch
+       patches.kernel.org/5.2.8-017-mvpp2-refactor-MTU-change-code.patch
+       
patches.kernel.org/5.2.8-018-net-bridge-delete-local-fdb-on-device-init-fail.patch
+       
patches.kernel.org/5.2.8-019-net-bridge-mcast-don-t-delete-permanent-entries.patch
+       
patches.kernel.org/5.2.8-020-net-bridge-move-default-pvid-init-deinit-to-NET.patch
+       
patches.kernel.org/5.2.8-021-net-fix-ifindex-collision-during-namespace-remo.patch
+       
patches.kernel.org/5.2.8-022-net-mlx5e-always-initialize-frag-last_in_page.patch
+       
patches.kernel.org/5.2.8-023-net-mlx5-Use-reversed-order-when-unregister-dev.patch
+       
patches.kernel.org/5.2.8-024-net-phy-fixed_phy-print-gpio-error-only-if-gpio.patch
+       
patches.kernel.org/5.2.8-025-net-phylink-don-t-start-and-stop-SGMII-PHYs-in-.patch
+       
patches.kernel.org/5.2.8-026-net-phylink-Fix-flow-control-for-fixed-link.patch
+       patches.kernel.org/5.2.8-027-net-phy-mscc-initialize-stats-array.patch
+       
patches.kernel.org/5.2.8-028-net-qualcomm-rmnet-Fix-incorrect-UL-checksum-of.patch
+       
patches.kernel.org/5.2.8-029-net-sched-Fix-a-possible-null-pointer-dereferen.patch
+       
patches.kernel.org/5.2.8-030-net-sched-update-vlan-action-for-batched-events.patch
+       
patches.kernel.org/5.2.8-031-net-sched-use-temporary-variable-for-actions-in.patch
+       
patches.kernel.org/5.2.8-032-net-smc-do-not-schedule-tx_work-in-SMC_CLOSED-s.patch
+       
patches.kernel.org/5.2.8-033-net-stmmac-Use-netif_tx_napi_add-for-TX-polling.patch
+       
patches.kernel.org/5.2.8-034-NFC-nfcmrvl-fix-gpio-handling-regression.patch
+       
patches.kernel.org/5.2.8-035-ocelot-Cancel-delayed-work-before-wq-destructio.patch
+       
patches.kernel.org/5.2.8-036-tipc-compat-allow-tipc-commands-without-argumen.patch
+       patches.kernel.org/5.2.8-037-tipc-fix-unitilized-skb-list-crash.patch
+       
patches.kernel.org/5.2.8-038-tun-mark-small-packets-as-owned-by-the-tap-sock.patch
+       patches.kernel.org/5.2.8-039-net-mlx5-Fix-modify_cq_in-alignment.patch
+       
patches.kernel.org/5.2.8-040-net-mlx5e-Prevent-encap-flow-counter-update-asy.patch
+       patches.kernel.org/5.2.8-041-r8169-don-t-use-MSI-before-RTL8168d.patch
+       
patches.kernel.org/5.2.8-042-bpf-fix-XDP-vlan-selftests-test_xdp_vlan.sh.patch
+       
patches.kernel.org/5.2.8-043-selftests-bpf-add-wrapper-scripts-for-test_xdp_.patch
+       
patches.kernel.org/5.2.8-044-selftests-bpf-reduce-time-to-execute-test_xdp_v.patch
+       
patches.kernel.org/5.2.8-045-net-fix-bpf_xdp_adjust_head-regression-for-gene.patch
+       
patches.kernel.org/5.2.8-046-hv_sock-Fix-hang-when-a-connection-is-closed.patch
+       
patches.kernel.org/5.2.8-047-net-phy-fix-race-in-genphy_update_link.patch
+       
patches.kernel.org/5.2.8-048-net-smc-avoid-fallback-in-case-of-non-blocking-.patch
+       
patches.kernel.org/5.2.8-049-rocker-fix-memory-leaks-of-fib_work-on-two-erro.patch
+       
patches.kernel.org/5.2.8-050-mlxsw-spectrum_buffers-Further-reduce-pool-size.patch
+       
patches.kernel.org/5.2.8-051-net-mlx5-Add-missing-RDMA_RX-capabilities.patch
+       
patches.kernel.org/5.2.8-052-net-mlx5e-Fix-matching-of-speed-to-PRM-link-mod.patch
+       
patches.kernel.org/5.2.8-053-compat_ioctl-pppoe-fix-PPPOEIOCSFWD-handling.patch
+       
patches.kernel.org/5.2.8-054-drm-i915-vbt-Fix-VBT-parsing-for-the-PSR-sectio.patch
+       
patches.kernel.org/5.2.8-055-Revert-mac80211-set-NETIF_F_LLTX-when-using-int.patch
+       
patches.kernel.org/5.2.8-056-spi-bcm2835-Fix-3-wire-mode-if-DMA-is-enabled.patch
+       patches.kernel.org/5.2.8-057-Linux-5.2.8.patch
 
        ########################################################
        # Build fixes that apply to the vanilla kernel too.
@@ -1078,6 +1135,7 @@
        ########################################################
        # S/390
        ########################################################
+       patches.suse/s390-enable-detection-of-kernel-version-from-bzImage.patch
 
        ########################################################
        # VM/FS patches
@@ -1325,7 +1383,7 @@
        ########################################################
        # Crypto
        ########################################################
-       
patches.suse/tpm-fixes-uninitialized-allocated-banks-for-IBM-vtpm-driver.patch
+       patches.suse/tpm-tpm_ibm_vtpm-Fix-unallocated-banks.patch
 
        ########################################################
        # KDB v4.4

++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.tfk39y/_old  2019-08-13 13:12:48.917540194 +0200
+++ /var/tmp/diff_new_pack.tfk39y/_new  2019-08-13 13:12:48.917540194 +0200
@@ -1,3 +1,3 @@
-2019-08-07 05:13:31 +0000
-GIT Revision: a3e04b12075fef2f407834c0006e3f4e3779b55f
+2019-08-09 17:51:51 +0000
+GIT Revision: bf37e832d7a7b657aff6ae194b1fd62fe9a44f12
 GIT Branch: stable


Reply via email to