d in
commit e6b7e41cdd8c ("ata: Disabling the async PM for JMicron chip 363/361"),
so here add one quirk to disable the JMicron chips' PM async feature.
Cc: sta...@vger.kernel.org # 3.15+
Signed-off-by: Chuansheng Liu
---
drivers/pci/quirks.c | 17 +
1 file changed, 17
the async PM for JMicron chip 363/361),
so here add one quirk to disable the JMicron chips' PM async feature.
Cc: sta...@vger.kernel.org # 3.15+
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/pci/quirks.c | 17 +
1 file changed, 17 insertions(+)
diff --git
# 3.15+
Acked-by: Aaron Lu
Signed-off-by: Chuansheng Liu
---
drivers/pci/pci.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 625a4ac..53128f0 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2046,7 +2046,17
suspend method for Jmicron chip.
Cc: sta...@vger.kernel.org # 3.15+
Signed-off-by: Chuansheng Liu
---
drivers/pci/pci.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 625a4ac..53128f0 100644
--- a/drivers/pci/pci.c
suspend method for Jmicron chip.
Cc: sta...@vger.kernel.org # 3.15+
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/pci/pci.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 625a4ac..53128f0 100644
# 3.15+
Acked-by: Aaron Lu aaron...@intel.com
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/pci/pci.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 625a4ac..53128f0 100644
--- a/drivers/pci/pci.c
ync method directly,
to avoid further similar issues.
Details in:
https://bugzilla.kernel.org/show_bug.cgi?id=84861
Reported-and-tested-by: Barto
Signed-off-by: Chuansheng Liu
---
drivers/ata/ahci.c | 11 +--
drivers/ata/pata_jmicron.c | 11 +--
2 files changed, 10 inserti
,
to avoid further similar issues.
Details in:
https://bugzilla.kernel.org/show_bug.cgi?id=84861
Reported-and-tested-by: Barto mister.free...@laposte.net
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/ata/ahci.c | 11 +--
drivers/ata/pata_jmicron.c | 11
,
to avoid further similar issues.
Details in:
https://bugzilla.kernel.org/show_bug.cgi?id=84861
Reported-and-tested-by: Barto
Signed-off-by: Chuansheng Liu
---
drivers/ata/ahci.c |6 +++---
drivers/ata/pata_jmicron.c |6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff
,
to avoid further similar issues.
Details in:
https://bugzilla.kernel.org/show_bug.cgi?id=84861
Reported-and-tested-by: Barto mister.free...@laposte.net
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/ata/ahci.c |6 +++---
drivers/ata/pata_jmicron.c |6 +++---
2 files
Commit-ID: 2ed903c5485bad0eafdd3d59ff993598736e4f31
Gitweb: http://git.kernel.org/tip/2ed903c5485bad0eafdd3d59ff993598736e4f31
Author: Chuansheng Liu
AuthorDate: Thu, 4 Sep 2014 15:17:55 +0800
Committer: Ingo Molnar
CommitDate: Fri, 19 Sep 2014 12:35:16 +0200
cpuidle: Use
Commit-ID: c6f4459fc3ba532e896cb678e29b45cb985f82bf
Gitweb: http://git.kernel.org/tip/c6f4459fc3ba532e896cb678e29b45cb985f82bf
Author: Chuansheng Liu
AuthorDate: Thu, 4 Sep 2014 15:17:54 +0800
Committer: Ingo Molnar
CommitDate: Fri, 19 Sep 2014 12:35:15 +0200
smp: Add new
Commit-ID: f6be8af1c95de4a46e325e728900a70ceadb52cf
Gitweb: http://git.kernel.org/tip/f6be8af1c95de4a46e325e728900a70ceadb52cf
Author: Chuansheng Liu
AuthorDate: Thu, 4 Sep 2014 15:17:53 +0800
Committer: Ingo Molnar
CommitDate: Fri, 19 Sep 2014 12:35:14 +0200
sched: Add new API
Commit-ID: f6be8af1c95de4a46e325e728900a70ceadb52cf
Gitweb: http://git.kernel.org/tip/f6be8af1c95de4a46e325e728900a70ceadb52cf
Author: Chuansheng Liu chuansheng@intel.com
AuthorDate: Thu, 4 Sep 2014 15:17:53 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Fri, 19 Sep 2014
Commit-ID: 2ed903c5485bad0eafdd3d59ff993598736e4f31
Gitweb: http://git.kernel.org/tip/2ed903c5485bad0eafdd3d59ff993598736e4f31
Author: Chuansheng Liu chuansheng@intel.com
AuthorDate: Thu, 4 Sep 2014 15:17:55 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Fri, 19 Sep 2014
Commit-ID: c6f4459fc3ba532e896cb678e29b45cb985f82bf
Gitweb: http://git.kernel.org/tip/c6f4459fc3ba532e896cb678e29b45cb985f82bf
Author: Chuansheng Liu chuansheng@intel.com
AuthorDate: Thu, 4 Sep 2014 15:17:54 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Fri, 19 Sep 2014
Currently kick_all_cpus_sync() or smp_call_function() can not
break the polling idle cpu immediately.
Here using wake_up_all_idle_cpus() which can wake up the polling idle
cpu quickly is much helpful for power.
Signed-off-by: Chuansheng Liu
---
drivers/cpuidle/cpuidle.c |9 ++---
1
Implementing one new API wake_up_if_idle(), which is used to
wake up the idle CPU.
Suggested-by: Andy Lutomirski
Signed-off-by: Chuansheng Liu
---
include/linux/sched.h |1 +
kernel/sched/core.c | 19 +++
2 files changed, 20 insertions(+)
diff --git a/include/linux
wake_up_all_idle_cpus() to let all cpus
out of idle based on function wake_up_if_idle().
Signed-off-by: Chuansheng Liu
---
include/linux/smp.h |2 ++
kernel/smp.c| 22 ++
2 files changed, 24 insertions(+)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index 34347f2
wake_up_all_idle_cpus() to let all cpus
out of idle based on function wake_up_if_idle().
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
include/linux/smp.h |2 ++
kernel/smp.c| 22 ++
2 files changed, 24 insertions(+)
diff --git a/include/linux/smp.h b/include
Currently kick_all_cpus_sync() or smp_call_function() can not
break the polling idle cpu immediately.
Here using wake_up_all_idle_cpus() which can wake up the polling idle
cpu quickly is much helpful for power.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/cpuidle/cpuidle.c
Implementing one new API wake_up_if_idle(), which is used to
wake up the idle CPU.
Suggested-by: Andy Lutomirski l...@amacapital.net
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
include/linux/sched.h |1 +
kernel/sched/core.c | 19 +++
2 files changed, 20
chip 363/361, we need forcedly to disable the async method.
Bug detail: https://bugzilla.kernel.org/show_bug.cgi?id=81551
Reported-by: Jay
Signed-off-by: Chuansheng Liu
---
drivers/ata/ahci.c | 11 +++
drivers/ata/pata_jmicron.c | 11 +++
2 files changed, 22
chip 363/361, we need forcedly to disable the async method.
Bug detail: https://bugzilla.kernel.org/show_bug.cgi?id=81551
Reported-by: Jay mymailcl...@t-online.de
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/ata/ahci.c | 11 +++
drivers/ata/pata_jmicron.c
Implementing one new API wake_up_if_idle(), which is used to
wake up the idle CPU.
Suggested-by: Andy Lutomirski
Signed-off-by: Chuansheng Liu
---
include/linux/sched.h |1 +
kernel/sched/core.c | 16
2 files changed, 17 insertions(+)
diff --git a/include/linux
wake_up_all_cpus() to let all cpus out
of idle based on function wake_up_if_idle().
Signed-off-by: Chuansheng Liu
---
include/linux/smp.h |2 ++
kernel/smp.c| 22 ++
2 files changed, 24 insertions(+)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index 34347f2
Currently kick_all_cpus_sync() or smp_call_function() can not
break the polling idle cpu immediately.
Here using wake_up_all_cpus() which can wake up the polling idle
cpu quickly is much helpful for power.
Signed-off-by: Chuansheng Liu
---
drivers/cpuidle/cpuidle.c |9 ++---
1 file
Currently kick_all_cpus_sync() or smp_call_function() can not
break the polling idle cpu immediately.
Here using wake_up_all_cpus() which can wake up the polling idle
cpu quickly is much helpful for power.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/cpuidle/cpuidle.c
wake_up_all_cpus() to let all cpus out
of idle based on function wake_up_if_idle().
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
include/linux/smp.h |2 ++
kernel/smp.c| 22 ++
2 files changed, 24 insertions(+)
diff --git a/include/linux/smp.h b/include/linux
Implementing one new API wake_up_if_idle(), which is used to
wake up the idle CPU.
Suggested-by: Andy Lutomirski l...@amacapital.net
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
include/linux/sched.h |1 +
kernel/sched/core.c | 16
2 files changed, 17
Implementing one new API wake_up_if_idle(), which is used to
wake up the idle CPU.
Suggested-by: Andy Lutomirski
Signed-off-by: Chuansheng Liu
---
include/linux/sched.h |1 +
kernel/sched/core.c | 16
2 files changed, 17 insertions(+)
diff --git a/include/linux
Currently using smp_call_function() just woke up the corresponding
cpu, but can not break the polling idle loop.
Here using the new sched API wake_up_if_idle() to implement it.
Signed-off-by: Chuansheng Liu
---
kernel/smp.c | 18 +++---
1 file changed, 11 insertions(+), 7
Current latency notify callback has the same function with
kick_all_cpus_sync().
Here use it directly to remove the redundant code.
Signed-off-by: Chuansheng Liu
---
drivers/cpuidle/cpuidle.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/cpuidle/cpuidle.c
Currently using smp_call_function() just woke up the corresponding
cpu, but can not break the polling idle loop.
Here using the new sched API wake_up_if_idle() to implement it.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
kernel/smp.c | 18 +++---
1 file changed, 11
Current latency notify callback has the same function with
kick_all_cpus_sync().
Here use it directly to remove the redundant code.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/cpuidle/cpuidle.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git
Implementing one new API wake_up_if_idle(), which is used to
wake up the idle CPU.
Suggested-by: Andy Lutomirski l...@amacapital.net
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
include/linux/sched.h |1 +
kernel/sched/core.c | 16
2 files changed, 17
o harm for them too.
With this fix, we saved about 30mV power in our android platform.
Signed-off-by: Chuansheng Liu
---
drivers/cpuidle/cpuidle.c |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
index ee9df5e..9
no harm for them too.
With this fix, we saved about 30mV power in our android platform.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/cpuidle/cpuidle.c |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle
ace rightly also.
Acked-by: Michal Nazarewicz
Reviewed-by: David Cohen
Signed-off-by: Chuansheng Liu
---
drivers/usb/gadget/f_fs.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 42f7a0e..780f877 100
rightly also.
Acked-by: Michal Nazarewicz min...@mina86.com
Reviewed-by: David Cohen david.a.co...@linux.intel.com
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/usb/gadget/f_fs.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/gadget
Commit-ID: c685689fd24d310343ac33942e9a54a974ae9c43
Gitweb: http://git.kernel.org/tip/c685689fd24d310343ac33942e9a54a974ae9c43
Author: Chuansheng Liu
AuthorDate: Mon, 24 Feb 2014 11:29:50 +0800
Committer: Thomas Gleixner
CommitDate: Thu, 27 Feb 2014 10:54:16 +0100
genirq: Remove racy
Commit-ID: c685689fd24d310343ac33942e9a54a974ae9c43
Gitweb: http://git.kernel.org/tip/c685689fd24d310343ac33942e9a54a974ae9c43
Author: Chuansheng Liu chuansheng@intel.com
AuthorDate: Mon, 24 Feb 2014 11:29:50 +0800
Committer: Thomas Gleixner t...@linutronix.de
CommitDate: Thu, 27 Feb
ace rightly also.
Signed-off-by: Chuansheng Liu
---
drivers/usb/gadget/f_fs.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2b43343..31ee7af 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_f
rightly also.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/usb/gadget/f_fs.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2b43343..31ee7af 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b
() threads_active also.
So we need one smp_mb() before waitqueue_active or something like
that.
Thomas shared one good option that removing waitqueue_active()
judgement directly, it will make things to be simple and clear.
Cc: Thomas Gleixner
Cc: Xiaoming Wang
Signed-off-by: Chuansheng Liu
...@intel.com
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
kernel/irq/manage.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 481a13c..d3bf660 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -802,8
Commit-ID: b04c644e670f79417f1728e6be310cfd8e6a921b
Gitweb: http://git.kernel.org/tip/b04c644e670f79417f1728e6be310cfd8e6a921b
Author: Chuansheng Liu
AuthorDate: Mon, 10 Feb 2014 16:13:57 +0800
Committer: Thomas Gleixner
CommitDate: Wed, 19 Feb 2014 17:26:34 +0100
genirq: Update
Commit-ID: b04c644e670f79417f1728e6be310cfd8e6a921b
Gitweb: http://git.kernel.org/tip/b04c644e670f79417f1728e6be310cfd8e6a921b
Author: Chuansheng Liu chuansheng@intel.com
AuthorDate: Mon, 10 Feb 2014 16:13:57 +0800
Committer: Thomas Gleixner t...@linutronix.de
CommitDate: Wed, 19 Feb
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_late
time significantly.
This patch is for suspend_late phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 66 ++-
1
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall resume_early
time significantly.
This patch is for resume_early phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 55 +--
1
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_noirq
time significantly.
This patch is for suspend_noirq phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 68 +++
1
The patch is a helper adding two new flags for implementing
async threads for suspend_noirq and suspend_late.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 24 ++--
include/linux/pm.h| 2 ++
2 files changed, 24 insertions(+), 2 deletions(-)
diff
) at least.
With the way of asynchronous threads, we just need wait d3_delay
time once in parallel for each calling, which saves much time to
resume quickly.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 66 +++
1 file changed, 50 insertions
Hello,
This patch series are for enabling the asynchronous threads for the phases
resume_noirq, resume_early, suspend_noirq and suspend_late.
Just like commit 5af84b82701a and 97df8c12995, with async threads it will
reduce the system suspending and resuming time significantly.
With these
Hello,
This patch series are for enabling the asynchronous threads for the phases
resume_noirq, resume_early, suspend_noirq and suspend_late.
Just like commit 5af84b82701a and 97df8c12995, with async threads it will
reduce the system suspending and resuming time significantly.
With these
The patch is a helper adding two new flags for implementing
async threads for suspend_noirq and suspend_late.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 24 ++--
include/linux/pm.h| 2 ++
2 files changed, 24 insertions
) at least.
With the way of asynchronous threads, we just need wait d3_delay
time once in parallel for each calling, which saves much time to
resume quickly.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 66 +++
1 file
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_noirq
time significantly.
This patch is for suspend_noirq phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 68
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall resume_early
time significantly.
This patch is for resume_early phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 55
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_late
time significantly.
This patch is for suspend_late phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 66
) at least.
With the way of asynchronous threads, we just need wait d3_delay
time once in parallel for each calling, which saves much time to
resume quickly.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 66 +++
1 file changed, 50 insertions
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_late
time significantly.
This patch is for suspend_late phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 66 ++-
1
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall resume_early
time significantly.
This patch is for resume_early phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 55 +--
1
The patch is a helper adding two new flags for implementing
async threads for suspend_noirq and suspend_late.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 24 ++--
include/linux/pm.h| 2 ++
2 files changed, 24 insertions(+), 2 deletions(-)
diff
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_noirq
time significantly.
This patch is for suspend_noirq phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 68 +++
1
Hello,
This patch series are for enabling the asynchronous threads for the phases
resume_noirq, resume_early, suspend_noirq and suspend_late.
Just like commit 5af84b82701a and 97df8c12995, with async threads it will
reduce the system suspending and resuming time significantly.
With these
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_late
time significantly.
This patch is for suspend_late phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 64 ++-
1
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_noirq
time significantly.
This patch is for suspend_noirq phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 68 +++
1
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall resume_early
time significantly.
This patch is for resume_early phase.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 55 +--
1
) at least.
With the way of asynchronous threads, we just need wait d3_delay
time once in parallel for each calling, which saves much time to
resume quickly.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 66 +++
1 file changed, 50 insertions
The patch is a helper adding two new flags for implementing
async threads for suspend_noirq and suspend_late.
Signed-off-by: Chuansheng Liu
---
drivers/base/power/main.c | 24 ++--
include/linux/pm.h| 2 ++
2 files changed, 24 insertions(+), 2 deletions(-)
diff
Hello,
This patch series are for enabling the asynchronous threads for the phases
resume_noirq, resume_early, suspend_noirq and suspend_late.
Just like commit 5af84b82701a and 97df8c12995, with async threads it will
reduce the system suspending and resuming time significantly.
With these
Hello,
This patch series are for enabling the asynchronous threads for the phases
resume_noirq, resume_early, suspend_noirq and suspend_late.
Just like commit 5af84b82701a and 97df8c12995, with async threads it will
reduce the system suspending and resuming time significantly.
With these
The patch is a helper adding two new flags for implementing
async threads for suspend_noirq and suspend_late.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 24 ++--
include/linux/pm.h| 2 ++
2 files changed, 24 insertions
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_noirq
time significantly.
This patch is for suspend_noirq phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 68
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall resume_early
time significantly.
This patch is for resume_early phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 55
) at least.
With the way of asynchronous threads, we just need wait d3_delay
time once in parallel for each calling, which saves much time to
resume quickly.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 66 +++
1 file
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_late
time significantly.
This patch is for suspend_late phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 64
Hello,
This patch series are for enabling the asynchronous threads for the phases
resume_noirq, resume_early, suspend_noirq and suspend_late.
Just like commit 5af84b82701a and 97df8c12995, with async threads it will
reduce the system suspending and resuming time significantly.
With these
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_noirq
time significantly.
This patch is for suspend_noirq phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 68
The patch is a helper adding two new flags for implementing
async threads for suspend_noirq and suspend_late.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 24 ++--
include/linux/pm.h| 2 ++
2 files changed, 24 insertions
) at least.
With the way of asynchronous threads, we just need wait d3_delay
time once in parallel for each calling, which saves much time to
resume quickly.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 66 +++
1 file
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall suspend_late
time significantly.
This patch is for suspend_late phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 66
In analogy with commits 5af84b82701a and 97df8c12995, using
asynchronous threads can improve the overall resume_early
time significantly.
This patch is for resume_early phase.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
drivers/base/power/main.c | 55
ver.
Here put the increasing thread-active before setting bit
RUNTHREAD, which can resolve such race.
Signed-off-by: xiaoming wang
Signed-off-by: Chuansheng Liu
---
kernel/irq/handle.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/kernel/irq/handle.
Change the comment "chasnge" to "change".
Signed-off-by: Chuansheng Liu
---
kernel/irq/manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 481a13c..4802295 100644
--- a/kernel/irq/manage.c
+++ b
Change the comment chasnge to change.
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
kernel/irq/manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 481a13c..4802295 100644
--- a/kernel/irq/manage.c
+++ b/kernel
.
Here put the increasing thread-active before setting bit
RUNTHREAD, which can resolve such race.
Signed-off-by: xiaoming wang xiaoming.w...@intel.com
Signed-off-by: Chuansheng Liu chuansheng@intel.com
---
kernel/irq/handle.c | 21 -
1 file changed, 20 insertions(+), 1
Current code has implemented asynchronous threads for dpm_suspend()
and dpm_resume(), which saved much time.
As commit 5af84b82701a and 97df8c12995 said, the total time can be
reduced significantly by running suspend and resume callbacks of
device drivers in parallel with each other.
For the
Current code has implemented asynchronous threads for dpm_suspend()
and dpm_resume(), which saved much time.
As commit 5af84b82701a and 97df8c12995 said, the total time can be
reduced significantly by running suspend and resume callbacks of
device drivers in parallel with each other.
For the
Currently, the dpm_resume_noirq() is done synchronously, and for PCI devices
pci_pm_resume_noirq():
pci_pm_resume_noirq()
pci_pm_default_resume_early()
pci_power_up()
pci_raw_set_power_state()
Which set the device from D3hot to D0 mostly, for every device, there will
be one
Currently, the dpm_resume_noirq() is done synchronously, and for PCI devices
pci_pm_resume_noirq():
pci_pm_resume_noirq()
pci_pm_default_resume_early()
pci_power_up()
pci_raw_set_power_state()
Which set the device from D3hot to D0 mostly, for every device, there will
be one
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().
Signed-off-by: Liu, Chuansheng
---
drivers/md/dm-snap-persistent.c |1 +
1 file changed, 1 insertion(+)
diff --git
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().
Signed-off-by: Liu, Chuansheng
---
kernel/workqueue.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/workqueue.c
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().
Signed-off-by: Liu, Chuansheng
---
fs/xfs/xfs_bmap_util.c |1 +
1 file changed, 1 insertion(+)
diff --git a/fs/xfs/xfs_bmap_util.c
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().
Signed-off-by: Liu, Chuansheng chuansheng@intel.com
---
fs/xfs/xfs_bmap_util.c |1 +
1 file changed, 1 insertion(+)
diff --git
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().
Signed-off-by: Liu, Chuansheng chuansheng@intel.com
---
kernel/workqueue.c |2 ++
1 file changed, 2 insertions(+)
diff --git
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().
Signed-off-by: Liu, Chuansheng chuansheng@intel.com
---
drivers/md/dm-snap-persistent.c |1 +
1 file changed, 1 insertion(+)
diff
Commit-ID: 91f30a17024ff0d8345e11228af33ee938b13426
Gitweb: http://git.kernel.org/tip/91f30a17024ff0d8345e11228af33ee938b13426
Author: Chuansheng Liu
AuthorDate: Wed, 4 Dec 2013 13:58:13 +0800
Committer: Ingo Molnar
CommitDate: Tue, 17 Dec 2013 15:35:10 +0100
mutexes: Give more
Commit-ID: 91f30a17024ff0d8345e11228af33ee938b13426
Gitweb: http://git.kernel.org/tip/91f30a17024ff0d8345e11228af33ee938b13426
Author: Chuansheng Liu chuansheng@intel.com
AuthorDate: Wed, 4 Dec 2013 13:58:13 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Tue, 17 Dec 2013
1 - 100 of 266 matches
Mail list logo