RE: [PATCH 0/6] Drivers: hv: vmbus

2015-02-15 Thread KY Srinivasan
> -Original Message- > From: Dexuan Cui > Sent: Sunday, February 15, 2015 7:19 PM > To: KY Srinivasan; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; vkuzn...@redhat.com > Subject: RE: [PATCH 0/6] Drivers: h

RE: [PATCH 0/6] Drivers: hv: vmbus

2015-02-15 Thread Dexuan Cui
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf > Of K. Y. Srinivasan > Sent: Monday, February 16, 2015 4:11 AM > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical

[PATCH 1/4] staging: unisys: declare visorchipset_ioctl static

2015-02-15 Thread Frederico Cadete
This symbol is not exported nor referenced anywhere else in the kernel. Signed-off-by: Frederico Cadete --- drivers/staging/unisys/visorchipset/file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/vi

[PATCH 4/4] staging: unisys: style: remove unnecessary braces

2015-02-15 Thread Frederico Cadete
Signed-off-by: Frederico Cadete --- drivers/staging/unisys/visorchannel/visorchannel_funcs.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c index 0188ef8

[PATCH 3/4] staging: unisys: style: Replace typedefs with structs in visorchipset_main.c

2015-02-15 Thread Frederico Cadete
Signed-off-by: Frederico Cadete --- .../staging/unisys/visorchipset/visorchipset_main.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c in

[PATCH 2/4] staging: unisys: remove unused MESSAGE_ENVELOPE typedef

2015-02-15 Thread Frederico Cadete
Signed-off-by: Frederico Cadete --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index f606ee9..848afaa 100644 ---

[PATCH 0/4 linux-next] staging: unisys: a few checkpatch fixes

2015-02-15 Thread Frederico Cadete
Here are a few fixes of style warnings detected by checkpatch.pl in drivers/staging/unisys. Patches were generated on top of linux-next 20150213; let me know if a rebase on top of another tag is preferred. Frederico Cadete (4): staging: unisys: declare visorchipset_ioctl static staging: unisy

[PATCH 2/2] dgnc: Move DG_PART definition from Makefile to dgnc_driver.h

2015-02-15 Thread Cass May
Avoid deprecated usage of EXTRA_CFLAGS by moving definition of DG_PART into dgnc_driver.h Signed-off-by: Cass May --- drivers/staging/dgnc/Makefile | 2 -- drivers/staging/dgnc/dgnc_driver.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/Makefile

[PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable

2015-02-15 Thread Cass May
Clean up Makefile by removing unnecessary definition of DG_NAME. Signed-off-by: Cass May --- Having done some build tests, it seems that DG_NAME is not needed, but DG_PART is referenced in dgnc_mgmt.c. I have removed the former, and moved the latter into the appropriate header. drivers/stagi

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-02-15 Thread Pavel Machek
On Wed 2015-01-21 13:27:00, Jason Gunthorpe wrote: > On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote: > > Hi Alan, > > > > > On Jan 21, 2015, at 18:01 , One Thousand Gnomes > > > wrote: > > > > > > On Thu, 15 Jan 2015 22:54:46 +0200 > > > Pantelis Antoniou wrote: > > > > > >

[PATCH 4/6] Drivers: hv: vmbus: Remove the channel from the channel list(s) on failure

2015-02-15 Thread K. Y. Srinivasan
Properly rollback state in vmbus_pocess_offer() in the failure paths. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index af53168..b

[PATCH 3/6] Drivers: hv: vmbus: Handle both rescind and offer messages in the same context

2015-02-15 Thread K. Y. Srinivasan
Execute both ressind and offer messages in the same work context. This serializes these operations and naturally addresses the various corner cases. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 71 1 files changed, 20 insertions(

[PATCH 0/6] Drivers: hv: vmbus

2015-02-15 Thread K. Y. Srinivasan
The host can rescind an offer any time after the offer has been made to the guest. This patch-set cleans up how we handle rescind messages from the host. K. Y. Srinivasan (6): Drivers: hv: vmbus: Properly handle child device remove Drivers: hv: vmbus: Introduce a function to remove a rescinde

[PATCH 1/6] Drivers: hv: vmbus: Properly handle child device remove

2015-02-15 Thread K. Y. Srinivasan
Handle the case when the device may be removed when the device has no driver attached to it. Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index da4

[PATCH 6/6] Drivers: hv: vmbus: Get rid of some unnecessary messages

2015-02-15 Thread K. Y. Srinivasan
Currently we log messages when either we are not able to map an ID to a channel or when the channel does not have a callback associated (in the channel interrupt handling path). These messages don't add any value, get rid of them. Signed-off-by: K. Y. Srinivasan --- drivers/hv/connection.c |

[PATCH 2/6] Drivers: hv: vmbus: Introduce a function to remove a rescinded offer

2015-02-15 Thread K. Y. Srinivasan
In response to a rescind message, we need to remove the channel and the corresponding device. Cleanup this code path by factoring out the code to remove a channel. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c |9 drivers/hv/channel_mgmt.c | 49

[PATCH 5/6] Drivers: hv: util: On device remove, close the channel after de-initializing the service

2015-02-15 Thread K. Y. Srinivasan
When the offer is rescinded, vmbus_close() can free up the channel; deinitialize the service before closing the channel. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_util.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c

[PATCH] clocking-wizard: fix one coding style problem.

2015-02-15 Thread Tan Nguyen
Added one line after variable declaration. Signed-off-by: Tan Nguyen --- drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c b/drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c

[GIT PULL] Staging driver patches for 3.20-rc1

2015-02-15 Thread Greg KH
The following changes since commit e36f014edff70fc02b3d3d79cead1d58f289332e: Linux 3.19-rc7 (2015-02-01 20:07:21 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.20-rc1 for you to fetch changes up to 533e80b1ea7