RE: [PATCH 08/25] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@suse.de] > Sent: Friday, April 29, 2011 7:14 PM > To: KY Srinivasan > Cc: Greg KH; linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree > Consulting > PVT LT

Re: [PATCH 08/25] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread Greg KH
On Fri, Apr 29, 2011 at 10:02:43PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@suse.de] > > Sent: Friday, April 29, 2011 11:11 AM > > To: KY Srinivasan > > Cc: Greg KH; linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > > virtualizat.

RE: [PATCH 08/25] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@suse.de] > Sent: Friday, April 29, 2011 11:11 AM > To: KY Srinivasan > Cc: Greg KH; linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree > Consulting > PVT L

[PATCH 13/18] Staging: hv: Add remove() function to struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
Add remove() function to struct hv_driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/hv/vmbus

[PATCH 09/18] Staging: hv: Make event_dpc a stand alone variable

2011-04-29 Thread K. Y. Srinivasan
In preparation for getting rid of struct hv_bus, Make event_dpc a stand alone variable. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_drv.c |6 +++--- 1 files changed, 3 insertions(+), 3 d

[PATCH 12/18] Staging: hv: Use the probe function in struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
Use the newly introduced probe function. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 19 +-- drivers/staging/hv/hv_mouse.c| 11 +-- drivers/staging/

[PATCH 11/18] Staging: hv: Add probe function to struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
Add probe function to struct hv_driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/staging/hv/vmbus_

[PATCH 08/18] Staging: hv: Make msg_dpc a stand alone variable

2011-04-29 Thread K. Y. Srinivasan
In preparation for cleaning up (getting rid of) of the hv_bus structure, make msg_dpc a stand alone variable. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_drv.c |7 --- 1 files change

[PATCH 10/18] Staging: hv: Get rid of struct hv_bus

2011-04-29 Thread K. Y. Srinivasan
Now, get rid of struct hv_bus. We will no longer be embedding struct bus_type. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_drv.c | 33 + 1 files changed, 13

[PATCH 16/18] Staging: hv: Use the shutdown() function in struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
Use the newly introduced shutdown() function. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |6 +++--- drivers/staging/hv/vmbus_drv.c |6 +++--- 2 files changed, 6 insertions(

[PATCH 06/18] Staging: hv: Properly handle errors in hv_pci_probe()

2011-04-29 Thread K. Y. Srinivasan
Much of the vmbus driver initialization is done within the hv_pci_probe() function. Properly handle errors in hv_pci_probe so that we can appropriately deal with loading of the vmbus driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by:

[PATCH 05/18] Staging: hv: Cleanup vmbus_probe() function

2011-04-29 Thread K. Y. Srinivasan
The logic for handling probe failure was broken. Now that we have cleaned up error handling, get rid of the vmbus_probe_failed_cb() function. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.

[PATCH 04/18] Staging: hv: Cleanup error handling in vmbus_child_device_register()

2011-04-29 Thread K. Y. Srinivasan
Cleanup error handling in vmbus_child_device_register(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_drv.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH 01/18] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread K. Y. Srinivasan
The vmbus driver cannot be unloaded; the windows host does not permit this: A) All guest resources given to the host cannot be recovered and B) Windows host does not permit reloading the vmbus_driver without re-booting the guest. Both these issues are host related. Acknowledge this reality and clea

[PATCH 15/18] Staging: hv: Add shutdown() function to struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
Add shutdown() function to struct hv_driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/hv/vmb

[PATCH 07/18] Staging: hv: Make hv_pci_dev a static variable

2011-04-29 Thread K. Y. Srinivasan
Make hv_pci_dev a static variable. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/hv/vmbus_drv.c

[PATCH 03/18] Staging: hv: Get rid of the drv field in struct hv_device

2011-04-29 Thread K. Y. Srinivasan
Now, we can rid of the drv field in struct hv_device. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/sta

[PATCH 17/18] Staging: hv: VMBUS is a acpi enumerated device; get irq value from bios

2011-04-29 Thread K. Y. Srinivasan
On some Windows hosts, the Linux PCI sub-system is not allocating irq resources to the vmbus driver. It looks like VMBUS is an ACPI enumerated device. Retrieve the irq information from DSDT. Currently we use this bios specified irq, if the PCI sub-system fails to allocate the irq. Signed-off-by

[PATCH 14/18] Staging: hv: Use the remove() function in struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
Use the newly introduced remove() function in struct hv_driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 11 +-- drivers/staging/hv/hv_mouse.c| 11 +-- d

[PATCH 02/18] Staging: hv: Get rid of vmbus_release_unattached_channels() as it is not used

2011-04-29 Thread K. Y. Srinivasan
Since vmbus_release_unattached_channels() is only used in module unload path and since the vmbus driver cannot be unloaded, get rid of this "dead" code. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv

[PATCH 18/18] Staging: hv: Get rid of an unused variable from struct hv_driver

2011-04-29 Thread K. Y. Srinivasan
The name field is unused in struct hv_driver. Get rid of it. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drive

[RESEND] [PATCH 00/18] Staging: hv: Cleanup vmbus driver code

2011-04-29 Thread K. Y. Srinivasan
This is a resend of the patches yet to be applied. This patch-set addresses some of the bus/driver model cleanup that Greg sugested over the last couple of days. In this patch-set we deal with the following issues: 1) Cleanup error handling in the vmbus_probe() and vmbus_chil

Re: [PATCH 1/2] staging: Add Snappy compression library (v3)

2011-04-29 Thread Nitin Gupta
On 04/15/2011 07:52 PM, Zeev Tarantov wrote: From: Zeev Tarantov Google's Snappy data compression library is a faster alternative to LZO, optimized for x86-64. On compressible input it compresses ~2.5x faster than LZO and decompresses ~1.5-2x faster than LZO. On incompressible input, it skips th

Re: [PATCH 2/2] staging: Add Snappy compression support to zram - alt

2011-04-29 Thread Nitin Gupta
On 04/15/2011 09:17 PM, Zeev Tarantov wrote: From: Zeev Tarantov Zram currently uses LZO compression. With Snappy, it uses less CPU time and is thus more useful. The sacrifice in compression ratio is small. This is an alternate patch that enables choosing between LZO and Snappy only at compile t

[PATCH 8/8] staging: intel_sst: intelmid needs delay.h

2011-04-29 Thread Greg Kroah-Hartman
From: Randy Dunlap intel_sst drivers need to #include so that they build cleanly: drivers/staging/intel_sst/intelmid_v1_control.c:188: error: implicit declaration of function 'msleep' drivers/staging/intel_sst/intelmid_v2_control.c:172: error: implicit declaration of function 'msleep' Signed

[PATCH 4/8] staging: rts_pstor: use #ifdef instead of #if

2011-04-29 Thread Greg Kroah-Hartman
From: Jeff Mahoney This patch fixes a number of the following warnings: warning: "CONFIG_RTS_PSTOR_DEBUG" is not defined The code uses '#if CONFIG_RTS_PSTOR_DEBUG' when it should be using '#ifdef' Signed-off-by: Jeff Mahoney Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rts_pstor/deb

[PATCH 6/8] staging: usbip: vhci: fix oops on subsequent attach

2011-04-29 Thread Greg Kroah-Hartman
From: Max Vozeler vhci_rx/vhci_tx threads are created once but stopped each time the vdev is shut down. On subsequent attach wake_up_process() oopses trying to access the stopped threads. This patch does as before the kthread conversion which is to create the threads each time a device is attach

[PATCH 7/8] staging: solo6x10: add select SND_PCM to fix build error

2011-04-29 Thread Greg Kroah-Hartman
From: Peter Foley This patch fixes a build error when SND_PCM is not set by adding a select statment. Signed-off-by: Peter Foley Acked-By: Ben Collins Signed-off-by: Greg Kroah-Hartman --- drivers/staging/solo6x10/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH 5/8] staging: ft1000: Remove unnecessary EXPORT_SYMBOLs

2011-04-29 Thread Greg Kroah-Hartman
From: Jeff Mahoney ft1000-pcmcia uses EXPORT_SYMBOL unnecessarily for sharing symbols inside the same module. For some reason, this is causing section conflicts on ia64 as well, even though neither are static. error: __ksymtab_stop_ft1000_card causes a section type conflict error: __ksymtab

[PATCH 3/8] staging: rts_pstor: Add

2011-04-29 Thread Greg Kroah-Hartman
From: Jeff Mahoney There are a few files in the rts_pstor driver that use vmalloc/vfree without including the header for it. This patch adds to those files. Signed-off-by: Jeff Mahoney Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rts_pstor/ms.c|1 + drivers/staging/r

[PATCH 1/8] staging: olpc: Add

2011-04-29 Thread Greg Kroah-Hartman
From: Jeff Mahoney The olpc dcon xo1 driver uses udelay() without including . This patch adds it. Signed-off-by: Jeff Mahoney Signed-off-by: Randy Dunlap Cc: Andres Salomon Signed-off-by: Greg Kroah-Hartman --- drivers/staging/olpc_dcon/olpc_dcon_xo_1.c |1 + 1 files changed, 1 inser

[PATCH 2/8] staging: gma500: Depend on X86

2011-04-29 Thread Greg Kroah-Hartman
From: Jeff Mahoney The gma500 driver calls set_pages_uc, which is an x86 pageattr call. Since this driver is only used with Intel x86 motherboard chipsets, make the driver depend on X86. Signed-off-by: Jeff Mahoney Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gma500/Kconfig |2

[GIT PATCH] STAGING fixes for .39

2011-04-29 Thread Greg KH
Here are a number of minor staging driver fixes for your .39-rc tree. Almost all of these fix build errors that have been reported by people. There is one usbip bugfix for a runtime issue as well. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/staging-2.6.git/ stagi

RE: [PATCH 08/25] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@suse.de] > Sent: Friday, April 29, 2011 11:11 AM > To: KY Srinivasan > Cc: Greg KH; linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree > Consulting > PVT L

RE: [PATCH 00/25] Staging: hv: Cleanup vmbus driver code

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Friday, April 29, 2011 12:40 PM > To: KY Srinivasan > Cc: Christoph Hellwig; gre...@suse.de; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org > Subject: Re: [PATCH 00/25] Stagin

[PATCH 0/2] ath6kl: two fixes

2011-04-29 Thread Kalle Valo
Hi Greg, here are two fixes to ath6kl. checkpatch complains about indenting, but that's because indenting is already wrong in the original files. That will be fixed separately. --- Naveen Singh (2): staging: ath6kl: cfg80211_roam issue; driver wedge staging: ath6kl: open/shared auth

[PATCH 2/2] staging: ath6kl: open/shared auth implementation

2011-04-29 Thread Kalle Valo
From: Naveen Singh If the wpa_supplicant conf file supplies both open and shared algorithm, and AP is configured as shared then connection never happens. Since it is a FMAC driver additional logic is added in driver which first detects this, then tries open algorithm for the first time and when i

[PATCH 1/2] staging: ath6kl: cfg80211_roam issue; driver wedge

2011-04-29 Thread Kalle Valo
From: Naveen Singh If a heavy traffic is undergoing and a link is lost (bcn miss), wlan driver does a reconnection on its own and after connection is re-established, reports it as ROAM_EVENT to cfg. Now this event is handled as work queue. It could very well happen that by the time this event get

Re: [PATCH 00/25] Staging: hv: Cleanup vmbus driver code

2011-04-29 Thread Greg KH
On Fri, Apr 29, 2011 at 04:32:35PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Christoph Hellwig [mailto:h...@infradead.org] > > Sent: Wednesday, April 27, 2011 8:19 AM > > To: KY Srinivasan > > Cc: Christoph Hellwig; Greg KH; gre...@suse.de; > > linux-ker...@vger.ke

RE: [PATCH 00/25] Staging: hv: Cleanup vmbus driver code

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Wednesday, April 27, 2011 8:19 AM > To: KY Srinivasan > Cc: Christoph Hellwig; Greg KH; gre...@suse.de; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org > Subject:

RE: [PATCH 12/25] Staging: hv: Cleanup error handling in vmbus_child_device_register()

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Wednesday, April 27, 2011 8:26 PM > To: KY Srinivasan > Cc: gre...@suse.de; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; > Abhishek Kane (Mindtree Consulting

Re: [PATCH 08/25] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread Greg KH
On Fri, Apr 29, 2011 at 01:49:21PM +, KY Srinivasan wrote: > > > 2) Windows host would not permit reloading the driver without > > > rebooting the guest. > > > > That's a different issue, and one that I am very surprised to hear. > > That kind of invalidates ever being able to update the drive

Re: [PATCH 00/25] Staging: hv: Cleanup vmbus driver code

2011-04-29 Thread Greg KH
On Fri, Apr 29, 2011 at 02:26:13PM +, KY Srinivasan wrote: > Perhaps I did not properly formulate my question here. The review > process itself may be open-ended, and that is fine - we will fix all > legitimate > issues/concerns in our drivers whether they are in the staging area or not. > M

RE: [PATCH 00/25] Staging: hv: Cleanup vmbus driver code

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Wednesday, April 27, 2011 8:28 PM > To: KY Srinivasan > Cc: gre...@suse.de; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org > Subject: Re: [PATCH 00/25] Staging: hv: Cleanup vm

GET BACK TO ME AS SOON AS POSSIBLE

2011-04-29 Thread Barrister Fred Cheong
I am Barr. Fred Cheong, Attorney at law. A deceased client of mine, that shares the same last name as yours,who died as the result of a heart-related condition in March 12th 2005. I have contacted you to assist in distributing the money left behind by my client($19,500million dollars) is lodged in

RE: [PATCH 08/25] Staging: hv: vmbus_driver cannot be unloaded; cleanup accordingly

2011-04-29 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Wednesday, April 27, 2011 8:20 PM > To: KY Srinivasan > Cc: gre...@suse.de; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; > Abhishek Kane (Mindtree Consulting