RE: [RFC] mmc:change mmc_init workqueue into a freezable workqueue

2015-01-08 Thread Wang, Yalin
-Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Thursday, January 08, 2015 7:42 PM To: Wang, Yalin Cc: 'ch...@printf.net'; 'ulf.hans...@linaro.org'; 'tim.kry...@gmail.com'; 'tgih@samsung.com'; 'johan.rudh...@axis.com'; 'linux- m

[RFC] mmc:change mmc_init workqueue into a freezable workqueue

2015-01-08 Thread Wang, Yalin
This patch fix the mmc driver suspend/resume conflict problems, mmc workqueue will queue mmc_rescan(), and it will call some pm_runtime_* functions, this will conflict with suspend path sometimes, and will result in some strange behavior: Suspend path: -000 |context_switch(inline)

[RFC V2] mmc:change mmc_init workqueue into a freezable workqueue

2015-01-08 Thread Wang, Yalin
This patch fix the mmc driver suspend/resume conflict problems, mmc workqueue will queue mmc_rescan(), and it will call some pm_runtime_* functions, this will conflict with suspend path sometimes, and will result in some strange behavior: Suspend path: -000 |context_switch(inline)

RE: autosleep suspend too frquent problem

2014-06-05 Thread Wang, Yalin
, It is not acceptable, I think also need to be fixed to Avoid this special scenario . Thanks -Original Message- From: Ulf Hansson [mailto:ulf.hans...@linaro.org] Sent: Wednesday, June 04, 2014 5:53 AM To: Pavel Machek Cc: Wang, Yalin; len.br...@intel.com; r...@sisk.pl; linux...@vger.kernel.org

RE: autosleep suspend too frquent problem

2014-06-05 Thread Wang, Yalin
check to make sure Not suspend frequently , could autosleep also add this ? Thanks -Original Message- From: Pavel Machek [mailto:pa...@ucw.cz] Sent: Thursday, June 05, 2014 9:51 PM To: Wang, Yalin Cc: 'Ulf Hansson'; linux...@vger.kernel.org; len.br...@intel.com; r...@sisk.pl; linux-ker

RE: how to creat watchpoint in kernel for data access debug

2014-06-04 Thread Wang, Yalin
it design like this? If it can always step the watchpoint, Will be suitable for my use. Thanks -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Thursday, June 05, 2014 2:02 AM To: Wang, Yalin Cc: 'linux-mmc@vger.kernel.org'; 'linux-arch-ow...@vger.kernel.org

RE: how to creat watchpoint in kernel for data access debug

2014-06-03 Thread Wang, Yalin
[mailto:will.dea...@arm.com] Sent: Wednesday, June 04, 2014 12:45 AM To: Wang, Yalin Cc: 'linux-mmc@vger.kernel.org'; 'linux-arch-ow...@vger.kernel.org' Subject: Re: how to creat watchpoint in kernel for data access debug On Sat, May 24, 2014 at 04:48:20AM +0100, Wang, Yalin wrote: Hi Will, Hello

RE: how to creat watchpoint in kernel for data access debug

2014-05-23 Thread Wang, Yalin
? Is there some modules have implement watchpoint probe function just like kporbe in kernel ? Appreciate for your point out and help . Thanks -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Friday, May 23, 2014 9:46 PM To: Wang, Yalin Cc: 'linux-mmc

[no subject]

2014-05-22 Thread Wang, Yalin
Hi I have a problems that I want create a watchpoint to monitor a data for Debug in kernel , but I don't know how to do it , I try the kprobes , but seems it only support create .text section probe , Can't monitor data access , then I try perf_event_create to create a hardware Data

how to creat watchpoint in kernel for data access debug

2014-05-22 Thread Wang, Yalin
Sorry, add a title . Hi I have a problems that I want create a watchpoint to monitor a data for Debug in kernel , but I don't know how to do it , I try the kprobes , but seems it only support create .text section probe , Can't monitor data access , then I try perf_event_create to create a

RE: FW: bug fix for mmc queue.c

2014-01-23 Thread Wang, Yalin
; --- -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Thursday, January 23, 2014 10:01 PM To: Wang, Yalin Subject: Re: FW: bug fix for mmc queue.c On Thu, Jan 23, 2014 at 08:14:56AM +, Wang, Yalin wrote: Hi Will, Hello, I