RE: TPM driver changes to support multiple locality

2007-10-11 Thread Agarwal, Lomesh
-Original Message- From: Randy Dunlap [mailto:[EMAIL PROTECTED] Sent: Thursday, October 11, 2007 4:02 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subject: Re: TPM driver changes to support multiple locality On Thu, 11 Oct 2007 15:46:03 -0700 Agarwal

RE: TPM driver changes to support multiple locality

2007-10-11 Thread Agarwal, Lomesh
Attached is the patch which resolves all the comments. tpm_tis.c.patch Description: tpm_tis.c.patch

RE: TPM driver changes to support multiple locality

2007-10-11 Thread Agarwal, Lomesh
-Original Message- From: Arjan van de Ven [mailto:[EMAIL PROTECTED] Sent: Thursday, October 11, 2007 2:41 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subject: Re: TPM driver changes to support multiple locality On Thu, 11 Oct 2007 11:33:35 -0700 "Ag

RE: TPM driver changes to support multiple locality

2007-10-11 Thread Agarwal, Lomesh
functions. That's why it is global. Locality parameter is initialized with 0 just to be safe. Are all the global variables in driver is guaranteed to be init 0? Even if it is it doesn't hurt to init it. -Original Message- From: Randy Dunlap [mailto:[EMAIL PROTECTED] Sent: Thursda

RE: TPM driver changes to support multiple locality

2007-10-11 Thread Agarwal, Lomesh
platform_device_unregister(pdev); driver_unregister(&tis_drv); + kfree(devname); } return rc; } @@ -692,7 +720,9 @@ if (force) { platform_device_unregister(pdev); driver_unregister(&tis_drv);

RE: TPM driver changes to support multiple locality

2007-10-10 Thread Agarwal, Lomesh
lto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 12:46 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: TPM driver changes to support multiple locality On Tue, 09 Oct 2007 15:51:11 PDT, "Agarwal, Lomesh" said: > Current TPM driver supports only locality

TPM driver changes to support multiple locality

2007-10-09 Thread Agarwal, Lomesh
Current TPM driver supports only locality 0. I am planning to add support so that it can access any locality. Locality parameter will be passed as parameter. Will this change be acceptable? If yes then I will modify the driver and send the patch. Thanks, Lomesh - To unsubscribe from this list: sen

RE: what is the difference between shutdown command and writing to /sys/power/state

2007-09-20 Thread Agarwal, Lomesh
] [mailto:[EMAIL PROTECTED] On Behalf Of Rafael J. Wysocki Sent: Wednesday, September 19, 2007 5:09 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: what is the difference between shutdown command and writing to /sys/power/state On Wednesday, 19 September 2007 23:37, Agarwal

RE: what is the difference between shutdown command and writing to /sys/power/state

2007-09-20 Thread Agarwal, Lomesh
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafael J. Wysocki Sent: Wednesday, September 19, 2007 5:09 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: what is the difference between shutdown command and writing to /sys/power

RE: what is the difference between shutdown command and writing to /sys/power/state

2007-09-19 Thread Agarwal, Lomesh
Wednesday, September 19, 2007 2:35 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: what is the difference between shutdown command and writing to /sys/power/state On Wednesday, 19 September 2007 20:50, Agarwal, Lomesh wrote: > Does linux handles writing "disk"

what is the difference between shutdown command and writing to /sys/power/state

2007-09-19 Thread Agarwal, Lomesh
Does linux handles writing "disk" to /sys/power/state and shutdown -P now differently (except writing to disk part)? I have a Xen system and if I try both (in dom0 which is linux) then writing "disk" powers off the system while issuing shutdown command halts the system but the system is still power

RE: which signal is sent to freeze process?

2007-07-26 Thread Agarwal, Lomesh
This patch works for me too. -Original Message- From: Manfred Spraul [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 11:49 AM To: Pavel Machek Cc: Rafael J. Wysocki; linux-kernel@vger.kernel.org; Agarwal, Lomesh; Nigel Cunningham Subject: Re: which signal is sent to freeze process

RE: which signal is sent to freeze process?

2007-07-23 Thread Agarwal, Lomesh
, July 23, 2007 2:51 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subject: Re: which signal is sent to freeze process? On Monday, 23 July 2007 22:57, Agarwal, Lomesh wrote: > Why do you need try_to_freeze in below patch? Shouldn't > !freezing(current) checkin

RE: which signal is sent to freeze process?

2007-07-23 Thread Agarwal, Lomesh
Why do you need try_to_freeze in below patch? Shouldn't !freezing(current) checking is enough? -Original Message- From: Rafael J. Wysocki [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 2007 3:10 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subjec

RE: which signal is sent to freeze process?

2007-07-23 Thread Agarwal, Lomesh
signal_pending(current)? -Original Message- From: Rafael J. Wysocki [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 12:25 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; Pavel Machek Subject: Re: which signal is sent to freeze process? On Monday, 23 July 2007

RE: which signal is sent to freeze process?

2007-07-23 Thread Agarwal, Lomesh
The other problem I am facing that read from socket returns with ENODATA when resuming. any ideas? -Original Message- From: Rafael J. Wysocki [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 2007 3:10 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subject: Re

RE: where is the code for read system call?

2007-07-23 Thread Agarwal, Lomesh
For future how do I trace a system call to a function in a kernel? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karsten Wiese Sent: Friday, July 20, 2007 5:09 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: where is the code for

where is the code for read system call?

2007-07-20 Thread Agarwal, Lomesh
My application reads from socket. I need to change the behavior of read system call for an experiment. Can someone point me to code? thanks - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.ke

RE: which signal is sent to freeze process?

2007-07-20 Thread Agarwal, Lomesh
Can you suggest a way I can debug the issue why I am getting EINTR error for system calls in resuming? What else can cause the system call failure with EINTR? -Original Message- From: Rafael J. Wysocki [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 2007 4:24 AM To: Agarwal, Lomesh Cc

RE: which signal is sent to freeze process?

2007-07-19 Thread Agarwal, Lomesh
fine. >From your mail it looks like freezer is not supposed to be interrupting system calls. Is that true? -Original Message- From: Nigel Cunningham [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 3:19 PM To: Agarwal, Lomesh Cc: [EMAIL PROTECTED]; Rafael Wysocki; linu

RE: which signal is sent to freeze process?

2007-07-19 Thread Agarwal, Lomesh
this error all over the place and somehow retry failed system call. Any ideas? -Original Message- From: Nigel Cunningham [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 9:59 PM To: Agarwal, Lomesh; Rafael Wysocki Cc: linux-kernel@vger.kernel.org Subject: Re: which signal is sent to

RE: which signal is sent to freeze process?

2007-07-18 Thread Agarwal, Lomesh
Can you point me to code where kernel captures process in signal handling and code which runs after suspend to ram is finished? -Original Message- From: Nigel Cunningham [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 7:19 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org

which signal is sent to freeze process?

2007-07-18 Thread Agarwal, Lomesh
My understanding is that Linux kernel sends a signal to freeze processes during suspend2ram operation. Which signal is used to achieve this? The problem I am facing is that some of the system calls are failing with EINTR errno during suspend operation and I want to install a signal handler for free

RE: S3 state transition

2007-07-12 Thread Agarwal, Lomesh
I searched the archives but couldn't get much. Can you point me to code? Thanks, Lomesh -Original Message- From: Pavel Machek [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 7:14 AM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: S3 state transition O

S3 state transition

2007-07-11 Thread Agarwal, Lomesh
I am trying to understand how Linux handles S3 state transition. Specially I want to understand what it does anything for processes loaded at the time of transition. Any pointers to code/document will be helpful. Thanks, Lomesh - To unsubscribe from this list: send the line "unsubscribe linux-kern