Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:51:26PM +0200, Wolfram Sang wrote: > > AFAICT coccinelle does not have integration support for id-utils though. > > I used it just today ;) -- "--use-idutils ./ID" > > ID was generated with simple 'mkid -s'. > Sweet, testing that now. Luis

[PATCH 32/48] ARM: dts: at91: sama5d3 Xplained: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 12 1 file changed,

[PATCH 34/48] ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allow sto reuse regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 8 ++-- 1

[PATCH 34/48] ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allow sto reuse regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:51:26PM +0200, Wolfram Sang wrote: > > AFAICT coccinelle does not have integration support for id-utils though. > > I used it just today ;) -- "--use-idutils ./ID" > > ID was generated with simple 'mkid -s'. > Sweet, testing that now. Luis

[PATCH 32/48] ARM: dts: at91: sama5d3 Xplained: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts

[PATCH 39/48] ARM: dts: at91: vinco: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Cc: Gregory CLEMENT Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-vinco.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 39/48] ARM: dts: at91: vinco: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Cc: Gregory CLEMENT Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-vinco.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-vinco.dts b/arch/arm/boot/dts/at91-vinco.dts index

[PATCH 35/48] ARM: dts: at91: sama5d4: Add TCB2

2016-06-10 Thread Alexandre Belloni
The third TC block is missing from the dtsi. It has no output pins but can still be used as a clocksource/clockevents device as the IRQ is wired. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 10 ++ 1 file changed, 10

[PATCH 41/48] ARM: dts: at91: sama5d2 Xplained: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 12 1 file changed,

[PATCH 35/48] ARM: dts: at91: sama5d4: Add TCB2

2016-06-10 Thread Alexandre Belloni
The third TC block is missing from the dtsi. It has no output pins but can still be used as a clocksource/clockevents device as the IRQ is wired. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d4.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 41/48] ARM: dts: at91: sama5d2 Xplained: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in sama5_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts

[PATCH 42/48] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2016-06-10 Thread Alexandre Belloni
Add a driver for the Atmel Timer Counter Blocks. This driver provides a clocksource and a clockevent device. The clockevent device is linked to the clocksource counter and so it will run at the same frequency. This driver uses regmap and syscon to be able to probe early in the boot and avoid

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, May 20, 2016 02:59:30 PM Kees Cook wrote: > On Fri, May 20, 2016 at 2:46 PM, Rafael J. Wysocki wrote: > > On Fri, May 20, 2016 at 3:56 PM, Stephen Smalley wrote: > >> On 05/20/2016 07:34 AM, Rafael J. Wysocki wrote: > >>> On Fri, May 20, 2016 at

[PATCH 36/48] ARM: dts: at91: sama5d4ek: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts

[PATCH 47/48] PWM: atmel-tcb: switch to new binding

2016-06-10 Thread Alexandre Belloni
The PWM is now a subnode of the used TCB. This is cleaner and it mainly allows to stop wasting TCB channels when only 4 PWMs are used. Cc: Thierry Reding Cc: linux-...@vger.kernel.org Signed-off-by: Alexandre Belloni ---

[PATCH 21/48] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 4 +++- 1 file

[PATCH 42/48] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2016-06-10 Thread Alexandre Belloni
Add a driver for the Atmel Timer Counter Blocks. This driver provides a clocksource and a clockevent device. The clockevent device is linked to the clocksource counter and so it will run at the same frequency. This driver uses regmap and syscon to be able to probe early in the boot and avoid

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, May 20, 2016 02:59:30 PM Kees Cook wrote: > On Fri, May 20, 2016 at 2:46 PM, Rafael J. Wysocki wrote: > > On Fri, May 20, 2016 at 3:56 PM, Stephen Smalley wrote: > >> On 05/20/2016 07:34 AM, Rafael J. Wysocki wrote: > >>> On Fri, May 20, 2016 at 9:15 AM, Ingo Molnar wrote: > >

[PATCH 36/48] ARM: dts: at91: sama5d4ek: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index

[PATCH 47/48] PWM: atmel-tcb: switch to new binding

2016-06-10 Thread Alexandre Belloni
The PWM is now a subnode of the used TCB. This is cleaner and it mainly allows to stop wasting TCB channels when only 4 PWMs are used. Cc: Thierry Reding Cc: linux-...@vger.kernel.org Signed-off-by: Alexandre Belloni --- drivers/pwm/Kconfig | 3 +- drivers/pwm/pwm-atmel-tcb.c | 219

[PATCH 21/48] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 45/48] ARM: at91/defconfig: sama5: unselect ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
The PIT is not required anymore to successfully boot and may actually harm in case preempt-rt is used because the PIT interrupt is shared. Disable it so the TCB clocksource is used. Signed-off-by: Alexandre Belloni --- arch/arm/configs/sama5_defconfig | 1 +

[PATCH 37/48] ARM: dts: at91: sama5d4 Xplained: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12 1 file changed, 12

[PATCH 15/48] ARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9263.dtsi | 4 +++- 1 file

[PATCH 40/48] ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d2.dtsi | 8 ++-- 1 file

[PATCH 48/48] ARM: dts: at91: kizbox: switch to new pwm-atmel-tcb binding

2016-06-10 Thread Alexandre Belloni
Switch to the new pwm-atmel-tcb binding that avoid wasting TCB channels. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox.dts | 42 +-- 1 file changed, 27

[PATCH 38/48] ARM: dts: at91: ma5d4: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Cc: Marek Vasut Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 45/48] ARM: at91/defconfig: sama5: unselect ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
The PIT is not required anymore to successfully boot and may actually harm in case preempt-rt is used because the PIT interrupt is shared. Disable it so the TCB clocksource is used. Signed-off-by: Alexandre Belloni --- arch/arm/configs/sama5_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 37/48] ARM: dts: at91: sama5d4 Xplained: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts

[PATCH 15/48] ARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9263.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 40/48] ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices

2016-06-10 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d2.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 48/48] ARM: dts: at91: kizbox: switch to new pwm-atmel-tcb binding

2016-06-10 Thread Alexandre Belloni
Switch to the new pwm-atmel-tcb binding that avoid wasting TCB channels. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox.dts | 42 +-- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git

[PATCH 38/48] ARM: dts: at91: ma5d4: use TCB2 as clocksource

2016-06-10 Thread Alexandre Belloni
As TCB2 doesn't have any output pins, use it as a clocksource. Cc: Marek Vasut Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi

[PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
With the new TCB clocksource driver, atmel platforms are now able to boot without the PIT driver. Allow unselecting it. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni ---

[PATCH 43/48] clocksource/drivers: Add a clockevent driver for Atmel TC blocks

2016-06-10 Thread Alexandre Belloni
Add an independent clockevent driver for the Atmel Timer Counter Blocks. This driver provides a single clockevent device. using its own TCB channel. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni

[PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
With the new TCB clocksource driver, atmel platforms are now able to boot without the PIT driver. Allow unselecting it. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

[PATCH 43/48] clocksource/drivers: Add a clockevent driver for Atmel TC blocks

2016-06-10 Thread Alexandre Belloni
Add an independent clockevent driver for the Atmel Timer Counter Blocks. This driver provides a single clockevent device. using its own TCB channel. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 10 ++

[PATCH 46/48] ARM: at91/defconfig: at91_dt unselect ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
The PIT is not required anymore to successfully boot and may actually harm in case preempt-rt is used because the PIT interrupt is shared. Disable it so the TCB clocksource is used. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91_dt_defconfig | 1

[PATCH 46/48] ARM: at91/defconfig: at91_dt unselect ATMEL_PIT

2016-06-10 Thread Alexandre Belloni
The PIT is not required anymore to successfully boot and may actually harm in case preempt-rt is used because the PIT interrupt is shared. Disable it so the TCB clocksource is used. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH 12/48] ARM: dts: at91: ge863-pro3: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Fabio Porcedda Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ge863-pro3.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 12/48] ARM: dts: at91: ge863-pro3: use TCB0 as clocksource

2016-06-10 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Fabio Porcedda Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ge863-pro3.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/ge863-pro3.dtsi

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Rob Clark
On Fri, Jun 10, 2016 at 3:52 PM, Doug Anderson wrote: > Rob, > > On Fri, Jun 10, 2016 at 11:43 AM, Rob Clark wrote: >> On Fri, Jun 10, 2016 at 1:02 PM, Douglas Anderson >> wrote: >>> The Starry KR122EA0SRA is a 12.2", 1920x1200

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Rob Clark
On Fri, Jun 10, 2016 at 3:52 PM, Doug Anderson wrote: > Rob, > > On Fri, Jun 10, 2016 at 11:43 AM, Rob Clark wrote: >> On Fri, Jun 10, 2016 at 1:02 PM, Douglas Anderson >> wrote: >>> The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected >>> using eDP interfaces. >> >> so

Re: [PATCH] Revert "ARM: cns3xxx: pci: avoid potential stack overflow"

2016-06-10 Thread Arnd Bergmann
On Friday, June 10, 2016 12:10:14 PM CEST Krzysztof Hałasa wrote: > Arnd Bergmann writes: > > > Before that, we were always setting both mrrs and mps. As we don't know > > who uses PCIE_BUS_PEER2PEER, maybe another option would be to add yet > > another pcie_bus_config value for

Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

2016-06-10 Thread Andrew Morton
On Fri, 10 Jun 2016 11:55:54 +0200 mhocko wrote: > On 2016-06-10 11:50, Sergey Senozhatsky wrote: > > Hello, > > > > forked from http://marc.info/?l=linux-mm=146553910928716=2 > > > > new_slab()->BUG->die()->exit_signals() can be called from atomic > > context: local IRQs

Re: [PATCH] Revert "ARM: cns3xxx: pci: avoid potential stack overflow"

2016-06-10 Thread Arnd Bergmann
On Friday, June 10, 2016 12:10:14 PM CEST Krzysztof Hałasa wrote: > Arnd Bergmann writes: > > > Before that, we were always setting both mrrs and mps. As we don't know > > who uses PCIE_BUS_PEER2PEER, maybe another option would be to add yet > > another pcie_bus_config value for this particular

Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

2016-06-10 Thread Andrew Morton
On Fri, 10 Jun 2016 11:55:54 +0200 mhocko wrote: > On 2016-06-10 11:50, Sergey Senozhatsky wrote: > > Hello, > > > > forked from http://marc.info/?l=linux-mm=146553910928716=2 > > > > new_slab()->BUG->die()->exit_signals() can be called from atomic > > context: local IRQs disabled in

Re: [PATCH v3 1/2] clocksource/arm_arch_timer: Force per-CPU interrupt to be level-triggered

2016-06-10 Thread Duc Dang
On Fri, Jun 10, 2016 at 12:29 AM, Marc Zyngier wrote: > On Thu, 09 Jun 2016 14:10:48 -0700 > David Daney wrote: > >> On 06/06/2016 10:56 AM, Marc Zyngier wrote: >> > The ARM architected timer produces level-triggered interrupts (this >> > is mandated

Re: [PATCH v3 1/2] clocksource/arm_arch_timer: Force per-CPU interrupt to be level-triggered

2016-06-10 Thread Duc Dang
On Fri, Jun 10, 2016 at 12:29 AM, Marc Zyngier wrote: > On Thu, 09 Jun 2016 14:10:48 -0700 > David Daney wrote: > >> On 06/06/2016 10:56 AM, Marc Zyngier wrote: >> > The ARM architected timer produces level-triggered interrupts (this >> > is mandated by the architecture). Unfortunately, most

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> AFAICT coccinelle does not have integration support for id-utils though. I used it just today ;) -- "--use-idutils ./ID" ID was generated with simple 'mkid -s'. signature.asc Description: PGP signature

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> AFAICT coccinelle does not have integration support for id-utils though. I used it just today ;) -- "--use-idutils ./ID" ID was generated with simple 'mkid -s'. signature.asc Description: PGP signature

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:43:57PM +0200, Wolfram Sang wrote: > > > Well, slightly better. > > > > No, it should be much better. You would have to look at the standard > > I use id-utils regularly and it is indeed at least a magnitude better. > The indexing often pays off already with the

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:43:57PM +0200, Wolfram Sang wrote: > > > Well, slightly better. > > > > No, it should be much better. You would have to look at the standard > > I use id-utils regularly and it is indeed at least a magnitude better. > The indexing often pays off already with the

Re: [PATCH v3 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-06-10 Thread Duc Dang
On Mon, Jun 6, 2016 at 10:56 AM, Marc Zyngier wrote: > The ARM architected timer specification mandates that the interrupt > associated with each timer is level triggered (which corresponds to > the "counter >= comparator" condition). > > A number of DTs are being remarkably

Re: [PATCH v3 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-06-10 Thread Duc Dang
On Mon, Jun 6, 2016 at 10:56 AM, Marc Zyngier wrote: > The ARM architected timer specification mandates that the interrupt > associated with each timer is level triggered (which corresponds to > the "counter >= comparator" condition). > > A number of DTs are being remarkably creative, declaring

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> > Well, slightly better. > > No, it should be much better. You would have to look at the standard I use id-utils regularly and it is indeed at least a magnitude better. The indexing often pays off already with the first coccinelle run for me. Highly recommended. signature.asc Description:

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> > Well, slightly better. > > No, it should be much better. You would have to look at the standard I use id-utils regularly and it is indeed at least a magnitude better. The indexing often pays off already with the first coccinelle run for me. Highly recommended. signature.asc Description:

[PATCH 1/1] apparmor: do not expose kernel stack

2016-06-10 Thread Heinrich Schuchardt
Do not copy uninitalized fields th.td_hilen, th.td_data. Signed-off-by: Heinrich Schuchardt --- security/apparmor/match.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/apparmor/match.c b/security/apparmor/match.c index 727eb42..1d6dbd8

[PATCH 1/1] apparmor: do not expose kernel stack

2016-06-10 Thread Heinrich Schuchardt
Do not copy uninitalized fields th.td_hilen, th.td_data. Signed-off-by: Heinrich Schuchardt --- security/apparmor/match.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/apparmor/match.c b/security/apparmor/match.c index 727eb42..1d6dbd8 100644 ---

Re: [PATCH 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-10 Thread Rob Herring
On Fri, Jun 10, 2016 at 2:11 PM, Geert Uytterhoeven wrote: > Hi Rob, > > On Fri, Jun 10, 2016 at 7:39 PM, Rob Herring wrote: >> On Thu, Jun 09, 2016 at 02:41:33PM +0100, Kieran Bingham wrote: >>> The power domain must be specified to bring the device out of

Re: [PATCH 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-10 Thread Rob Herring
On Fri, Jun 10, 2016 at 2:11 PM, Geert Uytterhoeven wrote: > Hi Rob, > > On Fri, Jun 10, 2016 at 7:39 PM, Rob Herring wrote: >> On Thu, Jun 09, 2016 at 02:41:33PM +0100, Kieran Bingham wrote: >>> The power domain must be specified to bring the device out of module >>> standby. Document this in

Re: [GIT PULL] Ceph updates for 4.7-rc1

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 1:42 PM, Arnd Bergmann wrote: > > What I see is that this one exported symbol has a __crc of a different > type from all the others: > > $ nm net/ceph/mon_client.o | grep __crc > 48c2e16e A __crc_ceph_monc_get_version > 2360d633 A

Re: [PATCH RFC] slub: reap free slabs periodically

2016-06-10 Thread Christoph Lameter
One reason for SLUBs creation was the 2 second scans in SLAB which causes significant disruption of latency sensitive tasksk. You can simply implement a reaper in userspace by running slabinfo -s if you have to have this. There is no need to duplicate SLAB problems.

Re: [GIT PULL] Ceph updates for 4.7-rc1

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 1:42 PM, Arnd Bergmann wrote: > > What I see is that this one exported symbol has a __crc of a different > type from all the others: > > $ nm net/ceph/mon_client.o | grep __crc > 48c2e16e A __crc_ceph_monc_get_version > 2360d633 A __crc_ceph_monc_get_version_async >

Re: [PATCH RFC] slub: reap free slabs periodically

2016-06-10 Thread Christoph Lameter
One reason for SLUBs creation was the 2 second scans in SLAB which causes significant disruption of latency sensitive tasksk. You can simply implement a reaper in userspace by running slabinfo -s if you have to have this. There is no need to duplicate SLAB problems.

[PATCH net-next] rxrpc: Trim line-terminal whitespace

2016-06-10 Thread David Howells
Trim line-terminal whitespace in net/rxrpc/ Signed-off-by: David Howells --- net/rxrpc/ar-input.c |2 +- net/rxrpc/ar-local.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index

[PATCH net-next] rxrpc: Limit the listening backlog

2016-06-10 Thread David Howells
Limit the socket incoming call backlog queue size so that a remote client can't pump in sufficient new calls that the server runs out of memory. Note that this is partially theoretical at the moment since whilst the number of calls is limited, the number of packets trying to set up new calls is

[PATCH net-next] rxrpc: Trim line-terminal whitespace

2016-06-10 Thread David Howells
Trim line-terminal whitespace in net/rxrpc/ Signed-off-by: David Howells --- net/rxrpc/ar-input.c |2 +- net/rxrpc/ar-local.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index d7c2a0bc839e..e0815a033999 100644 ---

[PATCH net-next] rxrpc: Limit the listening backlog

2016-06-10 Thread David Howells
Limit the socket incoming call backlog queue size so that a remote client can't pump in sufficient new calls that the server runs out of memory. Note that this is partially theoretical at the moment since whilst the number of calls is limited, the number of packets trying to set up new calls is

Re: [PATCH v2 4/4] dynamic_debug: add jump label support

2016-06-10 Thread Jason Baron
On 06/10/2016 05:54 AM, Arnd Bergmann wrote: > On Friday, May 20, 2016 5:16:36 PM CEST Jason Baron wrote: >> Although dynamic debug is often only used for debug builds, sometimes its >> enabled for production builds as well. Minimize its impact by using jump >> labels. This reduces the text

Re: [PATCH v2 4/4] dynamic_debug: add jump label support

2016-06-10 Thread Jason Baron
On 06/10/2016 05:54 AM, Arnd Bergmann wrote: > On Friday, May 20, 2016 5:16:36 PM CEST Jason Baron wrote: >> Although dynamic debug is often only used for debug builds, sometimes its >> enabled for production builds as well. Minimize its impact by using jump >> labels. This reduces the text

[PATCH v3 1/3] LSM: Add /sys/kernel/security/lsm

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 1/3] LSM: Add /sys/kernel/security/lsm I got tired of having to find indirect ways to determine what security modules are active on a system. I have added /sys/kernel/security/lsm, which contains a comma separated list of the active security modules. No more groping around in

[PATCH v3 3/3] LSM: Add context interface for proc attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 3/3] LSM: Add context interface for proc attrs The /proc/.../attr/current interface is used by all three Linux security modules (SELinux, Smack and AppArmor) to report and modify the process security attribute. This is all fine when there is exactly one of these modules active

[PATCH v3 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 2/3] LSM: module hierarchy in /proc/.../attr Back in 2007 I made what turned out to be a rather serious mistake in the implementation of the Smack security module. The SELinux module used an interface in /proc to manipulate the security context on processes. Rather than use a

[PATCH v3 1/3] LSM: Add /sys/kernel/security/lsm

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 1/3] LSM: Add /sys/kernel/security/lsm I got tired of having to find indirect ways to determine what security modules are active on a system. I have added /sys/kernel/security/lsm, which contains a comma separated list of the active security modules. No more groping around in

[PATCH v3 3/3] LSM: Add context interface for proc attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 3/3] LSM: Add context interface for proc attrs The /proc/.../attr/current interface is used by all three Linux security modules (SELinux, Smack and AppArmor) to report and modify the process security attribute. This is all fine when there is exactly one of these modules active

[PATCH v3 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 2/3] LSM: module hierarchy in /proc/.../attr Back in 2007 I made what turned out to be a rather serious mistake in the implementation of the Smack security module. The SELinux module used an interface in /proc to manipulate the security context on processes. Rather than use a

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:09:22 AM Kees Cook wrote: > On Thu, Jun 9, 2016 at 9:14 PM, Logan Gunthorpe wrote: > > Hey, > > > > I've still be trying to figure this out as I have time. > > > > I tried printing a couple restore addresses and nothing I can find seems > >

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:09:22 AM Kees Cook wrote: > On Thu, Jun 9, 2016 at 9:14 PM, Logan Gunthorpe wrote: > > Hey, > > > > I've still be trying to figure this out as I have time. > > > > I tried printing a couple restore addresses and nothing I can find seems > > anywhere near the

[PATCH v3 0/3] LSM: module hierarchy in /proc/.../attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 0/3] LSM: module hierarchy in /proc/.../attr Create interfaces that make it possible to deal with process attributes in the face of multiple "major" security modules. Patch 1/3 adds /sys/kernel/security/lsm, which provides a list of the active security modules on the system.

[PATCH v3 0/3] LSM: module hierarchy in /proc/.../attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 0/3] LSM: module hierarchy in /proc/.../attr Create interfaces that make it possible to deal with process attributes in the face of multiple "major" security modules. Patch 1/3 adds /sys/kernel/security/lsm, which provides a list of the active security modules on the system.

Re: [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime functions when not needed.

2016-06-10 Thread Ivaylo Dimitrov
On 10.06.2016 13:22, Tony Lindgren wrote: OK. And I just applied the related dts changes. Please repost the driver changes and DT binding doc with Rob's ack to the driver maintainers to apply. Already did, see https://lkml.org/lkml/2016/5/16/429 Shall I do anything else? Thanks, Ivo

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 11:02:38PM +0200, Julia Lawall wrote: > > > > > > On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > > > > > Enable indexing optimizations heuristics. Coccinelle has > > > support to make use of its own enhanced "grep"

Re: [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime functions when not needed.

2016-06-10 Thread Ivaylo Dimitrov
On 10.06.2016 13:22, Tony Lindgren wrote: OK. And I just applied the related dts changes. Please repost the driver changes and DT binding doc with Rob's ack to the driver maintainers to apply. Already did, see https://lkml.org/lkml/2016/5/16/429 Shall I do anything else? Thanks, Ivo

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 11:02:38PM +0200, Julia Lawall wrote: > > > > > > On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > > > > > Enable indexing optimizations heuristics. Coccinelle has > > > support to make use of its own enhanced "grep"

Re: acpi: broken suspend to RAM with v4.7-rc1

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:32:10 PM Andrey Skvortsov wrote: > > --IS0zKkzwUGydFO0o > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Hi, > > On my laptop (DELL Vostro 1500) in v4.7-rc1 is broken suspend to RAM. > Laptop

Re: acpi: broken suspend to RAM with v4.7-rc1

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:32:10 PM Andrey Skvortsov wrote: > > --IS0zKkzwUGydFO0o > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Hi, > > On my laptop (DELL Vostro 1500) in v4.7-rc1 is broken suspend to RAM. > Laptop

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:02:38PM +0200, Julia Lawall wrote: > > > On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > > > Enable indexing optimizations heuristics. Coccinelle has > > support to make use of its own enhanced "grep" mechanisms > > instead of using regular grep for searching code

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:02:38PM +0200, Julia Lawall wrote: > > > On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > > > Enable indexing optimizations heuristics. Coccinelle has > > support to make use of its own enhanced "grep" mechanisms > > instead of using regular grep for searching code

Re: [PATCH] phy: marvell: remove LED config override

2016-06-10 Thread Andrew Lunn
> We could move that 0x30 LED configuration to .config_init instead of > .config_aneg, so that if nobody configures it with marvell,reg-init, the > behavior does not change. I'd have to create a new .config_init function > for the 1121, 1318 and 1510. > > Would you prefer that? Hi Clemens Yes,

Re: [PATCH] phy: marvell: remove LED config override

2016-06-10 Thread Andrew Lunn
> We could move that 0x30 LED configuration to .config_init instead of > .config_aneg, so that if nobody configures it with marvell,reg-init, the > behavior does not change. I'd have to create a new .config_init function > for the 1121, 1318 and 1510. > > Would you prefer that? Hi Clemens Yes,

Re: [PATCH 0/2 v2] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-06-10 Thread Laurent Pinchart
Hi Morimoto-san, On Wednesday 25 May 2016 00:38:48 Kuninori Morimoto wrote: > Hi David, Laurent > > These removes unneeded error message from Renesas DU driver. > Current this unneeded error message makes user confuse. Thank you for the patches. For both of them, Reviewed-by: Laurent Pinchart

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 10:44:19PM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 10, 2016 at 10:23:47PM +0200, Luis R. Rodriguez wrote: > > On Fri, Jun 10, 2016 at 10:16:00PM +0200, Krzysztof Kozlowski wrote: > > > The dma-attrs in current form were added around 2008 in 74bc7ceebfa1 > > > ("dma:

Re: [PATCH 0/2 v2] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-06-10 Thread Laurent Pinchart
Hi Morimoto-san, On Wednesday 25 May 2016 00:38:48 Kuninori Morimoto wrote: > Hi David, Laurent > > These removes unneeded error message from Renesas DU driver. > Current this unneeded error message makes user confuse. Thank you for the patches. For both of them, Reviewed-by: Laurent Pinchart

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 10:44:19PM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 10, 2016 at 10:23:47PM +0200, Luis R. Rodriguez wrote: > > On Fri, Jun 10, 2016 at 10:16:00PM +0200, Krzysztof Kozlowski wrote: > > > The dma-attrs in current form were added around 2008 in 74bc7ceebfa1 > > > ("dma:

[PATCH 1/1] selinuxfs: fix type mismatch

2016-06-10 Thread Heinrich Schuchardt
avc_cache_threshold is of type unsigned int. Do not use a signed new_value in sscanf(page, "%u", _value). Signed-off-by: Heinrich Schuchardt --- security/selinux/selinuxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/selinuxfs.c

[PATCH 1/1] selinuxfs: fix type mismatch

2016-06-10 Thread Heinrich Schuchardt
avc_cache_threshold is of type unsigned int. Do not use a signed new_value in sscanf(page, "%u", _value). Signed-off-by: Heinrich Schuchardt --- security/selinux/selinuxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/selinuxfs.c

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > Enable indexing optimizations heuristics. Coccinelle has > support to make use of its own enhanced "grep" mechanisms > instead of using regular grep for searching code 'coccigrep', > in practice though this seems to not perform better than >

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > Enable indexing optimizations heuristics. Coccinelle has > support to make use of its own enhanced "grep" mechanisms > instead of using regular grep for searching code 'coccigrep', > in practice though this seems to not perform better than >

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