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 fro
> 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 http://vge
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 runnin
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, sinc
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, du
emerg(...),
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
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
emerg(...),
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 |
ed to use
wakeup_source_register/unregister instead of wakeup_source_init/trash,
added the missing __pm_relax() for non-removable devices in mmc_rescan().]
Signed-off-by: Zoran Markovic
---
drivers/mmc/core/core.c | 31 +--
drivers/mmc/core/host.c |7 +++
in
> I am not sure I understand why this patch is needed. When a new card
> is inserted/removed and the upper levels gets notification about the
> new card, triggering the mounting/un-mounting of the file system, why
> should it be the lowest layer (mmc) that prevents the platform from
> enter suspend
Rafael,
>>> We could do cancel_work_sync() as a recovery, but that call blocks until the
>>> running async task is flushed, which might never happen. So doing a panic()
>>> is pretty much the only option for recovering.
>>
>> Well, its usefulness is quite limited, then. That said I'm still not
>
>> We could do cancel_work_sync() as a recovery, but that call blocks until the
>> running async task is flushed, which might never happen. So doing a panic()
>> is pretty much the only option for recovering.
>
> Well, its usefulness is quite limited, then. That said I'm still not
> convinced
> t
>> 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 subsystem, since
> it just didn't work. :-)
>
> The "deferred resume" was very useful though, so after some rework we
> kept it and could then improve t
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
f
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 |
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 An
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
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 wis
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
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:
&
Benoit Goby (1):
drivers: power: Add watchdog timer to catch drivers which lockup
during suspend/resume.
Zoran Markovic (1):
PM: compile-time configuration of device suspend/resume watchdogs.
drivers/base/power/main.c | 87 +
kernel/power
p.]
Signed-off-by: Zoran Markovic
---
drivers/base/power/main.c | 66 +
1 file changed, 66 insertions(+)
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 5a9b656..a6a02c0 100644
--- a/drivers/base/power/main.c
+++ b/drivers/
watchdog(s).
Minor changes were made to watchdog code to accommodate this feature.
Cc: Android Kernel Team
Cc: Colin Cross
Cc: Todd Poynor
Cc: San Mehat
Cc: Benoit Goby
Cc: John Stultz
Cc: Pavel Machek
Cc: Rafael J. Wysocki
Cc: Len Brown
Cc: Greg Kroah-Hartman
Signed-off-by: Zoran Markovic
Mehat
Cc: Benoit Goby
Cc: John Stultz
Cc: Pavel Machek
Cc: Rafael J. Wysocki
Cc: Len Brown
Cc: Greg Kroah-Hartman
Original-author: San Mehat
Signed-off-by: Benoit Goby
[zoran.marko...@linaro.org: Changed printk(KERN_EMERG,...) to pr_emerg(...),
tweaked commit message.]
Signed-off-by: Zoran
commit message]
Signed-off-by: Zoran Markovic
---
kernel/power/Kconfig|7 +++
kernel/power/Makefile |1 +
kernel/power/suspend_time.c | 111 +++
3 files changed, 119 insertions(+)
create mode 100644 kernel/power/suspend_time.c
diff
ad
non-existing clock and zero when trying to read an uninitialized clock, but
that would require changing all persistent_clock implementations.
This patch addresses the immediate breakage, for now.
Cc: John Stultz
Cc: Thomas Gleixner
Cc: Feng Tang
Cc: sta...@vger.kernel.org
Signed-off-by:
the feature conditional on
CONFIG_DEBUG_FS. Changed the file name to sleep_time to better fit terminology
in timekeeping core. Changed seq_printf to seq_puts. Tweaked commit message]
Signed-off-by: Zoran Markovic
---
kernel/time/Makefile |1 +
kernel/time/timekeeping.c
> What about this:
> - Add one more list_head to struct dev_pm_info.
> - Make dpm_prepare() create a new list for the next steps instead of moving
>devices out of dpm_list.
> - Start an async work to carry out dpm_suspend() and make the main thread
>do wait_for_completion_timeout() for e
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
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 Sept
t is only 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 <3
emerg(...),
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
ran
On 29 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 patc
, 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
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
Zoran
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|
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
@@ -
: 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 deleti
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
ndrov
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 +++--
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
ndrov
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
: 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
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
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
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
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
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
: 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
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?
&g
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
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
...@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
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
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
oller.
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
arc
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
...@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
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
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
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
oller.
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
arc
...@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
63 matches
Mail list logo