Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2016-07-24 19:43:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-07-18 21:17:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-debug.changes 2016-07-24 19:43:37.000000000 +0200 @@ -1,0 +2,21 @@ +Tue Jul 19 11:06:59 CEST 2016 - jsl...@suse.cz + +- Update patches.kernel.org/patch-4.6.3-4 (bnc#982729 bnc#985604). + Add one more reference. +- commit 8f4696b + +------------------------------------------------------------------- +Fri Jul 15 18:03:57 CEST 2016 - afaer...@suse.de + +- config: armv7hl: Enable POWER_RESET_AS3722 for lpae + It's needed for the Jetson TK1 (boo#989450). + (cherry picked from commit 5348402a99300b0b9fbe3e395a0d8d029833cce8) +- commit 4d3bed9 + +------------------------------------------------------------------- +Fri Jul 15 08:05:57 CEST 2016 - ti...@suse.de + +- Update patch-tags for ecrpytfs fix patches (boo#989084). +- commit ecd9058 + +------------------------------------------------------------------- @@ -16,0 +38,12 @@ +Fri Jul 8 14:46:06 CEST 2016 - ti...@suse.de + +- ASoC: intel: Fix sst-dsp dependency on dw stuff (boo#988117). +- commit c05c411 + +------------------------------------------------------------------- +Fri Jul 8 12:30:57 CEST 2016 - ti...@suse.de + +- Update config files: enable DW_DMAC and ASoC Intel BDW/HSW drivers (boo#988117) +- commit cf6e186 + +------------------------------------------------------------------- @@ -41,0 +75,6 @@ + +------------------------------------------------------------------- +Tue Jul 5 23:47:04 CEST 2016 - je...@suse.com + +- Revert "ecryptfs: forbid opening files without mmap handler". +- commit 9fd42f4 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kernel-debug.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:41.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:41.000000000 +0200 @@ -63,7 +63,7 @@ Group: System/Kernel Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif kernel-default.spec: same change ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -29,7 +29,7 @@ Group: Documentation/Man Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif ++++++ kernel-lpae.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -63,7 +63,7 @@ Group: System/Kernel Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -53,7 +53,7 @@ Group: SLES Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif kernel-obs-qa.spec: same change ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -63,7 +63,7 @@ Group: System/Kernel Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -32,7 +32,7 @@ Group: Development/Sources Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -27,7 +27,7 @@ Version: 4.6.4 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:42.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:42.000000000 +0200 @@ -63,7 +63,7 @@ Group: System/Kernel Version: 4.6.4 %if 0%{?is_kotd} -Release: <RELEASE>.g103c936 +Release: <RELEASE>.g8f4696b %else Release: 0 %endif ++++++ config.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/arm64/default new/config/arm64/default --- old/config/arm64/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/arm64/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 4.6.0 Kernel Configuration +# Linux/arm64 4.6.3 Kernel Configuration # CONFIG_ARM64=y CONFIG_64BIT=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/default new/config/armv6hl/default --- old/config/armv6hl/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/armv6hl/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.6.0 Kernel Configuration +# Linux/arm 4.6.3 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/default new/config/armv7hl/default --- old/config/armv7hl/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/armv7hl/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.6.0 Kernel Configuration +# Linux/arm 4.6.3 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/lpae new/config/armv7hl/lpae --- old/config/armv7hl/lpae 2016-06-02 11:39:26.000000000 +0200 +++ new/config/armv7hl/lpae 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.6.0 Kernel Configuration +# Linux/arm 4.6.3 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -4003,7 +4003,7 @@ CONFIG_CHARGER_RT9455=m CONFIG_AXP20X_POWER=m CONFIG_POWER_RESET=y -# CONFIG_POWER_RESET_AS3722 is not set +CONFIG_POWER_RESET_AS3722=y CONFIG_POWER_RESET_AXXIA=y # CONFIG_POWER_RESET_BRCMSTB is not set CONFIG_POWER_RESET_GPIO=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/debug new/config/i386/debug --- old/config/i386/debug 2016-06-02 11:39:26.000000000 +0200 +++ new/config/i386/debug 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/i386 4.6.0 Kernel Configuration +# Linux/i386 4.6.3 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -5655,8 +5655,12 @@ CONFIG_SND_SST_IPC=m CONFIG_SND_SST_IPC_ACPI=m CONFIG_SND_SOC_INTEL_SST=m +CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m CONFIG_SND_SOC_INTEL_SST_ACPI=m CONFIG_SND_SOC_INTEL_SST_MATCH=m +CONFIG_SND_SOC_INTEL_HASWELL=m +CONFIG_SND_SOC_INTEL_HASWELL_MACH=m +CONFIG_SND_SOC_INTEL_BROADWELL_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m @@ -5707,6 +5711,8 @@ # CONFIG_SND_SOC_PCM512x_I2C is not set # CONFIG_SND_SOC_PCM512x_SPI is not set CONFIG_SND_SOC_RL6231=m +CONFIG_SND_SOC_RL6347A=m +CONFIG_SND_SOC_RT286=m # CONFIG_SND_SOC_RT5616 is not set # CONFIG_SND_SOC_RT5631 is not set CONFIG_SND_SOC_RT5640=m @@ -6397,7 +6403,7 @@ # CONFIG_QCOM_HIDMA_MGMT is not set # CONFIG_QCOM_HIDMA is not set CONFIG_DW_DMAC_CORE=m -# CONFIG_DW_DMAC is not set +CONFIG_DW_DMAC=m CONFIG_DW_DMAC_PCI=m CONFIG_HSU_DMA=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/default new/config/i386/default --- old/config/i386/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/i386/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/i386 4.6.0 Kernel Configuration +# Linux/i386 4.6.3 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -5694,8 +5694,12 @@ CONFIG_SND_SST_IPC=m CONFIG_SND_SST_IPC_ACPI=m CONFIG_SND_SOC_INTEL_SST=m +CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m CONFIG_SND_SOC_INTEL_SST_ACPI=m CONFIG_SND_SOC_INTEL_SST_MATCH=m +CONFIG_SND_SOC_INTEL_HASWELL=m +CONFIG_SND_SOC_INTEL_HASWELL_MACH=m +CONFIG_SND_SOC_INTEL_BROADWELL_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m @@ -5747,6 +5751,8 @@ # CONFIG_SND_SOC_PCM512x_I2C is not set # CONFIG_SND_SOC_PCM512x_SPI is not set CONFIG_SND_SOC_RL6231=m +CONFIG_SND_SOC_RL6347A=m +CONFIG_SND_SOC_RT286=m # CONFIG_SND_SOC_RT5616 is not set # CONFIG_SND_SOC_RT5631 is not set CONFIG_SND_SOC_RT5640=m @@ -6450,7 +6456,7 @@ # CONFIG_QCOM_HIDMA_MGMT is not set # CONFIG_QCOM_HIDMA is not set CONFIG_DW_DMAC_CORE=m -# CONFIG_DW_DMAC is not set +CONFIG_DW_DMAC=m CONFIG_DW_DMAC_PCI=m CONFIG_HSU_DMA=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/pae new/config/i386/pae --- old/config/i386/pae 2016-06-02 11:39:26.000000000 +0200 +++ new/config/i386/pae 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/i386 4.6.0 Kernel Configuration +# Linux/i386 4.6.3 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -5512,8 +5512,12 @@ CONFIG_SND_SST_IPC=m CONFIG_SND_SST_IPC_ACPI=m CONFIG_SND_SOC_INTEL_SST=m +CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m CONFIG_SND_SOC_INTEL_SST_ACPI=m CONFIG_SND_SOC_INTEL_SST_MATCH=m +CONFIG_SND_SOC_INTEL_HASWELL=m +CONFIG_SND_SOC_INTEL_HASWELL_MACH=m +CONFIG_SND_SOC_INTEL_BROADWELL_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m @@ -5564,6 +5568,8 @@ # CONFIG_SND_SOC_PCM512x_I2C is not set # CONFIG_SND_SOC_PCM512x_SPI is not set CONFIG_SND_SOC_RL6231=m +CONFIG_SND_SOC_RL6347A=m +CONFIG_SND_SOC_RT286=m # CONFIG_SND_SOC_RT5616 is not set # CONFIG_SND_SOC_RT5631 is not set CONFIG_SND_SOC_RT5640=m @@ -6248,7 +6254,7 @@ # CONFIG_QCOM_HIDMA_MGMT is not set # CONFIG_QCOM_HIDMA is not set CONFIG_DW_DMAC_CORE=m -# CONFIG_DW_DMAC is not set +CONFIG_DW_DMAC=m CONFIG_DW_DMAC_PCI=m CONFIG_HSU_DMA=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64/debug new/config/ppc64/debug --- old/config/ppc64/debug 2016-06-02 11:39:26.000000000 +0200 +++ new/config/ppc64/debug 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 4.6.0 Kernel Configuration +# Linux/powerpc 4.6.3 Kernel Configuration # CONFIG_PPC64=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64/default new/config/ppc64/default --- old/config/ppc64/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/ppc64/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 4.6.0 Kernel Configuration +# Linux/powerpc 4.6.3 Kernel Configuration # CONFIG_PPC64=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/debug new/config/ppc64le/debug --- old/config/ppc64le/debug 2016-06-02 11:39:26.000000000 +0200 +++ new/config/ppc64le/debug 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 4.6.0 Kernel Configuration +# Linux/powerpc 4.6.3 Kernel Configuration # CONFIG_PPC64=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default --- old/config/ppc64le/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/ppc64le/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/powerpc 4.6.0 Kernel Configuration +# Linux/powerpc 4.6.3 Kernel Configuration # CONFIG_PPC64=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/default new/config/s390x/default --- old/config/s390x/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/s390x/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/s390 4.6.0 Kernel Configuration +# Linux/s390 4.6.3 Kernel Configuration # CONFIG_MMU=y CONFIG_ZONE_DMA=y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/debug new/config/x86_64/debug --- old/config/x86_64/debug 2016-06-02 11:39:26.000000000 +0200 +++ new/config/x86_64/debug 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 4.6.0 Kernel Configuration +# Linux/x86_64 4.6.3 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y @@ -5489,8 +5489,12 @@ CONFIG_SND_SST_IPC=m CONFIG_SND_SST_IPC_ACPI=m CONFIG_SND_SOC_INTEL_SST=m +CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m CONFIG_SND_SOC_INTEL_SST_ACPI=m CONFIG_SND_SOC_INTEL_SST_MATCH=m +CONFIG_SND_SOC_INTEL_HASWELL=m +CONFIG_SND_SOC_INTEL_HASWELL_MACH=m +CONFIG_SND_SOC_INTEL_BROADWELL_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m @@ -5541,6 +5545,8 @@ # CONFIG_SND_SOC_PCM512x_I2C is not set # CONFIG_SND_SOC_PCM512x_SPI is not set CONFIG_SND_SOC_RL6231=m +CONFIG_SND_SOC_RL6347A=m +CONFIG_SND_SOC_RT286=m # CONFIG_SND_SOC_RT5616 is not set # CONFIG_SND_SOC_RT5631 is not set CONFIG_SND_SOC_RT5640=m @@ -6223,7 +6229,7 @@ # CONFIG_QCOM_HIDMA_MGMT is not set # CONFIG_QCOM_HIDMA is not set CONFIG_DW_DMAC_CORE=m -# CONFIG_DW_DMAC is not set +CONFIG_DW_DMAC=m CONFIG_DW_DMAC_PCI=m CONFIG_HSU_DMA=m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/default new/config/x86_64/default --- old/config/x86_64/default 2016-06-02 11:39:26.000000000 +0200 +++ new/config/x86_64/default 2016-07-19 00:10:57.000000000 +0200 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 4.6.0 Kernel Configuration +# Linux/x86_64 4.6.3 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y @@ -5474,8 +5474,12 @@ CONFIG_SND_SST_IPC=m CONFIG_SND_SST_IPC_ACPI=m CONFIG_SND_SOC_INTEL_SST=m +CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m CONFIG_SND_SOC_INTEL_SST_ACPI=m CONFIG_SND_SOC_INTEL_SST_MATCH=m +CONFIG_SND_SOC_INTEL_HASWELL=m +CONFIG_SND_SOC_INTEL_HASWELL_MACH=m +CONFIG_SND_SOC_INTEL_BROADWELL_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m @@ -5526,6 +5530,8 @@ # CONFIG_SND_SOC_PCM512x_I2C is not set # CONFIG_SND_SOC_PCM512x_SPI is not set CONFIG_SND_SOC_RL6231=m +CONFIG_SND_SOC_RL6347A=m +CONFIG_SND_SOC_RT286=m # CONFIG_SND_SOC_RT5616 is not set # CONFIG_SND_SOC_RT5631 is not set CONFIG_SND_SOC_RT5640=m @@ -6208,7 +6214,7 @@ # CONFIG_QCOM_HIDMA_MGMT is not set # CONFIG_QCOM_HIDMA is not set CONFIG_DW_DMAC_CORE=m -# CONFIG_DW_DMAC is not set +CONFIG_DW_DMAC=m CONFIG_DW_DMAC_PCI=m CONFIG_HSU_DMA=m ++++++ patches.drivers.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ASoC-intel-Fix-sst-dsp-dependency-on-dw-stuff new/patches.drivers/ASoC-intel-Fix-sst-dsp-dependency-on-dw-stuff --- old/patches.drivers/ASoC-intel-Fix-sst-dsp-dependency-on-dw-stuff 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.drivers/ASoC-intel-Fix-sst-dsp-dependency-on-dw-stuff 2016-07-12 10:29:48.000000000 +0200 @@ -0,0 +1,314 @@ +From a395bdd6b24b692adbce0df6510ec9f2af57573e Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <ti...@suse.de> +Date: Mon, 11 Jul 2016 10:39:11 +0200 +Subject: [PATCH] ASoC: intel: Fix sst-dsp dependency on dw stuff +Git-commit: a395bdd6b24b692adbce0df6510ec9f2af57573e +Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git +Patch-mainline: Queued in subsystem maintainer repository +References: boo#988117 + +The recent commit [a92ea59b74e2: ASoC: Intel: sst: only select +sst-firmware when DW DMAC is built-in] introduced more strict kconfig +dependency (depends on DW_DMAC_CORE=y) for avoiding the build failures +due to dependency messes in intel-sst. This makes, however, it +impossible to use this driver with the modularized systems, +i.e. typically on Linux distros. + +The problem addressed in the commit above is that sst_dsp_new() and +sst_dsp_free() includes the firmware init / finish that call dw_*() +functions. Thus building it as built-in with DW_DMAC_CORE module +results in the missing symbols. + +However, these sst_dsp functions are basically called only from the +drivers that depend on DW_DMAC_CORE already. That is, once when these +functions are split out, the rest can be independent from dw stuff. + +This patch attempts to solve the issue by the following: +- Split sst-dsp stuff into two modules: snd-soc-sst-dsp and + snd-soc-sst-firmware. +- Move sst_dsp_new() and sst_dsp_free() to the latter module so that + the former module can be independent from DW_DMAC_CORE. +- Add a new kconfig SND_SOC_INTEL_SST_FIRMWARE to select the latter + module by machine drivers. + +One only remaining pitfall is that each machine driver has to select +SND_SOC_INTEL_SST_FIRMWARE carefully depending on DW_DMAC_CORE. +This can't be done cleanly due to the restriction of the current +kbuild. + +Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=988117 +Fixes: a92ea59b74e2 ('ASoC: Intel: sst: only select sst-firmware when DW DMAC is built-in') +Signed-off-by: Takashi Iwai <ti...@suse.de> +Signed-off-by: Mark Brown <broo...@kernel.org> + +--- + sound/soc/intel/Kconfig | 18 +++++++--- + sound/soc/intel/common/Makefile | 4 +-- + sound/soc/intel/common/sst-dsp-priv.h | 4 --- + sound/soc/intel/common/sst-dsp.c | 67 ---------------------------------- + sound/soc/intel/common/sst-dsp.h | 2 +- + sound/soc/intel/common/sst-firmware.c | 68 +++++++++++++++++++++++++++++++++++ + 6 files changed, 85 insertions(+), 78 deletions(-) + +diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig +index 9c86459d0fc3..a20c3dfbcb5d 100644 +--- a/sound/soc/intel/Kconfig ++++ b/sound/soc/intel/Kconfig +@@ -32,6 +32,12 @@ config SND_SOC_INTEL_SST + select SND_SOC_INTEL_SST_MATCH if ACPI + depends on (X86 || COMPILE_TEST) + ++# firmware stuff depends DW_DMAC_CORE; since there is no depends-on from ++# the reverse selection, each machine driver needs to select ++# SND_SOC_INTEL_SST_FIRMWARE carefully depending on DW_DMAC_CORE ++config SND_SOC_INTEL_SST_FIRMWARE ++ tristate ++ + config SND_SOC_INTEL_SST_ACPI + tristate + +@@ -47,8 +53,9 @@ config SND_SOC_INTEL_BAYTRAIL + config SND_SOC_INTEL_HASWELL_MACH + tristate "ASoC Audio DSP support for Intel Haswell Lynxpoint" + depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM +- depends on DW_DMAC_CORE=y ++ depends on DW_DMAC_CORE + select SND_SOC_INTEL_SST ++ select SND_SOC_INTEL_SST_FIRMWARE + select SND_SOC_INTEL_HASWELL + select SND_SOC_RT5640 + help +@@ -91,8 +98,9 @@ config SND_SOC_INTEL_BXT_RT298_MACH + config SND_SOC_INTEL_BYT_RT5640_MACH + tristate "ASoC Audio driver for Intel Baytrail with RT5640 codec" + depends on X86_INTEL_LPSS && I2C +- depends on DW_DMAC_CORE=y && (SND_SST_IPC_ACPI = n) ++ depends on DW_DMAC_CORE && (SND_SST_IPC_ACPI = n) + select SND_SOC_INTEL_SST ++ select SND_SOC_INTEL_SST_FIRMWARE + select SND_SOC_INTEL_BAYTRAIL + select SND_SOC_RT5640 + help +@@ -103,8 +111,9 @@ config SND_SOC_INTEL_BYT_RT5640_MACH + config SND_SOC_INTEL_BYT_MAX98090_MACH + tristate "ASoC Audio driver for Intel Baytrail with MAX98090 codec" + depends on X86_INTEL_LPSS && I2C +- depends on DW_DMAC_CORE=y && (SND_SST_IPC_ACPI = n) ++ depends on DW_DMAC_CORE && (SND_SST_IPC_ACPI = n) + select SND_SOC_INTEL_SST ++ select SND_SOC_INTEL_SST_FIRMWARE + select SND_SOC_INTEL_BAYTRAIL + select SND_SOC_MAX98090 + help +@@ -115,8 +124,9 @@ config SND_SOC_INTEL_BROADWELL_MACH + tristate "ASoC Audio DSP support for Intel Broadwell Wildcatpoint" + depends on X86_INTEL_LPSS && I2C && DW_DMAC && \ + I2C_DESIGNWARE_PLATFORM +- depends on DW_DMAC_CORE=y ++ depends on DW_DMAC_CORE + select SND_SOC_INTEL_SST ++ select SND_SOC_INTEL_SST_FIRMWARE + select SND_SOC_INTEL_HASWELL + select SND_SOC_RT286 + help +diff --git a/sound/soc/intel/common/Makefile b/sound/soc/intel/common/Makefile +index fbbb25c2ceed..1a35149bcad7 100644 +--- a/sound/soc/intel/common/Makefile ++++ b/sound/soc/intel/common/Makefile +@@ -2,9 +2,9 @@ snd-soc-sst-dsp-objs := sst-dsp.o + snd-soc-sst-acpi-objs := sst-acpi.o + snd-soc-sst-match-objs := sst-match-acpi.o + snd-soc-sst-ipc-objs := sst-ipc.o +- +-snd-soc-sst-dsp-$(CONFIG_DW_DMAC_CORE) += sst-firmware.o ++snd-soc-sst-firmware-objs := sst-firmware.o + + obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o + obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o + obj-$(CONFIG_SND_SOC_INTEL_SST_MATCH) += snd-soc-sst-match.o ++obj-$(CONFIG_SND_SOC_INTEL_SST_FIRMWARE) += snd-soc-sst-firmware.o +diff --git a/sound/soc/intel/common/sst-dsp-priv.h b/sound/soc/intel/common/sst-dsp-priv.h +index 97dc1ae05e69..d13c84364c3c 100644 +--- a/sound/soc/intel/common/sst-dsp-priv.h ++++ b/sound/soc/intel/common/sst-dsp-priv.h +@@ -383,10 +383,6 @@ struct sst_mem_block *sst_mem_block_register(struct sst_dsp *dsp, u32 offset, + u32 index, void *private); + void sst_mem_block_unregister_all(struct sst_dsp *dsp); + +-/* Create/Free DMA resources */ +-int sst_dma_new(struct sst_dsp *sst); +-void sst_dma_free(struct sst_dma *dma); +- + u32 sst_dsp_get_offset(struct sst_dsp *dsp, u32 offset, + enum sst_mem_type type); + #endif +diff --git a/sound/soc/intel/common/sst-dsp.c b/sound/soc/intel/common/sst-dsp.c +index ff2196ef359f..c00ede4ea4d7 100644 +--- a/sound/soc/intel/common/sst-dsp.c ++++ b/sound/soc/intel/common/sst-dsp.c +@@ -420,73 +420,6 @@ void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes) + } + EXPORT_SYMBOL_GPL(sst_dsp_inbox_read); + +-#ifdef CONFIG_DW_DMAC_CORE +-struct sst_dsp *sst_dsp_new(struct device *dev, +- struct sst_dsp_device *sst_dev, struct sst_pdata *pdata) +-{ +- struct sst_dsp *sst; +- int err; +- +- dev_dbg(dev, "initialising audio DSP id 0x%x\n", pdata->id); +- +- sst = devm_kzalloc(dev, sizeof(*sst), GFP_KERNEL); +- if (sst == NULL) +- return NULL; +- +- spin_lock_init(&sst->spinlock); +- mutex_init(&sst->mutex); +- sst->dev = dev; +- sst->dma_dev = pdata->dma_dev; +- sst->thread_context = sst_dev->thread_context; +- sst->sst_dev = sst_dev; +- sst->id = pdata->id; +- sst->irq = pdata->irq; +- sst->ops = sst_dev->ops; +- sst->pdata = pdata; +- INIT_LIST_HEAD(&sst->used_block_list); +- INIT_LIST_HEAD(&sst->free_block_list); +- INIT_LIST_HEAD(&sst->module_list); +- INIT_LIST_HEAD(&sst->fw_list); +- INIT_LIST_HEAD(&sst->scratch_block_list); +- +- /* Initialise SST Audio DSP */ +- if (sst->ops->init) { +- err = sst->ops->init(sst, pdata); +- if (err < 0) +- return NULL; +- } +- +- /* Register the ISR */ +- err = request_threaded_irq(sst->irq, sst->ops->irq_handler, +- sst_dev->thread, IRQF_SHARED, "AudioDSP", sst); +- if (err) +- goto irq_err; +- +- err = sst_dma_new(sst); +- if (err) +- dev_warn(dev, "sst_dma_new failed %d\n", err); +- +- return sst; +- +-irq_err: +- if (sst->ops->free) +- sst->ops->free(sst); +- +- return NULL; +-} +-EXPORT_SYMBOL_GPL(sst_dsp_new); +- +-void sst_dsp_free(struct sst_dsp *sst) +-{ +- free_irq(sst->irq, sst); +- if (sst->ops->free) +- sst->ops->free(sst); +- +- sst_dma_free(sst->dma); +-} +-EXPORT_SYMBOL_GPL(sst_dsp_free); +-#endif +- + /* Module information */ + MODULE_AUTHOR("Liam Girdwood"); + MODULE_DESCRIPTION("Intel SST Core"); +diff --git a/sound/soc/intel/common/sst-dsp.h b/sound/soc/intel/common/sst-dsp.h +index 0b84c719ec48..859f0de00339 100644 +--- a/sound/soc/intel/common/sst-dsp.h ++++ b/sound/soc/intel/common/sst-dsp.h +@@ -216,7 +216,7 @@ struct sst_pdata { + void *dsp; + }; + +-#ifdef CONFIG_DW_DMAC_CORE ++#if IS_ENABLED(CONFIG_DW_DMAC_CORE) + /* Initialization */ + struct sst_dsp *sst_dsp_new(struct device *dev, + struct sst_dsp_device *sst_dev, struct sst_pdata *pdata); +diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c +index 25993527370b..a086c35f91bb 100644 +--- a/sound/soc/intel/common/sst-firmware.c ++++ b/sound/soc/intel/common/sst-firmware.c +@@ -1211,3 +1211,71 @@ u32 sst_dsp_get_offset(struct sst_dsp *dsp, u32 offset, + } + } + EXPORT_SYMBOL_GPL(sst_dsp_get_offset); ++ ++struct sst_dsp *sst_dsp_new(struct device *dev, ++ struct sst_dsp_device *sst_dev, struct sst_pdata *pdata) ++{ ++ struct sst_dsp *sst; ++ int err; ++ ++ dev_dbg(dev, "initialising audio DSP id 0x%x\n", pdata->id); ++ ++ sst = devm_kzalloc(dev, sizeof(*sst), GFP_KERNEL); ++ if (sst == NULL) ++ return NULL; ++ ++ spin_lock_init(&sst->spinlock); ++ mutex_init(&sst->mutex); ++ sst->dev = dev; ++ sst->dma_dev = pdata->dma_dev; ++ sst->thread_context = sst_dev->thread_context; ++ sst->sst_dev = sst_dev; ++ sst->id = pdata->id; ++ sst->irq = pdata->irq; ++ sst->ops = sst_dev->ops; ++ sst->pdata = pdata; ++ INIT_LIST_HEAD(&sst->used_block_list); ++ INIT_LIST_HEAD(&sst->free_block_list); ++ INIT_LIST_HEAD(&sst->module_list); ++ INIT_LIST_HEAD(&sst->fw_list); ++ INIT_LIST_HEAD(&sst->scratch_block_list); ++ ++ /* Initialise SST Audio DSP */ ++ if (sst->ops->init) { ++ err = sst->ops->init(sst, pdata); ++ if (err < 0) ++ return NULL; ++ } ++ ++ /* Register the ISR */ ++ err = request_threaded_irq(sst->irq, sst->ops->irq_handler, ++ sst_dev->thread, IRQF_SHARED, "AudioDSP", sst); ++ if (err) ++ goto irq_err; ++ ++ err = sst_dma_new(sst); ++ if (err) ++ dev_warn(dev, "sst_dma_new failed %d\n", err); ++ ++ return sst; ++ ++irq_err: ++ if (sst->ops->free) ++ sst->ops->free(sst); ++ ++ return NULL; ++} ++EXPORT_SYMBOL_GPL(sst_dsp_new); ++ ++void sst_dsp_free(struct sst_dsp *sst) ++{ ++ free_irq(sst->irq, sst); ++ if (sst->ops->free) ++ sst->ops->free(sst); ++ ++ sst_dma_free(sst->dma); ++} ++EXPORT_SYMBOL_GPL(sst_dsp_free); ++ ++MODULE_DESCRIPTION("Intel SST Firmware Loader"); ++MODULE_LICENSE("GPL v2"); +-- +2.9.0 + ++++++ patches.fixes.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/0001-Revert-ecryptfs-forbid-opening-files-without-mmap-ha.patch new/patches.fixes/0001-Revert-ecryptfs-forbid-opening-files-without-mmap-ha.patch --- old/patches.fixes/0001-Revert-ecryptfs-forbid-opening-files-without-mmap-ha.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/0001-Revert-ecryptfs-forbid-opening-files-without-mmap-ha.patch 2016-07-15 10:08:50.000000000 +0200 @@ -0,0 +1,63 @@ +From 58cef0395ff3578c1339e3a0c6595c781909c051 Mon Sep 17 00:00:00 2001 +From: Jeff Mahoney <je...@suse.com> +Date: Tue, 5 Jul 2016 17:11:12 -0400 +Subject: [PATCH 1/2] Revert "ecryptfs: forbid opening files without mmap + handler" +Patch-mainline: 4.7 +Git-commit: 78c4e172412de5d0456dc00d2b34050aa0b683b5 +References: boo#989084 + +This reverts commit 2f36db71009304b3f0b95afacd8eba1f9f046b87. + +It fixed a local root exploit but also introduced a dependency on +the lower file system implementing an mmap operation just to open a file, +which is a bit of a heavy hammer. The right fix is to have mmap depend +on the existence of the mmap handler instead. + +Signed-off-by: Jeff Mahoney <je...@suse.com> +--- + fs/ecryptfs/kthread.c | 13 ++----------- + 1 file changed, 2 insertions(+), 11 deletions(-) + +diff --git a/fs/ecryptfs/kthread.c b/fs/ecryptfs/kthread.c +index e818f5a..866bb18 100644 +--- a/fs/ecryptfs/kthread.c ++++ b/fs/ecryptfs/kthread.c +@@ -25,7 +25,6 @@ + #include <linux/slab.h> + #include <linux/wait.h> + #include <linux/mount.h> +-#include <linux/file.h> + #include "ecryptfs_kernel.h" + + struct ecryptfs_open_req { +@@ -148,7 +147,7 @@ int ecryptfs_privileged_open(struct file **lower_file, + flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; + (*lower_file) = dentry_open(&req.path, flags, cred); + if (!IS_ERR(*lower_file)) +- goto have_file; ++ goto out; + if ((flags & O_ACCMODE) == O_RDONLY) { + rc = PTR_ERR((*lower_file)); + goto out; +@@ -166,16 +165,8 @@ int ecryptfs_privileged_open(struct file **lower_file, + mutex_unlock(&ecryptfs_kthread_ctl.mux); + wake_up(&ecryptfs_kthread_ctl.wait); + wait_for_completion(&req.done); +- if (IS_ERR(*lower_file)) { ++ if (IS_ERR(*lower_file)) + rc = PTR_ERR(*lower_file); +- goto out; +- } +-have_file: +- if ((*lower_file)->f_op->mmap == NULL) { +- fput(*lower_file); +- *lower_file = NULL; +- rc = -EMEDIUMTYPE; +- } + out: + return rc; + } +-- +2.7.1 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/0001-ecryptfs-don-t-allow-mmap-when-the-lower-file-system.patch new/patches.fixes/0001-ecryptfs-don-t-allow-mmap-when-the-lower-file-system.patch --- old/patches.fixes/0001-ecryptfs-don-t-allow-mmap-when-the-lower-file-system.patch 2016-07-11 11:31:39.000000000 +0200 +++ new/patches.fixes/0001-ecryptfs-don-t-allow-mmap-when-the-lower-file-system.patch 2016-07-15 10:08:50.000000000 +0200 @@ -3,7 +3,8 @@ Date: Tue, 7 Jun 2016 15:11:53 -0400 Subject: [PATCH] ecryptfs: don't allow mmap when the lower file system doesn't allow it References: bsc#983143 CVE-2016-1583 -Patch-mainline: not yet, see bugzilla +Patch-mainline: 4.7 +Git-commit: f0fe970df3838c202ef6c07a4c2b36838ef0a88b There are legitimate reasons to disallow mmap on certain files, notably in sysfs or procfs. We shouldn't emulate mmap support on file systems ++++++ patches.kernel.org.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.kernel.org/patch-4.6.3-4 new/patches.kernel.org/patch-4.6.3-4 --- old/patches.kernel.org/patch-4.6.3-4 2016-07-11 19:59:12.000000000 +0200 +++ new/patches.kernel.org/patch-4.6.3-4 2016-07-19 11:07:19.000000000 +0200 @@ -1,7 +1,7 @@ From: Jiri Slaby <jsl...@suse.cz> Subject: Linux 4.6.4 Patch-mainline: 4.6.4 -References: bnc#982729 +References: bnc#982729 bnc#985604 Git-commit: 4879efb34f7d49235fac334d76d9c6a77a021413 Git-commit: f8a15a9650694feaa0dabf197b0c94d37cd3fb42 Git-commit: d246dcb2331c5783743720e6510892eb1d2801d9 ++++++ series.conf ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:43.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:43.000000000 +0200 @@ -192,6 +192,7 @@ # Changes to tunable defaults patches.suse/readahead-request-tunables.patch + patches.fixes/0001-Revert-ecryptfs-forbid-opening-files-without-mmap-ha.patch patches.fixes/0001-ecryptfs-don-t-allow-mmap-when-the-lower-file-system.patch ######################################################## @@ -398,6 +399,7 @@ patches.fixes/ALSA-timer-Fix-leak-in-SNDRV_TIMER_IOCTL_PARAMS patches.fixes/ALSA-timer-Fix-leak-in-events-via-snd_timer_user_cca patches.fixes/ALSA-timer-Fix-leak-in-events-via-snd_timer_user_tin + patches.drivers/ASoC-intel-Fix-sst-dsp-dependency-on-dw-stuff ######################################################## # Char / serial ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.UJCpE7/_old 2016-07-24 19:43:43.000000000 +0200 +++ /var/tmp/diff_new_pack.UJCpE7/_new 2016-07-24 19:43:43.000000000 +0200 @@ -1,3 +1,3 @@ -2016-07-11 19:59:12 +0200 -GIT Revision: 103c93658e0b44729ee8882c4eee7d9b9bc5386d +2016-07-19 11:07:19 +0200 +GIT Revision: 8f4696bf2feebf3186b166a91e56932854128fee GIT Branch: stable