[PATCH v2] Drivers: hv: vmbus: Expose counters for interrupts and full conditions

2019-01-04 Thread Kimberly Brown
Counter values for per-channel interrupts and ring buffer full conditions are useful for investigating performance. Expose counters in sysfs for 2 types of guest to host interrupts: 1) Interrupts caused by the channel's outbound ring buffer transitioning from empty to not empty 2) Interrupts

RE: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2019-01-04 Thread Skidanov, Alexey
> -Original Message- > From: Liam Mark [mailto:lm...@codeaurora.org] > Sent: Friday, January 04, 2019 19:42 > To: Skidanov, Alexey > Cc: Laura Abbott ; Greg KH ; > de...@driverdev.osuosl.org; tk...@android.com; r...@android.com; linux- > ker...@vger.kernel.org; m...@android.com;

[PATCH] staging: mt7621-dma: Use struct_size() in devm_kzalloc()

2019-01-04 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; void *entry[]; }; instance = devm_kzalloc(dev,

[PATCH] staging: comedi: fix typo

2019-01-04 Thread Matteo Croce
Fix spelling mistake: "lenghth" -> "length" Signed-off-by: Matteo Croce --- drivers/staging/comedi/drivers/usbduxfast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index

RE: [PATCH] staging: android: ion: Add chunk heaps instantiation

2019-01-04 Thread Skidanov, Alexey
> -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Friday, January 04, 2019 03:58 > To: Skidanov, Alexey ; gre...@linuxfoundation.org; > Sumit > Semwal > Cc: de...@driverdev.osuosl.org > Subject: Re: [PATCH] staging: android: ion: Add chunk heaps

[driver-core:debugfs_cleanup 116/120] fs/ceph/super.c:932:7: error: void value not ignored as it ought to be

2019-01-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: b23ebf4cbbc7a340acc9126d1fff4d39b20ef364 commit: 7c11b3df5cac0ff8a580a81f0b8a92148d66dc81 [116/120] ceph: fix changelog config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian

RE: [PATCH 2/4] arm64: hyperv: Add support for Hyper-V as a hypervisor

2019-01-04 Thread Michael Kelley
From: Marc Zyngier Sent: Thursday, December 13, 2018 3:23 AM > >> As Will said, this isn't a viable option. Please follow SMCCC 1.1. > > > > I'll have to start a conversation with the Hyper-V team about this. > > I don't know why they chose to use HVC #1 or this register scheme > > for output

Re: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2019-01-04 Thread Liam Mark
On Tue, 18 Dec 2018, Alexey Skidanov wrote: > >>> I was wondering if we could re-open the discussion on adding support to > >>> ION for dma_buf_vmap. > >>> It seems like the patch was not taken as the reviewers wanted more > >>> evidence of an upstream use case. > >>> > >>> Here would be my

[driver-core:debugfs_cleanup 104/109] net//ceph/debugfs.c:392:13: error: conflicting types for 'ceph_debugfs_init'

2019-01-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: ead253d78760f569593267b87592175cc66b0f99 commit: 361252cd04527c4f4f5ea7d96f5571cbeb670b8a [104/109] ceph: fix changelog config: m68k-allmodconfig (attached as .config) compiler:

[driver-core:debugfs_cleanup 102/109] net//6lowpan/core.c:51:6: error: void value not ignored as it ought to be

2019-01-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: ead253d78760f569593267b87592175cc66b0f99 commit: a1e3d1d072efed7a835376d1b17c21ae9021b9a7 [102/109] 6lowpan: fix changelog config: m68k-sun3_defconfig (attached as .config) compiler:

[driver-core:debugfs_cleanup 102/109] net/6lowpan/debugfs.c:182:2: error: 'root' undeclared; did you mean 'ror8'?

2019-01-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: ead253d78760f569593267b87592175cc66b0f99 commit: a1e3d1d072efed7a835376d1b17c21ae9021b9a7 [102/109] 6lowpan: fix changelog config: m68k-allmodconfig (attached as .config) compiler:

[driver-core:debugfs_cleanup 106/109] net/sunrpc/debugfs.c:321:2: error: 'rpc_faultdir' undeclared; did you mean 'rpc_fault_dir'?

2019-01-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: ead253d78760f569593267b87592175cc66b0f99 commit: 4e0d6f855ab212b7a13c28925da7c8ec497f7807 [106/109] sunrpc: fix changelog config: nios2-10m50_defconfig (attached as .config) compiler:

[PATCH] hv_balloon: avoid touching uninitialized struct page during tail onlining

2019-01-04 Thread Vitaly Kuznetsov
Hyper-V memory hotplug protocol has 2M granularity and in Linux x86 we use 128M. To deal with it we implement partial section onlining by registering custom page onlining callback (hv_online_page()). Later, when more memory arrives we try to online the 'tail' (see hv_bring_pgs_online()). It was

[PATCH v2 0/2] staging: mt7621-pinctrl: use pinconf-generic in some driver ops

2019-01-04 Thread Sergio Paracuellos
dt_node_to_map and dt_free_map operations can use pinconf-generic API's instead of redefine operations in the driver. Make use of them cleaning a bit driver's code and fixing a runtime warning. Update DT accordly to make sure used bindings property in code match with the board's DT bindings.

[PATCH v2 1/2] staging: mt7621-pinctrl: use pinconf-generic for 'dt_node_to_map' and 'dt_free_map'

2019-01-04 Thread Sergio Paracuellos
Instead of reimplement afunction to do 'dt_node_to_map' task like 'rt2880_pinctrl_dt_node_to_map' make use of 'pinconf_generic_dt_node_to_map_all' generic function for this task. Also use its equivalent function for free which is 'pinconf_generic_dt_free_map'. Remove

[PATCH v2 2/2] staging: mt7621-dts: use standard 'groups' instead of 'group' for pinctrl bindings

2019-01-04 Thread Sergio Paracuellos
Pinctrl generic functions looks for standard property 'groups' in DT to get data and use in the driver. Change all of them. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-dts/gbpc1.dts | 4 ++-- drivers/staging/mt7621-dts/mt7621.dtsi | 24 2 files

Re: [PATCH 0/2] staging: mt7621-pinctrl: use pinconf-generic in some driver ops

2019-01-04 Thread Sergio Paracuellos
On Fri, Jan 4, 2019 at 10:05 AM Greg KH wrote: > > On Fri, Jan 04, 2019 at 09:55:02AM +0100, Sergio Paracuellos wrote: > > Hi Greg, > > > > On Fri, Jan 4, 2019 at 9:32 AM Greg KH wrote: > > > > > > On Thu, Jan 03, 2019 at 09:23:57AM +0100, Sergio Paracuellos wrote: > > > > On Thu, Jan 3, 2019 at

Re: [PATCH 0/2] staging: mt7621-pinctrl: use pinconf-generic in some driver ops

2019-01-04 Thread Greg KH
On Fri, Jan 04, 2019 at 09:55:02AM +0100, Sergio Paracuellos wrote: > Hi Greg, > > On Fri, Jan 4, 2019 at 9:32 AM Greg KH wrote: > > > > On Thu, Jan 03, 2019 at 09:23:57AM +0100, Sergio Paracuellos wrote: > > > On Thu, Jan 3, 2019 at 3:02 AM NeilBrown wrote: > > > > > > > > On Mon, Dec 31 2018,

Re: [PATCH 0/2] staging: mt7621-pinctrl: use pinconf-generic in some driver ops

2019-01-04 Thread Sergio Paracuellos
Hi Greg, On Fri, Jan 4, 2019 at 9:32 AM Greg KH wrote: > > On Thu, Jan 03, 2019 at 09:23:57AM +0100, Sergio Paracuellos wrote: > > On Thu, Jan 3, 2019 at 3:02 AM NeilBrown wrote: > > > > > > On Mon, Dec 31 2018, Sergio Paracuellos wrote: > > > > > > > dt_node_to_map and dt_free_map operations

[PATCH 1/11] X86/Hyper-V: Add parameter offset for hyperv_fill_flush_guest_mapping_list()

2019-01-04 Thread lantianyu1986
From: Lan Tianyu Add parameter offset to specify start position to add flush ranges in guest address list of struct hv_guest_mapping_flush_list. Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 4 ++-- arch/x86/include/asm/mshyperv.h | 2 +- arch/x86/kvm/vmx/vmx.c | 2

[PATCH 00/11] X86/KVM/Hyper-V: Add HV ept tlb range list flush support in KVM

2019-01-04 Thread lantianyu1986
From: Lan Tianyu This patchset is to introduce hv ept tlb range list flush function support in the KVM MMU component. Flushing ept tlbs of several address range can be done via single hypercall and new list flush function is used in the kvm_mmu_commit_zap_page() and FNAME(sync_page). This

Re: [PATCH] staging: mt29f_spinand: add SPDX identifiers

2019-01-04 Thread Greg KH
On Sun, Dec 23, 2018 at 10:57:02AM +0100, Michael Straube wrote: > This satisfies a checkpatch warning and is the preferred > method for notating the license. > > The SPDX identifier is a legally binding shorthand, which > can be used instead of the full boiler plate text. > > Signed-off-by:

Re: [PATCH] staging: wilc1000: define wilc_get_stats_async as static

2019-01-04 Thread Greg KH
On Thu, Jan 03, 2019 at 05:18:05PM +0100, Juan Manuel Torres Palma wrote: > Declare wilc_get_stats_async as static since it's only > used within the definition file scope. > > Signed-off-by: Juan Manuel Torres Palma > --- > drivers/staging/wilc1000/host_interface.c | 2 +- > 1 file changed, 1

Re: [PATCH 0/2] staging: mt7621-pinctrl: use pinconf-generic in some driver ops

2019-01-04 Thread Greg KH
On Thu, Jan 03, 2019 at 09:23:57AM +0100, Sergio Paracuellos wrote: > On Thu, Jan 3, 2019 at 3:02 AM NeilBrown wrote: > > > > On Mon, Dec 31 2018, Sergio Paracuellos wrote: > > > > > dt_node_to_map and dt_free_map operations can use pinconf-generic API's > > > instead of redefine operations in