[RFC PATCH] smack: fix access permissions for keyring

2018-10-17 Thread Zoran Markovic
for valid contents. Signed-off-by: Zoran Markovic Cc: Casey Schaufler Cc: James Morris Cc: "Serge E. Hallyn" --- security/smack/smack_lsm.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c ind

[RFC PATCH] smack: fix access permissions for keyring

2018-10-17 Thread Zoran Markovic
for valid contents. Signed-off-by: Zoran Markovic Cc: Casey Schaufler Cc: James Morris Cc: "Serge E. Hallyn" --- security/smack/smack_lsm.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c ind

[RFC PATCHv2 2/4] clk: mdm9615: Add EBI2 clock

2016-12-22 Thread Zoran Markovic
t; Cc: Mark Rutland <mark.rutl...@arm.com> Cc: Neil Armstrong <narmstr...@baylibre.com> Cc: linux-arm-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- dri

[RFC PATCHv2 2/4] clk: mdm9615: Add EBI2 clock

2016-12-22 Thread Zoran Markovic
...@vger.kernel.org Signed-off-by: Zoran Markovic --- drivers/clk/qcom/gcc-mdm9615.c | 30 ++ include/dt-bindings/clock/qcom,gcc-mdm9615.h |3 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk/qcom/gcc-mdm9615.c b/drivers/clk/qcom/gcc

[RFC PATCH 0/4] Enable NAND on Sierra Wireless WP8548 board

2016-12-22 Thread Zoran Markovic
. This patch set depends on Andy Gross's driver for ADM DMA engine: https://lwn.net/Articles/636881/ Zoran Markovic (4): dt-bindings: mdm9615: Add ADM DMA engine clk: mdm9615: Add EBI2 clock dt-bindings: mdm9615: Add NAND controller dt-bindings: wp8548: Add on-board NAND flash arch/arm/boot

[RFC PATCH 0/4] Enable NAND on Sierra Wireless WP8548 board

2016-12-22 Thread Zoran Markovic
. This patch set depends on Andy Gross's driver for ADM DMA engine: https://lwn.net/Articles/636881/ Zoran Markovic (4): dt-bindings: mdm9615: Add ADM DMA engine clk: mdm9615: Add EBI2 clock dt-bindings: mdm9615: Add NAND controller dt-bindings: wp8548: Add on-board NAND flash arch/arm/boot

[RFC PATCH 3/4] dt-bindings: mdm9615: Add NAND controller

2016-12-22 Thread Zoran Markovic
Add dt description of NAND controller on MDM9615. Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-m

[RFC PATCH 3/4] dt-bindings: mdm9615: Add NAND controller

2016-12-22 Thread Zoran Markovic
Add dt description of NAND controller on MDM9615. Signed-off-by: Zoran Markovic --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index fbc7d68..6d42ff3

[RFC PATCH 1/4] dt-bindings: mdm9615: Add ADM DMA engine

2016-12-22 Thread Zoran Markovic
Add configuration for ADM DMA engine on MDM9615, used by the EBI2 NAND controller. This commit requires the ADM DMA patches from Andy Gross: https://lwn.net/Articles/636881/ Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- arch/arm/boot/dts/qcom-mdm9615.dtsi

[RFC PATCH 1/4] dt-bindings: mdm9615: Add ADM DMA engine

2016-12-22 Thread Zoran Markovic
Add configuration for ADM DMA engine on MDM9615, used by the EBI2 NAND controller. This commit requires the ADM DMA patches from Andy Gross: https://lwn.net/Articles/636881/ Signed-off-by: Zoran Markovic --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 19 ++- 1 file changed, 18

[RFC PATCH 3/4] dt-bindings: mdm9615: Add NAND controller

2016-12-22 Thread Zoran Markovic
-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/ar

[RFC PATCH 3/4] dt-bindings: mdm9615: Add NAND controller

2016-12-22 Thread Zoran Markovic
Add dt description of NAND controller on MDM9615. Cc: Andy Gross Cc: David Brown Cc: Rob Herring Cc: Mark Rutland Cc: Russell King Cc: linux-arm-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Zoran

[RFC PATCH 2/4] clk: mdm9615: Add EBI2 clock

2016-12-22 Thread Zoran Markovic
t; Cc: Mark Rutland <mark.rutl...@arm.com> Cc: Neil Armstrong <narmstr...@baylibre.com> Cc: linux-arm-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- dri

[RFC PATCH 2/4] clk: mdm9615: Add EBI2 clock

2016-12-22 Thread Zoran Markovic
...@vger.kernel.org Signed-off-by: Zoran Markovic --- drivers/clk/qcom/gcc-mdm9615.c | 30 ++ include/dt-bindings/clock/qcom,gcc-mdm9615.h |3 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk/qcom/gcc-mdm9615.c b/drivers/clk/qcom/gcc

[RFC PATCH 4/4] dt-bindings: wp8548: Add on-board NAND flash

2016-12-22 Thread Zoran Markovic
Add description of NAND flash on Sierra Wireless WP8548 module (and MangOH board). Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm/bo

[RFC PATCH 4/4] dt-bindings: wp8548: Add on-board NAND flash

2016-12-22 Thread Zoran Markovic
Add description of NAND flash on Sierra Wireless WP8548 module (and MangOH board). Signed-off-by: Zoran Markovic --- arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi b/arch

[RFC PATCH 0/4] Enable NAND on Sierra Wireless WP8548 board

2016-12-22 Thread Zoran Markovic
. This patch set depends on Andy Gross's driver for ADM DMA engine: https://lwn.net/Articles/636881/ Zoran Markovic (4): dt-bindings: mdm9615: Add ADM DMA engine clk: mdm9615: Add EBI2 clock dt-bindings: mdm9615: Add NAND controller dt-bindings: wp8548: Add on-board NAND flash arch/arm/boot

[RFC PATCH 0/4] Enable NAND on Sierra Wireless WP8548 board

2016-12-22 Thread Zoran Markovic
. This patch set depends on Andy Gross's driver for ADM DMA engine: https://lwn.net/Articles/636881/ Zoran Markovic (4): dt-bindings: mdm9615: Add ADM DMA engine clk: mdm9615: Add EBI2 clock dt-bindings: mdm9615: Add NAND controller dt-bindings: wp8548: Add on-board NAND flash arch/arm/boot

[RFC PATCH 2/4] clk: mdm9615: Add EBI2 clock

2016-12-22 Thread Zoran Markovic
Add definition of EBI2 clock used by MDM9615 NAND controller. Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- drivers/clk/qcom/gcc-mdm9615.c | 30 ++ include/dt-bindings/clock/qcom,gcc-mdm9615.h |3 +++ 2 files changed, 33 inse

[RFC PATCH 2/4] clk: mdm9615: Add EBI2 clock

2016-12-22 Thread Zoran Markovic
Add definition of EBI2 clock used by MDM9615 NAND controller. Signed-off-by: Zoran Markovic --- drivers/clk/qcom/gcc-mdm9615.c | 30 ++ include/dt-bindings/clock/qcom,gcc-mdm9615.h |3 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk

[RFC PATCH 1/4] dt-bindings: mdm9615: Add ADM DMA engine

2016-12-22 Thread Zoran Markovic
@kernel.org> Cc: Mark Rutland <mark.rutl...@arm.com> Cc: Russell King <li...@armlinux.org.uk> Cc: linux-arm-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Zoran Markovic <zmarko...@sierrawir

[RFC PATCH 1/4] dt-bindings: mdm9615: Add ADM DMA engine

2016-12-22 Thread Zoran Markovic
Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Zoran Markovic --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi

[RFC PATCH 4/4] dt-bindings: wp8548: Add on-board NAND flash

2016-12-22 Thread Zoran Markovic
linux.org.uk> Cc: linux-arm-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Zoran Markovic <zmarko...@sierrawireless.com> --- arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi | 50 +++

[RFC PATCH 4/4] dt-bindings: wp8548: Add on-board NAND flash

2016-12-22 Thread Zoran Markovic
...@lists.infradead.org Signed-off-by: Zoran Markovic --- arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi b/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi index 7869898..a4d1158 100644 --- a/arch

[RFC PATCH 2/2] sched: Add documentation for idlestat scheduler benchmarking tool

2014-03-24 Thread Zoran Markovic
model described in the documentation. Cc: Rob Landley Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Daniel Lezcano Signed-off-by: Zoran Markovic --- Documentation/scheduler/idlestat.txt | 79 ++ 1 file changed, 79 insertions(+) create mode

[RFC PATCH 0/2] sched: proposal for idlestat scheduler benchmarking tool

2014-03-24 Thread Zoran Markovic
Zoran Markovic (2): power: Add idlestat tool for benchmarking energy-aware scheduler sched: Add documentation for idlestat scheduler benchmarking tool Documentation/scheduler/idlestat.txt | 79 +++ tools/power/idlestat/.gitignore | 50 ++ tools/power/idlestat/Makefile| 34

[RFC PATCH 2/2] sched: Add documentation for idlestat scheduler benchmarking tool

2014-03-24 Thread Zoran Markovic
model described in the documentation. Cc: Rob Landley r...@landley.net Cc: Ingo Molnar mi...@redhat.com Cc: Peter Zijlstra pet...@infradead.org Cc: Steven Rostedt rost...@goodmis.org Cc: Daniel Lezcano daniel.lezc...@linaro.org Signed-off-by: Zoran Markovic zoran.marko...@linaro.org

[RFC PATCH 0/2] sched: proposal for idlestat scheduler benchmarking tool

2014-03-24 Thread Zoran Markovic
Zoran Markovic (2): power: Add idlestat tool for benchmarking energy-aware scheduler sched: Add documentation for idlestat scheduler benchmarking tool Documentation/scheduler/idlestat.txt | 79 +++ tools/power/idlestat/.gitignore | 50 ++ tools/power/idlestat/Makefile| 34

Re: [RFC PATCHv2] usb: move hub init and LED blink work to power efficient workqueue

2014-02-07 Thread Zoran Markovic
I believe there may still be use cases where you want to wake up the same CPU that scheduled the work. Thanks for the Ack. Can you please queue this for 3.14? Regards, Zoran On 2 February 2014 08:10, Alan Stern wrote: > On Sat, 1 Feb 2014, Zoran Markovic wrote: > >> From: S

Re: [RFC PATCHv2] usb: move hub init and LED blink work to power efficient workqueue

2014-02-07 Thread Zoran Markovic
I believe there may still be use cases where you want to wake up the same CPU that scheduled the work. Thanks for the Ack. Can you please queue this for 3.14? Regards, Zoran On 2 February 2014 08:10, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 1 Feb 2014, Zoran Markovic wrote: From

[RFC PATCHv2] usb: move hub init and LED blink work to power efficient workqueue

2014-02-01 Thread Zoran Markovic
to power efficient workqueue for LEDs in check_highspeed() and hub_port_connect_change().] Signed-off-by: Zoran Markovic --- drivers/usb/core/hub.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index babba88

[RFC PATCHv2] usb: move hub init and LED blink work to power efficient workqueue

2014-02-01 Thread Zoran Markovic
efficient workqueue for LEDs in check_highspeed() and hub_port_connect_change().] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/usb/core/hub.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2014-01-31 Thread Zoran Markovic
Hi Eduardo, The merge window for 3.14 is now open and I'm wondering if you had a chance to look at these numbers? Thanks, Zoran On 30 December 2013 12:48, Zoran Markovic wrote: > Eduardo, > >>> What is the workload you're running besides the proprietary heater code? > I re-di

[RFC PATCH] firmware: use power efficient workqueue for unloading and aborting fw load

2014-01-31 Thread Zoran Markovic
: Ming Lei Cc: Greg Kroah-Hartman Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel, added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic --- drivers/base/firmware_class.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff

[RFC PATCH] mmc: move clock gating work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
Cc: Guennadi Liakhovetski Cc: Ulf Hansson Cc: H Hartley Sweeten Cc: Andrew Morton Cc: Simon Baatz Cc: Laurent Pinchart Cc: Tejun Heo Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel. Added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic

[RFC PATCH] usb: move hub init and LED blink work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
to power efficient workqueue for LEDs in check_highspeed() and hub_port_connect_change().] Signed-off-by: Zoran Markovic --- drivers/usb/core/hub.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index

[RFC PATCH] power: move pm_qos update timeout handler to power-efficient workqueue

2014-01-31 Thread Zoran Markovic
ael J. Wysocki" Cc: Len Brown Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel. Fixed code alignment. Added commit message.] Signed-off-by: Zoran Markovic --- kernel/power/qos.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/pow

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
Signed-off-by: Zoran Markovic On 31 January 2014 11:53, Zoran Markovic wrote: > From: Shaibal Dutta > > For better use of CPU idle time, allow the scheduler to select the CPU > on which the SRCU grace period work would be scheduled. This improves > idle residency time and

[RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
From: Shaibal Dutta For better use of CPU idle time, allow the scheduler to select the CPU on which the SRCU grace period work would be scheduled. This improves idle residency time and conserves power. This functionality is enabled when CONFIG_WQ_POWER_EFFICIENT is selected. Cc: Lai Jiangshan

[RFC PATCH] timekeeping: move clock sync work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
: Thomas Gleixner Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Added commit message. Aligned code.] Signed-off-by: Zoran Markovic --- kernel/time/ntp.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index af8d1d4

[RFC PATCHv2] net: core: move core networking work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel version. Edited calls to mod_delayed_work to reference power efficient workqueue. Added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic --- net/core/dst.c|5 +++-- net/core/link_watc

[RFC PATCHv2] net: ipv4: move inetpeer garbage collector work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
t.] Signed-off-by: Zoran Markovic --- net/ipv4/inetpeer.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c index 48f4244..7e3da6c6 100644 --- a/net/ipv4/inetpeer.c +++ b/net/ipv4/inetpeer.c @@ -161,7 +161,8 @@ s

[RFC PATCHv2] net: ipv4: move inetpeer garbage collector work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel version. Added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- net/ipv4/inetpeer.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net

[RFC PATCHv2] net: core: move core networking work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel version. Edited calls to mod_delayed_work to reference power efficient workqueue. Added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- net/core/dst.c

[RFC PATCH] timekeeping: move clock sync work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
is selected. Cc: John Stultz john.stu...@linaro.org Cc: Thomas Gleixner t...@linutronix.de Signed-off-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Added commit message. Aligned code.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- kernel/time/ntp.c |5 +++-- 1

[RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
From: Shaibal Dutta shaibal.du...@broadcom.com For better use of CPU idle time, allow the scheduler to select the CPU on which the SRCU grace period work would be scheduled. This improves idle residency time and conserves power. This functionality is enabled when CONFIG_WQ_POWER_EFFICIENT is

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
Signed-off-by: Zoran Markovic zoran.marko...@linaro.org On 31 January 2014 11:53, Zoran Markovic zoran.marko...@linaro.org wrote: From: Shaibal Dutta shaibal.du...@broadcom.com For better use of CPU idle time, allow the scheduler to select the CPU on which the SRCU grace period work would

[RFC PATCH] power: move pm_qos update timeout handler to power-efficient workqueue

2014-01-31 Thread Zoran Markovic
Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Len Brown len.br...@intel.com Signed-off-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel. Fixed code alignment. Added commit message.] Signed-off-by: Zoran Markovic zoran.marko

[RFC PATCH] usb: move hub init and LED blink work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
efficient workqueue for LEDs in check_highspeed() and hub_port_connect_change().] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/usb/core/hub.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core

[RFC PATCH] mmc: move clock gating work to power efficient workqueue

2014-01-31 Thread Zoran Markovic
...@ideasonboard.com Cc: Tejun Heo t...@kernel.org Signed-off-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel. Added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/mmc/core/host.c |5

[RFC PATCH] firmware: use power efficient workqueue for unloading and aborting fw load

2014-01-31 Thread Zoran Markovic
CONFIG_WQ_POWER_EFFICIENT is selected. Cc: Ming Lei ming@canonical.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel, added commit message. Fixed code alignment.] Signed-off-by: Zoran Markovic

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2014-01-31 Thread Zoran Markovic
Hi Eduardo, The merge window for 3.14 is now open and I'm wondering if you had a chance to look at these numbers? Thanks, Zoran On 30 December 2013 12:48, Zoran Markovic zoran.marko...@linaro.org wrote: Eduardo, What is the workload you're running besides the proprietary heater code? I re-did

[RFC PATCH] net: core: move core networking work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel version. Edited calls to mod_delayed_work to reference power efficient workqueue. Added commit message.] Signed-off-by: Zoran Markovic --- net/core/dst.c|5 +++-- net/core/link_watch.c |5 +++-- net/core

[RFC PATCH] net: ipv4: move inetpeer garbage collector work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
is enabled when CONFIG_WQ_POWER_EFFICIENT is selected. Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel version. Added commit message.] Signed-off-by: Zora

[RFC PATCH] net: wireless: move regulatory timeout work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
: Johannes Berg Cc: "John W. Linville" Cc: "David S. Miller" Signed-off-by: Shaibal Dutta [zoran.marko...@linaro.org: Rebased to latest kernel. Added commit message.] Signed-off-by: Zoran Markovic --- net/wireless/reg.c |9 ++--- 1 file changed, 6 insertions(+), 3 dele

[RFC PATCH] net: rfkill: move poll work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
ueue selection after suspend/resume cycle.] Signed-off-by: Zoran Markovic --- net/rfkill/core.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/rfkill/core.c b/net/rfkill/core.c index ed7e0b4..b3b16c0 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c @@ -

[RFC PATCH] net: rfkill: move poll work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
[zoran.marko...@linaro.org: Rebased to latest kernel, added commit message. Fixed workqueue selection after suspend/resume cycle.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- net/rfkill/core.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net

[RFC PATCH] net: wireless: move regulatory timeout work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
CONFIG_WQ_POWER_EFFICIENT is selected. Cc: Johannes Berg johan...@sipsolutions.net Cc: John W. Linville linvi...@tuxdriver.com Cc: David S. Miller da...@davemloft.net Signed-off-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel. Added commit message.] Signed-off-by: Zoran

[RFC PATCH] net: ipv4: move inetpeer garbage collector work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel version. Added commit message.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- net/ipv4/inetpeer.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/ipv4/inetpeer.c b/net

[RFC PATCH] net: core: move core networking work to power efficient workqueue

2014-01-30 Thread Zoran Markovic
-by: Shaibal Dutta shaibal.du...@broadcom.com [zoran.marko...@linaro.org: Rebased to latest kernel version. Edited calls to mod_delayed_work to reference power efficient workqueue. Added commit message.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- net/core/dst.c|5 +++-- net

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-12-12 Thread Zoran Markovic
, 834usec (minimum) startup: 707usec (average), 3159usec (maximum), 327usec (minimum) It's using a 32KHz clock so time resolution is ~30usec. Regards, Zoran >>>>> On 20 September 2013 15:15, Zoran Markovic >>>>> wrote: >>>>>> This patch implements a gene

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-12-12 Thread Zoran Markovic
) startup: 707usec (average), 3159usec (maximum), 327usec (minimum) It's using a 32KHz clock so time resolution is ~30usec. Regards, Zoran On 20 September 2013 15:15, Zoran Markovic zoran.marko...@linaro.org wrote: This patch implements a generic CPU hotplug cooling device. The implementation

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-12-02 Thread Zoran Markovic
November 2013 06:08, Eduardo Valentin wrote: > Hello Zoran, > > On 27-11-2013 17:56, Zoran Markovic wrote: >> Pinging again... Does anyone have any opinion on this feature? > > Sorry for not answering you. Yes there is interest in such work. > Besides, your patch is no

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-12-02 Thread Zoran Markovic
November 2013 06:08, Eduardo Valentin eduardo.valen...@ti.com wrote: Hello Zoran, On 27-11-2013 17:56, Zoran Markovic wrote: Pinging again... Does anyone have any opinion on this feature? Sorry for not answering you. Yes there is interest in such work. Besides, your patch is not the very

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-11-27 Thread Zoran Markovic
Pinging again... Does anyone have any opinion on this feature? Thanks, Zoran On 4 October 2013 15:52, Zoran Markovic wrote: > Any comments on this proposed feature and implementation? Apparently > it's also useful for server systems. > Thanks, > Zoran > > On 20 September

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-11-27 Thread Zoran Markovic
Pinging again... Does anyone have any opinion on this feature? Thanks, Zoran On 4 October 2013 15:52, Zoran Markovic zoran.marko...@linaro.org wrote: Any comments on this proposed feature and implementation? Apparently it's also useful for server systems. Thanks, Zoran On 20 September 2013

[PATCHv6] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-17 Thread Zoran Markovic
(...), tweaked commit message. Moved call to dpm_wd_set() before device_lock() in device_resume(). Minor changes to add compile-time inclusion of the feature. Renamed 'dpm_wd...' to 'dpm_watchdog...'. Fixed compile errors/warnings for x86_64 and s390.] Signed-off-by: Zoran Markovic --- drivers/base/power

[PATCHv6] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-17 Thread Zoran Markovic
device_lock() in device_resume(). Minor changes to add compile-time inclusion of the feature. Renamed 'dpm_wd...' to 'dpm_watchdog...'. Fixed compile errors/warnings for x86_64 and s390.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/base/power/main.c | 72

Re: [RFC PATCH] timekeeping: Correct run-time detection of real-time clock.

2013-10-15 Thread Zoran Markovic
for suspend > time calculation use, but the wrap time for it is about > 4G/32K ~= 128K seconds ~= 35 hours > What if one suspend time is longer than that? > > - Feng > > On Fri, May 17, 2013 at 11:24:05AM -0700, Zoran Markovic wrote: >> Since commit <31ade30692d

Re: [RFC PATCH] timekeeping: Correct run-time detection of real-time clock.

2013-10-15 Thread Zoran Markovic
for suspend time calculation use, but the wrap time for it is about 4G/32K ~= 128K seconds ~= 35 hours What if one suspend time is longer than that? - Feng On Fri, May 17, 2013 at 11:24:05AM -0700, Zoran Markovic wrote: Since commit 31ade30692dc9680bfc95700d794818fa3f754ac, timekeeping_init

[PATCHv5] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-10 Thread Zoran Markovic
(...), tweaked commit message. Moved call to dpm_wd_set() before device_lock() in device_resume(). Minor changes to add compile-time inclusion of the feature. Renamed 'dpm_wd...' to 'dpm_watchdog...'.] Signed-off-by: Zoran Markovic --- drivers/base/power/main.c | 68

[PATCHv5] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-10 Thread Zoran Markovic
device_lock() in device_resume(). Minor changes to add compile-time inclusion of the feature. Renamed 'dpm_wd...' to 'dpm_watchdog...'.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/base/power/main.c | 68 + kernel/power/Kconfig | 16

Re: [RFC PATCHv4] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-09 Thread Zoran Markovic
Hi Rafael, Just wondering if you would like anything changed in this patch in order to get it into 3.13. I'd prefer not missing yet another merge window... Thanks, Zoran On 25 September 2013 15:31, Zoran Markovic wrote: > From: Benoit Goby > > Rather than hard-lock the kernel, dump th

Re: [RFC PATCHv4] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-09 Thread Zoran Markovic
Hi Rafael, Just wondering if you would like anything changed in this patch in order to get it into 3.13. I'd prefer not missing yet another merge window... Thanks, Zoran On 25 September 2013 15:31, Zoran Markovic zoran.marko...@linaro.org wrote: From: Benoit Goby ben...@android.com Rather than

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-10-04 Thread Zoran Markovic
Any comments on this proposed feature and implementation? Apparently it's also useful for server systems. Thanks, Zoran On 20 September 2013 15:15, Zoran Markovic wrote: > This patch implements a generic CPU hotplug cooling device. The > implementation scales down the number of running CPU

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-10-04 Thread Zoran Markovic
Any comments on this proposed feature and implementation? Apparently it's also useful for server systems. Thanks, Zoran On 20 September 2013 15:15, Zoran Markovic zoran.marko...@linaro.org wrote: This patch implements a generic CPU hotplug cooling device. The implementation scales down

[RFC PATCHv4] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-09-25 Thread Zoran Markovic
(...), tweaked commit message. Moved call to dpm_wd_set() before device_lock() in device_resume(). Minor changes to add compile-time inclusion of the feature.] Signed-off-by: Zoran Markovic --- drivers/base/power/main.c | 68 + kernel/power/Kconfig | 16

[RFC PATCHv4] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-09-25 Thread Zoran Markovic
device_lock() in device_resume(). Minor changes to add compile-time inclusion of the feature.] Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/base/power/main.c | 68 + kernel/power/Kconfig | 16 +++ 2 files changed, 84

[RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-09-20 Thread Zoran Markovic
quot; cooling states expressed in the number of offline CPUs. Credits to Amit Daniel Kachhap for initial attempt to upstream this feature. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Rob Landley Cc: Amit Daniel Kachhap Cc: Andrew Morton Cc: Durgadoss R Cc: Christian Daudt Cc: James King Signed-of

[RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-09-20 Thread Zoran Markovic
a...@linux-foundation.org Cc: Durgadoss R durgados...@intel.com Cc: Christian Daudt b...@fixthebug.org Cc: James King james.k...@linaro.org Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- Documentation/thermal/cpu-cooling-api.txt | 17 ++ drivers/thermal/Kconfig | 10

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-09-05 Thread Zoran Markovic
Hi Ulf, Thanks for reviewing this, it was very helpful! > 1. mmc_detect_change does obviously not have to be run the same number > of times as the mmc_rescan function. In other words, the calls to > __pm_stay_awake is not paired with __pm_relay, I suppose this does not > matter? It shouldn't,

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-09-05 Thread Zoran Markovic
Hi Ulf, Thanks for reviewing this, it was very helpful! 1. mmc_detect_change does obviously not have to be run the same number of times as the mmc_rescan function. In other words, the calls to __pm_stay_awake is not paired with __pm_relay, I suppose this does not matter? It shouldn't, since a

Re: [RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-08-28 Thread Zoran Markovic
> Is there any practical reason why it should go into the next release? Android folks find this useful, albeit a debug feature. Zoran -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-08-28 Thread Zoran Markovic
Hi Rafael, > It doesn't look too bad from a quick look, but there's a couple of things > I don't like in it still (relatively minor). If there are things you would like changed in this patch, please let me know. It would be nice to catch the 3.12 merge window. Thanks, - Zoran -- To unsubscribe

Re: [RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-08-28 Thread Zoran Markovic
Hi Rafael, It doesn't look too bad from a quick look, but there's a couple of things I don't like in it still (relatively minor). If there are things you would like changed in this patch, please let me know. It would be nice to catch the 3.12 merge window. Thanks, - Zoran -- To unsubscribe from

Re: [RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-08-28 Thread Zoran Markovic
Is there any practical reason why it should go into the next release? Android folks find this useful, albeit a debug feature. Zoran -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-08-22 Thread Zoran Markovic
Rafael, I haven't seen any other proposals/alternatives on how to do this. Is there anything else we should do to get this upstream? I believe this is a valuable debug feature for Android and it now explicitly depends on pstore... Thanks, Zoran On 30 July 2013 13:38, Zoran Markovic wrote: > F

Re: [RFC PATCH] pm: prevent suspend until power supply events are processed

2013-08-22 Thread Zoran Markovic
Any opinions on this patch? Regards, Zoran On 2 August 2013 13:38, Zoran Markovic wrote: > This patch, originally authored by Arve Hjonnevag and Todd Poynor, > prevents the system from entering suspend mode until the power > supply plug, unplug, or any other change of state event

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-08-22 Thread Zoran Markovic
Ulf, > I got confirmation from Broadcom that all cell phone reference designs > have card insert/removal configured as a wakeup IRQ. Unless our > customers change that - which I doubt - this results in a considerable > number of products implementing this feature. > > Please let me know how you

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-08-22 Thread Zoran Markovic
Ulf, I got confirmation from Broadcom that all cell phone reference designs have card insert/removal configured as a wakeup IRQ. Unless our customers change that - which I doubt - this results in a considerable number of products implementing this feature. Please let me know how you wish to

Re: [RFC PATCH] pm: prevent suspend until power supply events are processed

2013-08-22 Thread Zoran Markovic
Any opinions on this patch? Regards, Zoran On 2 August 2013 13:38, Zoran Markovic zoran.marko...@linaro.org wrote: This patch, originally authored by Arve Hjonnevag and Todd Poynor, prevents the system from entering suspend mode until the power supply plug, unplug, or any other change of state

Re: [RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-08-22 Thread Zoran Markovic
Rafael, I haven't seen any other proposals/alternatives on how to do this. Is there anything else we should do to get this upstream? I believe this is a valuable debug feature for Android and it now explicitly depends on pstore... Thanks, Zoran On 30 July 2013 13:38, Zoran Markovic zoran.marko

[RFC PATCH] pm: prevent suspend until power supply events are processed

2013-08-02 Thread Zoran Markovic
. The implementation uses the power supply wakeup_source object. Cc: Anton Vorontsov Cc: David Woodhouse Cc: Arve Hjonnevag Cc: Todd Poynor Cc: John Stultz Signed-off-by: Zoran Markovic --- drivers/power/power_supply_core.c | 37 +++-- include/linux/power_supply.h

[RFC PATCH] pm: prevent suspend until power supply events are processed

2013-08-02 Thread Zoran Markovic
. The implementation uses the power supply wakeup_source object. Cc: Anton Vorontsov an...@enomsg.org Cc: David Woodhouse dw...@infradead.org Cc: Arve Hjonnevag a...@android.com Cc: Todd Poynor toddpoy...@google.com Cc: John Stultz john.stu...@linaro.org Signed-off-by: Zoran Markovic zoran.marko...@linaro.org

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-08-01 Thread Zoran Markovic
to proceed. Cheers, Zoran On 26 June 2013 13:57, Ulf Hansson wrote: > On 24 June 2013 21:58, Zoran Markovic wrote: >>>> This patch is ported from the Android common tree, so you've probably >>>> been using it. >>> >>> We removed more or less all Android

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-08-01 Thread Zoran Markovic
to proceed. Cheers, Zoran On 26 June 2013 13:57, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 June 2013 21:58, Zoran Markovic zoran.marko...@linaro.org wrote: This patch is ported from the Android common tree, so you've probably been using it. We removed more or less all Android code in the mmc

[RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-07-30 Thread Zoran Markovic
of the feature.] Signed-off-by: Zoran Markovic --- v3: * Added explicit dependency on pstore * Collapsed recovery options to system panic only * Logged driver string in panic message drivers/base/power/main.c | 70 + kernel/power/Kconfig | 16

[RFC PATCHv3] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-07-30 Thread Zoran Markovic
Original-author: San Mehat s...@google.com Signed-off-by: Benoit Goby ben...@android.com [zoran.marko...@linaro.org: Changed printk(KERN_EMERG,...) to pr_emerg(...), tweaked commit message. Minor changes to add compile-time inclusion of the feature.] Signed-off-by: Zoran Markovic zoran.marko

[RFC PATCH] rtc: keep system awake until all expired RTC timers are handled

2013-06-26 Thread Zoran Markovic
that all calls to pm_stay_awake() are eventually paired with the single pm_relax() call in rtc_timer_do_work(), which is launched using schedule_work(). Cc: Alessandro Zummo Cc: John Stultz Cc: Arve Hjonnevag Cc: Todd Poynor Signed-off-by: Zoran Markovic --- drivers/rtc/interface.c | 13

[RFC PATCH] rtc: keep system awake until all expired RTC timers are handled

2013-06-26 Thread Zoran Markovic
...@google.com Signed-off-by: Zoran Markovic zoran.marko...@linaro.org --- drivers/rtc/interface.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c index 42bd57d..dace26e 100644 --- a/drivers/rtc/interface.c +++ b

  1   2   >