Re: [PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-30 Thread Aaro Koskinen
Hi, On Tue, Aug 30, 2016 at 06:12:17PM -0700, Ed Swierk wrote: > On Tue, Aug 30, 2016 at 11:47 AM, Aaro Koskinen wrote: > > This series implements multiple RX group support that should improve > > the networking performance on multi-core OCTEONs. Basically we register > > IRQ and NAPI for each gr

Re: [PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-30 Thread Ed Swierk
Hi Aaro, On Tue, Aug 30, 2016 at 11:47 AM, Aaro Koskinen wrote: > This series implements multiple RX group support that should improve > the networking performance on multi-core OCTEONs. Basically we register > IRQ and NAPI for each group, and ask the HW to select the group for > the incoming pac

Re: [PATCH 7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c

2016-08-30 Thread Joe Perches
On Tue, 2016-08-30 at 22:05 +0300, Moshe Green wrote: > Fix block comment * prefix and trailing */ warnings found > by the checkpatch.pl tool in ddk750_chip.c. [] > diff --git a/drivers/staging/sm750fb/ddk750_chip.c > b/drivers/staging/sm750fb/ddk750_chip.c [] > @@ -320,8 +320,10 @@ unsigned int c

[PATCHv3 1/3] devicetree: bindings for Ion

2016-08-30 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 | 51 ++ 1 file changed, 51 insertions(+) creat

[PATCHv3 3/3] staging: android: ion: Convert hi6220 to common platform

2016-08-30 Thread Laura Abbott
Now that we have common devicetree bindings, convert hisilicon platform to use the binding and parsing methods. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/hisilicon/hi6220_ion.c | 195 + 1 file changed, 44 insertions(+), 151 deletions(-) diff --git a/driver

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

2016-08-30 Thread Laura Abbott
Devicetree is the preferred mechanism for platform definition these days. Add a set of files for supporting Ion with devicetree. This includes a set of bindings for heaps common across all devices and parsing methods. Clients may use the standard bindings or they can call the parsing functions alo

[PATCHv3 0/3] Devicetree bindings for Ion

2016-08-30 Thread Laura Abbott
Hi, This is a long overdue resend and slight update from the last version[1] of Ion devicetree bindings. The goal here is to keep the Ion bindings minimalist. I experimented with dropping all but a dummy devicetree node and just matching on the machine name in the platform file. This ends up bein

[PATCH] staging: i4l: act2000: Fix checkpatch warning

2016-08-30 Thread Anson Jacob
Fix checkpatch.pl warning: braces {} are not necessary for single statement blocks Missing a blank line after declarations Signed-off-by: Anson Jacob --- drivers/staging/i4l/act2000/act2000_isa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/i4l/act2000

[PATCH] staging: i4l: act2000: Fix checkpatch warning

2016-08-30 Thread Anson Jacob
Fix checkpatch.pl warning: line over 80 characters Signed-off-by: Anson Jacob --- drivers/staging/i4l/act2000/act2000.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/i4l/act2000/act2000.h b/drivers/staging/i4l/act2000/act2000.h index 321d437..16be456 10

Re: [PATCH 7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c

2016-08-30 Thread moshe green
Will do. Thanks On 30 August 2016 at 22:19, Joe Perches wrote: > On Tue, 2016-08-30 at 22:05 +0300, Moshe Green wrote: >> Fix block comment * prefix and trailing */ warnings found >> by the checkpatch.pl tool in ddk750_chip.c. > [] >> diff --git a/drivers/staging/sm750fb/ddk750_chip.c >> b/drive

[PATCH 5/5] pci-hyperv: make irq mask/unmask static

2016-08-30 Thread sthemmin
From: Stephen Hemminger Fixes sparse warning since these functions are only used in this file. Signed-off-by: Stephen Hemminger --- drivers/pci/host/pci-hyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.

[PATCH 3/5] hv: comment spelling fixes

2016-08-30 Thread sthemmin
From: Stephen Hemminger Lots of little spelling mistakes. Signed-off-by: Stephen Hemminger --- drivers/hv/channel.c| 16 drivers/hv/connection.c | 2 +- drivers/hv/hv_kvp.c | 6 +++--- drivers/hv/vmbus_drv.c | 2 +- include/linux/hyperv.h | 16 5

[PATCH 2/5] hv: minor whitespace fix

2016-08-30 Thread sthemmin
From: Stephen Hemminger Proper spacing around callback function. Signed-off-by: Stephen Hemminger --- include/linux/hyperv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 9464ff7..f46159d 100644 --- a/include/linux

[PATCH 4/5] hv: make vmbus mmio variables static

2016-08-30 Thread sthemmin
From: Stephen Hemminger These are only used in this file. Signed-off-by: Stephen Hemminger --- drivers/hv/vmbus_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 8ae2ed7..751fd19 100644 --- a/drivers/hv/vmbus_drv

[PATCH 1/5] hv: remove stale comment

2016-08-30 Thread sthemmin
From: Stephen Hemminger The channel callback is invoked from softirq/tasklet not a work queue and the commented out part is leftover from staging. Signed-off-by: Stephen Hemminger --- include/linux/hyperv.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/hyperv.h b/include/

[PATCH 9/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix a line length warning found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c i

[PATCH 8/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix a line length warning found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c i

[PATCH 7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix block comment * prefix and trailing */ warnings found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/st

[PATCH 6/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix a line length warning found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c i

[PATCH 5/9] staging: sm750fb: fix coding style issues in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix line length and block comment * prefix warnings found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/staging/sm750fb

[PATCH 4/9] staging: sm750fb: fix coding style issues in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix line length and block comment * prefix warnings found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/s

[PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix a line length warning found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c inde

[PATCH 3/9] staging: sm750fb: fix coding style issues in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix line length and block comment * prefix warnings found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/sta

[PATCH 2/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-08-30 Thread Moshe Green
Fix a line length warning found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c

[PATCH 6/9] staging: octeon: move irq into rx group specific data

2016-08-30 Thread Aaro Koskinen
Move IRQ number into RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 65f6013..77

[PATCH 5/9] staging: octeon: create a struct for rx group specific data

2016-08-30 Thread Aaro Koskinen
Create a struct for RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 140e8af..65f601

[PATCH 8/9] staging: octeon: support enabling multiple rx groups

2016-08-30 Thread Aaro Koskinen
Support enabling multiple RX groups. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 126 ++- drivers/staging/octeon/ethernet.c| 6 +- drivers/staging/octeon/octeon-ethernet.h | 2 +- 3 files changed, 81 insertions(+), 53 deleti

[PATCH 1/9] staging: octeon: disable rx interrupts in oct_rx_shutdown

2016-08-30 Thread Aaro Koskinen
Disable RX interrupts in oct_rx_shutdown(). This way we don't need to expose the RX IRQ numbers outside the RX module. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 9 + drivers/staging/octeon/ethernet.c| 9 - 2 files changed, 9 insertions(+), 9 dele

[PATCH 9/9] staging: octeon: enable taking multiple rx groups into use

2016-08-30 Thread Aaro Koskinen
Enable taking multiple RX groups into use. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 42 +-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index

[PATCH 4/9] staging: octeon: move common poll code into a separate function

2016-08-30 Thread Aaro Koskinen
Move common poll code into a separate function. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c i

[PATCH 3/9] staging: octeon: pass the NAPI instance reference to irq handler

2016-08-30 Thread Aaro Koskinen
Pass the NAPI instance reference to the interrupt handler. This is preparation for having multiple NAPI instances. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.

[PATCH 2/9] staging: octeon: use passed interrupt number in the handler

2016-08-30 Thread Aaro Koskinen
Use passed interrupt number in the handler, so we can avoid using the global variable. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/et

[PATCH 7/9] staging: octeon: move group number into rx group data

2016-08-30 Thread Aaro Koskinen
Move group number into RX group data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 776003c..668aee

[PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-30 Thread Aaro Koskinen
Hi, This series implements multiple RX group support that should improve the networking performance on multi-core OCTEONs. Basically we register IRQ and NAPI for each group, and ask the HW to select the group for the incoming packets based on hash. Tested on EdgeRouter Lite with a simple forwardi

[PATCH] staging: octeon: configure rx-delay/tx-delay

2016-08-30 Thread Aaro Koskinen
Configure rx-delay/tx-delay when available. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index 2eb9731..073a1e3 100644 -

RE: [PATCH 3/3] drivers: Add visorbus to the drivers/virt directory

2016-08-30 Thread Sell, Timothy C
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Sunday, August 21, 2016 2:05 PM > To: Kershner, David A > > On Fri, Jun 10, 2016 at 11:23:56PM -0400, David Kershner wrote: > > visorbus is currently located at drivers/staging/visorbus, > > this patch moves