Re: [PATCH] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Amit Shah
On (Fri) 06 Sep 2013 [10:28:36], Aaron Lu wrote: The virtio_pci_freeze/restore are defined under CONFIG_PM but is used by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under CONFIG_PM_SLEEP. So if CONFIG_PM_SLEEP is not cofigured but CONFIG_PM_RUNTIME is, the following warning message

Re: [PATCH] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Amit Shah
On (Fri) 06 Sep 2013 [15:41:36], Aaron Lu wrote: On 09/06/2013 03:20 PM, Amit Shah wrote: On (Fri) 06 Sep 2013 [10:28:36], Aaron Lu wrote: The virtio_pci_freeze/restore are defined under CONFIG_PM but is used by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under CONFIG_PM_SLEEP. So

Re: [PATCH] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Amit Shah
On (Fri) 06 Sep 2013 [10:28:36], Aaron Lu wrote: The virtio_pci_freeze/restore are defined under CONFIG_PM but is used by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under CONFIG_PM_SLEEP. So if CONFIG_PM_SLEEP is not cofigured but CONFIG_PM_RUNTIME is, the following warning message

Re: [PATCH 0/2] virtio: Replace CONFIG_PM with CONFIG_PM_SLEEP

2013-09-06 Thread Amit Shah
On (Fri) 06 Sep 2013 [16:20:05], Aaron Lu wrote: This patchset replace CONFIG_PM with CONFIG_PM_SLEEP for all virtio drivers and virtio pci driver. With patch 1/2, two compile warnings are eliminated for virtio pci driver, and patch 2/2 is a clean up for all virtio drivers as suggested by

CFP: WorldCIST'14 - World Conference on IST; Best papers published in ISI Journals

2013-09-06 Thread Maria Lemos
Apologies if you are receiving this mail more than once... Please disseminate by friends, colleagues, researchers, students, etc. Thanks a lot! ** WorldCIST'14 The 2014 World Conference

Re: [PATCH RESEND v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-09-06 Thread Sudeep Dutt
On Thu, 2013-09-05 at 18:36 -0700, Joe Perches wrote: Whitespace neatening... Multiline statement argument alignment. Argument wrapping. Use kmalloc_array instead of kmalloc. --- Hi Joe, We will incorporate your changes in the next version of this patch series and run all future patches

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Sudeep Dutt
On Thu, 2013-09-05 at 21:58 -0700, Greg Kroah-Hartman wrote: Again, very minor fixups for later (I can even do them...) +static DEVICE_ATTR(state, S_IRUGO|S_IWUSR, mic_show_state, mic_store_state); DEVICE_ATTR_RW() please. Same for the other attributes you create in this patch.

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Sudeep Dutt
On Thu, 2013-09-05 at 22:00 -0700, Greg Kroah-Hartman wrote: On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What: /sys/class/mic/mic(x)/cmdline +Date: August 2013 +KernelVersion: 3.11 +Contact: Sudeep Dutt sudeep.d...@intel.com

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Greg Kroah-Hartman
On Fri, Sep 06, 2013 at 11:41:03AM -0700, Sudeep Dutt wrote: On Thu, 2013-09-05 at 22:01 -0700, Greg Kroah-Hartman wrote: On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What:/sys/class/mic/mic(x)/firmware +Date:August 2013 +KernelVersion: 3.11

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Sudeep Dutt
On Thu, 2013-09-05 at 22:01 -0700, Greg Kroah-Hartman wrote: On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What: /sys/class/mic/mic(x)/firmware +Date: August 2013 +KernelVersion: 3.11 +Contact: Sudeep Dutt sudeep.d...@intel.com

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Sudeep Dutt
On Fri, 2013-09-06 at 12:04 -0700, Greg Kroah-Hartman wrote: On Fri, Sep 06, 2013 at 11:41:03AM -0700, Sudeep Dutt wrote: On Thu, 2013-09-05 at 22:01 -0700, Greg Kroah-Hartman wrote: On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What:

Re: [PATCH] drivers/vhost/scsi.c: avoid a 10-order allocation

2013-09-06 Thread Dan Aloni
On Wed, Sep 04, 2013 at 12:02:01PM +0300, Michael S. Tsirkin wrote: On Sun, Aug 18, 2013 at 12:18:38PM +0300, Michael S. Tsirkin wrote: On Sun, Aug 18, 2013 at 11:48:56AM +0300, Dan Aloni wrote: On 3.10.7 and x86_64, as a result of sizeof(struct vhost_scsi) being 2152960 bytes the

[PATCH] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Aaron Lu
The virtio_pci_freeze/restore are defined under CONFIG_PM but is used by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under CONFIG_PM_SLEEP. So if CONFIG_PM_SLEEP is not cofigured but CONFIG_PM_RUNTIME is, the following warning message appeared: drivers/virtio/virtio_pci.c:770:12: warning:

[PATCH 2/2] virtio: pm: use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Aaron Lu
The freeze and restore functions defined in virtio drivers are used for suspend and hibernate, so CONFIG_PM_SLEEP is more appropriate than CONFIG_PM. This patch replace all CONFIG_PM with CONFIG_PM_SLEEP for virtio drivers that implement freeze and restore callbacks. Signed-off-by: Aaron Lu

Re: [PATCH] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Aaron Lu
On 09/06/2013 03:20 PM, Amit Shah wrote: On (Fri) 06 Sep 2013 [10:28:36], Aaron Lu wrote: The virtio_pci_freeze/restore are defined under CONFIG_PM but is used by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under CONFIG_PM_SLEEP. So if CONFIG_PM_SLEEP is not cofigured but

Re: [PATCH 0/2] virtio: Replace CONFIG_PM with CONFIG_PM_SLEEP

2013-09-06 Thread Aaron Lu
On 09/06/2013 04:22 PM, Amit Shah wrote: On (Fri) 06 Sep 2013 [16:20:05], Aaron Lu wrote: This patchset replace CONFIG_PM with CONFIG_PM_SLEEP for all virtio drivers and virtio pci driver. With patch 1/2, two compile warnings are eliminated for virtio pci driver, and patch 2/2 is a clean up

[PATCH 0/2] virtio: Replace CONFIG_PM with CONFIG_PM_SLEEP

2013-09-06 Thread Aaron Lu
This patchset replace CONFIG_PM with CONFIG_PM_SLEEP for all virtio drivers and virtio pci driver. With patch 1/2, two compile warnings are eliminated for virtio pci driver, and patch 2/2 is a clean up for all virtio drivers as suggested by Amit Shah. Aaron Lu (2): virtio_pci: pm: Use

[PATCH 1/2] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM

2013-09-06 Thread Aaron Lu
The virtio_pci_freeze/restore are defined under CONFIG_PM but is used by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under CONFIG_PM_SLEEP. So if CONFIG_PM_SLEEP is not cofigured but CONFIG_PM_RUNTIME is, the following warning message appeared: drivers/virtio/virtio_pci.c:770:12: warning:

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Greg Kroah-Hartman
On Fri, Sep 06, 2013 at 11:29:17AM -0700, Sudeep Dutt wrote: On Thu, 2013-09-05 at 21:58 -0700, Greg Kroah-Hartman wrote: Again, very minor fixups for later (I can even do them...) +static DEVICE_ATTR(state, S_IRUGO|S_IWUSR, mic_show_state, mic_store_state); DEVICE_ATTR_RW()