Re: [PATCH 1/6] staging: wlan-ng: Fixed block comment coding style

2016-01-11 Thread Sudip Mukherjee
On Sat, Jan 09, 2016 at 11:23:14AM +0530, Pranjal wrote: > > > On Saturday 09 January 2016 09:58 AM, Sudip Mukherjee wrote: > >On Sat, Jan 09, 2016 at 12:29:21AM +0530, Pranjal Bhor wrote: > >>Block comments now end with '*/' on a newline and all lines > >>of block comments now begin with '*' > >

Re: [RFC PATCH v0] Add tw5864 driver

2016-01-11 Thread Hans Verkuil
Hi Andrey, On 01/03/2016 02:41 AM, Andrey Utkin wrote: > (Disclaimer up to scissors mark) > > Please be so kind to take a look at a new driver. > We aim to follow high standards of kernel development and possibly to get > this driver in mainline kernel. > The device is multichannel video and aud

[PATCH] staging: comedi: dt2801: Prefer using the BIT macro

2016-01-11 Thread Bhaktipriya Shridhar
As suggested by checkpatch.pl, this patch replaces bit shifting on 1 with the BIT(x) macro. Signed-off-by: Bhaktipriya Shridhar --- drivers/staging/comedi/drivers/dt2801.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2801

Re: [PATCH] staging: comedi: dt2801: Prefer using the BIT macro

2016-01-11 Thread Ian Abbott
On 11/01/16 16:04, Bhaktipriya Shridhar wrote: As suggested by checkpatch.pl, this patch replaces bit shifting on 1 with the BIT(x) macro. Signed-off-by: Bhaktipriya Shridhar --- drivers/staging/comedi/drivers/dt2801.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)

[RESUBMIT PATCH v2 07/14] staging/rdma/hfi1: Add definitions and support functions for TID groups

2016-01-11 Thread ira . weiny
From: Mitko Haralanov Definitions and functions use to manage sets of TID/RcvArray groups. These will be used by the TID cacheline functionality coming with later patches. TID groups (or RcvArray groups) are groups of TID/RcvArray entries organized in sets of 8 and aligned on cacheline boundarie

[RESUBMIT PATCH v2 01/14] staging/rdma/hfi1: Add function stubs for TID caching

2016-01-11 Thread ira . weiny
From: Mitko Haralanov Add mmu notify helper functions and TID caching function stubs in preparation for the TID caching implementation. TID caching makes use of the MMU notifier to allow the driver to respond to the user freeing memory which is allocated to the HFI. This patch implements the ba

[RESUBMIT PATCH v2 11/14] staging/rdma/hfi1: Add MMU notifier callback function

2016-01-11 Thread ira . weiny
From: Mitko Haralanov TID caching will rely on the MMU notifier to be told when memory is being invalidated. When the callback is called, the driver will find all RcvArray entries that span the invalidated buffer and "schedule" them to be freed by the PSM library. This function is currently unus

[RESUBMIT PATCH v2 10/14] staging/rdma/hfi1: Add Expected receive init and free functions

2016-01-11 Thread ira . weiny
From: Mitko Haralanov The upcoming TID caching feature requires different data structures and, by extension, different initialization for each of the MPI processes. The two new functions (currently unused) perform the required initialization and freeing of required resources and structures. Sig

[RESUBMIT PATCH v2 03/14] uapi/rdma/hfi/hfi1_user.h: Convert definitions to use BIT() macro

2016-01-11 Thread ira . weiny
From: Mitko Haralanov Convert bit definitions to use BIT() macro as per checkpatch.pl requirements. Reviewed-by: Ira Weiny Signed-off-by: Mitko Haralanov --- include/uapi/rdma/hfi/hfi1_user.h | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff

[RESUBMIT PATCH v2 12/14] staging/rdma/hfi1: Add TID free/clear function bodies

2016-01-11 Thread ira . weiny
From: Mitko Haralanov Up to now, the functions which cleared the programmed TID entries and gave PSM the list of invalidated TID entries were just stubs. With this commit, the bodies of these functions are added. This commit is a bit asymmetric as it only contains the free code path. This is don

[RESUBMIT PATCH v2 02/14] uapi/rdma/hfi/hfi1_user.h: Correct comment for capability bit

2016-01-11 Thread ira . weiny
From: Mitko Haralanov The HFI1_CAP_TID_UNMAP comment was incorrectly implying the opposite of what capability actually did. Correct this error. Reviewed-by: Ira Weiny Signed-off-by: Mitko Haralanov --- include/uapi/rdma/hfi/hfi1_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

From: Ira Weiny

2016-01-11 Thread ira . weiny
NOTE: This is being resubmitted to linux-rdma (for patchworks) to aid Doug Ledford in taking over the staging/rdma subtree. https://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg30860.html Doug, these apply on top of the work already accepted by Greg. So we will need you to merge with Gr

[RESUBMIT PATCH v2 04/14] uapi/rdma/hfi/hfi1_user.h: Add command and event for TID caching

2016-01-11 Thread ira . weiny
From: Mitko Haralanov TID caching will use a new event to signal userland that cache invalidation has occurred and needs a matching command code that will be used to read the invalidated TIDs. Add the event bit and the new command to the exported header file. The command is also added to the sw

[RESUBMIT PATCH v2 09/14] staging/rdma/hfi1: Convert lock to mutex

2016-01-11 Thread ira . weiny
From: Mitko Haralanov The exp_lock lock does not need to be a spinlock as all its uses are in process context and allowing the process to sleep when the mutex is contended might be benefitial. Signed-off-by: Mitko Haralanov Reviewed-by: Ira Weiny --- drivers/staging/rdma/hfi1/file_ops.c | 12

[RESUBMIT PATCH v2 06/14] staging/rdma/hfi1: Remove un-needed variable

2016-01-11 Thread ira . weiny
From: Mitko Haralanov There is no need to use a separate variable for a return value and a label when returning right away would do just as well. Signed-off-by: Mitko Haralanov Reviewed-by: Ira Weiny --- drivers/staging/rdma/hfi1/file_ops.c | 11 --- 1 file changed, 4 insertions(+), 7

[RESUBMIT PATCH v2 13/14] staging/rdma/hfi1: Add TID entry program function body

2016-01-11 Thread ira . weiny
From: Mitko Haralanov The previous patch in the series added the free/invalidate function bodies. Now, it's time for the programming side. This large function takes the user's buffer, breaks it up into manageable chunks, allocates enough RcvArray groups and programs the chunks into the RcvArray

[RESUBMIT PATCH V5 1/2] staging/rdma/hfi1: add dd_dev_dbg

2016-01-11 Thread ira . weiny
From: Ira Weiny To be used in future patches add dd_dev_dbg. dd_* functions properly decode the hfi1_devdata structure used throughout the driver Signed-off-by: Ira Weiny --- drivers/staging/rdma/hfi1/hfi.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/rdma/hfi1/hfi.

[RESUBMIT PATCH V5 2/2] staging/rdma/hfi1: set Gen3 half-swing for integrated devices

2016-01-11 Thread ira . weiny
From: Dean Luick Correctly set half-swing for integrated devices. A0 needs all fields set for CcePcieCtrl. B0 and later only need a few fields set. Reviewed-by: Stuart Summers Signed-off-by: Dean Luick Signed-off-by: Ira Weiny --- Changes from V1: Add comments concerning the very l

[RESUBMIT PATCH V5 0/2] staging/rdma/hfi1: set Gen 3 half-swing for integrated devices.

2016-01-11 Thread ira . weiny
From: Ira Weiny NOTE: This is being resubmitted to linux-rdma (for patchworks) to aid Doug Ledford in taking over the staging/rdma subtree. https://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg30860.html This patch set is to follow: staging/rdma/hfi1: Enable TID caching feature Thanks

[RESUBMIT PATCH v2 08/14] staging/rdma/hfi1: Start adding building blocks for TID caching

2016-01-11 Thread ira . weiny
From: Mitko Haralanov Functions added by this patch are building blocks for the upcoming TID caching functionality. The functions added are currently unsed (and marked as such.) The functions' purposes are to find physically contigous pages in the user's virtual buffer, program the RcvArray grou

[RESUBMIT PATCH v2 05/14] staging/rdma/hfi1: Add definitions needed for TID caching support

2016-01-11 Thread ira . weiny
From: Mitko Haralanov In preparation for adding the TID caching support, there is a set of headers, structures, and variables which will be needed. This commit adds them to the hfi.h header file. Signed-off-by: Mitko Haralanov Reviewed-by: Ira Weiny --- drivers/staging/rdma/hfi1/hfi.h | 20 ++

[RESUBMIT PATCH v2 14/14] staging/rdma/hfi1: Enable TID caching feature

2016-01-11 Thread ira . weiny
From: Mitko Haralanov This commit "flips the switch" on the TID caching feature implemented in this patch series. As well as enabling the new feature by tying the new function with the PSM API, it also cleans up the old unneeded code, data structure members, and variables. Due to difference in

[PATCH v2 5/7] staging/wilc1000: Remove unneeded imports

2016-01-11 Thread Janosch Frank
Apart from spi.h and module.h, none of the imports are used anymore. Signed-off-by: Janosch Frank --- drivers/staging/wilc1000/linux_wlan_spi.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_spi.c b/drivers/staging/wilc1000/linux_wlan_spi.c index

[PATCH v2 7/7] staging/wilc1000: Remove unneeded forward declaration

2016-01-11 Thread Janosch Frank
linux_spi_deinit is not used from within linux_wlan_spi.c, so the declaration is useless. Signed-off-by: Janosch Frank --- drivers/staging/wilc1000/linux_wlan_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_spi.c b/drivers/staging/wilc1000/linux_wl

[PATCH v2 3/7] staging/wilc1000: Sanitize linux_spi_read

2016-01-11 Thread Janosch Frank
Removed unneeded newlines. Moved variable definitions to the top. Improved control flow to get rid of indents. Replaced while with for. Added additional error message and improved existing ones. Signed-off-by: Janosch Frank --- drivers/staging/wilc1000/linux_wlan_spi.c | 79 +++--

[PATCH v2 1/7] staging/wilc1000: Introduce linux_spi_msg_init

2016-01-11 Thread Janosch Frank
Since all spi read and write functions were basically preparing the same data, moving the preparation into a function decreased line count a lot. This also resolves the following problems: Zeroing the message ourselves is not needed, as spi_message_init() already does that for us. The comment on

[PATCH v2 6/7] staging/wilc1000: Remove unneeded USE_SPI_DMA

2016-01-11 Thread Janosch Frank
After zeroing the message, the value is zero anyway and we don't have to set it explicitly. Signed-off-by: Janosch Frank --- drivers/staging/wilc1000/linux_wlan_spi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_spi.c b/drivers/staging/wilc1000/linux

[PATCH v2 2/7] staging/wilc1000: Sanitize linux_spi_write_read

2016-01-11 Thread Janosch Frank
Removed unneeded newlines. Improved control flow to get rid of indents. Added additional error message and improved existing ones. Signed-off-by: Janosch Frank --- drivers/staging/wilc1000/linux_wlan_spi.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --g

[PATCH v2 4/7] staging/wilc1000: Sanitize linux_spi_write

2016-01-11 Thread Janosch Frank
Removed unneeded newlines. Moved variable definitions to the top. Improved control flow to get rid of indents. Replaced while with for. Added additional error message and improved existing ones. Signed-off-by: Janosch Frank --- drivers/staging/wilc1000/linux_wlan_spi.c | 87 ++---

[PATCH v2 0/7] staging/wilc1000: Refactor spi read and write functions

2016-01-11 Thread Janosch Frank
The code for sending and receiving spi data had multiple style problems, was repetative and contained errors. This series simplifies the code and fixes some of the problems. v1 to v2: Readded module.h, as MODULE_DEVICE_TABLE depends on it. Janosch Frank (7): staging/wilc1000: Introduce linux

[RESEND][PATCHv2 3/3] NOMERGE: Sample driver

2016-01-11 Thread Laura Abbott
Small sample driver to show what setup would look like with the dt bindings Signed-off-by: Laura Abbott --- drivers/staging/android/ion/Kconfig | 6 ++ drivers/staging/android/ion/Makefile| 1 + drivers/staging/android/ion/ion_of_sample.c | 96 + 3

[RESEND][PATCHv2 2/3] staging: ion: Add files for parsing the devicetree

2016-01-11 Thread Laura Abbott
Devicetree is the preferred mechanism for platform definition these days. Add a set of files for supporting Ion with devicetree. This is a set of functions for drivers to call to parse the Ion devicetree along with definitons for defining heaps. Signed-off-by: Laura Abbott --- drivers/staging/

[RESEND][PATCHv2 0/3] Devicetree bindings for Ion

2016-01-11 Thread Laura Abbott
Hi, There was some recent discussion (http://thread.gmane.org/gmane.linux.ports.arm.kernel/468051/) about Ion DT bindings and a request that I resend my proposal for common DT bindings. This is a straight resend, no bux fixed that were pointed out. Previous thread: http://article.gmane.org/gmane.

[RESEND][PATCHv2 1/3] ion: Devicetree bindings for Ion

2016-01-11 Thread Laura Abbott
This adds a base set of devicetree bindings for the Ion memory manager. This supports setting up the generic set of heaps and their properties. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/devicetree.txt | 50 ++ 1 file changed, 50 insertions(+) creat

[Spam] is not attached

2016-01-11 Thread Mail
I NEED YOUR IMMEDIATE ATTENTION TO MY PROPOSAL I am the Executive Director, the industrial and Commercial Bank of China (ICBC). I have a mutual business proposed, which refers to the transfer of a large amount of money to an account abroad, with their help as a foreigner partner as the beneficiary

[Spam] is not attached

2016-01-11 Thread Mail
I NEED YOUR IMMEDIATE ATTENTION TO MY PROPOSAL I am the Executive Director, the industrial and Commercial Bank of China (ICBC). I have a mutual business proposed, which refers to the transfer of a large amount of money to an account abroad, with their help as a foreigner partner as the beneficiary

[PATCH] staging: vt6655: rf.c: checkpatch fixes

2016-01-11 Thread Lewis Eason
This patch fixes "spaces preferred around that $operator" checks. Signed-off-by: Lewis Eason --- drivers/staging/vt6655/rf.c | 638 ++-- 1 file changed, 319 insertions(+), 319 deletions(-) diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/

Re: [RESEND][PATCHv2 2/3] staging: ion: Add files for parsing the devicetree

2016-01-11 Thread kbuild test robot
Hi Laura, [auto build test ERROR on v4.4-rc8] [cannot apply to staging/staging-testing next-20160111] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Laura-Abbott/Devicetree-bindings-for-Ion

Re: [RESEND][PATCHv2 1/3] ion: Devicetree bindings for Ion

2016-01-11 Thread Rob Herring
On Mon, Jan 11, 2016 at 3:39 PM, Laura Abbott wrote: > > This adds a base set of devicetree bindings for the Ion memory > manager. This supports setting up the generic set of heaps and > their properties. > > Signed-off-by: Laura Abbott > --- > drivers/staging/android/ion/devicetree.txt | 50 >

[PATCH RESEND v3 0/6] staging/rdma/hfi1: Driver cleanup and misc fixes

2016-01-11 Thread Jubin John
NOTE: This is being resubmitted to linux-rdma (for patchworks) to aid Doug Ledford in taking over the staging/rdma subtree. https://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg30860.html This patch set is to follow: staging/rdma/hfi1: set Gen3 half-swing for integrated devices Thanks,

[PATCH RESEND v3 4/6] staging/rdma/hfi1: Change default krcvqs

2016-01-11 Thread Jubin John
Change the default number of krcvqs to number of numa nodes + 1 based on the performance data collected. Reviewed-by: Mike Marciniszyn Signed-off-by: Jubin John --- Changes in v2: - None Changes in v3: - Refreshed patch against latest staging-next drivers/staging/rdma/hfi1/chi

[PATCH RESEND v3 2/6] staging/rdma/hfi1: Move s_sde to the read mostly portion of the hfi1_qp structure

2016-01-11 Thread Jubin John
From: Harish Chegondi This would reduce L2 cache misses on s_sde in the _hfi1_schedule_send function when invoked from post_send thereby improving performance of post_send. Reviewed-by: Mike Marciniszyn Signed-off-by: Harish Chegondi Signed-off-by: Jubin John --- Changes in v2: - None

[PATCH RESEND v3 1/6] staging/rdma/hfi1: Use BIT macro

2016-01-11 Thread Jubin John
This patch fixes the checkpatch issue: CHECK: Prefer using the BIT macro Use of BIT macro for HDRQ_INCREMENT in chip.h causes a change in format specifier for error message in init.c in order to avoid a build warning. Reviewed-by: Dean Luick Reviewed-by: Ira Weiny Reviewed-by: Mike Marciniszyn

[PATCH RESEND v3 3/6] staging/rdma/hfi1: change krcvqs module parameter type from byte to uint

2016-01-11 Thread Jubin John
From: Mark F. Brown The krcvqs parameter is displayed incorrectly in sysfs. The workaround is to set the param type as uint. Reviewed-by: Mike Marciniszyn Reviewed-by: Mitko Haralanov Signed-off-by: Mark F. Brown Signed-off-by: Jubin John --- Changes in v2: - None Changes in v3:

[PATCH RESEND v3 5/6] staging/rdma/hfi1: adding per SDMA engine stats to hfistats

2016-01-11 Thread Jubin John
From: Vennila Megavannan Added the following per sdma engine stats: - SendDmaDescFetchedCnt - software maintained count of SDMA interrupts (SDmaInt, SDmaIdleInt, SDmaProgressInt) - software maintained counts of SDMA error cases Reviewed-by: Dennis Dalessandro Signed-off-by: Mike

[PATCH RESEND v3 1/2] staging/rdma/hfi1: Clean up comments

2016-01-11 Thread Jubin John
From: Edward Mascarenhas Clean up comments by deleting numbering and terms internal to Intel. The information on the actual bugs is not deleted. Reviewed-by: Mike Marciniszyn Signed-off-by: Edward Mascarenhas Signed-off-by: Jubin John --- Changes in v2: - Added more information in co

[PATCH RESEND v3 2/2] staging/rdma/hfi1: Fix Xmit Wait calculation

2016-01-11 Thread Jubin John
From: Ira Weiny Total XMIT wait needs to sum the xmit wait values of all the VLs not just those requested in the query. Also, make the algorithm used for both PortStatus and PortDataCounters the same. Reviewed-by: Arthur Kepner Reviewed-by: Breyer, Scott J Signed-off-by: Ira Weiny Signed-off

[PATCH RESEND v3 0/2] Driver cleanup and misc fixes series 3

2016-01-11 Thread Jubin John
NOTE: This is being resubmitted to linux-rdma (for patchworks) to aid Doug Ledford in taking over the staging/rdma subtree. https://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg30860.html This patch set is to follow: staging/rdma/hfi1: Remove unneeded variable index Thanks, Jubin These

[PATCH RESEND v3 6/6] staging/rdma/hfi1: Remove unneeded variable index

2016-01-11 Thread Jubin John
From: Dean Luick The variable "index" increments the same as dd->ndevcntrs. Just use the later. Remove uneeded usage of "index" in the fill loop - it is not used there or later in the function. Reviewed-by: Dennis Dalessandro Signed-off-by: Dean Luick Signed-off-by: Jubin John --- Changes in

[PATCH RESEND v3] staging/rdma/hfi1: check for ARMED->ACTIVE transition in receive interrupt

2016-01-11 Thread Jubin John
From: Jim Snow The link state will transition from ARMED to ACTIVE when a non-SC15 packet arrives, but the driver might not notice the change. With this fix, if the slowpath receive interrupt handler sees a non-SC15 packet while in the ARMED state, we queue work to call linkstate_active_work fro

Re: [RESEND][PATCHv2 1/3] ion: Devicetree bindings for Ion

2016-01-11 Thread Laura Abbott
On 1/11/16 3:28 PM, Rob Herring wrote: On Mon, Jan 11, 2016 at 3:39 PM, Laura Abbott wrote: This adds a base set of devicetree bindings for the Ion memory manager. This supports setting up the generic set of heaps and their properties. Signed-off-by: Laura Abbott --- drivers/staging/androi

[PATCH 1/5] staging: wilc1000: fix alignment of open parenthesis

2016-01-11 Thread Chaehyun Lim
This patch fixes alignment of open parenthesis found by checkpatch.pl CHECK: Alignment should match open parenthesis Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 5/5] staging: wilc1000: remove typedef from struct wilc_cfg_str_t

2016-01-11 Thread Chaehyun Lim
This patch removes typedef from struct wilc_cfg_str_t and renames it to wilc_cfg_str. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH 3/5] staging: wilc1000: remove typedef from struct wilc_cfg_hword_t

2016-01-11 Thread Chaehyun Lim
This patch removes typedef from struct wilc_cfg_hword_t and renames it to wilc_cfg_hword. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/sta

[PATCH 4/5] staging: wilc1000: remove typedef from struct wilc_cfg_word_t

2016-01-11 Thread Chaehyun Lim
This patch removes typedef from struct wilc_cfg_word_t and renames it to wilc_cfg_word. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH 2/5] staging: wilc1000: remove typedef from struct wilc_cfg_byte_t

2016-01-11 Thread Chaehyun Lim
This patch removes typedef from struct wilc_cfg_byte_t and renames it to wilc_cfg_byte. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

Re: [PATCH 2/5] staging: wilc1000: remove typedef from struct wilc_cfg_byte_t

2016-01-11 Thread Joe Perches
On Tue, 2016-01-12 at 09:32 +0900, Chaehyun Lim wrote: > This patch removes typedef from struct wilc_cfg_byte_t and renames it to > wilc_cfg_byte. Is this really a good name? > diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h > b/drivers/staging/wilc1000/wilc_wlan_cfg.h [] > @@ -10,10 +10,1

RE: [PATCH 2/2] scsi: storvsc: Use the specified target ID in device lookup

2016-01-11 Thread KY Srinivasan
> -Original Message- > From: Hannes Reinecke [mailto:h...@suse.de] > Sent: Sunday, January 10, 2016 11:10 PM > To: KY Srinivasan ; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; h...@infradead.org; l

[PATCHv3 1/1] staging/ion: Add support to get ion handle from dma buf

2016-01-11 Thread Rohit kumar
Currently we can only import dma buf fd's to get ion_handle. Adding support to import dma buf handles to support kernel specific use cases. An example use case is in linux platforms such as Tizen, in which DRM-GEM is used for buffer management for graphics. It has gem_handle corresponding to a buf

[PATCH] staging: comedi: ni_tiocmd: change mistaken use of start_src for start_arg

2016-01-11 Thread Spencer E. Olson
Signed-off-by: Spencer E. Olson --- To: de...@driverdev.osuosl.org Cc: Ian Abbott Cc: H Hartley Sweeten Cc: Greg Kroah-Hartman drivers/staging/comedi/drivers/ni_tiocmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_tiocmd.c b/drive

[PATCH] staging: comedi: ni_mio_common: use CR_CHAN more consistently

2016-01-11 Thread Spencer E. Olson
Signed-off-by: Spencer E. Olson --- To: de...@driverdev.osuosl.org Cc: Ian Abbott Cc: H Hartley Sweeten Cc: Greg Kroah-Hartman drivers/staging/comedi/drivers/ni_mio_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b

[PATCH] staging: comedi: ni_pcimio: Adds PXI-6251 to supported boards

2016-01-11 Thread Spencer E. Olson
Signed-off-by: Spencer E. Olson --- To: de...@driverdev.osuosl.org Cc: Ian Abbott Cc: H Hartley Sweeten Cc: Greg Kroah-Hartman drivers/staging/comedi/drivers/ni_pcimio.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers

[PATCH 02/26] staging: wilc1000: remove define WILC_OPTIMIZE_SLEEP_INT

2016-01-11 Thread Glen Lee
Take the codes of WILC_OPTIMIZE_SLEEP_INT and remove codes inside ifndef. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 74 +--- 1 file changed, 2 insertions(+), 72 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/sta

[PATCH 00/26] use unified firmware and add ops in cfg

2016-01-11 Thread Glen Lee
This patch series contains * support suspend and resume functionality * use a unified firmware for all mode of operations(station, ap, p2p) * support Station/AP concurrency * increase link speed * add a cfg operation for adjusting the tx power * fix bug on p2p, WEP security and chaning virtual inte

[PATCH 01/26] staging: wilc1000: fix bug when changing virtual interface

2016-01-11 Thread Glen Lee
This patch fixes a bug connection error when changing virtual interface to p2p. Variable quit needs to be set 0 when wilc is reinitialized again. Fixes : 67e2a07ed800 ("staging: wilc1000: move all of wilc_wlan_dev_t to struct wilc") Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan

[PATCH 08/26] staging: wilc1000: get address from wilc

2016-01-11 Thread Glen Lee
Get mac address from wilc device instead of using random mac address. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c inde

[PATCH 05/26] staging: wilc1000: sdio_init: add resume argument

2016-01-11 Thread Glen Lee
Part of sdio init codes should not run when sdio init function is called on sdio resume so skip them. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_sdio.c | 34 +++--- drivers/staging/wilc1000/wilc_spi.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 2

[PATCH 06/26] staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211

2016-01-11 Thread Glen Lee
This patch adds ops resume, suspend and set_wakeup in cfg80211. Together with previous patches, driver will support suspend/resume functionality. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 39 +++ 1 file changed, 39 insertions(+) diff --g

[PATCH 07/26] staging: wilc1000: remove sleep and reduce close timeout

2016-01-11 Thread Glen Lee
sleep is not necessary during handling tx queue so remove it and also reduce close time to 5 sec since it is enough time to close. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/li

[PATCH 03/26] staging: wilc1000: support suspend/resume functionality

2016-01-11 Thread Glen Lee
wilc supports suspend/resume functionality. Introduce new sleep and wakeup functions and remove old codes since that will be handled in the new functions. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 31 +++ drivers/staging/wilc1000/wilc_wlan.h |

[PATCH 09/26] staging: wilc1000: use unified firmware

2016-01-11 Thread Glen Lee
Use a unified firmware for all mode of operations which are station, ap and p2p. Two firmware are introduced for 1002 and 1003 chipset. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/Makefile | 5 ++--- drivers/staging/wilc1000/linux_wlan.c | 18 +- 2 files changed, 11

[PATCH 04/26] staging: wilc1000: add sdio resume/suspend

2016-01-11 Thread Glen Lee
This patch introduces sdio device suspend and resume functionality. sdio_reset function is added to reset sdio. Remove static inline keyword from chip_allow_sleep and chip_wakeup, and export symbols. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_sdio.c | 72 +

[PATCH 10/26] staging: wilc1000: remove wilc_set_machw_change_vir_if

2016-01-11 Thread Glen Lee
wilc_set_machw_change_vir_if is not used anymore since we use one unified firmware. Instead, wilc_set_operation_mode is called when wilc_mac_open to let the wilc use the proper firmware. Remove wilc_set_machw_change_vir_if and it's functions calls. In the later patch, mac index will be passed to wi

[PATCH 14/26] staging: wilc1000: call power save after changing mode

2016-01-11 Thread Glen Lee
host_int_set_power_mgmt should be called after changing operation mode to work properly. Move the function below host_int_set_operation_mode. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 18/26] staging: wilc1000: handle connecting error

2016-01-11 Thread Glen Lee
If connection fails, wilc1000_connecting needs to be set false also and return immediately because goto lable 'done' doesn't do anything. Remove lable 'done' as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++--- 1 file changed, 6 insertions(+)

[PATCH 16/26] staging: wilc1000: remove unused functions

2016-01-11 Thread Glen Lee
This patch removes unused following functions. wilc_del_all_rx_ba_session wilc_flush_join_req wilc_wait_msg_queue_idle wilc_set_mac_address Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 92 --- drivers/staging/wilc1000/host_interface.h | 4 -

[PATCH 19/26] staging: wilc1000: tcp_process: fix a build warning

2016-01-11 Thread Glen Lee
This patch fixes build warning "flags is used uninitialized" when TCP_ACK_FILTER is defined. Fixes: 562ed3f1f78a ("staging/wilc1000: pass struct wilc to most linux_wlan.c functions") Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH 17/26] staging: wilc1000: ignore power save

2016-01-11 Thread Glen Lee
If two interfaces are connected and it is required to enable power save then ignore the request. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host

[PATCH 15/26] staging: wilc1000: wilc_set_wfi_drv_handler: add mac index

2016-01-11 Thread Glen Lee
Firmware supports sta/ap concurrency so mac index will be passed to wilc. Remove wilc_set_wfi_drv_handler in scan and connect functions, and call the function in ndo_open which is wilc_mac_open. WID_SET_DRV_HANDLER value has been changed as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1

[PATCH 11/26] staging: wilc1000: set bssid with mode

2016-01-11 Thread Glen Lee
This patch add new argument mode to wilc_wlan_set_bssid and define mode in struct wilc_vif also. The mode is used by get_if_handler function to get proper netdevice for each mode. The get_if_handler is changed together. Remove invalid handle codes and add mode condition to get netdevice for the mod

[PATCH 20/26] staging: wilc1000: remove define TCP_ACK_FILTER

2016-01-11 Thread Glen Lee
This patch removes define TCP_ACK_FILTER and use it's feature codes. Add argument wilc to wilc_wlan_txq_remove because compile error happens. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/Makefile| 1 - drivers/staging/wilc1000/wilc_wlan.c | 22 ++ 2 files changed

[PATCH 12/26] staging: wilc1000: set proper bssid address

2016-01-11 Thread Glen Lee
This patch changes index 0 to index of vif which is currently beging used because AP mode can run on any interface. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_

[PATCH 13/26] staging: wilc1000: change_virtual_intf: change codes for unified firmware

2016-01-11 Thread Glen Lee
In previous patch, we use unified firmware on wilc, which means we do not need to download firmware again to change virtual interfaces. There are a lot of codes to change interface and they are needless now, so remove them except wilc_set_operation_mode function which change the mode and wilc_set_p

[PATCH 21/26] staging: wilc1000: increase link speed

2016-01-11 Thread Glen Lee
This patch increases throughput by enabling tcp ack filter base on checking statistics and also handling tcp session. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 31 +-- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 ++ drivers/staging

[PATCH 26/26] staging: wilc1000: get mac address after setting drv handler

2016-01-11 Thread Glen Lee
This patch moves wilc_get_mac_address and address memcpy function after calling wilc_set_wif_drv_handler to get selected mac address. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wil

[PATCH 23/26] staging: wilc1000: fix bug on p2p connection

2016-01-11 Thread Glen Lee
In case of action frame, size -7 is correct, but in this case, size should be used as it is. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/driv

[PATCH 25/26] staging: wilc1000: fix WEP security bug

2016-01-11 Thread Glen Lee
Station cannot connect to soft AP mode wilc when it is configured for WEP security. This patch fixes it by setting the key index within the key value and change the last else condition with DEFAULTKEY action case, and also do not use WILC_WFI_wep_default index to set wep key id. Signed-off-by: Gle

[PATCH 22/26] staging: wilc1000: disable power save when AP mode

2016-01-11 Thread Glen Lee
This patch disables power save mode in case of AP mode. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index b

[PATCH 24/26] staging: wilc1000: add ops tx power in cfg80211

2016-01-11 Thread Glen Lee
This patch implements set_tx_power and get_tx_power of cfg80211_ops. In addition, Id of HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS is changed with 37. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 88 ++- drivers/staging/wilc1000/host_interface.h