Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2016-01-13 22:43:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/kernel-debug.changes 2016-01-11 19:09:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-debug.changes 2016-01-13 22:43:31.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Jan 11 15:43:45 CET 2016 - jeffm@suse.com
+
+- Update to 4.4-final.
+- commit f1e5f1f
+
+-------------------------------------------------------------------
@@ -6 +12,8 @@
-- commit 95610af
+- commit 238d0b8
+
+-------------------------------------------------------------------
+Fri Jan 8 16:10:24 CET 2016 - jbeulich@suse.com
+
+- Refresh patches.suse/supported-flag (fix modpost command line
+ option spec).
+- commit 2566c29
@@ -13 +26 @@
-- commit d89492e
+- commit f8f6570
@@ -21,0 +35,6 @@
+Mon Jan 4 14:34:02 CET 2016 - jeffm@suse.com
+
+- Update to 4.4-rc8.
+- commit e628e30
+
+-------------------------------------------------------------------
@@ -28,0 +48,7 @@
+Mon Jan 4 13:35:21 CET 2016 - dvaleev@suse.com
+
+- Driver for IBM System i/p VNIC protocol.
+- Update config files CONFIG_VNIC=m
+- commit 85261f3
+
+-------------------------------------------------------------------
@@ -35,0 +62,7 @@
+Fri Jan 1 07:32:36 CET 2016 - afaerber@suse.de
+
+- config: armv7hl: Enable more RK3288 options for lpae
+ Namely MMC and IO domains, already enabled for default/vanilla.
+- commit 49467f0
+
+-------------------------------------------------------------------
@@ -49,0 +83,12 @@
+Mon Dec 28 16:30:30 CET 2015 - jeffm@suse.com
+
+- Update to 4.4-rc7.
+- commit 276c9f4
+
+-------------------------------------------------------------------
+Tue Dec 22 15:41:29 CET 2015 - jeffm@suse.com
+
+- Update to 4.4-rc6.
+- commit f4ac202
+
+-------------------------------------------------------------------
@@ -74,0 +120,6 @@
+Tue Dec 15 09:45:24 CET 2015 - mmarek@suse.com
+
+- rpm/compute-PATCHVERSION.sh: Skip stale directories in the package dir
+- commit 014bd26
+
+-------------------------------------------------------------------
@@ -80,0 +132,6 @@
+Tue Dec 15 02:41:46 CET 2015 - jeffm@suse.com
+
+- Update to 4.4-rc5.
+- commit da8b87d
+
+-------------------------------------------------------------------
@@ -85,0 +143,2 @@
+- config: armv7hl: Enable ACT8865 for lpae, too
+ It is needed for the Firefly-RK3288 board.
@@ -108,0 +168,7 @@
+Mon Dec 7 17:12:41 CET 2015 - jeffm@suse.com
+
+- Update to 4.4-rc4.
+- Eliminated 5 patches.
+- commit 923c13b
+
+-------------------------------------------------------------------
@@ -115,0 +182,8 @@
+Mon Dec 7 11:19:25 CET 2015 - jslaby@suse.cz
+
+- Refresh patches.suse/stack-unwind.
+- Fix these warnings (since 4.4 as of 0ab32b6f1):
+ kernel/unwind.c:672: warning: passing argument 2 of ‘probe_kernel_read’ makes pointer from integer without a cast
+- commit 6bcd0e3
+
+-------------------------------------------------------------------
@@ -120 +194,66 @@
-- commit 60ce178
+- commit 68ab1c1
+
+-------------------------------------------------------------------
+Tue Dec 1 17:53:47 CET 2015 - mbrugger@suse.com
+
+- Delete
+ patches.arch/arm64-gpex-0009-pci-Enable-pci-host-generic-support-for-ARM64.patch.
+- commit 7985c89
+
+-------------------------------------------------------------------
+Tue Dec 1 17:52:43 CET 2015 - mbrugger@suse.com
+
+- Delete
+ patches.arch/arm64-0005-arm64-dts-Add-X-Gene-reboot-driver-dts-node.patch.
+- commit 435b78e
+
+-------------------------------------------------------------------
+Mon Nov 30 18:07:00 CET 2015 - jeffm@suse.com
+
+- config: sync SWIOTLB config change to ppc/vanilla
+- commit 3d7391b
+
+-------------------------------------------------------------------
+Mon Nov 30 16:57:48 CET 2015 - duwe@suse.de
+
+- On ppc, SWIOTLB is just an alias for DMA bounce buffers
+ (see Kconfig help:
+ "Support for IO bounce buffering for systems without an IOMMU..." )
+ The systems we support all have proper IOMMUs and thus don't need
+ it.
+- commit d43936a
+
+-------------------------------------------------------------------
+Mon Nov 30 16:11:11 CET 2015 - jeffm@suse.com
+
+- Update to 4.4-rc3.
+- Eliminated 2 patches.
+- commit 916e346
+
+-------------------------------------------------------------------
+Mon Nov 30 16:04:40 CET 2015 - dvaleev@suse.com
+
+- Add RHEL to kernel-obs-build
+- commit a010d5e
+
+-------------------------------------------------------------------
+Mon Nov 30 15:01:56 CET 2015 - mmarek@suse.com
+
+- Enable Xen in x86 vanilla configs
+ Align the vanilla configs with i386/pae and x86_64/default,
+ respectively.
+- commit defd50c
+
+-------------------------------------------------------------------
+Mon Nov 30 14:58:28 CET 2015 - mmarek@suse.com
+
+- Enable pae in i386/vanilla
+ We use kernel-pae in majority of 32bit installs, so it makes sense to
+ sync i386/vanilla with this flavor.
+- commit 3557f7c
+
+-------------------------------------------------------------------
+Mon Nov 30 14:15:39 CET 2015 - mmarek@suse.com
+
+- Drop SUSE_KERNEL and SPLIT_PACKAGE patches from vanilla (bsc#957159)
+- commit fa79c63
@@ -135 +274,4 @@
-- commit bce32fe
+- drm/i915: Don't override output type for DDI HDMI (boo#955190).
+- drm/i915: Don't compare has_drrs strictly in pipe config
+ (bsc#956397).
+- commit 7c0fedd
@@ -145,0 +288,42 @@
+Thu Nov 26 09:46:39 CET 2015 - mkubecek@suse.cz
+
+- Delete patches.fixes/bridge-module-get-put.patch.
+ As discussed in
+ http://lists.opensuse.org/opensuse-kernel/2015-11/msg00046.html
+- commit 856bef8
+
+-------------------------------------------------------------------
+Mon Nov 23 20:32:47 CET 2015 - jeffm@suse.com
+
+- config: refresh ARM configs for 4.4-rc2.
+- commit 7eabae5
+
+-------------------------------------------------------------------
+Mon Nov 23 20:30:57 CET 2015 - jeffm@suse.com
+
+- Update to 4.4-rc2.
+- Eliminated 1 patch.
+- commit dea70ff
+
+-------------------------------------------------------------------
+Sun Nov 22 02:15:47 CET 2015 - afaerber@suse.de
+
+- config: arm64: Update configs for 4.4-rc1
+ Align vanilla and default while at it.
+- commit f5e67d3
+
+-------------------------------------------------------------------
+Sun Nov 22 01:30:12 CET 2015 - afaerber@suse.de
+
+- config: armv6hl: Update configs for 4.4-rc1
+ Align vanilla and default while at it.
+- commit 11c6acd
++++ 174 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-debug.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-debug.changes
kernel-default.changes: same change
kernel-docs.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
Old:
----
linux-4.3.tar.xz
New:
----
linux-4.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
-%define srcversion 4.3
-%define patchversion 4.3.3
+%define srcversion 4.4
+%define patchversion 4.4.0
%define variant %{nil}
%define vanilla_only 0
@@ -57,9 +57,9 @@
Summary: A Debug Version of the Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 4.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
kernel-default.spec: same change
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -16,7 +16,7 @@
#
-%define patchversion 4.3.3
+%define patchversion 4.4.0
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -27,9 +27,9 @@
Summary: Kernel Documentation (man pages)
License: GPL-2.0
Group: Documentation/Man
-Version: 4.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ kernel-lpae.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
-%define srcversion 4.3
-%define patchversion 4.3.3
+%define srcversion 4.4
+%define patchversion 4.4.0
%define variant %{nil}
%define vanilla_only 0
@@ -57,9 +57,9 @@
Summary: Kernel for LPAE enabled systems
License: GPL-2.0
Group: System/Kernel
-Version: 4.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
-%define patchversion 4.3.3
+%define patchversion 4.4.0
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -29,7 +29,16 @@
BuildRequires: device-mapper
BuildRequires: util-linux
+%if 0%{?suse_version}
BuildRequires: kernel-default
+%define kernel_flavor -default
+%endif
+
+%if 0%{?rhel_version}
+BuildRequires: kernel
+%define kernel_flavor ""
+%endif
+
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64
%if 0%{?suse_version} < 1315
# For SLE 11
@@ -42,9 +51,9 @@
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0
Group: SLES
-Version: 4.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
@@ -114,13 +123,13 @@
%define kernel_name Image
%endif
-%if 0%{?suse_version} < 1315
+%if 0%{?suse_version} && 0%{?suse_version} < 1315
# For SLE 11
/sbin/mkinitrd $ROOT \
-m "$KERNEL_MODULES" \
-k /boot/%{kernel_name}-*-default -M /boot/System.map-*-default -i /tmp/initrd.kvm -B
%else
-dracut --host-only --drivers="$KERNEL_MODULES" --force /tmp/initrd.kvm `echo /boot/%{kernel_name}-*-default | sed -n -e 's,[^-]*-\(.*-default\),\1,p'`
+dracut --host-only --drivers="$KERNEL_MODULES" --force /tmp/initrd.kvm `echo /boot/%{kernel_name}-*%{kernel_flavor} | sed -n -e 's,[^-]*-\(.*'%{kernel_flavor}'\),\1,p'`
%endif
@@ -129,7 +138,7 @@
%install
install -d -m 0755 $RPM_BUILD_ROOT
-cp -v /boot/%{kernel_name}-*-default $RPM_BUILD_ROOT/.build.kernel.kvm
+cp -v /boot/%{kernel_name}-*%{kernel_flavor} $RPM_BUILD_ROOT/.build.kernel.kvm
cp -v /tmp/initrd.kvm $RPM_BUILD_ROOT/.build.initrd.kvm
#inform worker about arch
++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -17,7 +17,7 @@
# needsrootforbuild
-%define patchversion 4.3.3
+%define patchversion 4.4.0
%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.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
-%define srcversion 4.3
-%define patchversion 4.3.3
+%define srcversion 4.4
+%define patchversion 4.4.0
%define variant %{nil}
%define vanilla_only 0
@@ -57,9 +57,9 @@
Summary: Kernel with PAE Support
License: GPL-2.0
Group: System/Kernel
-Version: 4.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:39.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:39.000000000 +0100
@@ -17,8 +17,8 @@
# icecream 0
-%define srcversion 4.3
-%define patchversion 4.3.3
+%define srcversion 4.4
+%define patchversion 4.4.0
%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.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:40.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:40.000000000 +0100
@@ -24,10 +24,10 @@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0
Group: Development/Sources
-Version: 4.3.3
+Version: 4.4.0
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:40.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:40.000000000 +0100
@@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
-%define srcversion 4.3
-%define patchversion 4.3.3
+%define srcversion 4.4
+%define patchversion 4.4.0
%define variant %{nil}
%define vanilla_only 0
@@ -57,9 +57,9 @@
Summary: The Standard Kernel - without any SUSE patches
License: GPL-2.0
Group: System/Kernel
-Version: 4.3.3
+Version: 4.4.0
%if 0%{?is_kotd}
-Release: <RELEASE>.gda39cbd
+Release: <RELEASE>.g83948c1
%else
Release: 0
%endif
++++++ compute-PATCHVERSION.sh ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:40.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:40.000000000 +0100
@@ -40,7 +40,7 @@
while read patch; do
dir=${patch%/*}
for p in "${path[@]}"; do
- if test -d "$p/$dir"; then
+ if test -e "$p/$patch"; then
echo "$p/$patch"
continue 2
fi
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:40.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:40.000000000 +0100
@@ -1,5 +1,5 @@
# The version of the main tarball to use
-SRCVERSION=4.3
+SRCVERSION=4.4
# variant of the kernel-source package, either empty or "-rt"
VARIANT=
# buildservice projects to build the kernel against
++++++ config.tar.bz2 ++++++
++++ 19110 lines of diff (skipped)
++++++ kernel-obs-build.spec.in ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:40.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:40.000000000 +0100
@@ -29,7 +29,16 @@
BuildRequires: device-mapper
BuildRequires: util-linux
+%if 0%{?suse_version}
BuildRequires: kernel-default
+%define kernel_flavor -default
+%endif
+
+%if 0%{?rhel_version}
+BuildRequires: kernel
+%define kernel_flavor ""
+%endif
+
ExclusiveArch: @ARCHS@
%if 0%{?suse_version} < 1315
# For SLE 11
@@ -114,13 +123,13 @@
%define kernel_name Image
%endif
-%if 0%{?suse_version} < 1315
+%if 0%{?suse_version} && 0%{?suse_version} < 1315
# For SLE 11
/sbin/mkinitrd $ROOT \
-m "$KERNEL_MODULES" \
-k /boot/%{kernel_name}-*-default -M /boot/System.map-*-default -i /tmp/initrd.kvm -B
%else
-dracut --host-only --drivers="$KERNEL_MODULES" --force /tmp/initrd.kvm `echo /boot/%{kernel_name}-*-default | sed -n -e 's,[^-]*-\(.*-default\),\1,p'`
+dracut --host-only --drivers="$KERNEL_MODULES" --force /tmp/initrd.kvm `echo /boot/%{kernel_name}-*%{kernel_flavor} | sed -n -e 's,[^-]*-\(.*'%{kernel_flavor}'\),\1,p'`
%endif
@@ -129,7 +138,7 @@
%install
install -d -m 0755 $RPM_BUILD_ROOT
-cp -v /boot/%{kernel_name}-*-default $RPM_BUILD_ROOT/.build.kernel.kvm
+cp -v /boot/%{kernel_name}-*%{kernel_flavor} $RPM_BUILD_ROOT/.build.kernel.kvm
cp -v /tmp/initrd.kvm $RPM_BUILD_ROOT/.build.initrd.kvm
#inform worker about arch
++++++ linux-4.3.tar.xz -> linux-4.4.tar.xz ++++++
/work/SRC/openSUSE:Factory/kernel-source/linux-4.3.tar.xz /work/SRC/openSUSE:Factory/.kernel-source.new/linux-4.4.tar.xz differ: char 25, line 1
++++++ patches.arch.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.arch/acpi_thermal_passive_blacklist.patch new/patches.arch/acpi_thermal_passive_blacklist.patch
--- old/patches.arch/acpi_thermal_passive_blacklist.patch 2015-09-30 01:37:00.000000000 +0200
+++ new/patches.arch/acpi_thermal_passive_blacklist.patch 2015-12-01 17:53:47.000000000 +0100
@@ -1,7 +1,7 @@
From: Thomas Renninger
Subject: Avoid critical temp shutdowns on specific ThinkPad T4x(p) and R40
References: https://bugzilla.novell.com/show_bug.cgi?id=333043
-Patch-mainline: not yet
+Patch-mainline: not yet, <REASON NEEDED>
---
drivers/acpi/thermal.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++
@@ -110,11 +110,11 @@
+ if (dmi_check_system(thermal_psv_dmi_table)) {
+ if (tz->trips.passive.flags.valid &&
-+ tz->trips.passive.temperature > CELSIUS_TO_KELVIN(85)) {
++ tz->trips.passive.temperature > CELSIUS_TO_DECI_KELVIN(85)) {
+ printk (KERN_INFO "Adjust passive trip point from %lu"
+ " to %lu\n",
-+ KELVIN_TO_CELSIUS(tz->trips.passive.temperature),
-+ KELVIN_TO_CELSIUS(tz->trips.passive.temperature - 150));
++ DECI_KELVIN_TO_CELSIUS(tz->trips.passive.temperature),
++ DECI_KELVIN_TO_CELSIUS(tz->trips.passive.temperature - 150));
+ tz->trips.passive.temperature -= 150;
+ acpi_thermal_set_polling(tz, 5);
+ }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.arch/arm64-0004-net-xgbe-Add-A0-silicon-support.patch new/patches.arch/arm64-0004-net-xgbe-Add-A0-silicon-support.patch
--- old/patches.arch/arm64-0004-net-xgbe-Add-A0-silicon-support.patch 2015-09-30 01:37:00.000000000 +0200
+++ new/patches.arch/arm64-0004-net-xgbe-Add-A0-silicon-support.patch 2015-12-01 17:53:47.000000000 +0100
@@ -10369,13 +10369,14 @@
+#endif
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
-@@ -34,5 +34,6 @@ obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += md
+@@ -34,6 +34,7 @@ obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += md
obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += mdio-mux-mmioreg.o
obj-$(CONFIG_MDIO_SUN4I) += mdio-sun4i.o
obj-$(CONFIG_MDIO_MOXART) += mdio-moxart.o
+obj-$(CONFIG_AMD_XGBE_PHY) += amd-xgbe-phy-a0.o
obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o
obj-$(CONFIG_MICROCHIP_PHY) += microchip.o
+ obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o
--- /dev/null
+++ b/drivers/net/phy/amd-xgbe-phy-a0.c
@@ -0,0 +1,1800 @@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.arch/arm64-0005-arm64-dts-Add-X-Gene-reboot-driver-dts-node.patch new/patches.arch/arm64-0005-arm64-dts-Add-X-Gene-reboot-driver-dts-node.patch
--- old/patches.arch/arm64-0005-arm64-dts-Add-X-Gene-reboot-driver-dts-node.patch 2015-09-30 01:37:00.000000000 +0200
+++ new/patches.arch/arm64-0005-arm64-dts-Add-X-Gene-reboot-driver-dts-node.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,49 +0,0 @@
-From 9837008e995022dbe35b0452b6bc1fb72d32bb4b Mon Sep 17 00:00:00 2001
-From: Feng Kan
-Date: Thu, 23 Oct 2014 18:24:18 -0700
-Subject: [PATCH 05/10] arm64: dts: Add X-Gene reboot driver dts node
-Patch-mainline: No
-References: bnc#902632
-
-Add X-Gene platform reboot driver dts node.
-
-Signed-off-by: Feng Kan
-Signed-off-by: Alexander Graf
-
----
- arch/arm64/boot/dts/apm/apm-storm.dtsi | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
-index 295c72d..e0295e1 100644
---- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
-+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
-@@ -103,6 +103,11 @@
- ranges;
- dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>;
-
-+ scu: system-clk-controller@17000000 {
-+ compatible = "apm,xgene-scu","syscon";
-+ reg = <0x0 0x17000000 0x0 0x400>;
-+ };
-+
- clocks {
- #address-cells = <2>;
- #size-cells = <2>;
-@@ -469,6 +474,13 @@
- msi-parent = <&msi>;
- };
-
-+ reboot: reboot@17000014 {
-+ compatible = "syscon-reboot";
-+ regmap = <&scu>;
-+ offset = <0x14>;
-+ mask = <0x1>;
-+ };
-+
- serial0: serial@1c020000 {
- status = "disabled";
- device_type = "serial";
---
-2.1.0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.arch/arm64-0010-KVM-ARM-Hack-to-enable-VGIC-mapping-on-64k-PAGE_SIZE.patch new/patches.arch/arm64-0010-KVM-ARM-Hack-to-enable-VGIC-mapping-on-64k-PAGE_SIZE.patch
--- old/patches.arch/arm64-0010-KVM-ARM-Hack-to-enable-VGIC-mapping-on-64k-PAGE_SIZE.patch 2015-09-30 01:37:00.000000000 +0200
+++ new/patches.arch/arm64-0010-KVM-ARM-Hack-to-enable-VGIC-mapping-on-64k-PAGE_SIZE.patch 2015-12-01 17:53:47.000000000 +0100
@@ -3,7 +3,7 @@
Date: Wed, 22 Oct 2014 13:01:55 +0200
Subject: [PATCH 10/10] KVM: ARM: Hack to enable VGIC mapping on 64k PAGE_SIZE
kernels
-Patch-mainline: No
+Patch-mainline: No, <NEEDS A REASON>
References: bnc#902633
Originally commit 63afbe7a0ac disabled mapping of unaligned VGIC regions
@@ -27,10 +27,8 @@
virt/kvm/arm/vgic.c | 19 +++++++++++++++++++
4 files changed, 23 insertions(+)
-Index: linux-4.0-rc5-master/arch/arm/include/uapi/asm/kvm.h
-===================================================================
---- linux-4.0-rc5-master.orig/arch/arm/include/uapi/asm/kvm.h
-+++ linux-4.0-rc5-master/arch/arm/include/uapi/asm/kvm.h
+--- a/arch/arm/include/uapi/asm/kvm.h
++++ b/arch/arm/include/uapi/asm/kvm.h
@@ -80,6 +80,7 @@ struct kvm_regs {
/* Supported VGIC address types */
#define KVM_VGIC_V2_ADDR_TYPE_DIST 0
@@ -39,10 +37,8 @@
#define KVM_VGIC_V2_DIST_SIZE 0x1000
#define KVM_VGIC_V2_CPU_SIZE 0x2000
-Index: linux-4.0-rc5-master/arch/arm64/include/uapi/asm/kvm.h
-===================================================================
---- linux-4.0-rc5-master.orig/arch/arm64/include/uapi/asm/kvm.h
-+++ linux-4.0-rc5-master/arch/arm64/include/uapi/asm/kvm.h
+--- a/arch/arm64/include/uapi/asm/kvm.h
++++ b/arch/arm64/include/uapi/asm/kvm.h
@@ -74,6 +74,7 @@ struct kvm_regs {
/* Supported VGIC address types */
#define KVM_VGIC_V2_ADDR_TYPE_DIST 0
@@ -51,10 +47,8 @@
#define KVM_VGIC_V2_DIST_SIZE 0x1000
#define KVM_VGIC_V2_CPU_SIZE 0x2000
-Index: linux-4.0-rc5-master/virt/kvm/arm/vgic-v2.c
-===================================================================
---- linux-4.0-rc5-master.orig/virt/kvm/arm/vgic-v2.c
-+++ linux-4.0-rc5-master/virt/kvm/arm/vgic-v2.c
+--- a/virt/kvm/arm/vgic-v2.c
++++ b/virt/kvm/arm/vgic-v2.c
@@ -222,6 +222,7 @@ int vgic_v2_probe(struct device_node *vg
goto out_unmap;
}
@@ -71,10 +65,8 @@
vgic->can_emulate_gicv2 = true;
kvm_register_device_ops(&kvm_arm_vgic_v2_ops, KVM_DEV_TYPE_ARM_VGIC_V2);
-Index: linux-4.0-rc5-master/virt/kvm/arm/vgic.c
-===================================================================
---- linux-4.0-rc5-master.orig/virt/kvm/arm/vgic.c
-+++ linux-4.0-rc5-master/virt/kvm/arm/vgic.c
+--- a/virt/kvm/arm/vgic.c
++++ b/virt/kvm/arm/vgic.c
@@ -1682,6 +1682,11 @@ static int vgic_ioaddr_assign(struct kvm
return ret;
}
@@ -98,13 +90,11 @@
+ *addr = vgic_get_vcpu_base() & ~PAGE_MASK;
+ }
+ goto out;
- #ifdef CONFIG_ARM_GIC_V3
+ #ifdef CONFIG_KVM_ARM_VGIC_V3
case KVM_VGIC_V3_ADDR_TYPE_DIST:
type_needed = KVM_DEV_TYPE_ARM_VGIC_V3;
-Index: linux-4.0-rc5-master/virt/kvm/arm/vgic-v2-emul.c
-===================================================================
---- linux-4.0-rc5-master.orig/virt/kvm/arm/vgic-v2-emul.c
-+++ linux-4.0-rc5-master/virt/kvm/arm/vgic-v2-emul.c
+--- a/virt/kvm/arm/vgic-v2-emul.c
++++ b/virt/kvm/arm/vgic-v2-emul.c
@@ -517,6 +517,13 @@ static int vgic_v2_map_resources(struct
goto out_unregister;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.arch/arm64-gpex-0009-pci-Enable-pci-host-generic-support-for-ARM64.patch new/patches.arch/arm64-gpex-0009-pci-Enable-pci-host-generic-support-for-ARM64.patch
--- old/patches.arch/arm64-gpex-0009-pci-Enable-pci-host-generic-support-for-ARM64.patch 2015-09-30 01:37:00.000000000 +0200
+++ new/patches.arch/arm64-gpex-0009-pci-Enable-pci-host-generic-support-for-ARM64.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,118 +0,0 @@
-From eeb8d22a0abcd3524961ca903b470d69b429a31b Mon Sep 17 00:00:00 2001
-From: Suravee Suthikulpanit
-Date: Mon, 23 Mar 2015 16:24:43 -0500
-Subject: [PATCH 9/9] pci: Enable pci-host-generic support for ARM64
-Patch-mainline: No, modeling in flux upstream, will keep patches updated
-References: bnc#911732
-
-Signed-off-by: Suravee Suthikulpanit
-Signed-off-by: Alexander Graf
----
- drivers/pci/host/Kconfig | 2 +-
- drivers/pci/host/pci-host-generic.c | 31 +++++++++++++++++++++++++++++++
- 2 files changed, 32 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
-index 7b892a9..9d91ca3e 100644
---- a/drivers/pci/host/Kconfig
-+++ b/drivers/pci/host/Kconfig
-@@ -53,7 +53,7 @@ config PCI_RCAR_GEN2_PCIE
-
- config PCI_HOST_GENERIC
- bool "Generic PCI host controller"
-- depends on ARM && OF
-+ depends on (ARM || ARM64) && OF
- help
- Say Y here if you want to support a simple generic PCI host
- controller, such as the one emulated by kvmtool.
-diff --git a/drivers/pci/host/pci-host-generic.c b/drivers/pci/host/pci-host-generic.c
-index ba46e58..d401ed1 100644
---- a/drivers/pci/host/pci-host-generic.c
-+++ b/drivers/pci/host/pci-host-generic.c
-@@ -48,8 +48,12 @@ static void __iomem *gen_pci_map_cfg_bus_cam(struct pci_bus *bus,
- unsigned int devfn,
- int where)
- {
-+#ifndef CONFIG_ARM64
- struct pci_sys_data *sys = bus->sysdata;
- struct gen_pci *pci = sys->private_data;
-+#else
-+ struct gen_pci *pci = ((struct gen_pci *)bus->sysdata);
-+#endif
- resource_size_t idx = bus->number - pci->cfg.bus_range->start;
-
- return pci->cfg.win[idx] + ((devfn << 8) | where);
-@@ -64,8 +68,12 @@ static void __iomem *gen_pci_map_cfg_bus_ecam(struct pci_bus *bus,
- unsigned int devfn,
- int where)
- {
-+#ifndef CONFIG_ARM64
- struct pci_sys_data *sys = bus->sysdata;
- struct gen_pci *pci = sys->private_data;
-+#else
-+ struct gen_pci *pci = ((struct gen_pci *)bus->sysdata);
-+#endif
- resource_size_t idx = bus->number - pci->cfg.bus_range->start;
-
- return pci->cfg.win[idx] + ((devfn << 12) | where);
-@@ -198,12 +206,14 @@ static int gen_pci_parse_map_cfg_windows(struct gen_pci *pci)
- return 0;
- }
-
-+#ifndef CONFIG_ARM64
- static int gen_pci_setup(int nr, struct pci_sys_data *sys)
- {
- struct gen_pci *pci = sys->private_data;
- list_splice_init(&pci->resources, &sys->resources);
- return 1;
- }
-+#endif
-
- static int gen_pci_probe(struct platform_device *pdev)
- {
-@@ -214,6 +224,7 @@ static int gen_pci_probe(struct platform_device *pdev)
- struct device *dev = &pdev->dev;
- struct device_node *np = dev->of_node;
- struct gen_pci *pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL);
-+#ifndef CONFIG_ARM64
- struct hw_pci hw = {
- .nr_controllers = 1,
- .private_data = (void **)&pci,
-@@ -221,6 +232,9 @@ static int gen_pci_probe(struct platform_device *pdev)
- .map_irq = of_irq_parse_and_map_pci,
- .ops = &gen_pci_ops,
- };
-+#else
-+ struct pci_bus *bus;
-+#endif
-
- if (!pci)
- return -ENOMEM;
-@@ -258,7 +272,24 @@ static int gen_pci_probe(struct platform_device *pdev)
- return err;
- }
-
-+#ifndef CONFIG_ARM64
- pci_common_init_dev(dev, &hw);
-+#else
-+ bus = pci_scan_root_bus(&pdev->dev, pci->cfg.bus_range->start,
-+ &gen_pci_ops, pci, &pci->resources);
-+ if (!bus) {
-+ dev_err(&pdev->dev, "failed to enable PCIe ports\n");
-+ return -ENODEV;
-+ }
-+
-+ if (!pci_has_flag(PCI_PROBE_ONLY)) {
-+ pci_bus_size_bridges(bus);
-+ pci_bus_assign_resources(bus);
-+ }
-+
-+ pci_bus_add_devices(bus);
-+
-+#endif
- return 0;
- }
-
---
-1.7.12.4
-
++++++ patches.drivers.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ALSA-hda-Add-a-fixup-for-Thinkpad-X1-Carbon-2nd new/patches.drivers/ALSA-hda-Add-a-fixup-for-Thinkpad-X1-Carbon-2nd
--- old/patches.drivers/ALSA-hda-Add-a-fixup-for-Thinkpad-X1-Carbon-2nd 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ALSA-hda-Add-a-fixup-for-Thinkpad-X1-Carbon-2nd 1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-From b6903c0ed9f0bcbbe88f67f7ed43d1721cbc6235 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Thu, 10 Dec 2015 12:20:20 +0100
-Subject: [PATCH 3/3] ALSA: hda - Add a fixup for Thinkpad X1 Carbon 2nd
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: b6903c0ed9f0bcbbe88f67f7ed43d1721cbc6235
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
-References: bsc#958439
-
-Apply the same fixup for Thinkpad with dock to Thinkpad X1 Carbon 2nd,
-too. This reduces the annoying loud cracking noise problem, as well
-as the support of missing docking port.
-
-Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=958439
-Reported-and-tested-by: Benjamin Poirier
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- sound/pci/hda/patch_realtek.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/sound/pci/hda/patch_realtek.c
-+++ b/sound/pci/hda/patch_realtek.c
-@@ -5335,6 +5335,7 @@ static const struct snd_pci_quirk alc269
- SND_PCI_QUIRK(0x17aa, 0x2212, "Thinkpad T440", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2214, "Thinkpad X240", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2215, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
-+ SND_PCI_QUIRK(0x17aa, 0x2218, "Thinkpad X1 Carbon 2nd", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2223, "ThinkPad T550", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ALSA-hda-Apply-click-noise-workaround-for-Thinkpads new/patches.drivers/ALSA-hda-Apply-click-noise-workaround-for-Thinkpads
--- old/patches.drivers/ALSA-hda-Apply-click-noise-workaround-for-Thinkpads 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ALSA-hda-Apply-click-noise-workaround-for-Thinkpads 1970-01-01 01:00:00.000000000 +0100
@@ -1,62 +0,0 @@
-From 157f0b7f6c0cc0bc88647390006e959e267a0143 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Thu, 10 Dec 2015 23:30:43 +0100
-Subject: [PATCH 1/3] ALSA: hda - Apply click noise workaround for Thinkpads generically
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 157f0b7f6c0cc0bc88647390006e959e267a0143
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
-References: bsc#958439
-
-It seems that a workaround for Thinkpad T440s crackling noise can be
-applied generically to all Thinkpad models: namely, disabling the
-default alc269 shutup callback. This patch moves it to the existing
-alc_fixup_tpt440_dock() while also replacing the rest code with
-another existing alc_fixup_disable_aamix(). It resulted in a good
-code reduction.
-
-Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=958439
-Reported-and-tested-by: Benjamin Poirier
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- sound/pci/hda/patch_realtek.c | 15 ++-------------
- 1 file changed, 2 insertions(+), 13 deletions(-)
-
---- a/sound/pci/hda/patch_realtek.c
-+++ b/sound/pci/hda/patch_realtek.c
-@@ -4198,24 +4198,13 @@ static void alc_fixup_tpt440_dock(struct
- struct alc_spec *spec = codec->spec;
-
- if (action == HDA_FIXUP_ACT_PRE_PROBE) {
-+ spec->shutup = alc_no_shutup; /* reduce click noise */
- spec->parse_flags = HDA_PINCFG_NO_HP_FIXUP;
- codec->power_save_node = 0; /* avoid click noises */
- snd_hda_apply_pincfgs(codec, pincfgs);
- }
- }
-
--/* additional fixup for Thinkpad T440s noise problem */
--static void alc_fixup_tpt440(struct hda_codec *codec,
-- const struct hda_fixup *fix, int action)
--{
-- struct alc_spec *spec = codec->spec;
--
-- if (action == HDA_FIXUP_ACT_PRE_PROBE) {
-- spec->shutup = alc_no_shutup; /* reduce click noise */
-- spec->gen.mixer_nid = 0; /* reduce background noise */
-- }
--}
--
- static void alc_shutup_dell_xps13(struct hda_codec *codec)
- {
- struct alc_spec *spec = codec->spec;
-@@ -5066,7 +5055,7 @@ static const struct hda_fixup alc269_fix
- },
- [ALC292_FIXUP_TPT440] = {
- .type = HDA_FIXUP_FUNC,
-- .v.func = alc_fixup_tpt440,
-+ .v.func = alc_fixup_disable_aamix,
- .chained = true,
- .chain_id = ALC292_FIXUP_TPT440_DOCK,
- },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ALSA-hda-Disable-64bit-address-for-Creative-HDA-cont new/patches.drivers/ALSA-hda-Disable-64bit-address-for-Creative-HDA-cont
--- old/patches.drivers/ALSA-hda-Disable-64bit-address-for-Creative-HDA-cont 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ALSA-hda-Disable-64bit-address-for-Creative-HDA-cont 1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-From cadd16ea33a938d49aee99edd4758cc76048b399 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Tue, 27 Oct 2015 14:21:51 +0100
-Subject: [PATCH] ALSA: hda - Disable 64bit address for Creative HDA controllers
-Git-commit: cadd16ea33a938d49aee99edd4758cc76048b399
-Patch-mainline: v4.4-rc1
-References: bnc#814440
-
-We've had many reports that some Creative sound cards with CA0132
-don't work well. Some reported that it starts working after reloading
-the module, while some reported it starts working when a 32bit kernel
-is used. All these facts seem implying that the chip fails to
-communicate when the buffer is located in 64bit address.
-
-This patch addresses these issues by just adding AZX_DCAPS_NO_64BIT
-flag to the corresponding PCI entries. I casually had a chance to
-test an SB Recon3D board, and indeed this seems helping.
-
-Although this hasn't been tested on all Creative devices, it's safer
-to assume that this restriction applies to the rest of them, too. So
-the flag is applied to all Creative entries.
-
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- sound/pci/hda/hda_intel.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/sound/pci/hda/hda_intel.c
-+++ b/sound/pci/hda/hda_intel.c
-@@ -334,6 +334,7 @@ enum {
-
- #define AZX_DCAPS_PRESET_CTHDA \
- (AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB |\
-+ AZX_DCAPS_NO_64BIT |\
- AZX_DCAPS_4K_BDLE_BOUNDARY | AZX_DCAPS_SNOOP_OFF)
-
- /*
-@@ -2284,11 +2285,13 @@ static const struct pci_device_id azx_id
- .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
- .class_mask = 0xffffff,
- .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND |
-+ AZX_DCAPS_NO_64BIT |
- AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB },
- #else
- /* this entry seems still valid -- i.e. without emu20kx chip */
- { PCI_DEVICE(0x1102, 0x0009),
- .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND |
-+ AZX_DCAPS_NO_64BIT |
- AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB },
- #endif
- /* CM8888 */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ALSA-hda-Fix-lost-4k-BDL-boundary-workaround new/patches.drivers/ALSA-hda-Fix-lost-4k-BDL-boundary-workaround
--- old/patches.drivers/ALSA-hda-Fix-lost-4k-BDL-boundary-workaround 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ALSA-hda-Fix-lost-4k-BDL-boundary-workaround 1970-01-01 01:00:00.000000000 +0100
@@ -1,36 +0,0 @@
-From de1ab6af5c3d92c0a031083962a7ff270cf301b7 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Mon, 2 Nov 2015 17:35:34 +0100
-Subject: [PATCH] ALSA: hda - Fix lost 4k BDL boundary workaround
-Git-commit: de1ab6af5c3d92c0a031083962a7ff270cf301b7
-Patch-mainline: v4.4-rc1
-References: bnc#814440
-
-During the migration to HDA core code, we lost the workaround for 4k
-BDL boundary. The flag exists in the new hdac_bus, but it's never
-set. This resulted in the sudden sound stall on some controllers that
-require this workaround like Creative Recon3D.
-
-This patch fixes the issue by setting the flag for such controllers
-properly.
-
-Fixes: ccc98865aa44 ('ALSA: hda - Migrate more hdac_stream codes')
-Cc: # v4.2+
-Signed-off-by: Takashi Iwai
-
----
- sound/pci/hda/hda_controller.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/sound/pci/hda/hda_controller.c
-+++ b/sound/pci/hda/hda_controller.c
-@@ -1060,6 +1060,9 @@ int azx_bus_init(struct azx *chip, const
- bus->needs_damn_long_delay = 1;
- }
-
-+ if (chip->driver_caps & AZX_DCAPS_4K_BDLE_BOUNDARY)
-+ bus->core.align_bdle_4k = true;
-+
- /* AMD chipsets often cause the communication stalls upon certain
- * sequence like the pin-detection. It seems that forcing the synced
- * access works around the stall. Grrr...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ALSA-hda-Fix-noise-problems-on-Thinkpad-T440s new/patches.drivers/ALSA-hda-Fix-noise-problems-on-Thinkpad-T440s
--- old/patches.drivers/ALSA-hda-Fix-noise-problems-on-Thinkpad-T440s 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ALSA-hda-Fix-noise-problems-on-Thinkpad-T440s 1970-01-01 01:00:00.000000000 +0100
@@ -1,95 +0,0 @@
-From 9a811230481243f384b8036c6a558bfdbd961f78 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Wed, 9 Dec 2015 15:17:43 +0100
-Subject: [PATCH] ALSA: hda - Fix noise problems on Thinkpad T440s
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 9a811230481243f384b8036c6a558bfdbd961f78
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
-References: boo#958504
-
-Lenovo Thinkpad T440s suffers from constant background noises, and it
-seems to be a generic hardware issue on this model:
- https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T/T440s-speaker-no...
-
-As the noise comes from the analog loopback path, disabling the path
-is the easy workaround.
-
-Also, the machine gives significant cracking noises at PM suspend. A
-workaround found by trial-and-error is to disable the shutup callback
-currently used for ALC269-variant.
-
-This patch addresses these noise issues by introducing a new fixup
-chain. Although the same workaround might be applicable to other
-Thinkpad models, it's applied only to T440s (17aa:220c) in this patch,
-so far, just to be safe (you chicken!). As a compromise, a new model
-option string "tp440" is provided now, though, so that owners of other
-Thinkpad models can test it more easily.
-
-Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=958504
-Reported-and-tested-by: Tim Hardeck
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- sound/pci/hda/patch_realtek.c | 22 +++++++++++++++++++++-
- 1 file changed, 21 insertions(+), 1 deletion(-)
-
---- a/sound/pci/hda/patch_realtek.c
-+++ b/sound/pci/hda/patch_realtek.c
-@@ -4206,6 +4206,18 @@ static void alc_fixup_tpt440_dock(struct
- }
- }
-
-+/* additional fixup for Thinkpad T440s noise problem */
-+static void alc_fixup_tpt440(struct hda_codec *codec,
-+ const struct hda_fixup *fix, int action)
-+{
-+ struct alc_spec *spec = codec->spec;
-+
-+ if (action == HDA_FIXUP_ACT_PRE_PROBE) {
-+ spec->shutup = alc_no_shutup; /* reduce click noise */
-+ spec->gen.mixer_nid = 0; /* reduce background noise */
-+ }
-+}
-+
- static void alc_shutup_dell_xps13(struct hda_codec *codec)
- {
- struct alc_spec *spec = codec->spec;
-@@ -4580,6 +4592,7 @@ enum {
- ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC,
- ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
- ALC292_FIXUP_TPT440_DOCK,
-+ ALC292_FIXUP_TPT440,
- ALC283_FIXUP_BXBT2807_MIC,
- ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED,
- ALC282_FIXUP_ASPIRE_V5_PINS,
-@@ -5050,6 +5063,12 @@ static const struct hda_fixup alc269_fix
- .chained = true,
- .chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
- },
-+ [ALC292_FIXUP_TPT440] = {
-+ .type = HDA_FIXUP_FUNC,
-+ .v.func = alc_fixup_tpt440,
-+ .chained = true,
-+ .chain_id = ALC292_FIXUP_TPT440_DOCK,
-+ },
- [ALC283_FIXUP_BXBT2807_MIC] = {
- .type = HDA_FIXUP_PINS,
- .v.pins = (const struct hda_pintbl[]) {
-@@ -5299,7 +5318,7 @@ static const struct snd_pci_quirk alc269
- SND_PCI_QUIRK(0x17aa, 0x21fb, "Thinkpad T430s", ALC269_FIXUP_LENOVO_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2203, "Thinkpad X230 Tablet", ALC269_FIXUP_LENOVO_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2208, "Thinkpad T431s", ALC269_FIXUP_LENOVO_DOCK),
-- SND_PCI_QUIRK(0x17aa, 0x220c, "Thinkpad T440s", ALC292_FIXUP_TPT440_DOCK),
-+ SND_PCI_QUIRK(0x17aa, 0x220c, "Thinkpad T440s", ALC292_FIXUP_TPT440),
- SND_PCI_QUIRK(0x17aa, 0x220e, "Thinkpad T440p", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2210, "Thinkpad T540p", ALC292_FIXUP_TPT440_DOCK),
- SND_PCI_QUIRK(0x17aa, 0x2211, "Thinkpad W541", ALC292_FIXUP_TPT440_DOCK),
-@@ -5397,6 +5416,7 @@ static const struct hda_model_fixup alc2
- {.id = ALC283_FIXUP_CHROME_BOOK, .name = "alc283-dac-wcaps"},
- {.id = ALC283_FIXUP_SENSE_COMBO_JACK, .name = "alc283-sense-combo"},
- {.id = ALC292_FIXUP_TPT440_DOCK, .name = "tpt440-dock"},
-+ {.id = ALC292_FIXUP_TPT440, .name = "tpt440"},
- {}
- };
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ALSA-hda-Set-codec-to-D3-at-reboot-shutdown-on-Think new/patches.drivers/ALSA-hda-Set-codec-to-D3-at-reboot-shutdown-on-Think
--- old/patches.drivers/ALSA-hda-Set-codec-to-D3-at-reboot-shutdown-on-Think 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ALSA-hda-Set-codec-to-D3-at-reboot-shutdown-on-Think 1970-01-01 01:00:00.000000000 +0100
@@ -1,84 +0,0 @@
-From 70a0976b0c0d90f4246d7e63359d796ec82b87d6 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Tue, 15 Dec 2015 14:59:58 +0100
-Subject: [PATCH 2/3] ALSA: hda - Set codec to D3 at reboot/shutdown on Thinkpads
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 70a0976b0c0d90f4246d7e63359d796ec82b87d6
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
-References: bsc#958439
-
-Lenovo Thinkpads with Realtek codecs may still have some loud
-crackling noises at reboot/shutdown even though a few previous fixes
-have been applied. It's because the previous fix (disabling the
-default shutup callback) takes effect only at transition of the codec
-power state. Meanwhile, at reboot or shutdown, we don't take down the
-codec power as default, thus it triggers the same problem unless the
-codec is powered down casually by runtime PM.
-
-This patch tries to address the issue. It gives two things:
-- implement the separate reboot_notify hook to struct alc_spec, and
- call it optionally if defined.
-- turn off the codec to D3 for Thinkpad models via this new callback
-
-Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=958439
-Reported-and-tested-by: Benjamin Poirier
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- sound/pci/hda/patch_realtek.c | 23 ++++++++++++++++++++++-
- 1 file changed, 22 insertions(+), 1 deletion(-)
-
---- a/sound/pci/hda/patch_realtek.c
-+++ b/sound/pci/hda/patch_realtek.c
-@@ -111,6 +111,7 @@ struct alc_spec {
- void (*power_hook)(struct hda_codec *codec);
- #endif
- void (*shutup)(struct hda_codec *codec);
-+ void (*reboot_notify)(struct hda_codec *codec);
-
- int init_amp;
- int codec_variant; /* flag for other variants */
-@@ -773,6 +774,25 @@ static inline void alc_shutup(struct hda
- snd_hda_shutup_pins(codec);
- }
-
-+static void alc_reboot_notify(struct hda_codec *codec)
-+{
-+ struct alc_spec *spec = codec->spec;
-+
-+ if (spec && spec->reboot_notify)
-+ spec->reboot_notify(codec);
-+ else
-+ alc_shutup(codec);
-+}
-+
-+/* power down codec to D3 at reboot/shutdown; set as reboot_notify ops */
-+static void alc_d3_at_reboot(struct hda_codec *codec)
-+{
-+ snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3);
-+ snd_hda_codec_write(codec, codec->core.afg, 0,
-+ AC_VERB_SET_POWER_STATE, AC_PWRST_D3);
-+ msleep(10);
-+}
-+
- #define alc_free snd_hda_gen_free
-
- #ifdef CONFIG_PM
-@@ -818,7 +838,7 @@ static const struct hda_codec_ops alc_pa
- .suspend = alc_suspend,
- .check_power_status = snd_hda_gen_check_power_status,
- #endif
-- .reboot_notify = alc_shutup,
-+ .reboot_notify = alc_reboot_notify,
- };
-
-
-@@ -4199,6 +4219,7 @@ static void alc_fixup_tpt440_dock(struct
-
- if (action == HDA_FIXUP_ACT_PRE_PROBE) {
- spec->shutup = alc_no_shutup; /* reduce click noise */
-+ spec->reboot_notify = alc_d3_at_reboot; /* reduce noise */
- spec->parse_flags = HDA_PINCFG_NO_HP_FIXUP;
- codec->power_save_node = 0; /* avoid click noises */
- snd_hda_apply_pincfgs(codec, pincfgs);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch new/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch
--- old/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
-From: Yuval Mintz
-Date: Sun, 15 Nov 2015 15:02:16 +0200
-Subject: [PATCH] bnx2x: Fix VLANs null-pointer for 57710, 57711
-Patch-mainline: v4.4-rc2
-Git-commit: ab6d7846cf80affc43b9d412fed5e25dfcf4f35d
-References: boo#960923
-
-Commit 05cc5a39ddb7 "bnx2x: add vlan filtering offload" introduced
-a regression in regard for vlans for 57710, 57711 adapters -
-Loading 8021q module on a machine with such an adapter would cause
-a null pointer dereference, as the driver mistakenly publishes it
-has capabilities for vlan CTAG filtering.
-
-Reported-by: Otto Sabart
-Signed-off-by: Yuval Mintz
-Signed-off-by: Ariel Elior
-Signed-off-by: David S. Miller
-Acked-by: David Chang
----
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
-index f1d62d5..c9b0367 100644
---- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
-+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
-@@ -13207,7 +13207,7 @@ static int bnx2x_init_dev(struct bnx2x *bp, struct pci_dev *pdev,
-
- /* VF with OLD Hypervisor or old PF do not support filtering */
- if (IS_PF(bp)) {
-- if (CHIP_IS_E1x(bp))
-+ if (chip_is_e1x)
- bp->accept_any_vlan = true;
- else
- dev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER;
---
-2.6.2
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/drm-i915-Do-a-better-job-at-disabling-primary-plane new/patches.drivers/drm-i915-Do-a-better-job-at-disabling-primary-plane
--- old/patches.drivers/drm-i915-Do-a-better-job-at-disabling-primary-plane 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/drm-i915-Do-a-better-job-at-disabling-primary-plane 1970-01-01 01:00:00.000000000 +0100
@@ -1,60 +0,0 @@
-From 634b3a4a476e96816d5d6cd5bb9f8900a53f56ba Mon Sep 17 00:00:00 2001
-From: Maarten Lankhorst
-Date: Mon, 23 Nov 2015 10:25:28 +0100
-Subject: [PATCH] drm/i915: Do a better job at disabling primary plane in the noatomic case.
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 634b3a4a476e96816d5d6cd5bb9f8900a53f56ba
-Git-repo: linux-next
-References: bnc#954137
-
-When disable_noatomic is called plane_mask is not correct yet, and
-plane_state->visible = true is left as true after disabling the primary
-plane.
-
-Other planes are already disabled as part of crtc sanitization, only the
-primary is left active. But the plane_mask is not updated here. It gets
-updated during fb takeover in modeset_gem_init, or set to the new value
-on resume.
-
-This means that to disable the primary plane 1 << drm_plane_index(primary)
-needs to be used.
-
-Afterwards because the crtc is no longer active it's forbidden to keep
-plane_state->visible set, or a WARN_ON in
-intel_plane_atomic_calc_changes triggers. There are other code points
-that rely on accurate plane_state->visible too, so make sure the bool is
-cleared.
-
-The other planes are already disabled in intel_sanitize_crtc, so they
-don't have to be handled here.
-
-Cc: stable@vger.kernel.org #v4.3, v4.2?
-Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92655
-Tested-by: Tomas Mezzadra
-Signed-off-by: Maarten Lankhorst
-Reviewed-by: Daniel Vetter
-Link: http://patchwork.freedesktop.org/patch/msgid/5652DB88.9070208@linux.intel.co...
-(cherry picked from commit 54a4196188eab82e6f0a5f05716626e9f18b8fb6)
-
-Signed-off-by: Jani Nikula
-Acked-by: Takashi Iwai
-
----
- drivers/gpu/drm/i915/intel_display.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/drivers/gpu/drm/i915/intel_display.c
-+++ b/drivers/gpu/drm/i915/intel_display.c
-@@ -6225,9 +6225,11 @@ static void intel_crtc_disable_noatomic(
- if (to_intel_plane_state(crtc->primary->state)->visible) {
- intel_crtc_wait_for_pending_flips(crtc);
- intel_pre_disable_primary(crtc);
-+
-+ intel_crtc_disable_planes(crtc, 1 << drm_plane_index(crtc->primary));
-+ to_intel_plane_state(crtc->primary->state)->visible = false;
- }
-
-- intel_crtc_disable_planes(crtc, crtc->state->plane_mask);
- dev_priv->display.crtc_disable(crtc);
- intel_disable_shared_dpll(intel_crtc);
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/drm-i915-Don-t-compare-has_drrs-strictly-in-pipe-con new/patches.drivers/drm-i915-Don-t-compare-has_drrs-strictly-in-pipe-con
--- old/patches.drivers/drm-i915-Don-t-compare-has_drrs-strictly-in-pipe-con 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/drm-i915-Don-t-compare-has_drrs-strictly-in-pipe-con 1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-From 13b13dfaaa39ab52b0f433c6744f4638793cbf7b Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Wed, 25 Nov 2015 15:26:47 +0100
-Subject: [PATCH] drm/i915: Don't compare has_drrs strictly in pipe config
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 13b13dfaaa39ab52b0f433c6744f4638793cbf7b
-Git-repo: git://anongit.freedesktop.org/drm-intel
-References: bsc#956397
-
-The commit [cfb23ed622d0: drm/i915: Allow fuzzy matching in
-pipe_config_compare, v2] relaxed the way to compare the pipe
-configurations, but one new comparison sneaked in there: it added the
-strict has_drrs value check. This causes a regression on many
-machines, typically HP laptops with a docking port, where the kernel
-spews warnings and eventually fails to set the mode properly like:
- [drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in has_drrs (expected 1, found 0)
- ------------[ cut here ]------------
- WARNING: CPU: 0 PID: 79 at drivers/gpu/drm/i915/intel_display.c:12700 intel_modeset_check_state+0x5aa/0x870 [i915]()
- pipe state doesn't match!
- ....
-
-This patch just removes the check again for fixing the regression.
-
-Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=104041
-Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92456
-Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=956397
-Fixes: cfb23ed622d0 ('drm/i915: Allow fuzzy matching in pipe_config_compare, v2')
-Cc: # v4.3+
-Reported-and-tested-by: Max Lin
-Signed-off-by: Takashi Iwai
-Reviewed-by: Daniel Vetter
-Link: http://patchwork.freedesktop.org/patch/msgid/1448461607-16868-1-git-send-ema...
-Signed-off-by: Jani Nikula
-
----
- drivers/gpu/drm/i915/intel_display.c | 1 -
- 1 file changed, 1 deletion(-)
-
---- a/drivers/gpu/drm/i915/intel_display.c
-+++ b/drivers/gpu/drm/i915/intel_display.c
-@@ -12427,7 +12427,6 @@ intel_pipe_config_compare(struct drm_dev
- if (INTEL_INFO(dev)->gen < 8) {
- PIPE_CONF_CHECK_M_N(dp_m_n);
-
-- PIPE_CONF_CHECK_I(has_drrs);
- if (current_config->has_drrs)
- PIPE_CONF_CHECK_M_N(dp_m2_n2);
- } else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/drm-i915-Don-t-override-output-type-for-DDI-HDMI new/patches.drivers/drm-i915-Don-t-override-output-type-for-DDI-HDMI
--- old/patches.drivers/drm-i915-Don-t-override-output-type-for-DDI-HDMI 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/drm-i915-Don-t-override-output-type-for-DDI-HDMI 1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-From 2540058f7a9d9a843b4d9a28d4f8168dd034d030 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai
-Date: Thu, 19 Nov 2015 12:09:56 +0100
-Subject: [PATCH] drm/i915: Don't override output type for DDI HDMI
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 2540058f7a9d9a843b4d9a28d4f8168dd034d030
-Git-repo: git://anongit.freedesktop.org/drm-intel
-References: boo#955190
-
-Currently a DDI port may register the DP hotplug handler even though
-it's used with HDMI, and the DP HPD handler overrides the encoder
-type forcibly to DP. This caused the inconsistency on a machine
-connected with a HDMI monitor; upon a hotplug event, the DDI port is
-suddenly switched to be handled as a DP although the same monitor is
-kept connected, and this leads to the erroneous blank output.
-
-This patch papers over the bug by excluding the previous HDMI encoder
-type from this override. This should be fixed more fundamentally,
-e.g. by moving the encoder type reset from the HPD or by having
-individual encoder objects for HDMI and DP. But since the bug has
-been present for a long time (3.17), it's better to have a
-quick-n-dirty fix for now, and keep working on a cleaner fix.
-
-Bugzilla: http://bugzilla.opensuse.org/show_bug.cgi?id=955190
-Fixes: 0e32b39ceed6 ('drm/i915: add DP 1.2 MST support (v0.7)')
-Cc: # v3.17+
-Signed-off-by: Takashi Iwai
-Reviewed-by: Daniel Vetter
-Link: http://patchwork.freedesktop.org/patch/msgid/1447931396-19147-1-git-send-ema...
-Signed-off-by: Jani Nikula
-Acked-by: Takashi Iwai
-
----
- drivers/gpu/drm/i915/intel_dp.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/drivers/gpu/drm/i915/intel_dp.c
-+++ b/drivers/gpu/drm/i915/intel_dp.c
-@@ -4921,7 +4921,8 @@ intel_dp_hpd_pulse(struct intel_digital_
- enum intel_display_power_domain power_domain;
- enum irqreturn ret = IRQ_NONE;
-
-- if (intel_dig_port->base.type != INTEL_OUTPUT_EDP)
-+ if (intel_dig_port->base.type != INTEL_OUTPUT_EDP &&
-+ intel_dig_port->base.type != INTEL_OUTPUT_HDMI)
- intel_dig_port->base.type = INTEL_OUTPUT_DISPLAYPORT;
-
- if (long_hpd && intel_dig_port->base.type == INTEL_OUTPUT_EDP) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ethernet-atheros-alx-add-Killer-E2400-device-ID new/patches.drivers/ethernet-atheros-alx-add-Killer-E2400-device-ID
--- old/patches.drivers/ethernet-atheros-alx-add-Killer-E2400-device-ID 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/ethernet-atheros-alx-add-Killer-E2400-device-ID 1970-01-01 01:00:00.000000000 +0100
@@ -1,58 +0,0 @@
-From 0208e951d55c435137543e12d7ee795c3784713a Mon Sep 17 00:00:00 2001
-From: Ben Pope
-Date: Tue, 17 Nov 2015 18:21:07 -0700
-Subject: [PATCH] ethernet/atheros/alx: add Killer E2400 device ID
-Patch-mainline: Queued in subsystem maintainer repository
-Git-commit: 0208e951d55c435137543e12d7ee795c3784713a
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
-References: boo#955363
-
-This patch adds the PCI device ID (0xe0a1) and alx_pci_tbl entry for the
-Killer E2400 Ethernet controller, modeled after the Killer E2200
-controller support (0xe091) already present in the alx driver.
-
-This patch was originally authored by Ben Pope, but it got held up by
-issues in the commit message, so I'm resubmitting it on his behalf.
-
-I've extensively used a kernel with this patch on a System76 serw9
-laptop and am quite confident it works well (at least on the hardware I
-have available for testing).
-
-Note that as a favor to System76, Ubuntu has been carrying this as a
-sauce patch in their 4.2 based Wily kernel, which presumably has given
-it real-world testing on other E2400 equipped hardware (I don't know of
-any Ubuntu kernel bugs filed about it):
-
-https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1498633
-
-Signed-off-by: Jason Gerard DeRose
-Signed-off-by: Ben Pope
-Signed-off-by: David S. Miller
-Acked-by: Takashi Iwai
-
----
- drivers/net/ethernet/atheros/alx/main.c | 2 ++
- drivers/net/ethernet/atheros/alx/reg.h | 1 +
- 2 files changed, 3 insertions(+)
-
---- a/drivers/net/ethernet/atheros/alx/main.c
-+++ b/drivers/net/ethernet/atheros/alx/main.c
-@@ -1534,6 +1534,8 @@ static const struct pci_device_id alx_pc
- .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG },
- { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_E2200),
- .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG },
-+ { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_E2400),
-+ .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG },
- { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8162),
- .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG },
- { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8171) },
---- a/drivers/net/ethernet/atheros/alx/reg.h
-+++ b/drivers/net/ethernet/atheros/alx/reg.h
-@@ -37,6 +37,7 @@
-
- #define ALX_DEV_ID_AR8161 0x1091
- #define ALX_DEV_ID_E2200 0xe091
-+#define ALX_DEV_ID_E2400 0xe0a1
- #define ALX_DEV_ID_AR8162 0x1090
- #define ALX_DEV_ID_AR8171 0x10A1
- #define ALX_DEV_ID_AR8172 0x10A0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/thinkpad_acpi-Don-t-yell-on-unsupported-brightness-i new/patches.drivers/thinkpad_acpi-Don-t-yell-on-unsupported-brightness-i
--- old/patches.drivers/thinkpad_acpi-Don-t-yell-on-unsupported-brightness-i 2016-01-07 22:47:46.000000000 +0100
+++ new/patches.drivers/thinkpad_acpi-Don-t-yell-on-unsupported-brightness-i 1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
-From d618651b0f112d9715d0ca6f9dbea87761be15d7 Mon Sep 17 00:00:00 2001
-From: David Herrmann
-Date: Wed, 21 Oct 2015 12:46:10 +0200
-Subject: [PATCH] thinkpad_acpi: Don't yell on unsupported brightness interfaces
-Git-commit: d618651b0f112d9715d0ca6f9dbea87761be15d7
-Patch-mainline: 4.4-rc1
-References: boo#957152
-
-The thinkpad_acpi driver currently emits error messages on unsupported
-brightness interfaces, giving the impression that someone will implement
-those. However, this error is spit out on nearly every thinkpad in
-production since 2 years now. Furthermore, the backlight interfaces on
-those devices are supported by the i915 driver just fine.
-
-Downgrade the error message to a normal pr_info() and stop telling people
-to report it to IBM.
-
-Signed-off-by: David Herrmann
-Acked-by: Henrique de Moraes Holschuh
-Signed-off-by: Darren Hart
-Acked-by: Takashi Iwai
-
----
- drivers/platform/x86/thinkpad_acpi.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
---- a/drivers/platform/x86/thinkpad_acpi.c
-+++ b/drivers/platform/x86/thinkpad_acpi.c
-@@ -6458,8 +6458,7 @@ static void __init tpacpi_detect_brightn
- pr_info("detected a 8-level brightness capable ThinkPad\n");
- break;
- default:
-- pr_err("Unsupported brightness interface, "
-- "please contact %s\n", TPACPI_MAIL);
-+ pr_info("Unsupported brightness interface\n");
- tp_features.bright_unkfw = 1;
- bright_maxlvl = b - 1;
- }
++++++ patches.fixes.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/0001-KEYS-Fix-handling-of-stored-error-in-a-negatively-in.patch new/patches.fixes/0001-KEYS-Fix-handling-of-stored-error-in-a-negatively-in.patch
--- old/patches.fixes/0001-KEYS-Fix-handling-of-stored-error-in-a-negatively-in.patch 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/0001-KEYS-Fix-handling-of-stored-error-in-a-negatively-in.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,121 +0,0 @@
-From 096fe9eaea40a17e125569f9e657e34cdb6d73bd Mon Sep 17 00:00:00 2001
-From: David Howells
-Date: Tue, 24 Nov 2015 21:36:31 +0000
-Subject: [PATCH] KEYS: Fix handling of stored error in a negatively
- instantiated user key
-
-Git-commit: 096fe9eaea40a17e125569f9e657e34cdb6d73bd
-Patch-mainline: v4.4-rc3
-References: bnc#958463, CVE-2015-8539OD
-
-If a user key gets negatively instantiated, an error code is cached in the
-payload area. A negatively instantiated key may be then be positively
-instantiated by updating it with valid data. However, the ->update key
-type method must be aware that the error code may be there.
-
-The following may be used to trigger the bug in the user key type:
-
- keyctl request2 user user "" @u
- keyctl add user user "a" @u
-
-which manifests itself as:
-
- BUG: unable to handle kernel paging request at 00000000ffffff8a
- IP: [<ffffffff810a376f>] __call_rcu.constprop.76+0x1f/0x280 kernel/rcu/tree.c:3046
- PGD 7cc30067 PUD 0
- Oops: 0002 [#1] SMP
- Modules linked in:
- CPU: 3 PID: 2644 Comm: a.out Not tainted 4.3.0+ #49
- Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
- task: ffff88003ddea700 ti: ffff88003dd88000 task.ti: ffff88003dd88000
- RIP: 0010:[<ffffffff810a376f>] [<ffffffff810a376f>] __call_rcu.constprop.76+0x1f/0x280
- [<ffffffff810a376f>] __call_rcu.constprop.76+0x1f/0x280 kernel/rcu/tree.c:3046
- RSP: 0018:ffff88003dd8bdb0 EFLAGS: 00010246
- RAX: 00000000ffffff82 RBX: 0000000000000000 RCX: 0000000000000001
- RDX: ffffffff81e3fe40 RSI: 0000000000000000 RDI: 00000000ffffff82
- RBP: ffff88003dd8bde0 R08: ffff88007d2d2da0 R09: 0000000000000000
- R10: 0000000000000000 R11: ffff88003e8073c0 R12: 00000000ffffff82
- R13: ffff88003dd8be68 R14: ffff88007d027600 R15: ffff88003ddea700
- FS: 0000000000b92880(0063) GS:ffff88007fd00000(0000) knlGS:0000000000000000
- CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
- CR2: 00000000ffffff8a CR3: 000000007cc5f000 CR4: 00000000000006e0
- Stack:
- ffff88003dd8bdf0 ffffffff81160a8a 0000000000000000 00000000ffffff82
- ffff88003dd8be68 ffff88007d027600 ffff88003dd8bdf0 ffffffff810a39e5
- ffff88003dd8be20 ffffffff812a31ab ffff88007d027600 ffff88007d027620
- Call Trace:
- [<ffffffff810a39e5>] kfree_call_rcu+0x15/0x20 kernel/rcu/tree.c:3136
- [<ffffffff812a31ab>] user_update+0x8b/0xb0 security/keys/user_defined.c:129
- [< inline >] __key_update security/keys/key.c:730
- [<ffffffff8129e5c1>] key_create_or_update+0x291/0x440 security/keys/key.c:908
- [< inline >] SYSC_add_key security/keys/keyctl.c:125
- [<ffffffff8129fc21>] SyS_add_key+0x101/0x1e0 security/keys/keyctl.c:60
- [<ffffffff8185f617>] entry_SYSCALL_64_fastpath+0x12/0x6a arch/x86/entry/entry_64.S:185
-
-Note the error code (-ENOKEY) in EDX.
-
-A similar bug can be tripped by:
-
- keyctl request2 trusted user "" @u
- keyctl add trusted user "a" @u
-
-This should also affect encrypted keys - but that has to be correctly
-parameterised or it will fail with EINVAL before getting to the bit that
-will crashes.
-
-Reported-by: Dmitry Vyukov
-Signed-off-by: David Howells
-Acked-by: Mimi Zohar
-Signed-off-by: James Morris
-Acked-by: Lee, Chun-Yi
----
- security/keys/encrypted-keys/encrypted.c | 2 ++
- security/keys/trusted.c | 5 ++++-
- security/keys/user_defined.c | 5 ++++-
- 3 files changed, 10 insertions(+), 2 deletions(-)
-
---- a/security/keys/encrypted-keys/encrypted.c
-+++ b/security/keys/encrypted-keys/encrypted.c
-@@ -845,6 +845,8 @@ static int encrypted_update(struct key *
- size_t datalen = prep->datalen;
- int ret = 0;
-
-+ if (test_bit(KEY_FLAG_NEGATIVE, &key->flags))
-+ return -ENOKEY;
- if (datalen <= 0 || datalen > 32767 || !prep->data)
- return -EINVAL;
-
---- a/security/keys/trusted.c
-+++ b/security/keys/trusted.c
-@@ -984,13 +984,16 @@ static void trusted_rcu_free(struct rcu_
- */
- static int trusted_update(struct key *key, struct key_preparsed_payload *prep)
- {
-- struct trusted_key_payload *p = key->payload.data;
-+ struct trusted_key_payload *p;
- struct trusted_key_payload *new_p;
- struct trusted_key_options *new_o;
- size_t datalen = prep->datalen;
- char *datablob;
- int ret = 0;
-
-+ if (test_bit(KEY_FLAG_NEGATIVE, &key->flags))
-+ return -ENOKEY;
-+ p = key->payload.data;
- if (!p->migratable)
- return -EPERM;
- if (datalen <= 0 || datalen > 32767 || !prep->data)
---- a/security/keys/user_defined.c
-+++ b/security/keys/user_defined.c
-@@ -120,7 +120,10 @@ int user_update(struct key *key, struct
-
- if (ret == 0) {
- /* attach the new data, displacing the old */
-- zap = key->payload.data;
-+ if (!test_bit(KEY_FLAG_NEGATIVE, &key->flags))
-+ zap = key->payload.data;
-+ else
-+ zap = NULL;
- rcu_assign_keypointer(key, upayload);
- key->expiry = 0;
- }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/0001-KEYS-Fix-race-between-read-and-revoke.patch new/patches.fixes/0001-KEYS-Fix-race-between-read-and-revoke.patch
--- old/patches.fixes/0001-KEYS-Fix-race-between-read-and-revoke.patch 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/0001-KEYS-Fix-race-between-read-and-revoke.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,115 +0,0 @@
-From b4a1b4f5047e4f54e194681125c74c0aa64d637d Mon Sep 17 00:00:00 2001
-From: David Howells
-Date: Fri, 18 Dec 2015 01:34:26 +0000
-Subject: [PATCH] KEYS: Fix race between read and revoke
-
-Git-commit: b4a1b4f5047e4f54e194681125c74c0aa64d637d
-Patch-mainline: v4.4-rc8
-References: bnc#958951, CVE-2015-7550
-
-This fixes CVE-2015-7550.
-
-There's a race between keyctl_read() and keyctl_revoke(). If the revoke
-happens between keyctl_read() checking the validity of a key and the key's
-semaphore being taken, then the key type read method will see a revoked key.
-
-This causes a problem for the user-defined key type because it assumes in
-its read method that there will always be a payload in a non-revoked key
-and doesn't check for a NULL pointer.
-
-Fix this by making keyctl_read() check the validity of a key after taking
-semaphore instead of before.
-
-I think the bug was introduced with the original keyrings code.
-
-This was discovered by a multithreaded test program generated by syzkaller
-(http://github.com/google/syzkaller). Here's a cleaned up version:
-
- #include
- #include
- #include
- void *thr0(void *arg)
- {
- key_serial_t key = (unsigned long)arg;
- keyctl_revoke(key);
- return 0;
- }
- void *thr1(void *arg)
- {
- key_serial_t key = (unsigned long)arg;
- char buffer[16];
- keyctl_read(key, buffer, 16);
- return 0;
- }
- int main()
- {
- key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
- pthread_t th[5];
- pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
- pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
- pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
- pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
- pthread_join(th[0], 0);
- pthread_join(th[1], 0);
- pthread_join(th[2], 0);
- pthread_join(th[3], 0);
- return 0;
- }
-
-Build as:
-
- cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
-
-Run as:
-
- while keyctl-race; do :; done
-
-as it may need several iterations to crash the kernel. The crash can be
-summarised as:
-
- BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
- IP: [<ffffffff81279b08>] user_read+0x56/0xa3
- ...
- Call Trace:
- [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
- [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
- [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
-
-Reported-by: Dmitry Vyukov
-Signed-off-by: David Howells
-Tested-by: Dmitry Vyukov
-Cc: stable@vger.kernel.org
-Signed-off-by: James Morris
-Acked-by: Lee, Chun-Yi
----
- security/keys/keyctl.c | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
---- a/security/keys/keyctl.c
-+++ b/security/keys/keyctl.c
-@@ -757,16 +757,16 @@ long keyctl_read_key(key_serial_t keyid,
-
- /* the key is probably readable - now try to read it */
- can_read_key:
-- ret = key_validate(key);
-- if (ret == 0) {
-- ret = -EOPNOTSUPP;
-- if (key->type->read) {
-- /* read the data with the semaphore held (since we
-- * might sleep) */
-- down_read(&key->sem);
-+ ret = -EOPNOTSUPP;
-+ if (key->type->read) {
-+ /* Read the data with the semaphore held (since we might sleep)
-+ * to protect against the key being updated or revoked.
-+ */
-+ down_read(&key->sem);
-+ ret = key_validate(key);
-+ if (ret == 0)
- ret = key->type->read(key, buffer, buflen);
-- up_read(&key->sem);
-- }
-+ up_read(&key->sem);
- }
-
- error2:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/Input-elantech-add-Fujitsu-Lifebook-U745-to-force-cr new/patches.fixes/Input-elantech-add-Fujitsu-Lifebook-U745-to-force-cr
--- old/patches.fixes/Input-elantech-add-Fujitsu-Lifebook-U745-to-force-cr 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/Input-elantech-add-Fujitsu-Lifebook-U745-to-force-cr 1970-01-01 01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
-From: Takashi Iwai
-Date: Fri, 6 Nov 2015 20:01:25 +0100
-Subject: [PATCH] Input: elantech - add Fujitsu Lifebook U745 to force
- crc_enabled
-Patch-mainline: Submitted, Fri, 6 Nov 2015 20:01:25 +0100, linux-input ML
-References: boo#883192
-Message-id: <1446836485-1006-1-git-send-email-tiwai@suse.de>
-
-Another Lifebook machine that needs the same quirk as other similar
-models to make the driver working.
-
-Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=883192
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- drivers/input/mouse/elantech.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/input/mouse/elantech.c
-+++ b/drivers/input/mouse/elantech.c
-@@ -1520,6 +1520,13 @@ static const struct dmi_system_id elante
- DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
- },
- },
-+ {
-+ /* Fujitsu LIFEBOOK U745 does not work with crc_enabled == 0 */
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK U745"),
-+ },
-+ },
- #endif
- { }
- };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/drm-sti-Remove-select-of-CONFI_FW_LOADER_USER_HELPER new/patches.fixes/drm-sti-Remove-select-of-CONFI_FW_LOADER_USER_HELPER
--- old/patches.fixes/drm-sti-Remove-select-of-CONFI_FW_LOADER_USER_HELPER 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/drm-sti-Remove-select-of-CONFI_FW_LOADER_USER_HELPER 1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-From: Takashi Iwai
-Subject: [PATCH] drm/sti: Remove select of CONFIG_FW_LOADER_USER_HELPER_FALLBACK
-Date: Mon, 19 Oct 2015 08:16:10 +0200
-Message-id: <1445235370-6717-1-git-send-email-tiwai@suse.de>
-Patch-mainline: Submitted, Mon, 19 Oct 2015 08:16:10 +0200, LKML
-References: boo#951260
-
-The commit [4fdbc678fe4d: drm: sti: add HQVDP plane] added the select
-of CONFIG_FW_LOADER_USER_HELPER_FALLBACK by some unwritten reason.
-But this config is known to be harmful, and is present only for
-compatibility reason for an old exotic system that mandates udev
-interaction which isn't supposed to be selected by a driver.
-Let's remove it.
-
-Fixes: 4fdbc678fe4d ('drm: sti: add HQVDP plane')
-Cc:
-Signed-off-by: Takashi Iwai
-
----
- drivers/gpu/drm/sti/Kconfig | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig
-index fbccc105819b..a18159074b76 100644
---- a/drivers/gpu/drm/sti/Kconfig
-+++ b/drivers/gpu/drm/sti/Kconfig
-@@ -6,7 +6,6 @@ config DRM_STI
- select DRM_GEM_CMA_HELPER
- select DRM_KMS_CMA_HELPER
- select DRM_PANEL
-- select FW_LOADER_USER_HELPER_FALLBACK
- help
- Choose this option to enable DRM on STM stiH41x chipset
-
---
-2.6.1
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/media-c8sectpfe-Remove-select-of-CONFIG_FW_LOADER_USER_HELPER new/patches.fixes/media-c8sectpfe-Remove-select-of-CONFIG_FW_LOADER_USER_HELPER
--- old/patches.fixes/media-c8sectpfe-Remove-select-of-CONFIG_FW_LOADER_USER_HELPER 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/media-c8sectpfe-Remove-select-of-CONFIG_FW_LOADER_USER_HELPER 1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-From: Takashi Iwai
-Subject: [PATCH] [media] c8sectpfe: Remove select on CONFIG_FW_LOADER_USER_HELPER_FALLBACK
-Date: Mon, 19 Oct 2015 08:17:30 +0200
-Message-id: <1445235450-6771-1-git-send-email-tiwai@suse.de>
-Patch-mainline: Submitted, Mon, 19 Oct 2015 08:17:30 +0200, LKML
-References: boo#951260
-
-c8sectpfe driver selects CONFIG_FW_LOADER_USER_HELPER_FALLBACK by some
-reason, but this option is known to be harmful, leading to minutes of
-stalls at boot time. The option was intended for only compatibility
-for an old exotic system that mandates the udev interaction, and not a
-thing a driver selects by itself. Let's remove it.
-
-Fixes: 850a3f7d5911 ('[media] c8sectpfe: Add Kconfig and Makefile for the driver')
-Signed-off-by: Takashi Iwai
-
----
- drivers/media/platform/sti/c8sectpfe/Kconfig | 1 -
- 1 file changed, 1 deletion(-)
-
---- a/drivers/media/platform/sti/c8sectpfe/Kconfig
-+++ b/drivers/media/platform/sti/c8sectpfe/Kconfig
-@@ -3,7 +3,6 @@ config DVB_C8SECTPFE
- depends on PINCTRL && DVB_CORE && I2C
- depends on ARCH_STI || ARCH_MULTIPLATFORM || COMPILE_TEST
- select FW_LOADER
-- select FW_LOADER_USER_HELPER_FALLBACK
- select DEBUG_FS
- select DVB_LNBP21 if MEDIA_SUBDRV_AUTOSELECT
- select DVB_STV090x if MEDIA_SUBDRV_AUTOSELECT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/media-media-vivid-osd-fix-info-leak-in-ioctl.patch new/patches.fixes/media-media-vivid-osd-fix-info-leak-in-ioctl.patch
--- old/patches.fixes/media-media-vivid-osd-fix-info-leak-in-ioctl.patch 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/media-media-vivid-osd-fix-info-leak-in-ioctl.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
-From eda98796aff0d9bf41094b06811f5def3b4c333c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Salva=20Peir=C3=B3?=
-Date: Wed, 7 Oct 2015 07:09:26 -0300
-Subject: [PATCH] [media] media/vivid-osd: fix info leak in ioctl
-Mime-version: 1.0
-Content-type: text/plain; charset=UTF-8
-Content-transfer-encoding: 8bit
-Git-commit: eda98796aff0d9bf41094b06811f5def3b4c333c
-Git-repo: git://linuxtv.org/mchehab/media-next.git
-Patch-mainline: Queued in subsystem maintainer repository
-References: CVE-2015-7884, bnc#951626
-
-The vivid_fb_ioctl() code fails to initialize the 16 _reserved bytes of
-struct fb_vblank after the ->hcount member. Add an explicit
-memset(0) before filling the structure to avoid the info leak.
-
-Signed-off-by: Salva Peiró
-Signed-off-by: Hans Verkuil
-Signed-off-by: Mauro Carvalho Chehab
-Acked-by: Takashi Iwai
-
----
- drivers/media/platform/vivid/vivid-osd.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/media/platform/vivid/vivid-osd.c
-+++ b/drivers/media/platform/vivid/vivid-osd.c
-@@ -85,6 +85,7 @@ static int vivid_fb_ioctl(struct fb_info
- case FBIOGET_VBLANK: {
- struct fb_vblank vblank;
-
-+ memset(&vblank, 0, sizeof(vblank));
- vblank.flags = FB_VBLANK_HAVE_COUNT | FB_VBLANK_HAVE_VCOUNT |
- FB_VBLANK_HAVE_VSYNC;
- vblank.count = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/ovl-fix-permission-checking-for-setattr new/patches.fixes/ovl-fix-permission-checking-for-setattr
--- old/patches.fixes/ovl-fix-permission-checking-for-setattr 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/ovl-fix-permission-checking-for-setattr 1970-01-01 01:00:00.000000000 +0100
@@ -1,47 +0,0 @@
-From: Miklos Szeredi
-Date: Fri, 4 Dec 2015 19:18:48 +0100
-Subject: ovl: fix permission checking for setattr
-Git-commit: acff81ec2c79492b180fade3c2894425cd35a545
-Patch-mainline: v4.4-rc4
-References: CVE-2015-8660 bsc#960281
-
-[Al Viro] The bug is in being too enthusiastic about optimizing ->setattr()
-away - instead of "copy verbatim with metadata" + "chmod/chown/utimes"
-(with the former being always safe and the latter failing in case of
-insufficient permissions) it tries to combine these two. Note that copyup
-itself will have to do ->setattr() anyway; _that_ is where the elevated
-capabilities are right. Having these two ->setattr() (one to set verbatim
-copy of metadata, another to do what overlayfs ->setattr() had been asked
-to do in the first place) combined is where it breaks.
-
-Signed-off-by: Miklos Szeredi
-Cc:
-Signed-off-by: Al Viro
-Acked-by: Jeff Mahoney
----
- fs/overlayfs/inode.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c
-index ec0c2a0..9612849 100644
---- a/fs/overlayfs/inode.c
-+++ b/fs/overlayfs/inode.c
-@@ -49,13 +49,13 @@ int ovl_setattr(struct dentry *dentry, struct iattr *attr)
- if (err)
- goto out;
-
-- upperdentry = ovl_dentry_upper(dentry);
-- if (upperdentry) {
-+ err = ovl_copy_up(dentry);
-+ if (!err) {
-+ upperdentry = ovl_dentry_upper(dentry);
-+
- mutex_lock(&upperdentry->d_inode->i_mutex);
- err = notify_change(upperdentry, attr, NULL);
- mutex_unlock(&upperdentry->d_inode->i_mutex);
-- } else {
-- err = ovl_copy_up_last(dentry, attr, false);
- }
- ovl_drop_write(dentry);
- out:
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/scsi-inquiry-too-short-ratelimit new/patches.fixes/scsi-inquiry-too-short-ratelimit
--- old/patches.fixes/scsi-inquiry-too-short-ratelimit 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/scsi-inquiry-too-short-ratelimit 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-From: Hannes Reinecke
-Subject: INQUIRY result too short (5) message flood
-References: bnc#432535
-Patch-mainline: not yet
-
-During installation with vioserver/vioclient lots of
-scsi scan: INQUIRY result too short (5), using 36
-messages are printed. These really should be ratelimited.
-
-Signed-off-by: Hannes Reinecke
-
----
- drivers/scsi/scsi_scan.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/scsi/scsi_scan.c
-+++ b/drivers/scsi/scsi_scan.c
-@@ -696,7 +696,7 @@ static int scsi_probe_lun(struct scsi_de
- * and displaying garbage for the Vendor, Product, or Revision
- * strings.
- */
-- if (sdev->inquiry_len < 36) {
-+ if (sdev->inquiry_len < 36 && printk_ratelimit()) {
- sdev_printk(KERN_INFO, sdev,
- "scsi scan: INQUIRY result too short (%d),"
- " using 36\n", sdev->inquiry_len);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/staging-dgnc-fix-info-leak-in-ioctl.patch new/patches.fixes/staging-dgnc-fix-info-leak-in-ioctl.patch
--- old/patches.fixes/staging-dgnc-fix-info-leak-in-ioctl.patch 2016-01-04 06:34:03.000000000 +0100
+++ new/patches.fixes/staging-dgnc-fix-info-leak-in-ioctl.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-From 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Salva=20Peir=C3=B3?=
-Date: Wed, 14 Oct 2015 17:48:02 +0200
-Subject: [PATCH] staging/dgnc: fix info leak in ioctl
-Mime-version: 1.0
-Content-type: text/plain; charset=UTF-8
-Content-transfer-encoding: 8bit
-Git-commit: 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
-Patch-mainline: Queued in subsystem maintainer repository
-References: CVE-2015-7885, boo#951627
-
-The dgnc_mgmt_ioctl() code fails to initialize the 16 _reserved bytes of
-struct digi_dinfo after the ->dinfo_nboards member. Add an explicit
-memset(0) before filling the structure to avoid the info leak.
-
-Signed-off-by: Salva Peiró
-Signed-off-by: Greg Kroah-Hartman
-Acked-by: Takashi Iwai
-
----
- drivers/staging/dgnc/dgnc_mgmt.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/staging/dgnc/dgnc_mgmt.c
-+++ b/drivers/staging/dgnc/dgnc_mgmt.c
-@@ -115,6 +115,7 @@ long dgnc_mgmt_ioctl(struct file *file,
-
- spin_lock_irqsave(&dgnc_global_lock, flags);
-
-+ memset(&ddi, 0, sizeof(ddi));
- ddi.dinfo_nboards = dgnc_NumBoards;
- sprintf(ddi.dinfo_version, "%s", DG_PART);
-
++++++ patches.kernel.org.tar.bz2 ++++++
++++ 9087 lines of diff (skipped)
++++++ patches.rpmify.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.rpmify/rpm-kernel-config new/patches.rpmify/rpm-kernel-config
--- old/patches.rpmify/rpm-kernel-config 2015-05-01 21:59:50.000000000 +0200
+++ new/patches.rpmify/rpm-kernel-config 1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-From: Andreas Gruenbacher
-Subject: Add the CONFIG_SUSE_KERNEL option
-Patch-mainline: Never, SuSE-specific
-
-CONFIG_SUSE_KERNEL is set automatically in our config files. It must
-still be added in kconfig so that the option does not disappear
-whenever the kernel is reconfigured (e.g., ``make oldconfig'').
-
-Signed-off-by: Andreas Gruenbacher
-
- init/Kconfig | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/init/Kconfig
-+++ b/init/Kconfig
-@@ -1,3 +1,6 @@
-+config SUSE_KERNEL
-+ def_bool y
-+
- config ARCH
- string
- option env="ARCH"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.rpmify/split-package new/patches.rpmify/split-package
--- old/patches.rpmify/split-package 2015-05-01 21:59:50.000000000 +0200
+++ new/patches.rpmify/split-package 1970-01-01 01:00:00.000000000 +0100
@@ -1,33 +0,0 @@
-From: Jeff Mahoney
-Subject: Add SPLIT_PACKAGE option
-Patch-mainline: Never
-
- This patch adds a SPLIT_PACKAGE option which allows the packager to
- make decisions on a per-config basis.
-
-Signed-off-by: Jeff Mahoney
----
- init/Kconfig | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
---- a/init/Kconfig
-+++ b/init/Kconfig
-@@ -1,6 +1,18 @@ config SUSE_KERNEL
- config SUSE_KERNEL
- def_bool y
-
-+config SPLIT_PACKAGE
-+ bool "Split the kernel package into multiple RPMs"
-+ depends on SUSE_KERNEL && MODULES
-+ help
-+ This is an option used by the kernel packaging infrastructure
-+ to split kernel modules into different packages. It isn't used
-+ by the kernel itself, but allows the the packager to make
-+ decisions on a per-config basis.
-+
-+ If you aren't packaging a kernel for distribution, it's safe to
-+ say n.
-+
- config ARCH
- string
- option env="ARCH"
++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/dm-emulate-blkrrpart-ioctl new/patches.suse/dm-emulate-blkrrpart-ioctl
--- old/patches.suse/dm-emulate-blkrrpart-ioctl 2016-01-08 17:37:28.000000000 +0100
+++ new/patches.suse/dm-emulate-blkrrpart-ioctl 2016-01-11 15:37:46.000000000 +0100
@@ -1,6 +1,6 @@
From: Hannes Reinecke
Subject: Emulate BLKRRPART on device-mapper
-Patch-mainline: not yet
+Patch-mainline: not yet, <REASON NEEDED>
Partitions on device-mapper devices are managed by kpartx (if at
all). So if we were just to send out a 'change' event if someone
@@ -15,9 +15,9 @@
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
-@@ -522,6 +522,17 @@ retry:
- if (!map || !dm_table_get_size(map))
- goto out;
+@@ -609,6 +609,17 @@ static int dm_blk_ioctl(struct block_dev
+ if (r < 0)
+ return r;
+ if (cmd == BLKRRPART) {
+ r = -EAGAIN;
@@ -30,6 +30,6 @@
+ goto out;
+ }
+
- /* We only support devices that have a single target */
- if (dm_table_get_num_targets(map) != 1)
- goto out;
+ if (r > 0) {
+ /*
+ * Target determined this ioctl is being issued against
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/pstore-backend-autoaction new/patches.suse/pstore-backend-autoaction
--- old/patches.suse/pstore-backend-autoaction 2016-01-08 17:37:28.000000000 +0100
+++ new/patches.suse/pstore-backend-autoaction 2016-01-11 15:37:46.000000000 +0100
@@ -1,6 +1,6 @@
From: Torsten Duwe
Subject: pstore: automatically dump and clean dmesg entries
-Patch-mainline: not yet
+Patch-mainline: not yet, <NEEDS A REASON>
References: fate#315232
Dump a previous oops or panic, which has made it to pstore,
@@ -9,8 +9,6 @@
Signed-off-by: Torsten Duwe
-Index: fs/pstore/internal.h
-===================================================================
--- a/fs/pstore/internal.h.orig
+++ b/fs/pstore/internal.h
@@ -48,7 +48,14 @@ static inline void pstore_register_ftrac
@@ -29,8 +27,6 @@
extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id,
int count, char *data, bool compressed,
size_t size, struct timespec time,
-Index: fs/pstore/inode.c
-===================================================================
--- a/fs/pstore/inode.c.orig
+++ b/fs/pstore/inode.c
@@ -406,7 +406,7 @@ static int pstore_fill_super(struct supe
@@ -42,8 +38,6 @@
return 0;
}
-Index: fs/pstore/platform.c
-===================================================================
--- a/fs/pstore/platform.c.orig
+++ b/fs/pstore/platform.c
@@ -65,6 +65,10 @@ static DEFINE_SPINLOCK(pstore_lock);
@@ -77,7 +71,7 @@
+ pstore_get_records(PGR_SYSLOG|
+ ((auto_action>1)?PGR_CLEAR:0));
- kmsg_dump_register(&pstore_dumper);
+ pstore_register_kmsg();
@@ -473,7 +483,7 @@ EXPORT_SYMBOL_GPL(pstore_register);
* when we are re-scanning the backing store looking to add new
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops new/patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops
--- old/patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops 2016-01-08 17:37:28.000000000 +0100
+++ new/patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops 2016-01-11 15:37:46.000000000 +0100
@@ -1,8 +1,8 @@
From: Richard Weinberger
Date: Thu, 12 May 2011 15:11:12 +0200
Subject: x86: Remove warning and warning_symbol from struct stacktrace_ops
-Patch-mainline: v3.0-rc1
-Git-commit: 449a66fd1fa75d36dca917704827c40c8f416bca
+Patch-mainline: Never, reverted commit from v3.0-rc1
+X-Git-commit: 449a66fd1fa75d36dca917704827c40c8f416bca
Both warning and warning_symbol are nowhere used.
Let's get rid of them.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/rpm-kernel-config new/patches.suse/rpm-kernel-config
--- old/patches.suse/rpm-kernel-config 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/rpm-kernel-config 2016-01-11 15:37:46.000000000 +0100
@@ -0,0 +1,22 @@
+From: Andreas Gruenbacher
+Subject: Add the CONFIG_SUSE_KERNEL option
+Patch-mainline: Never, SuSE-specific
+
+CONFIG_SUSE_KERNEL is set automatically in our config files. It must
+still be added in kconfig so that the option does not disappear
+whenever the kernel is reconfigured (e.g., ``make oldconfig'').
+
+Signed-off-by: Andreas Gruenbacher
+
+ init/Kconfig | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -1,3 +1,6 @@
++config SUSE_KERNEL
++ def_bool y
++
+ config ARCH
+ string
+ option env="ARCH"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/split-package new/patches.suse/split-package
--- old/patches.suse/split-package 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/split-package 2016-01-11 15:37:46.000000000 +0100
@@ -0,0 +1,33 @@
+From: Jeff Mahoney
+Subject: Add SPLIT_PACKAGE option
+Patch-mainline: Never
+
+ This patch adds a SPLIT_PACKAGE option which allows the packager to
+ make decisions on a per-config basis.
+
+Signed-off-by: Jeff Mahoney
+---
+ init/Kconfig | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -1,6 +1,18 @@ config SUSE_KERNEL
+ config SUSE_KERNEL
+ def_bool y
+
++config SPLIT_PACKAGE
++ bool "Split the kernel package into multiple RPMs"
++ depends on SUSE_KERNEL && MODULES
++ help
++ This is an option used by the kernel packaging infrastructure
++ to split kernel modules into different packages. It isn't used
++ by the kernel itself, but allows the the packager to make
++ decisions on a per-config basis.
++
++ If you aren't packaging a kernel for distribution, it's safe to
++ say n.
++
+ config ARCH
+ string
+ option env="ARCH"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/stack-unwind new/patches.suse/stack-unwind
--- old/patches.suse/stack-unwind 2016-01-08 17:37:28.000000000 +0100
+++ new/patches.suse/stack-unwind 2016-01-11 15:37:46.000000000 +0100
@@ -27,6 +27,9 @@
Update Dec 07 2015 jslaby:
- Fix missing put_cpu in x86_32's dump_trace (bnc#943107)
get_cpu is needed only for the loop, so move it
+- Fix these warnings (since 4.4 as of 0ab32b6f1):
+ kernel/unwind.c:672: warning: passing argument 2 of ‘probe_kernel_read’ makes pointer from integer without a cast
+
TODO:
* annotate arch_unwind_init_running by FRAME_BEGIN/END in both entry_32/64.S.
@@ -37,13 +40,13 @@
---
Makefile | 5
arch/x86/Kconfig | 2
- arch/x86/Makefile | 11
+ arch/x86/Makefile | 2
arch/x86/entry/calling.h | 13
arch/x86/entry/entry_32.S | 33
arch/x86/entry/entry_64.S | 32
arch/x86/include/asm/stacktrace.h | 4
arch/x86/include/asm/switch_to.h | 10
- arch/x86/include/asm/unwind.h | 159 +++
+ arch/x86/include/asm/unwind.h | 161 +++
arch/x86/kernel/dumpstack.c | 88 ++
arch/x86/kernel/dumpstack_32.c | 7
arch/x86/kernel/dumpstack_64.c | 11
@@ -55,13 +58,13 @@
init/main.c | 3
kernel/Makefile | 1
kernel/module.c | 32
- kernel/unwind.c | 1652 ++++++++++++++++++++++++++++++++++++++
+ kernel/unwind.c | 1659 ++++++++++++++++++++++++++++++++++++++
lib/Kconfig.debug | 24
- 22 files changed, 2241 insertions(+), 9 deletions(-)
+ 22 files changed, 2243 insertions(+), 7 deletions(-)
--- a/Makefile
+++ b/Makefile
-@@ -722,6 +722,11 @@ endif
+@@ -723,6 +723,11 @@ endif
KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments)
@@ -86,30 +89,7 @@
is disabled then wchan values will recurse back to the
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
-@@ -159,6 +159,11 @@ endif
- sp-$(CONFIG_X86_32) := esp
- sp-$(CONFIG_X86_64) := rsp
-
-+# do binutils support CFI?
-+cfi := $(call as-instr,.cfi_startproc\n.cfi_rel_offset $(sp-y)$(comma)0\n.cfi_endproc,-DCONFIG_AS_CFI=1)
-+# is .cfi_signal_frame supported too?
-+cfi-sections := $(call as-instr,.cfi_sections .debug_frame,-DCONFIG_AS_CFI_SECTIONS=1)
-+
- # does binutils support specific instructions?
- asinstr := $(call as-instr,fxsaveq (%rax),-DCONFIG_AS_FXSAVEQ=1)
- asinstr += $(call as-instr,pshufb %xmm0$(comma)%xmm0,-DCONFIG_AS_SSSE3=1)
-@@ -166,8 +171,8 @@ asinstr += $(call as-instr,crc32l %eax$(
- avx_instr := $(call as-instr,vxorps %ymm0$(comma)%ymm1$(comma)%ymm2,-DCONFIG_AS_AVX=1)
- avx2_instr :=$(call as-instr,vpbroadcastb %xmm0$(comma)%ymm1,-DCONFIG_AS_AVX2=1)
-
--KBUILD_AFLAGS += $(asinstr) $(avx_instr) $(avx2_instr)
--KBUILD_CFLAGS += $(asinstr) $(avx_instr) $(avx2_instr)
-+KBUILD_AFLAGS += $(cfi) $(cfi-sections) $(asinstr) $(avx_instr) $(avx2_instr)
-+KBUILD_CFLAGS += $(cfi) $(cfi-sections) $(asinstr) $(avx_instr) $(avx2_instr)
-
- LDFLAGS := -m elf_$(UTS_MACHINE)
-
-@@ -176,7 +181,9 @@ KBUILD_CFLAGS += -pipe
+@@ -184,7 +184,9 @@ KBUILD_CFLAGS += -pipe
# Workaround for a gcc prelease that unfortunately was shipped in a suse release
KBUILD_CFLAGS += -Wno-sign-compare
#
@@ -143,8 +123,8 @@
/*
--- a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
-@@ -214,6 +214,39 @@ ENTRY(ret_from_fork)
- jmp syscall_exit
+@@ -218,6 +218,39 @@ ENTRY(ret_from_fork)
+ jmp restore_all
END(ret_from_fork)
+#ifdef CONFIG_STACK_UNWIND
@@ -185,7 +165,7 @@
call schedule_tail
--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
-@@ -874,6 +874,38 @@ ENTRY(do_softirq_own_stack)
+@@ -869,6 +869,38 @@ ENTRY(do_softirq_own_stack)
ret
END(do_softirq_own_stack)
@@ -239,7 +219,7 @@
/* The form of the top of the frame on the stack */
--- a/arch/x86/include/asm/switch_to.h
+++ b/arch/x86/include/asm/switch_to.h
-@@ -100,12 +100,22 @@ do { \
+@@ -100,6 +100,15 @@ do { \
#define __switch_canary_iparam
#endif /* CC_STACKPROTECTOR */
@@ -252,9 +232,10 @@
+#define THREAD_RETURN_SYM
+#endif
+
- /* Save restore flags to clear handle leaking NT */
- #define switch_to(prev, next, last) \
- asm volatile(SAVE_CONTEXT \
+ /*
+ * There is no need to save or restore flags, because flags are always
+ * clean in kernel mode, with the possible exception of IOPL. Kernel IOPL
+@@ -110,6 +119,7 @@ do { \
"movq %%rsp,%P[threadrsp](%[prev])\n\t" /* save RSP */ \
"movq %P[threadrsp](%[next]),%%rsp\n\t" /* restore RSP */ \
"call __switch_to\n\t" \
@@ -264,7 +245,7 @@
"movq %P[thread_info](%%rsi),%%r8\n\t" \
--- /dev/null
+++ b/arch/x86/include/asm/unwind.h
-@@ -0,0 +1,159 @@
+@@ -0,0 +1,161 @@
+#ifndef _ASM_X86_UNWIND_H
+#define _ASM_X86_UNWIND_H
+
@@ -376,14 +357,16 @@
+ memset(&info->regs, 0, sizeof(info->regs));
+ info->regs.ip = (unsigned long)thread_return;
+ info->regs.cs = __KERNEL_CS;
-+ probe_kernel_address(info->task->thread.sp, info->regs.bp);
++ probe_kernel_address((unsigned long *)info->task->thread.sp,
++ info->regs.bp);
+ info->regs.sp = info->task->thread.sp;
+ info->regs.ss = __KERNEL_DS;
+#else
+ memset(&info->regs, 0, sizeof(info->regs));
+ info->regs.ip = info->task->thread.ip;
+ info->regs.cs = __KERNEL_CS;
-+ probe_kernel_address(info->task->thread.sp, info->regs.bp);
++ probe_kernel_address((unsigned long *)info->task->thread.sp,
++ info->regs.bp);
+ info->regs.sp = info->task->thread.sp;
+ info->regs.ss = __KERNEL_DS;
+ info->regs.ds = __USER_DS;
@@ -633,7 +616,7 @@
"__(start|stop)___param|"
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
-@@ -379,6 +379,8 @@
+@@ -389,6 +389,8 @@
MEM_KEEP(exit.rodata) \
} \
\
@@ -642,7 +625,7 @@
/* Built-in module parameters. */ \
__param : AT(ADDR(__param) - LOAD_OFFSET) { \
VMLINUX_SYMBOL(__start___param) = .; \
-@@ -826,3 +828,23 @@
+@@ -838,3 +840,23 @@
BSS(bss_align) \
. = ALIGN(stop_align); \
VMLINUX_SYMBOL(__bss_stop) = .;
@@ -937,7 +920,7 @@
--- /dev/null
+++ b/kernel/unwind.c
-@@ -0,0 +1,1652 @@
+@@ -0,0 +1,1659 @@
+/*
+ * Copyright (C) 2002-2006 Novell, Inc.
+ * Jan Beulich
@@ -1609,7 +1592,7 @@
+ return 0;
+ }
+ if ((ptrType & DW_EH_PE_indirect)
-+ && probe_kernel_address(value, value)) {
++ && probe_kernel_address((unsigned long *)value, value)) {
+ dprintk(1, "Cannot read indirect value %lx (%p,%p).",
+ value, *pLoc, end);
+ return 0;
@@ -1879,6 +1862,7 @@
+ } ptr = { expr };
+ unsigned long stack[8], val1, val2;
+ unsigned int stidx = 0;
++ int ret;
+#define PUSH(v) ({ unsigned long v__ = (v); if (stidx >= ARRAY_SIZE(stack)) return 0; stack[stidx++] = v__; })
+#define POP() ({ if (!stidx) return 0; stack[--stidx]; })
+
@@ -1887,7 +1871,8 @@
+ /*todo case DW_OP_addr: */
+ case DW_OP_deref:
+ val1 = POP();
-+ if (probe_kernel_address(val1, val2)) {
++ ret = probe_kernel_address((unsigned long *)val1, val2);
++ if (ret) {
+ dprintk(1, "Cannot de-reference %lx (%p,%p).", val1, ptr.pu8 - 1, end);
+ return 0;
+ }
@@ -2137,6 +2122,7 @@
+ uleb128_t retAddrReg = 0;
+ const struct unwind_table *table;
+ struct unwind_state state;
++ int ret;
+
+ if (UNW_PC(frame) == 0)
+ return -EINVAL;
@@ -2345,7 +2331,9 @@
+# endif
+ return -ENXIO;
+
-+ if (probe_kernel_address(fp + FRAME_LINK_OFFSET, link))
++ ret = probe_kernel_address((unsigned long *)(fp + FRAME_LINK_OFFSET),
++ link);
++ if (ret)
+ return -ENXIO;
+
+# if FRAME_RETADDR_OFFSET < 0
@@ -2359,7 +2347,8 @@
+ return -ENXIO;
+
+ fp += FRAME_RETADDR_OFFSET;
-+ if (probe_kernel_address(fp, UNW_PC(frame)))
++ ret = probe_kernel_address((unsigned long *)fp, UNW_PC(frame));
++ if (ret)
+ return -ENXIO;
+
+ /* Ok, we can use it */
@@ -2500,8 +2489,9 @@
+ }
+ switch (reg_info[i].width) {
+#define CASE(n) case sizeof(u##n): \
-+ if (probe_kernel_address(addr, \
-+ FRAME_REG(i, u##n))) \
++ ret = probe_kernel_address((unsigned long *)addr, \
++ FRAME_REG(i, u##n)); \
++ if (ret) \
+ return -EFAULT; \
+ break
+ CASES;
@@ -2617,7 +2607,7 @@
config BOOT_PRINTK_DELAY
bool "Delay each boot printk message by N milliseconds"
depends on DEBUG_KERNEL && PRINTK && GENERIC_CALIBRATE_DELAY
-@@ -1541,7 +1559,8 @@ config FAULT_INJECTION_STACKTRACE_FILTER
+@@ -1550,7 +1568,8 @@ config FAULT_INJECTION_STACKTRACE_FILTER
depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
depends on !X86_64
select STACKTRACE
@@ -2627,7 +2617,7 @@
help
Provide stacktrace filter for fault-injection capabilities
-@@ -1551,7 +1570,8 @@ config LATENCYTOP
+@@ -1560,7 +1579,8 @@ config LATENCYTOP
depends on DEBUG_KERNEL
depends on STACKTRACE_SUPPORT
depends on PROC_FS
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 2016-01-08 17:37:28.000000000 +0100
+++ new/patches.suse/supported-flag 2016-01-11 15:37:46.000000000 +0100
@@ -362,9 +362,9 @@
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -77,7 +77,11 @@ modpost = scripts/mod/modpost
- $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(KBUILD_EXTRA_SYMBOLS))) \
$(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \
$(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S) \
+ $(if $(CONFIG_SECTION_MISMATCH_WARN_ONLY),,-E) \
- $(if $(KBUILD_EXTMOD)$(KBUILD_MODPOST_WARN),-w)
+ $(if $(KBUILD_EXTMOD)$(KBUILD_MODPOST_WARN),-w) \
+ $(if $(CONFIG_SUSE_KERNEL_SUPPORTED), \
@@ -428,8 +428,8 @@
{
const char *symname;
@@ -2132,6 +2176,15 @@ static void add_staging_flag(struct buff
- buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n");
- }
+ */
+ #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr))
+#ifdef CONFIG_SUSE_KERNEL_SUPPORTED
+static void add_supported_flag(struct buffer *b, struct module *mod)
@@ -471,14 +471,14 @@
struct ext_sym_list *extsym_iter;
struct ext_sym_list *extsym_start = NULL;
-- while ((opt = getopt(argc, argv, "i:I:e:mnsST:o:awM:K:")) != -1) {
-+ while ((opt = getopt(argc, argv, "i:I:e:mnsST:o:awM:K:N:")) != -1) {
+- while ((opt = getopt(argc, argv, "i:I:e:mnsST:o:awM:K:E")) != -1) {
++ while ((opt = getopt(argc, argv, "i:I:e:mnsST:o:awM:K:EN:")) != -1) {
switch (opt) {
case 'i':
kernel_read = optarg;
@@ -2414,11 +2479,20 @@ int main(int argc, char **argv)
- case 'w':
- warn_unresolved = 1;
+ case 'E':
+ sec_mismatch_fatal = 1;
break;
+ case 'N':
+#ifdef CONFIG_SUSE_KERNEL_SUPPORTED
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/vfs-add-super_operations-get_inode_dev new/patches.suse/vfs-add-super_operations-get_inode_dev
--- old/patches.suse/vfs-add-super_operations-get_inode_dev 2016-01-08 17:37:28.000000000 +0100
+++ new/patches.suse/vfs-add-super_operations-get_inode_dev 2016-01-11 15:37:46.000000000 +0100
@@ -117,12 +117,12 @@
--- a/fs/notify/fdinfo.c
+++ b/fs/notify/fdinfo.c
@@ -84,7 +84,7 @@ static void inotify_fdinfo(struct seq_fi
- inode = igrab(mark->inode);
- if (inode) {
+ */
+ u32 mask = mark->mask & IN_ALL_EVENTS;
seq_printf(m, "inotify wd:%x ino:%lx sdev:%x mask:%x ignored_mask:%x ",
- inode_mark->wd, inode->i_ino, inode->i_sb->s_dev,
+ inode_mark->wd, inode->i_ino, inode_get_dev(inode),
- mark->mask, mark->ignored_mask);
+ mask, mark->ignored_mask);
show_mark_fhandle(m, inode);
seq_putc(m, '\n');
@@ -117,7 +117,7 @@ static void fanotify_fdinfo(struct seq_f
++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:41.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:41.000000000 +0100
@@ -27,9 +27,6 @@
# DO NOT MODIFY THEM!
# Send separate patches upstream if you find a problem...
########################################################
- patches.kernel.org/patch-4.3.1
- patches.kernel.org/patch-4.3.1-2
- patches.kernel.org/patch-4.3.2-3
########################################################
# Build fixes that apply to the vanilla kernel too.
@@ -52,13 +49,13 @@
# will be included in the vanilla package.
########################################################
patches.rpmify/firmware-path
- patches.rpmify/rpm-kernel-config
- patches.rpmify/split-package
patches.rpmify/cloneconfig.diff
########################################################
# kbuild/module infrastructure fixes
########################################################
+ patches.suse/rpm-kernel-config
+ patches.suse/split-package
patches.suse/supported-flag
patches.suse/supported-flag-underscores
patches.suse/supported-flag-wildcards
@@ -161,7 +158,6 @@
patches.arch/arm64-0001-usb-Add-support-for-Synopsis-H20AHB-EHCI-host-contro.patch
patches.arch/arm64-0002-usb-fix-hcd-h20ahb-driver-depends.patch
patches.arch/arm64-0004-net-xgbe-Add-A0-silicon-support.patch
- patches.arch/arm64-0005-arm64-dts-Add-X-Gene-reboot-driver-dts-node.patch
patches.arch/arm64-0006-arm64-Select-reboot-driver-for-X-Gene-platform.patch
patches.arch/arm64-0010-KVM-ARM-Hack-to-enable-VGIC-mapping-on-64k-PAGE_SIZE.patch
@@ -174,7 +170,6 @@
+mbrugger patches.arch/arm64-gpex-0006-irqchip-gicv3-its-Get-rid-of-struct-msi_controller.patch
+mbrugger patches.arch/arm64-gpex-0007-PCI-MSI-Drop-domain-field-from-msi_controller.patch
+mbrugger patches.arch/arm64-gpex-0008-PCI-MSI-of-Allow-msi_domain-lookup-using-the-PHB-nod.patch
-+mbrugger patches.arch/arm64-gpex-0009-pci-Enable-pci-host-generic-support-for-ARM64.patch
########################################################
# S/390
@@ -294,7 +289,6 @@
########################################################
# Overlayfs
########################################################
- patches.fixes/ovl-fix-permission-checking-for-setattr
########################################################
# Swap-over-NFS
@@ -318,7 +312,6 @@
# Block layer fixes
patches.fixes/block-copy-bi_vcnt-in-_bio_clone_fast
- patches.fixes/scsi-inquiry-too-short-ratelimit
patches.suse/scsi-netlink-ml
patches.fixes/scsi-retry-alua-transition-in-progress
@@ -350,24 +343,16 @@
# DRM/Video
########################################################
+jeffm patches.fixes/nouveau-fix-race-with-fence-signaling
- patches.fixes/drm-sti-Remove-select-of-CONFI_FW_LOADER_USER_HELPER
- patches.drivers/drm-i915-Don-t-compare-has_drrs-strictly-in-pipe-con
- patches.drivers/drm-i915-Don-t-override-output-type-for-DDI-HDMI
- patches.drivers/drm-i915-Do-a-better-job-at-disabling-primary-plane
########################################################
# video4linux
########################################################
- patches.fixes/media-c8sectpfe-Remove-select-of-CONFIG_FW_LOADER_USER_HELPER
- patches.fixes/media-media-vivid-osd-fix-info-leak-in-ioctl.patch
########################################################
# Network
########################################################
patches.fixes/tulip-quad-NIC-ifdown
- patches.drivers/ethernet-atheros-alx-add-Killer-E2400-device-ID
patches.drivers/ethernet-atheros-alx-sanitize-buffer-sizing-and-padd
- patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch
########################################################
# Wireless Networking
@@ -404,17 +389,10 @@
########################################################
# patches.suse/SUSE-bootsplash
# patches.suse/SUSE-bootsplash-mgadrmfb-workaround
- patches.fixes/Input-elantech-add-Fujitsu-Lifebook-U745-to-force-cr
##########################################################
# Sound
##########################################################
- patches.drivers/ALSA-hda-Disable-64bit-address-for-Creative-HDA-cont
- patches.drivers/ALSA-hda-Fix-lost-4k-BDL-boundary-workaround
- patches.drivers/ALSA-hda-Fix-noise-problems-on-Thinkpad-T440s
- patches.drivers/ALSA-hda-Apply-click-noise-workaround-for-Thinkpads
- patches.drivers/ALSA-hda-Set-codec-to-D3-at-reboot-shutdown-on-Think
- patches.drivers/ALSA-hda-Add-a-fixup-for-Thinkpad-X1-Carbon-2nd
########################################################
# Char / serial
@@ -427,8 +405,6 @@
# Needs updating WRT d27769ec (block: add GENHD_FL_NO_PART_SCAN)
+hare patches.suse/no-partition-scan
- patches.drivers/thinkpad_acpi-Don-t-yell-on-unsupported-brightness-i
-
########################################################
# Other drivers we have added to the tree
########################################################
@@ -460,12 +436,6 @@
#
##########################################################
- # bsc#958463 VUL-0: CVE-2015-8539: kernel: Fix handling of stored error in a negatively instantiated user key
- patches.fixes/0001-KEYS-Fix-handling-of-stored-error-in-a-negatively-in.patch
-
- # bsc#958951 CVE-2015-7550: kernel: User triggerable crash from race between key read and rey revoke
- patches.fixes/0001-KEYS-Fix-race-between-read-and-revoke.patch
-
##########################################################
# Audit
##########################################################
@@ -521,7 +491,6 @@
# Staging tree patches
# new drivers that are going upstream
########################################################
- patches.fixes/staging-dgnc-fix-info-leak-in-ioctl.patch
########################################################
# You'd better have a good reason for adding a patch
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.nKwaTn/_old 2016-01-13 22:43:41.000000000 +0100
+++ /var/tmp/diff_new_pack.nKwaTn/_new 2016-01-13 22:43:41.000000000 +0100
@@ -1,3 +1,3 @@
-2016-01-08 19:34:17 +0100
-GIT Revision: da39cbdb86dc7846e1d114fea0ea43fa45aca064
+2016-01-11 15:46:34 +0100
+GIT Revision: 83948c1558f87eeaca00110c09cc1f26805fe4b0
GIT Branch: stable