Re: [PATCH] tty: Prevent untrappable signals from malicious program

2015-01-20 Thread Jiri Slaby
On 01/19/2015, 06:49 PM, Peter Hurley wrote: > Commit 26df6d13406d1a5 ("tty: Add EXTPROC support for LINEMODE") > allows a process which has opened a pty master to send _any_ signal > to the process group of the pty slave. Although potentially > exploitable by a malicious program running a setuid p

Re: [PATCH] tty: Prevent untrappable signals from malicious program

2015-01-20 Thread Jiri Slaby
On 01/20/2015, 09:14 AM, Jiri Slaby wrote: > On 01/19/2015, 06:49 PM, Peter Hurley wrote: >> Commit 26df6d13406d1a5 ("tty: Add EXTPROC support for LINEMODE") >> allows a process which has opened a pty master to send _any_ signal >> to the process group of the pty slave. Although potentially >> expl

Patch "iser-target: Fix flush + disconnect completion handling" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Fix flush + disconnect completion handling to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "iscsi,iser-target: Initiate termination only once" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iscsi,iser-target: Initiate termination only once to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: iscsi

Patch "iser-target: Allocate PI contexts dynamically" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Allocate PI contexts dynamically to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: iser-targ

Patch "iscsi-target: Fail connection on short sendmsg writes" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iscsi-target: Fail connection on short sendmsg writes to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: i

Patch "iser-target: Fix connected_handler + teardown flow race" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Fix connected_handler + teardown flow race to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "iscsi,iser-target: Expose supported protection ops according to t10_pi" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iscsi,iser-target: Expose supported protection ops according to t10_pi to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the

Patch "iscsi-target: Fail connection on short sendmsg writes" has been added to the 3.10-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iscsi-target: Fail connection on short sendmsg writes to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: i

Patch "iscsi-target: Fail connection on short sendmsg writes" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iscsi-target: Fail connection on short sendmsg writes to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: i

Patch "iser-target: Fix implicit termination of connections" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Fix implicit termination of connections to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: is

Patch "iser-target: Fix NULL dereference in SW mode DIF" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Fix NULL dereference in SW mode DIF to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: iser-t

Patch "iser-target: Handle ADDR_CHANGE event for listener cm_id" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Handle ADDR_CHANGE event for listener cm_id to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "iser-target: Parallelize CM connection establishment" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled iser-target: Parallelize CM connection establishment to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: is

Patch "Revert "drm/i915: Preserve VGACNTR bits from the BIOS"" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "drm/i915: Preserve VGACNTR bits from the BIOS" to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

FAILED: patch "[PATCH] vhost-scsi: Add missing virtio-scsi -> TCM attribute" failed to apply to 3.10-stable tree

2015-01-20 Thread gregkh
The patch below does not apply to the 3.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h -- original commit in Linus's tree -- >

FAILED: patch "[PATCH] vhost-scsi: Add missing virtio-scsi -> TCM attribute" failed to apply to 3.14-stable tree

2015-01-20 Thread gregkh
The patch below does not apply to the 3.14-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h -- original commit in Linus's tree -- >

FAILED: patch "[PATCH] ARM: clk-imx6q: fix video divider for rev T0 1.0" failed to apply to 3.18-stable tree

2015-01-20 Thread gregkh
The patch below does not apply to the 3.18-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h -- original commit in Linus's tree -- >

Patch "clk: Really fix deadlock with mmap_sem" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: Really fix deadlock with mmap_sem to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-really-fix-d

Patch "clk: Don't try to use a struct clk* after it could have been freed" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: Don't try to use a struct clk* after it could have been freed to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the pat

Patch "clk: samsung: Fix double add of syscore ops after driver rebind" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: samsung: Fix double add of syscore ops after driver rebind to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

Patch "Revert "[SCSI] mpt3sas: Remove phys on topology change"" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "[SCSI] mpt3sas: Remove phys on topology change" to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "parisc: fix out-of-register compiler error in ldcw inline assembler function" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled parisc: fix out-of-register compiler error in ldcw inline assembler function to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "scsi: blacklist RSOC for Microsoft iSCSI target devices" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled scsi: blacklist RSOC for Microsoft iSCSI target devices to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "Revert "[SCSI] mpt2sas: Remove phys on topology change."" has been added to the 3.14-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "[SCSI] mpt2sas: Remove phys on topology change." to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

FAILED: patch "[PATCH] vhost-scsi: Add missing virtio-scsi -> TCM attribute" failed to apply to 3.18-stable tree

2015-01-20 Thread gregkh
The patch below does not apply to the 3.18-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h -- original commit in Linus's tree -- >

Patch "clk: berlin: bg2q: remove non-exist "smemc" gate clock" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: berlin: bg2q: remove non-exist "smemc" gate clock to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "ARM: dts: berlin: fix io clk and add missing core clk for" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled ARM: dts: berlin: fix io clk and add missing core clk for to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "clk: at91: keep slow clk enabled to prevent system hang" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: at91: keep slow clk enabled to prevent system hang to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "bugon.cocci: fix Options at the macro" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled bugon.cocci: fix Options at the macro to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: bugon.cocci-fix-o

Patch "serial: fix parisc boot hang" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled serial: fix parisc boot hang to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: serial-fix-parisc-boot-han

Patch "SCSI: fix regression in scsi_send_eh_cmnd()" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled SCSI: fix regression in scsi_send_eh_cmnd() to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: scsi-fix-re

Patch "Revert "[SCSI] mpt2sas: Remove phys on topology change."" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "[SCSI] mpt2sas: Remove phys on topology change." to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "scsi: fix random memory corruption with scsi-mq + T10 PI" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled scsi: fix random memory corruption with scsi-mq + T10 PI to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "Revert "[SCSI] mpt3sas: Remove phys on topology change"" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "[SCSI] mpt3sas: Remove phys on topology change" to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "scsi: blacklist RSOC for Microsoft iSCSI target devices" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled scsi: blacklist RSOC for Microsoft iSCSI target devices to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "clk: Don't try to use a struct clk* after it could have been freed" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: Don't try to use a struct clk* after it could have been freed to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the pat

Patch "clk: rockchip: fix rk3288 cpuclk core dividers" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: rockchip: fix rk3288 cpuclk core dividers to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-rock

Patch "parisc: fix out-of-register compiler error in ldcw inline assembler function" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled parisc: fix out-of-register compiler error in ldcw inline assembler function to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "clk: rockchip: fix rk3066 pll lock bit location" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: rockchip: fix rk3066 pll lock bit location to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-roc

Patch "clk: Really fix deadlock with mmap_sem" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: Really fix deadlock with mmap_sem to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-really-fix-d

Patch "Revert "clk: ppc-corenet: Fix Section mismatch warning"" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "clk: ppc-corenet: Fix Section mismatch warning" to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "dm: fix missed error code if .end_io isn't implemented by target_type" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled dm: fix missed error code if .end_io isn't implemented by target_type to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the

Patch "clk: samsung: Fix double add of syscore ops after driver rebind" has been added to the 3.18-stable tree

2015-01-20 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: samsung: Fix double add of syscore ops after driver rebind to the 3.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Daniel Vetter
On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: > Otherwise setting the rotation property will cause the primary plane to > be disabled, caused by having a 0x0 initial value. > > v2: Rebase on top of the move to plane helpers. > > Cc: stable@vger.kernel.org > Bugzilla

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Ander Conselvan de Oliveira
On 01/20/2015 11:22 AM, Daniel Vetter wrote: On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: Otherwise setting the rotation property will cause the primary plane to be disabled, caused by having a 0x0 initial value. v2: Rebase on top of the move to plane helpers. C

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Ander Conselvan de Oliveira
On 01/20/2015 11:22 AM, Daniel Vetter wrote: On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: Otherwise setting the rotation property will cause the primary plane to be disabled, caused by having a 0x0 initial value. v2: Rebase on top of the move to plane helpers. C

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Ville Syrjälä
On Tue, Jan 20, 2015 at 11:33:22AM +0200, Ander Conselvan de Oliveira wrote: > On 01/20/2015 11:22 AM, Daniel Vetter wrote: > > On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: > >> Otherwise setting the rotation property will cause the primary plane to > >> be disabled,

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Daniel Vetter
On Tue, Jan 20, 2015 at 11:46:57AM +0200, Ville Syrjälä wrote: > On Tue, Jan 20, 2015 at 11:33:22AM +0200, Ander Conselvan de Oliveira wrote: > > On 01/20/2015 11:22 AM, Daniel Vetter wrote: > > > On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira > > > wrote: > > >> @@ -13346,6

[net PATCH 1/1] drivers: net: cpsw: discard dual emac default vlan configuration

2015-01-20 Thread Mugunthan V N
In Dual EMAC, the default vlans are used to segregate rx packets between the ports, so adding the same default vlan to the switch will affect the normal packet transfers. So returning error on addition of dual emac default vlans. Even if emac 0 default port vlan is added to emac 1, it will lead to

Build failure in 3.18-stable-queue (arm:multi_v7_defconfig)

2015-01-20 Thread Guenter Roeck
Build reference: v3.18.3-98-g681eda0 Building arm:multi_v7_defconfig ... failed -- Error log: drivers/clk/rockchip/clk-rk3188.c:215:50: error: macro "PLL" passed 11 arguments, but takes just 10 RK2928_MODE_CON, 0, 5, 0, rk3188_pll_rates),

Re: [net PATCH 1/1] drivers: net: cpsw: discard dual emac default vlan configuration

2015-01-20 Thread Sergei Shtylyov
Hello. On 1/20/2015 3:25 PM, Mugunthan V N wrote: In Dual EMAC, the default vlans are used to segregate rx packets between VLANs. And RX. the ports, so adding the same default vlan to the switch will affect the VLAN. normal packet transfers. So returning error on addition of dual

Re: [PATCH 2/6] bus: mvebu-mbus: fix support of MBus window 13 on Armada XP/375/38x

2015-01-20 Thread Thomas Petazzoni
Dear Andrew Lunn, On Mon, 19 Jan 2015 23:29:30 +0100, Andrew Lunn wrote: > > [Thomas: adapted for the mainline kernel, minor clarifications in the > > code, reword the commit log.] > > > > Fixes: fb52a6c ("bus: introduce an Marvell EBU MBus driver") > > Cc: # v3.10+ > > Signed-off-by: Micha

Re: Build failure in 3.18-stable-queue (arm:multi_v7_defconfig)

2015-01-20 Thread Heiko Stübner
Hi Guenter, Greg, Am Dienstag, 20. Januar 2015, 06:24:13 schrieb Guenter Roeck: > Error log: > drivers/clk/rockchip/clk-rk3188.c:215:50: error: macro "PLL" passed 11 > arguments, but takes just 10 RK2928_MODE_CON, 0, 5, 0, rk3188_pll_rates), >^ >

Re: [PATCH][v3.2] Revert: x86, 64bit, mm: Mark data/bss/brk to nx

2015-01-20 Thread Ben Hutchings
On Mon, 2015-01-19 at 17:19 -0500, Steven Rostedt wrote: > On Mon, 19 Jan 2015 22:07:11 + > Ben Hutchings wrote: > > > Yes, I know this needs fixing. It also broke suspend/resume on SMP > > machines since that involves offlining and onlining CPUs 1-n. > > OK, as long as you know. Also, hav

Re: [PATCH][v3.2] Revert: x86, 64bit, mm: Mark data/bss/brk to nx

2015-01-20 Thread Steven Rostedt
On Tue, 20 Jan 2015 16:06:06 + Ben Hutchings wrote: > On Mon, 2015-01-19 at 17:19 -0500, Steven Rostedt wrote: > > On Mon, 19 Jan 2015 22:07:11 + > > Ben Hutchings wrote: > > > > > Yes, I know this needs fixing. It also broke suspend/resume on SMP > > > machines since that involves of

Re: Patch "rtlwifi: rtl8192ce: Set fw_ready flag" has been added to the 3.10-stable tree

2015-01-20 Thread Larry Finger
On 01/20/2015 01:26 AM, gre...@linuxfoundation.org wrote: This is a note to let you know that I've just added the patch titled rtlwifi: rtl8192ce: Set fw_ready flag to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a

Re: Patch "rtlwifi: rtl8192ce: Set fw_ready flag" has been added to the 3.14-stable tree

2015-01-20 Thread Larry Finger
On 01/20/2015 01:32 AM, gre...@linuxfoundation.org wrote: This is a note to let you know that I've just added the patch titled rtlwifi: rtl8192ce: Set fw_ready flag to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a

Re: [PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM

2015-01-20 Thread Dmitry Osipenko
19.01.2015 21:26, Dmitry Osipenko пишет: 19.01.2015 21:00, Dmitry Osipenko пишет: 19.01.2015 20:45, Stephen Warren пишет: On 01/19/2015 10:41 AM, Dmitry Osipenko wrote: 19.01.2015 20:26, Stephen Warren пишет: Hopefully this works out. I suppose it's unlikely anyone will be running code on the

[PATCH V2 for 3.19 6/7] rtlwifi: rtl8192ee: Fix problems with calculating free space in FIFO

2015-01-20 Thread Larry Finger
This driver utilizes a FIFO buffer for RX descriptors. There are four places in the code where it calculates the number of free slots. Several of those locations do the calculation incorrectly. To fix these and to prevent future mistakes, a common inline routine is created. Signed-off-by: Larry Fi

[PATCH V2 for 3.19 5/7] rtlwifi: rtl8192ee: Fix parsing of received packet

2015-01-20 Thread Larry Finger
From: Troy Tan The firmware supplies two kinds of packets via the RX mechanism. Besides the normal data received over the air, these packets may contain bluetooth status and other information. The present code fails to detect which kind of information was received. Signed-off-by: Troy Tan Signe

[PATCH V2 for 3.19 3/7] rtlwifi: rtl8192ee: Fix adhoc fail

2015-01-20 Thread Larry Finger
From: Troy Tan When the buffer descriptor index exceeds 2, then a TX HANG condition will result. Signed-off-by: Troy Tan Signed-off-by: Larry Finger Cc: Stable [V3.18] --- drivers/net/wireless/rtlwifi/rtl8192ee/fw.c | 6 +- drivers/net/wireless/rtlwifi/rtl8192ee/hw.c | 26 --

[PATCH V2 for 3.19 2/7] rtlwifi: rtl8192ee: Fix handling of new style descriptors

2015-01-20 Thread Larry Finger
From: Troy Tan The hardware and firmware for the RTL8192EE utilize a FIFO list of descriptors. There were some problems with the initial implementation. The worst of these failed to detect that the FIFO was becoming full, which led to the device needing to be power cycled. As this condition is no

[PATCH V2 for 3.19 1/7] rtlwifi: Remove logging statement that is no longer needed

2015-01-20 Thread Larry Finger
In commit e9538cf4f907 ("rtlwifi: Fix error when accessing unmapped memory in skb"), a printk was included to indicate that the condition had been reached. There is now enough evidence from other users that the fix is working. That logging statement can now be removed. Signed-off-by: Larry Finger

[PATCH V2 for 3.19 7/7] rtlwifi: rtl8192ee: Fix DMA stalls

2015-01-20 Thread Larry Finger
From: Troy Tan There are instances where the DMA engine stalls. The new code detects such stalls and restarts DMA without needing a power reset. Signed-off-by: Troy Tan Signed-off-by: Larry Finger Cc: Stable [3.18] --- drivers/net/wireless/rtlwifi/rtl8192ee/hw.c | 140 ++

[PATCH V2 for 3.19 4/7] rtlwifi: rtl8192ee: Fix TX hang due to failure to update TX write point

2015-01-20 Thread Larry Finger
From: Troy Tan Initially, the routine to update the write point in the FIFO buffer was coded to save CPU time by not doing the calculation every interrupt. This was an error and results in TX hangs. Signed-off-by: Troy Tan Signed-off-by: Larry Finger Cc: Stable [V3.18] --- drivers/net/wirele

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info->syscall

2015-01-20 Thread Kees Cook
On Mon, Jan 19, 2015 at 1:20 AM, Will Deacon wrote: > On Fri, Jan 16, 2015 at 11:54:45PM +, Kees Cook wrote: >> On Fri, Jan 16, 2015 at 11:57 AM, Kees Cook wrote: >> > On Fri, Jan 16, 2015 at 8:17 AM, Russell King - ARM Linux >> > wrote: >> >> On Sat, Jan 17, 2015 at 01:08:11AM +0900, Roman

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info->syscall

2015-01-20 Thread Kees Cook
On Sun, Jan 18, 2015 at 9:58 PM, Roman Peniaev wrote: > On Sat, Jan 17, 2015 at 8:54 AM, Kees Cook wrote: >> On Fri, Jan 16, 2015 at 11:57 AM, Kees Cook wrote: >>> On Fri, Jan 16, 2015 at 8:17 AM, Russell King - ARM Linux >>> wrote: On Sat, Jan 17, 2015 at 01:08:11AM +0900, Roman Peniaev w

Re: [PATCH] tty: Prevent untrappable signals from malicious program

2015-01-20 Thread Peter Hurley
On 01/20/2015 03:35 AM, Jiri Slaby wrote: > Ok, I see now. The rest of the thread ended up in the stable mailbox. Yeah, gmail is broken that way. I hope they fix it soon. It's even more annoying when the email is _addressed_ to you and the first email you get comes from a list so the server filte

Re: Patch "rtlwifi: rtl8192ce: Set fw_ready flag" has been added to the 3.10-stable tree

2015-01-20 Thread Greg KH
On Tue, Jan 20, 2015 at 10:28:03AM -0600, Larry Finger wrote: > On 01/20/2015 01:26 AM, gre...@linuxfoundation.org wrote: > > > >This is a note to let you know that I've just added the patch titled > > > > rtlwifi: rtl8192ce: Set fw_ready flag > > > >to the 3.10-stable tree which can be found a

Re: Build failure in 3.18-stable-queue (arm:multi_v7_defconfig)

2015-01-20 Thread Greg Kroah-Hartman
On Tue, Jan 20, 2015 at 04:21:35PM +0100, Heiko Stübner wrote: > Hi Guenter, Greg, > > Am Dienstag, 20. Januar 2015, 06:24:13 schrieb Guenter Roeck: > > Error log: > > drivers/clk/rockchip/clk-rk3188.c:215:50: error: macro "PLL" passed 11 > > arguments, but takes just 10 RK2928_MODE_CON, 0, 5, 0,

Re: Patch "rtlwifi: rtl8192ce: Set fw_ready flag" has been added to the 3.14-stable tree

2015-01-20 Thread Greg KH
On Tue, Jan 20, 2015 at 10:29:07AM -0600, Larry Finger wrote: > On 01/20/2015 01:32 AM, gre...@linuxfoundation.org wrote: > > > >This is a note to let you know that I've just added the patch titled > > > > rtlwifi: rtl8192ce: Set fw_ready flag > > > >to the 3.14-stable tree which can be found a

[PATCHv4 1/3] USB: gadget: atmel_usba_udc: Fixed vbus_prev initial state

2015-01-20 Thread Sylvain Rochet
If vbus gpio is high at init, we should set vbus_prev to true accordingly to the current vbus state. Without that, we skip the first vbus interrupt because the saved vbus state is not consistent. Signed-off-by: Sylvain Rochet Acked-by: Nicolas Ferre Fixes: 914a3f3b3754 ("USB: add atmel_usba_udc

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info->syscall

2015-01-20 Thread Russell King - ARM Linux
On Tue, Jan 20, 2015 at 10:31:57AM -0800, Kees Cook wrote: > On Mon, Jan 19, 2015 at 1:20 AM, Will Deacon wrote: > > I'm fine either way for the native case, but we should stick with whetever > > we end up with. Being compatible with ARM is probably a good idea. Do you > > have a preference? > >

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info->syscall

2015-01-20 Thread Russell King - ARM Linux
On Tue, Jan 20, 2015 at 10:45:19PM +, Russell King - ARM Linux wrote: > Well, the whole question is this: is restarting a system call like > usleep() really a separate system call, or is it a kernel implementation > detail? > > If you wanted seccomp to see this, what would be the use case? Wh

Re: [PATCH] drm/vmwgfx: Replace the hw mutex with a hw spinlock

2015-01-20 Thread Dave Airlie
On 19 January 2015 at 21:03, Thomas Hellstrom wrote: > Fixes a case where we call vmw_fifo_idle() from within a wait function with > task state !TASK_RUNNING, which is illegal. > > In addition, make the locking fine-grained, so that it is performed once > for every read- and write operation. This

Re: [PATCH v2] ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3

2015-01-20 Thread Paul Walmsley
On Thu, 8 Jan 2015, Lokesh Vutla wrote: > With commit '7dedd34: ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() > with DEBUG_LL' we moved from parsing cmdline to identify uart used > for earlycon to using the requsite hwmod CONFIG_DEBUG_OMAPxUARTy FLAGS. > > On DRA7 UART3 hwmod doesn't have thi

[PATCH 1/3] scsi: Only blacklist WRITE SAME for VMware virtual disks

2015-01-20 Thread Martin K. Petersen
Commit 4089b71cc820 blacklisted WRITE SAME for all VMware disks. However, the WRITE SAME commands are supported for passthrough disks. Change the heuristic so we only blacklist virtual disks. Signed-off-by: Martin K. Petersen Reported-by: Petr Vandrovec Tested-by: Chris J Arges Cc: stable@vger.

[PATCH 2/3] sd: Sanity check the optimal I/O size

2015-01-20 Thread Martin K. Petersen
We have come across a couple of devices that report crackpot values in the optimal I/O size in the Block Limits VPD page. Since this is a 32-bit entity that gets multiplied by the logical block size we can get disproportionately large values reported to the block layer. Cap io_opt at 256 MB. Repo

[PATCH 3/3] scsi: Remove VPD quirk for Seagate drives

2015-01-20 Thread Martin K. Petersen
Now that we sanity check the optimal I/O size reported by the device we no longer need to blacklist the VPD pages on certain Seagate drives. Signed-off-by: Martin K. Petersen Cc: stable@vger.kernel.org --- drivers/scsi/scsi_devinfo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scs

[3.13] A network patch for stable

2015-01-20 Thread Zefan Li
Hi Kamal, There's an issue in pipework that it can result in kernel panic in ubuntu 3.13 kernel. https://github.com/jpetazzo/pipework/issues/79 We found the bug was introduced in 3.13 and was fixed in 3.14 by commit da37705cef30841616ed644ff33455bbc7374db0 Author: Cong Wang Date: Tu

FAILED: patch "[PATCH] net: ethernet: cpsw: fix hangs with interrupts" failed to apply to 3.10-stable tree

2015-01-20 Thread gregkh
The patch below does not apply to the 3.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h -- original commit in Linus's tree -- >

Re: stable 3.14 backport request for ARC

2015-01-20 Thread Vineet Gupta
On Monday 19 January 2015 07:03 PM, Greg KH wrote: On Tue, Dec 23, 2014 at 08:08:51AM +, Vineet Gupta wrote: > 2014-04-18 64ee9f32c33c ARC: Delete stale barrier.h I don't see how this is an issue for 3.14, it says it fixes a 3.15 build issue only, so I didn't apply it. Why did you ask for