Re: linux 4.1-rc7 deadlock

2015-06-14 Thread Hugh Dickins
On Thu, 11 Jun 2015, Prarit Bhargava wrote: > On 06/11/2015 04:06 PM, Hugh Dickins wrote: > > On Tue, 9 Jun 2015, Morten Stevens wrote: > >> 2015-06-09 16:10 GMT+02:00 Daniel Wagner : > >>> On 06/09/2015 01:54 PM, Morten Stevens wrote: > > > > Reported-by: Prarit Bhargava > > Reported-by: Daniel

Re: linux 4.1-rc7 deadlock

2015-06-11 Thread Prarit Bhargava
On 06/11/2015 04:06 PM, Hugh Dickins wrote: > On Tue, 9 Jun 2015, Morten Stevens wrote: >> 2015-06-09 16:10 GMT+02:00 Daniel Wagner : >>> On 06/09/2015 01:54 PM, Morten Stevens wrote: [ 28.193327] Possible unsafe locking scenario: [ 28.194297]CPU0CP

Re: linux 4.1-rc7 deadlock

2015-06-11 Thread Hugh Dickins
On Tue, 9 Jun 2015, Morten Stevens wrote: > 2015-06-09 16:10 GMT+02:00 Daniel Wagner : > > On 06/09/2015 01:54 PM, Morten Stevens wrote: > >> [ 28.193327] Possible unsafe locking scenario: > >> > >> [ 28.194297]CPU0CPU1 > >> [ 28.194774]

Re: linux 4.1-rc7 deadlock

2015-06-09 Thread Morten Stevens
2015-06-09 16:10 GMT+02:00 Daniel Wagner : > Hi Morten, Hi Daniel, > On 06/09/2015 01:54 PM, Morten Stevens wrote: >> [ 28.193327] Possible unsafe locking scenario: >> >> [ 28.194297]CPU0CPU1 >> [ 28.194774] >> [ 28.195254]

Re: linux 4.1-rc7 deadlock

2015-06-09 Thread Daniel Wagner
Hi Morten, On 06/09/2015 01:54 PM, Morten Stevens wrote: > [ 28.193327] Possible unsafe locking scenario: > > [ 28.194297]CPU0CPU1 > [ 28.194774] > [ 28.195254] lock(&mm->mmap_sem); > [ 28.195709]

linux 4.1-rc7 deadlock

2015-06-09 Thread Morten Stevens
Hi, After each restart appears directly this deadlock: [ 28.177939] == [ 28.177959] [ INFO: possible circular locking dependency detected ] [ 28.177980] 4.1.0-0.rc7.git0.1.fc23.x86_64+debug #1 Tainted: GW [ 28.178002] --

RE: linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ?

2015-06-08 Thread David Binderman
Hello there Thomas, >> I can't think of a situation where, if an array index needs checking, then >> it should be checked *after* use. > > It does not check the array index. Read the complete code: > > for (k = 0; k < INTC_IRQPIN_REG_NR; k++) { > io[k] = pl

RE: linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ?

2015-06-08 Thread Thomas Gleixner
On Mon, 8 Jun 2015, David Binderman wrote: > > >> [linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418]: (style) > >> Array ind > >> ex 'k' is used before limits check. > >> >

RE: linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ?

2015-06-08 Thread David Binderman
Hello there Thomas, >> [linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418]: (style) Array >> ind >> ex 'k' is used before limits check. >> >>if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY)

Re: linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ?

2015-06-08 Thread Thomas Gleixner
On Mon, 8 Jun 2015, David Binderman wrote: > Hello there, > > [linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418]: (style) Array > ind > ex 'k' is used before limits check. > >    if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY) { >

linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418: array index used before limits check ?

2015-06-08 Thread David Binderman
Hello there, [linux-4.1-rc7/drivers/irqchip/irq-renesas-intc-irqpin.c:418]: (style) Array ind ex 'k' is used before limits check.    if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY) { Suggest sanity check array index before use. Reg

Linux 4.1-rc7

2015-06-07 Thread Linus Torvalds
ura Abbott (1): n_tty: Fix auditing support for cannonical mode Li RongQing (1): xfrm: fix a race in xfrm_state_lookup_byspi Liad Kaufman (1): iwlwifi: nvm: fix otp parsing in 8000 hw family Linus Torvalds (1): Linux 4.1-rc7 Maciej W. Rozycki (1): MIPS: Avoid an FPE except