Re: [PATCH] Staging: octeon: Apply Licence and resolves warnings according to TODO list. There are also a few "checks" that probably should revised but i think most of them could be resolved by breaki

2018-07-23 Thread Greg KH
On Tue, Jul 24, 2018 at 01:21:17AM +0300, Georgios Tsotsos wrote: > Signed-off-by: Georgios Tsotsos > --- > drivers/staging/octeon-usb/octeon-hcd.c | 55 > ++--- > drivers/staging/octeon-usb/octeon-hcd.h | 1 + Hi, This is the friendly patch-bot of Greg Kroah-Hartma

Re: [PATCH] media: staging: omap4iss: Include asm/cacheflush.h after generic includes

2018-07-23 Thread Mauro Carvalho Chehab
Em Mon, 23 Jul 2018 14:39:33 -0700 Guenter Roeck escreveu: > Including asm/cacheflush.h first results in the following build error when > trying to build sparc32:allmodconfig. > > In file included from arch/sparc/include/asm/page.h:10:0, > from arch/sparc/include/asm/string_32.h

RE: [PATCH v3] hv_netvsc: Add per-cpu ethtool stats for netvsc

2018-07-23 Thread Yidong Ren
> From: Yidong Ren > Sent: Monday, July 23, 2018 6:26 PM > + pcpu_sum = kvmalloc(sizeof(struct netvsc_ethtool_pcpu_stats) * > + num_present_cpus(), GFP_KERNEL); Since there is no plan for CPU hotplug in Hyper-V in short term, it is fine to use num_present_cpus for now. We

[PATCH v3] hv_netvsc: Add per-cpu ethtool stats for netvsc

2018-07-23 Thread Yidong Ren
From: Yidong Ren This patch implements following ethtool stats fields for netvsc: cpu_tx/rx_packets/bytes cpu_vf_tx/rx_packets/bytes Corresponding per-cpu counters already exist in current code. Exposing these counters will help troubleshooting performance issues. Signed-off-by: Yidong Ren ---

[PATCH] Staging: octeon: Apply Licence and resolves warnings according to TODO list. There are also a few "checks" that probably should revised but i think most of them could be resolved by breaking d

2018-07-23 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 55 ++--- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-us

Re: [PATCH] media: staging: omap4iss: Include asm/cacheflush.h after generic includes

2018-07-23 Thread David Miller
From: Guenter Roeck Date: Mon, 23 Jul 2018 14:39:33 -0700 > Including asm/cacheflush.h first results in the following build error when > trying to build sparc32:allmodconfig. ... > Include generic includes files first to fix the problem. > > Fixes: fc96d58c10162 ("[media] v4l: omap4iss: Add sup

[PATCH] android: binder_alloc: Include asm/cacheflush.h after linux/ include files

2018-07-23 Thread Guenter Roeck
If asm/cacheflush.h is included first, the following build warnings are seen with sparc32 builds. In file included from ./arch/sparc/include/asm/cacheflush.h:11:0, from drivers/android/binder_alloc.c:20: ./arch/sparc/include/asm/cacheflush_32.h:40:37: warning: 'struct page' declare

[PATCH] android: binder: Include asm/cacheflush.h after linux/ include files

2018-07-23 Thread Guenter Roeck
If asm/cacheflush.h is included first, the following build warnings are seen with sparc32 builds. In file included from arch/sparc/include/asm/cacheflush.h:11:0, from drivers/android/binder.c:54: arch/sparc/include/asm/cacheflush_32.h:40:37: warning: 'struct page' declared inside p

[PATCH] media: staging: omap4iss: Include asm/cacheflush.h after generic includes

2018-07-23 Thread Guenter Roeck
Including asm/cacheflush.h first results in the following build error when trying to build sparc32:allmodconfig. In file included from arch/sparc/include/asm/page.h:10:0, from arch/sparc/include/asm/string_32.h:13, from arch/sparc/include/asm/string.h:7,

[PATCH 15/15] staging:rtl8192u: Remove unused definition of sQoSCtlLng - Style

2018-07-23 Thread John Whitmore
Remove sQoSCtlLng. The constant sQoSCtlLng is never used in code so has been removed. This is a coding style change so should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 6 -- 1 file changed, 6 deletions(-) di

[PATCH 14/15] staging:rtl8192u: Remove unused AC_UAPSD definitions - Style

2018-07-23 Thread John Whitmore
Remove the definitions associated with AC_UAPSD. These definitions are not used in code so have simply been removed. This is a coding style change and should have no impact on runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 15 --

[PATCH 00/15] Removal of usused definitions - Style

2018-07-23 Thread John Whitmore
Clean up of the file drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h A number of the definitions in the file are unused so were removed from the file. John Whitmore (15): staging:rtl8192u: Remove typedef of u32 to QOS_MODE - Style staging:rtl8192u: Remove unused enumerated type ACK_POLICY -

[PATCH 04/15] staging:rtl8192u: Removed unused structure BSS_QOS - Style

2018-07-23 Thread John Whitmore
The structure BSS_QOS is not used in code so has simply been removed. The change is a coding style change and should not impact runtime execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 19 --- 1 file changed, 19 deletions(-) diff --git

[PATCH 09/15] staging:rtl8192u: Remove unused enumerated type QOS_ELE_SUBTYPE - Style

2018-07-23 Thread John Whitmore
The enumerated type QOS_ELE_SUBTYPE is unused in code so has been removed from code. This is a coding style change which should have not impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 11 --- 1 file changed, 11 deleti

[PATCH 11/15] staging:rtl8192u: Remove unused structure WMM_TSPEC - Style

2018-07-23 Thread John Whitmore
Remove the structure WMM_TSPEC as it is unused. This change is a coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging

[PATCH 12/15] staging:rtl8192u: Remove unused enumerated type ACM_METHOD - Style

2018-07-23 Thread John Whitmore
Remove the enumerated type ACM_METHOD as it is unused in code. This is a coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/sta

[PATCH 08/15] staging:rtl8192u: Remove the unused AC_CODING definitions - Style

2018-07-23 Thread John Whitmore
The AC_CODING definitions are unused in code, so have simply been removed from source. This is a coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 20 --- 1 file changed, 20 deletions

[PATCH 10/15] staging:rtl8192u: Remove unused structure QOS_TSTREAM - Style

2018-07-23 Thread John Whitmore
The structure QOS_TSTREAM is unused in code so has simply been removed. This change is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 11 --- 1 file changed, 11 deletions(-) d

[PATCH 02/15] staging:rtl8192u: Remove unused enumerated type ACK_POLICY - Style

2018-07-23 Thread John Whitmore
The enumerated type ACK_POLICY is not used in code so it has been removed from the source code. This is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 9 - 1 file changed, 9 de

[PATCH 13/15] staging:rtl8192u: Remove unused structure ACM - Style

2018-07-23 Thread John Whitmore
Remove the structure ACM as it is unused in code. This change is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/

[PATCH 05/15] staging:rtl8192u: Remove unused structure STA_QOS - Style

2018-07-23 Thread John Whitmore
Remove structure STA_QOS as it is unused in code. This change is a coding style change so should not impact runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 53 --- 1 file changed, 53 deletions(-) diff --git a/drivers/stagi

[PATCH 07/15] staging:rtl8192u: Remove unused union QOS_INFO_FIELD - Style

2018-07-23 Thread John Whitmore
The union QOS_INFO_FIELD is unused in code so has been removed from source. This change is a coding style change so should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 86 --- 1 file changed, 86 deletio

[PATCH 01/15] staging:rtl8192u: Remove typedef of u32 to QOS_MODE - Style

2018-07-23 Thread John Whitmore
The typedef of QOS_MODE as a u32 is contrary to coding standard and fails the checkpatch tests for defining new types in code. Definitions of type QOS_MODE have simply been replaced with a u32 type. This is a coding style change which should not impact runtime execution. Signed-off-by: John Whitm

[PATCH 06/15] staging:rtl8192u: Remove unused structure QOS_CTRL_FIELD - Style

2018-07-23 Thread John Whitmore
The structure QOS_CTRL_FIELD is unused in code so has simply been removed from source. This is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 50 --- 1 file changed, 50 de

[PATCH 03/15] staging:rtl8192u: Remove unused QOS definitions - Style

2018-07-23 Thread John Whitmore
Remove the unused QOS related types. Since definitions are not used simply remove from code. This change is a coding style change and should not impact runtime execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 22 --- 1 file changed, 22

[PATCH] Drivers: HV: panic kmsg dump, move MSR access to arch specific

2018-07-23 Thread Sunil Muthuswamy
Moves the MSR access from arch independent code to arch dependent code. Also includes minor bug fixes. Fixes: 81b18bce48af ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic") Signed-off-by: Sunil Muthuswamy --- Have added a "Fixes" line to associate this with the origina

[PATCH v2] staging: gasket: use vzalloc instead of vmalloc/memset

2018-07-23 Thread Ivan Bornyakov
Use vzalloc instead of vmalloc followed by memset with 0. Signed-off-by: Ivan Bornyakov --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/staging/gasket/gasket_page_table.

[PATCH v2 4/4] drivers/soc/fsl/dpio: Convert DPIO documentation to .rst

2018-07-23 Thread Roy Pledge
Convert the Datapath I/O documentation to .rst format and move to the Documation/networking/dpaa2 directory Signed-off-by: Roy Pledge --- .../networking/dpaa2/dpio-driver.rst | 30 +++--- Documentation/networking/dpaa2/index.rst | 1 + 2 files changed, 28

[PATCH v2 0/4] staging/fsl-mc/bus: Move DPIO from staging to drivers/soc/fsl

2018-07-23 Thread Roy Pledge
Move the NXP DPIO (Datapath I/O driver) from the staging/fsl-mc/bus/dpio directory to the drivers/soc/fsl directory. The DPIO driver enables access to the Queue and Buffer Managemer (QBMAN) hardware of NXP DPAA2 devices. This is a prerequiste for moving the DPAA2 Ethernet device driver from the st

[PATCH v2 1/4] staging: fsl-dpaa2/eth: move generic FD defines to DPIO

2018-07-23 Thread Roy Pledge
From: Horia Geantă Previous commits: commit 6e2387e8f19e ("staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver") commit 39163c0ce0f4 ("staging: fsl-dpaa2/eth: Errors checking update") have added bits that are not specific to the WRIOP accelerator. Move these where they belong (in DPIO)

[PATCH v2 3/4] drivers/staging: Remove fsl-mc driver from staging

2018-07-23 Thread Roy Pledge
Remove the staging/drivers/fsl-mc directory from the staging area now that all the components have been moved to the main kernel areas. Signed-off-by: Roy Pledge --- drivers/staging/Kconfig | 2 -- drivers/staging/Makefile| 1 - drivers/staging/fsl-mc/Kconfig | 2 --

[PATCH v2 2/4] staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl

2018-07-23 Thread Roy Pledge
Move the NXP DPIO (Datapath I/O Driver) out of the drivers/staging directory and into the drivers/soc/fsl directory. The DPIO driver enables access to Queue and Buffer Manager (QBMAN) hardware on NXP DPAA2 devices. This is a prerequisite to moving the DPAA2 Ethernet driver out of staging. Signed-

Re: [PATCH] staging: gasket: use vzalloc instead of vmalloc/memset

2018-07-23 Thread Greg KH
On Mon, Jul 23, 2018 at 06:05:38PM +0300, Ivan Bornyakov wrote: > Signed-off-by: Ivan Bornyakov > --- > drivers/staging/gasket/gasket_page_table.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) I can not take patches without any changelog text at all, sorry. greg k-h

[PATCH] staging: gasket: use vzalloc instead of vmalloc/memset

2018-07-23 Thread Ivan Bornyakov
Signed-off-by: Ivan Bornyakov --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/staging/gasket/gasket_page_table.c index 9f8116112e0a..3ffc8d67ec05 100644 --- a/drivers/sta

Re: [PATCH v7 4/4] kexec_file: Load kernel at top of system RAM if required

2018-07-23 Thread Michal Hocko
On Thu 19-07-18 23:17:53, Baoquan He wrote: > Kexec has been a formal feature in our distro, and customers owning > those kind of very large machine can make use of this feature to speed > up the reboot process. On uefi machine, the kexec_file loading will > search place to put kernel under 4G from

[PATCH] staging: most: Use NULL pointer not plain integer

2018-07-23 Thread Laurence Rochfort
Fix sparse warning: Using plain integer as NULL pointer Signed-off-by: Laurence Rochfort --- drivers/staging/most/dim2/dim2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c index fe90a7c..31fbc1a 100644 ---

Re: [PATCH V3 0/4] KVM/x86/hyper-V: Introduce PV guest address space mapping flush support

2018-07-23 Thread Tianyu Lan
On 7/23/2018 3:39 PM, Wanpeng Li wrote: > On Fri, 20 Jul 2018 at 16:32, Paolo Bonzini wrote: >> >> On 20/07/2018 05:58, KY Srinivasan wrote: >>> >>> -Original Message- From: Tianyu Lan Sent: Thursday, July 19, 2018 1:40 AM Cc: Tianyu Lan ; de...@linuxdriverproject.org;

Re: [PATCH V3 0/4] KVM/x86/hyper-V: Introduce PV guest address space mapping flush support

2018-07-23 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 16:32, Paolo Bonzini wrote: > > On 20/07/2018 05:58, KY Srinivasan wrote: > > > > > >> -Original Message- > >> From: Tianyu Lan > >> Sent: Thursday, July 19, 2018 1:40 AM > >> Cc: Tianyu Lan ; de...@linuxdriverproject.org; > >> Haiyang Zhang ; h...@zytor.com; > >> k.