[PATCH v4 15/24] ASoC: qdsp6: q6core: Add q6core driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to core apr service, which is used to query status of other static and dynamic services on the dsp. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig| 4 + sound/soc/qcom/qdsp6/Makefile | 1 +

[PATCH v4 13/24] ASoC: qdsp6: q6asm: Add support to memory map and unmap

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to memory map and unmap regions commands in q6asm module. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6asm.c | 338 +++ sound/soc/qcom/qdsp6/q6asm.h | 5 + 2 files changed, 343

[PATCH v4 16/24] ASoC: qdsp6: q6routing: Add q6routing driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the matrix between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla

[PATCH v4 16/24] ASoC: qdsp6: q6routing: Add q6routing driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the matrix between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig

[PATCH v4 18/24] ASoC: qdsp6: q6routing: Add support to MI2S Mixers

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add support to MI2S mixers required to select path between ASM stream and AFE ports. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 329

[PATCH v4 18/24] ASoC: qdsp6: q6routing: Add support to MI2S Mixers

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add support to MI2S mixers required to select path between ASM stream and AFE ports. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 329 +++ 1 file changed, 329 insertions(+) diff --git

[PATCH v4 19/24] ASoC: qdsp6: q6afe: Add q6afe dai driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 +

[PATCH v4 14/24] ASoC: qdsp6: q6asm: Add support to audio stream apis

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to open, write and media format commands in the q6asm module. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6asm.c | 744 ++-

[PATCH v4 19/24] ASoC: qdsp6: q6afe: Add q6afe dai driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6afe-dai.c | 746 +++ 3 files

[PATCH v4 14/24] ASoC: qdsp6: q6asm: Add support to audio stream apis

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to open, write and media format commands in the q6asm module. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6asm.c | 744 ++- sound/soc/qcom/qdsp6/q6asm.h | 49 +++ 2 files changed, 792

[PATCH v4 22/24] ASoC: qcom: apq8096: Add db820c machine driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/apq8096.c | 235

[PATCH v4 22/24] ASoC: qcom: apq8096: Add db820c machine driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/apq8096.c | 235 +++ 3 files changed, 246

[PATCH v4 24/24] MAINTAINERS: Add myself as co-maintainer of qcom audio

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as co-maintainer of qcom audio drivers Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v4 24/24] MAINTAINERS: Add myself as co-maintainer of qcom audio

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as co-maintainer of qcom audio drivers Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 93a12af4f180..7463122a1184 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11343,6

[PATCH v4 21/24] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 80 ++ 1 file

[PATCH v4 21/24] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 80 ++ 1 file changed, 80 insertions(+) create mode 100644

[PATCH v4 23/24] arm64: dts: db820c: add sound card dt entry

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds a sound card entry for basic hdmi playback using adsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 34 +

[PATCH v4 23/24] arm64: dts: db820c: add sound card dt entry

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds a sound card entry for basic hdmi playback using adsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 34 + arch/arm64/boot/dts/qcom/msm8996.dtsi| 75 +++- 2 files

[PATCH v4 17/24] ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 261

[PATCH v4 17/24] ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 261 +++ 1 file changed, 261 insertions(+) diff --git

[PATCH v4 20/24] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile

[PATCH v4 03/24] ASoC: qdsp6: q6common: Add qdsp6 helper functions

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common helper functions like translating dsp error to linux error codes and channel mappings etc. These functions are used in all the following qdsp6 drivers. Signed-off-by: Srinivas Kandagatla

[PATCH v4 20/24] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6asm-dai.c | 632

[PATCH v4 03/24] ASoC: qdsp6: q6common: Add qdsp6 helper functions

2018-03-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common helper functions like translating dsp error to linux error codes and channel mappings etc. These functions are used in all the following qdsp6 drivers. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 13

[PATCH] f2fs: align memory boundary for bitops

2018-03-09 Thread Jaegeuk Kim
For example, in arm64, free_nid_bitmap should be aligned to word size in order to use bit operations. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- fs/f2fs/node.c | 20 +--- include/linux/f2fs_fs.h | 4 3 files changed, 22

[PATCH] f2fs: align memory boundary for bitops

2018-03-09 Thread Jaegeuk Kim
For example, in arm64, free_nid_bitmap should be aligned to word size in order to use bit operations. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- fs/f2fs/node.c | 20 +--- include/linux/f2fs_fs.h | 4 3 files changed, 22 insertions(+), 4

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-03-09 Thread Alexei Starovoitov
On 3/9/18 11:37 AM, Andy Lutomirski wrote: On Fri, Mar 9, 2018 at 6:55 PM, David Miller wrote: From: Alexei Starovoitov Date: Fri, 9 Mar 2018 10:50:49 -0800 On 3/9/18 10:23 AM, Andy Lutomirski wrote: It might not be totally crazy to back it by tmpfs.

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-03-09 Thread Alexei Starovoitov
On 3/9/18 11:37 AM, Andy Lutomirski wrote: On Fri, Mar 9, 2018 at 6:55 PM, David Miller wrote: From: Alexei Starovoitov Date: Fri, 9 Mar 2018 10:50:49 -0800 On 3/9/18 10:23 AM, Andy Lutomirski wrote: It might not be totally crazy to back it by tmpfs. interesting. how do you propose to do

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Kees Cook
On Fri, Mar 9, 2018 at 5:30 PM, Kees Cook wrote: > -- > Kees Cook > Pixel SecurityOn > [...] WTF, gmail just blasted HTML into my explicitly plain-text email?! Apologies... -- Kees Cook Pixel SecurityOn Fri, Mar 9, 2018 at 5:30 PM, Kees Cook mailto:keesc...@chromium.org;

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Kees Cook
On Fri, Mar 9, 2018 at 5:30 PM, Kees Cook wrote: > -- > Kees Cook > Pixel SecurityOn > [...] WTF, gmail just blasted HTML into my explicitly plain-text email?! Apologies... -- Kees Cook Pixel SecurityOn Fri, Mar 9, 2018 at 5:30 PM, Kees Cook mailto:keesc...@chromium.org;

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Kees Cook
On Fri, Mar 9, 2018 at 4:38 PM, Linus Torvalds wrote: > On Fri, Mar 9, 2018 at 4:32 PM, Andrew Morton > wrote: >> >> I wonder which gcc versions actually accept Kees's addition. Ah, my old nemesis, gcc 4.4.4. *sob* > Note that we

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-09 Thread Kees Cook
On Fri, Mar 9, 2018 at 4:38 PM, Linus Torvalds wrote: > On Fri, Mar 9, 2018 at 4:32 PM, Andrew Morton > wrote: >> >> I wonder which gcc versions actually accept Kees's addition. Ah, my old nemesis, gcc 4.4.4. *sob* > Note that we already do have this pattern, as seen by: > > git grep -2

Re: [PATCH 1/2] of: unittest: remove unneeded local return value variables

2018-03-09 Thread Frank Rowand
On 03/09/18 16:02, Rob Herring wrote: > On Thu, Mar 08, 2018 at 02:39:04PM -0800, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> A common pattern in many unittest functions is to save the return >> value of a function in a local variable, then test the value of

Re: [PATCH 1/2] of: unittest: remove unneeded local return value variables

2018-03-09 Thread Frank Rowand
On 03/09/18 16:02, Rob Herring wrote: > On Thu, Mar 08, 2018 at 02:39:04PM -0800, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> A common pattern in many unittest functions is to save the return >> value of a function in a local variable, then test the value of >> the local variable,

Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-03-09 Thread Frank Rowand
On 03/09/18 15:03, Rob Herring wrote: > On Sun, Mar 04, 2018 at 04:14:47PM -0800, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> Create a cache of the nodes that contain a phandle property. Use this >> cache to find the node for a given phandle value instead of

Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-03-09 Thread Frank Rowand
On 03/09/18 15:03, Rob Herring wrote: > On Sun, Mar 04, 2018 at 04:14:47PM -0800, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> Create a cache of the nodes that contain a phandle property. Use this >> cache to find the node for a given phandle value instead of scanning >> the

Re: [PATCH 1/2] x86/mm: Give each mm a unique ID

2018-03-09 Thread Greg Kroah-Hartman
On Fri, Mar 09, 2018 at 05:04:39PM -0800, Tim Chen wrote: > On 03/08/2018 10:23 AM, Tim Chen wrote: > > On 03/07/2018 09:30 AM, Greg Kroah-Hartman wrote: > >> On Fri, Mar 02, 2018 at 01:32:09PM -0800, Tim Chen wrote: > >>> From: Andy Lutomirski > >>> commit:

Re: [PATCH 1/2] x86/mm: Give each mm a unique ID

2018-03-09 Thread Greg Kroah-Hartman
On Fri, Mar 09, 2018 at 05:04:39PM -0800, Tim Chen wrote: > On 03/08/2018 10:23 AM, Tim Chen wrote: > > On 03/07/2018 09:30 AM, Greg Kroah-Hartman wrote: > >> On Fri, Mar 02, 2018 at 01:32:09PM -0800, Tim Chen wrote: > >>> From: Andy Lutomirski > >>> commit:

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Nathan Chancellor
On Fri, Mar 09, 2018 at 05:03:12PM -0800, Greg Kroah-Hartman wrote: > On Fri, Mar 09, 2018 at 05:50:35PM -0700, Nathan Chancellor wrote: > > On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.4.121 release. > > > There

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Nathan Chancellor
On Fri, Mar 09, 2018 at 05:03:12PM -0800, Greg Kroah-Hartman wrote: > On Fri, Mar 09, 2018 at 05:50:35PM -0700, Nathan Chancellor wrote: > > On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.4.121 release. > > > There

Re: [PATCH 1/2] x86/mm: Give each mm a unique ID

2018-03-09 Thread Tim Chen
On 03/08/2018 10:23 AM, Tim Chen wrote: > On 03/07/2018 09:30 AM, Greg Kroah-Hartman wrote: >> On Fri, Mar 02, 2018 at 01:32:09PM -0800, Tim Chen wrote: >>> From: Andy Lutomirski >>> commit: f39681ed0f48498b80455095376f11535feea332 >>> >>> This adds a new variable to

Re: [PATCH 1/2] x86/mm: Give each mm a unique ID

2018-03-09 Thread Tim Chen
On 03/08/2018 10:23 AM, Tim Chen wrote: > On 03/07/2018 09:30 AM, Greg Kroah-Hartman wrote: >> On Fri, Mar 02, 2018 at 01:32:09PM -0800, Tim Chen wrote: >>> From: Andy Lutomirski >>> commit: f39681ed0f48498b80455095376f11535feea332 >>> >>> This adds a new variable to mmu_context_t: ctx_id. >>>

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Greg Kroah-Hartman
On Fri, Mar 09, 2018 at 05:50:35PM -0700, Nathan Chancellor wrote: > On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.121 release. > > There are 36 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Greg Kroah-Hartman
On Fri, Mar 09, 2018 at 05:50:35PM -0700, Nathan Chancellor wrote: > On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.121 release. > > There are 36 patches in this series, all will be posted as a response > > to this

VLA removal, device_handler and COMMAND_SIZE

2018-03-09 Thread Stephen Kitt
Hi, I’ve been looking into removing some VLAs from device_handler drivers, prompted by https://lkml.org/lkml/2018/3/7/621 The uses in question here are quite straightforward, e.g. in drivers/scsi/device_handler/scsi_dh_alua.c: u8 cdb[COMMAND_SIZE(MAINTENANCE_IN)]; There’s no trivial

VLA removal, device_handler and COMMAND_SIZE

2018-03-09 Thread Stephen Kitt
Hi, I’ve been looking into removing some VLAs from device_handler drivers, prompted by https://lkml.org/lkml/2018/3/7/621 The uses in question here are quite straightforward, e.g. in drivers/scsi/device_handler/scsi_dh_alua.c: u8 cdb[COMMAND_SIZE(MAINTENANCE_IN)]; There’s no trivial

[PATCH 3.18 01/21] tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 9b8cb28d7c62568a5916bdd7ea1c9176d7f8f2ed upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 3.18 10/21] ipv6 sit: work around bogus gcc-8 -Wrestrict warning

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit ca79bec237f5809a7c3c59bd41cd0880aa889966 ] gcc-8 has a new warning that detects overlapping input and output arguments in memcpy(). It triggers

[PATCH 3.18 11/21] net: fix race on decreasing number of TX queues

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski [ Upstream commit ac5b70198adc25c73fba28de4f78adcee8f6be0b ] netif_set_real_num_tx_queues() can be called when netdev is up. That usually happens

[PATCH 3.18 01/21] tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 9b8cb28d7c62568a5916bdd7ea1c9176d7f8f2ed upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have glitches causing bit flips.

[PATCH 3.18 10/21] ipv6 sit: work around bogus gcc-8 -Wrestrict warning

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit ca79bec237f5809a7c3c59bd41cd0880aa889966 ] gcc-8 has a new warning that detects overlapping input and output arguments in memcpy(). It triggers for

[PATCH 3.18 11/21] net: fix race on decreasing number of TX queues

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski [ Upstream commit ac5b70198adc25c73fba28de4f78adcee8f6be0b ] netif_set_real_num_tx_queues() can be called when netdev is up. That usually happens when user requests change of

[PATCH 3.18 02/21] tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit f9d4d9b5a5ef2f017bc344fb65a58a902517173b upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 3.18 02/21] tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit f9d4d9b5a5ef2f017bc344fb65a58a902517173b upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have glitches causing bit flips.

[PATCH 3.18 05/21] ARM: mvebu: Fix broken PL310_ERRATA_753970 selects

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson commit 8aa36a8dcde3183d84db7b0d622ffddcebb61077 upstream. The MACH_ARMADA_375 and MACH_ARMADA_38X boards select ARM_ERRATA_753970, but it was renamed to

[PATCH 3.18 05/21] ARM: mvebu: Fix broken PL310_ERRATA_753970 selects

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson commit 8aa36a8dcde3183d84db7b0d622ffddcebb61077 upstream. The MACH_ARMADA_375 and MACH_ARMADA_38X boards select ARM_ERRATA_753970, but it was renamed to PL310_ERRATA_753970 by

[PATCH 3.18 08/21] bridge: check brport attr show in brport_show

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 1b12580af1d0677c3c3a19e35bfe5d59b03f737f ] Now br_sysfs_if file flush doesn't have attr show. To read it will cause kernel panic after users

[PATCH 3.18 08/21] bridge: check brport attr show in brport_show

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 1b12580af1d0677c3c3a19e35bfe5d59b03f737f ] Now br_sysfs_if file flush doesn't have attr show. To read it will cause kernel panic after users chmod u+r this file.

[PATCH 3.18 07/21] leds: do not overflow sysfs buffer in led_trigger_show

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Sullivan commit 3b9b95363c45365d606ad4bbba16acca75fdf6d3 upstream. Per the documentation, use scnprintf instead of sprintf to ensure there is never more than

[PATCH 3.18 04/21] cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 0373ca74831b0f93cd4cdbf7ad3aec3c33a479a5 upstream. commit a307a1e6bc0d "cpufreq: s3c: use cpufreq_generic_init()" accidentally broke cpufreq on

[PATCH 3.18 04/21] cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 0373ca74831b0f93cd4cdbf7ad3aec3c33a479a5 upstream. commit a307a1e6bc0d "cpufreq: s3c: use cpufreq_generic_init()" accidentally broke cpufreq on s3c2410 and s3c2412. These

[PATCH 3.18 07/21] leds: do not overflow sysfs buffer in led_trigger_show

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Sullivan commit 3b9b95363c45365d606ad4bbba16acca75fdf6d3 upstream. Per the documentation, use scnprintf instead of sprintf to ensure there is never more than PAGE_SIZE bytes of trigger

[PATCH 3.18 14/21] udplite: fix partial checksum initialization

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 15f35d49c93f4fa9875235e7bf3e3783d2dd7a1b ] Since UDP-Lite is always using checksum, the following path is triggered when

[PATCH 3.18 14/21] udplite: fix partial checksum initialization

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 15f35d49c93f4fa9875235e7bf3e3783d2dd7a1b ] Since UDP-Lite is always using checksum, the following path is triggered when calculating pseudo header for it:

[PATCH 3.18 16/21] s390/qeth: fix SETIP command handling

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 1c5b2216fbb973a9410e0b06389740b5c1289171 ] send_control_data() applies some special handling to SETIP v4 IPA commands. But current

[PATCH 3.18 09/21] hdlc_ppp: carrier detect ok, dont turn off negotiation

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Denis Du [ Upstream commit b6c3bad1ba83af1062a7ff6986d9edc4f3d7fc8e ] Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but

[PATCH 3.18 16/21] s390/qeth: fix SETIP command handling

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 1c5b2216fbb973a9410e0b06389740b5c1289171 ] send_control_data() applies some special handling to SETIP v4 IPA commands. But current code parses *all* command

[PATCH 3.18 09/21] hdlc_ppp: carrier detect ok, dont turn off negotiation

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Denis Du [ Upstream commit b6c3bad1ba83af1062a7ff6986d9edc4f3d7fc8e ] Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but the carrier detect still

[PATCH 3.18 13/21] ppp: prevent unregistered channels from connecting to PPP units

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 77f840e3e5f09c6d7d727e85e6e08276dd813d11 ] PPP units don't hold any reference on the channels connected to it. It is the channel's

[PATCH 3.18 13/21] ppp: prevent unregistered channels from connecting to PPP units

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 77f840e3e5f09c6d7d727e85e6e08276dd813d11 ] PPP units don't hold any reference on the channels connected to it. It is the channel's responsibility to ensure

Re: [PATCH] proc: reject "." and ".." as filenames

2018-03-09 Thread Florian Westphal
Alexey Dobriyan wrote: > Various subsystems can create files and directories in /proc > with names directly controlled by userspace. > > Which means "/", "." and ".." are no-no. > > "/" split is already taken care of, do the other 2 prohibited names. Acked-by: Florian

Re: [PATCH] proc: reject "." and ".." as filenames

2018-03-09 Thread Florian Westphal
Alexey Dobriyan wrote: > Various subsystems can create files and directories in /proc > with names directly controlled by userspace. > > Which means "/", "." and ".." are no-no. > > "/" split is already taken care of, do the other 2 prohibited names. Acked-by: Florian Westphal I'll send a

[PATCH 3.18 17/21] s390/qeth: fix IPA command submission race

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit d22ffb5a712f9211ffd104c38fc17cbfb1b5e2b0 ] If multiple IPA commands are build & sent out concurrently, fill_ipacmd_header() may

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Nathan Chancellor
On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.121 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[PATCH 3.18 17/21] s390/qeth: fix IPA command submission race

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit d22ffb5a712f9211ffd104c38fc17cbfb1b5e2b0 ] If multiple IPA commands are build & sent out concurrently, fill_ipacmd_header() may assign a seqno value to a

Re: [PATCH 4.4 00/36] 4.4.121-stable review

2018-03-09 Thread Nathan Chancellor
On Fri, Mar 09, 2018 at 04:18:16PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.121 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[PATCH 3.18 15/21] sctp: fix dst refcnt leak in sctp_v6_get_dst()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 957d761cf91cdbb175ad7d8f5472336a4d54dbf2 ] When going through the bind address list in sctp_v6_get_dst() and the previously found

[PATCH 3.18 15/21] sctp: fix dst refcnt leak in sctp_v6_get_dst()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 957d761cf91cdbb175ad7d8f5472336a4d54dbf2 ] When going through the bind address list in sctp_v6_get_dst() and the previously found address is better

[PATCH 3.18 19/21] net: ipv4: dont allow setting net.ipv4.route.min_pmtu below 68

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit c7272c2f1229125f74f22dcdd59de9bbd804f1c8 ] According to RFC 1191 sections 3 and 4, ICMP frag-needed messages indicating an MTU below

[PATCH 3.18 20/21] fib_semantics: Dont match route with mismatching tclassid

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit a8c6db1dfd1b1d18359241372bb204054f2c3174 ] In fib_nh_match(), if output interface or gateway are passed in the FIB configuration, we

[PATCH 3.18 19/21] net: ipv4: dont allow setting net.ipv4.route.min_pmtu below 68

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit c7272c2f1229125f74f22dcdd59de9bbd804f1c8 ] According to RFC 1191 sections 3 and 4, ICMP frag-needed messages indicating an MTU below 68 should be rejected:

[PATCH 3.18 20/21] fib_semantics: Dont match route with mismatching tclassid

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit a8c6db1dfd1b1d18359241372bb204054f2c3174 ] In fib_nh_match(), if output interface or gateway are passed in the FIB configuration, we don't have to check next

[PATCH 4.4 01/36] tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 6d24cd186d9fead3722108dec1b1c993354645ff upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 3.18 21/21] dm io: fix duplicate bio completion due to missing ref count

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit feb7695fe9fb83084aa29de0094774f4c9d4c9fc upstream. If only a subset of the devices associated with multiple regions support a given special operation

[PATCH 3.18 18/21] sctp: verify size of a new chunk in _sctp_make_chunk()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 07f2c7ab6f8d0a7e7c5764c4e6cc9c52951b9d9c ] When SCTP makes INIT or INIT_ACK packet the total chunk length can exceed

[PATCH 4.4 01/36] tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 6d24cd186d9fead3722108dec1b1c993354645ff upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have glitches causing bit flips.

[PATCH 3.18 21/21] dm io: fix duplicate bio completion due to missing ref count

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit feb7695fe9fb83084aa29de0094774f4c9d4c9fc upstream. If only a subset of the devices associated with multiple regions support a given special operation (eg. DISCARD) then

[PATCH 3.18 18/21] sctp: verify size of a new chunk in _sctp_make_chunk()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 07f2c7ab6f8d0a7e7c5764c4e6cc9c52951b9d9c ] When SCTP makes INIT or INIT_ACK packet the total chunk length can exceed SCTP_MAX_CHUNK_LEN which leads to kernel

[PATCH 3.18 12/21] netlink: ensure to loop over all netns in genlmsg_multicast_allns()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit cb9f7a9a5c96a773bbc9c70660dc600cfff82f82 ] Nowadays, nlmsg_multicast() returns only 0 or -ESRCH but this was not the case when

[PATCH 3.18 12/21] netlink: ensure to loop over all netns in genlmsg_multicast_allns()

2018-03-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit cb9f7a9a5c96a773bbc9c70660dc600cfff82f82 ] Nowadays, nlmsg_multicast() returns only 0 or -ESRCH but this was not the case when commit 134e63756d5f was

[PATCH 4.4 12/36] btrfs: Dont clear SGID when inheriting ACLs

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit b7f8a09f8097db776b8d160862540e4fc1f51296 upstream. When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit set, DIR1 is expected to have SGID bit

[PATCH 4.4 12/36] btrfs: Dont clear SGID when inheriting ACLs

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit b7f8a09f8097db776b8d160862540e4fc1f51296 upstream. When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit set, DIR1 is expected to have SGID bit set (and

[PATCH 4.4 14/36] x86/apic/vector: Handle legacy irq data correctly

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner The backport of upstream commit 45d55e7bac40 ("x86/apic/vector: Fix off by one in error path") missed to fixup the legacy interrupt data which is not longer

[PATCH 4.4 11/36] x86/syscall: Sanitize syscall table de-references under speculation fix

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby In 4.4.118, we have commit c8961332d6da (x86/syscall: Sanitize syscall table de-references under speculation), which is a backport of upstream commit 2fbd7af5af86.

[PATCH 4.4 14/36] x86/apic/vector: Handle legacy irq data correctly

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner The backport of upstream commit 45d55e7bac40 ("x86/apic/vector: Fix off by one in error path") missed to fixup the legacy interrupt data which is not longer available upstream.

[PATCH 4.4 11/36] x86/syscall: Sanitize syscall table de-references under speculation fix

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby In 4.4.118, we have commit c8961332d6da (x86/syscall: Sanitize syscall table de-references under speculation), which is a backport of upstream commit 2fbd7af5af86. But it fixed only

[PATCH 4.4 16/36] x86/spectre: Fix an error message

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 9de29eac8d2189424d81c0d840cd0469aa3d41c8 upstream. If i == ARRAY_SIZE(mitigation_options) then we accidentally print garbage from one space

[PATCH 4.4 16/36] x86/spectre: Fix an error message

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 9de29eac8d2189424d81c0d840cd0469aa3d41c8 upstream. If i == ARRAY_SIZE(mitigation_options) then we accidentally print garbage from one space beyond the end of the

[PATCH 4.4 17/36] Revert "led: core: Fix brightness setting when setting delay_off=0"

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 20ac8f72514b3af8b62c520d55656ded865eff00, which was commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c upstream. The bug that it

[PATCH 4.4 17/36] Revert "led: core: Fix brightness setting when setting delay_off=0"

2018-03-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 20ac8f72514b3af8b62c520d55656ded865eff00, which was commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c upstream. The bug that it should fix was only introduced in

<    1   2   3   4   5   6   7   8   9   10   >