[PATCH] staging: clocking-wizard: Add support for dynamic reconfiguration

2018-09-10 Thread shubhrajyoti.datta
From: Shubhrajyoti Datta The patch adds support for dynamic reconfiguration of clock output rate. Output clocks are registered as dividers and set rate callback function is used for dynamic reconfiguration. Signed-off-by: Chirag Parekh Signed-off-by: Shubhrajyoti Datta --- .../clocking-wizard

Re: [PATCH v3] staging: erofs: use explicit unsigned int type

2018-09-10 Thread Greg Kroah-Hartman
On Sun, Sep 09, 2018 at 08:37:53PM +0200, Thomas Weißschuh wrote: > Changes since v1: > > * Removed changes that conflicted with > [PATCH 1/6] staging: erofs: formatting fix in unzip_vle_lz4.c > * Added patch description > > Changes since v2: > > * Fixed conflicts with other patchsets > * Don'

Re: [PATCH 1/2 dhowells/mount-api] staging: erofs: rename superblock flags (MS_xyz -> SB_xyz)

2018-09-10 Thread Greg Kroah-Hartman
On Thu, Sep 06, 2018 at 06:37:37PM +0800, Gao Xiang wrote: > > > On 2018/9/6 18:08, David Howells wrote: > > Gao Xiang wrote: > > > >> This patch follows commit 1751e8a6cb93 ("Rename superblock > >> flags (MS_xyz -> SB_xyz)") and after commit ("vfs: Suppress > >> MS_* flag defs within the kerne

Re: [GIT PULL] Staging/IIO driver patches for 4.19-rc1

2018-09-10 Thread Greg KH
On Tue, Aug 28, 2018 at 02:30:49PM +, Ahmed S. Darwish wrote: > Hi! > > On Tue, Aug 28, 2018 at 02:36:07PM +0200, Greg KH wrote: > > On Tue, Aug 28, 2018 at 10:38:17AM +, Ahmed S. Darwish wrote: > > > [ re-send; forgotten lkml CC added; sorry ] > > > > > > Hi, > > > > > > On Sat, 18 Aug 20

Re: [PATCH 1/1] staging:rtl8192u: Rename dot11d_init to fix name clash

2018-09-10 Thread Greg KH
On Tue, Sep 04, 2018 at 11:56:23AM +0100, John Whitmore wrote: > The function dot11d_init() was previously renamed to clear a style > issue. Unfortunately the new name used, dot11d_init(), clashes with > a sybmol which is exported with the same name. To correct this > problem the function has been

Re: [PATCH 1/2 dhowells/mount-api] staging: erofs: rename superblock flags (MS_xyz -> SB_xyz)

2018-09-10 Thread Gao Xiang
Hi Greg, On 2018/9/10 16:13, Greg Kroah-Hartman wrote: > On Thu, Sep 06, 2018 at 06:37:37PM +0800, Gao Xiang wrote: >> >> >> On 2018/9/6 18:08, David Howells wrote: >>> Gao Xiang wrote: >>> This patch follows commit 1751e8a6cb93 ("Rename superblock flags (MS_xyz -> SB_xyz)") and after c

Re: [PATCH v2 4/4] media: cedrus: Select the sunxi SRAM driver in Kconfig

2018-09-10 Thread Hans Verkuil
On 09/09/2018 09:10 PM, Paul Kocialkowski wrote: > Since the sunxi SRAM driver is required to build the Cedrus driver, > select it in Kconfig. > > Signed-off-by: Paul Kocialkowski > --- > drivers/staging/media/sunxi/cedrus/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Greg KH
On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: > The heap statistics have been removed and currently even basics statistics > are missing. > > This patch creates per heap debugfs directory /sys/kernel/debug/ > and adds two counters - the number of allocated buffers and number of

Patch "staging: android: ion: fix ION_IOC_{MAP, SHARE} use-after-free" has been added to the 4.4-stable tree

2018-09-10 Thread gregkh
This is a note to let you know that I've just added the patch titled staging: android: ion: fix ION_IOC_{MAP,SHARE} use-after-free to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is

[PATCH 2/13] KVM/MMU: Add tlb flush with range helper function

2018-09-10 Thread Tianyu Lan
This patch is to add wrapper functions for tlb_remote_flush_with_range callback. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 48 1 file changed, 48 insertions(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 456d4d0f7eb7..8cf4

[PATCH 00/13] x86/KVM/Hyper-v: Add HV ept tlb range flush hypercall support in KVM

2018-09-10 Thread Tianyu Lan
For nested memory virtualization, Hyper-v doesn't set write-protect L1 hypervisor EPT page directory and page table node to track changes while it relies on guest to tell it changes via HvFlushGuestAddressLlist hypercall. HvFlushGuestAddressLlist hypercall provides a way to flush EPT page table wi

[PATCH 3/13] KVM: Replace old tlb flush function with new one to flush a specified range.

2018-09-10 Thread Tianyu Lan
This patch is to replace kvm_flush_remote_tlbs() with kvm_flush_ remote_tlbs_with_address() in some functions without logic change. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 34 +++--- arch/x86/kvm/paging_tmpl.h | 9 +++-- 2 files changed, 30 ins

[PATCH 1/13] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-09-10 Thread Tianyu Lan
Add flush range call back in the kvm_x86_ops and platform can use it to register its associated function. The parameter "kvm_tlb_range" accepts a single range and flush list which contains a list of ranges. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 8 1 file change

[PATCH 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range()

2018-09-10 Thread Tianyu Lan
This patch is to flush tlb directly in the kvm_handle_hva_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 0ee310bad2c6..cadb6a0b5247 100644 --- a/arch/x

[PATCH 6/13] KVM/MMU: Flush tlb directly in kvm_mmu_zap_collapsible_spte()

2018-09-10 Thread Tianyu Lan
kvm_mmu_zap_collapsible_spte() returns flush request to the slot_handle_leaf() and the latter does flush on demand. When range flush is available, make kvm_mmu_zap_collapsible_spte() to flush tlb with range directly to avoid returning range back to slot_handle_leaf(). Signed-off-by: Lan Tianyu --

[PATCH 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page

2018-09-10 Thread Tianyu Lan
PV EPT tlb flush function will accept a list of flush ranges and use struct kvm_mmu_page as the list entry. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index dc

[PATCH 9/13] KVM/MMU: Replace tlb flush function with range list flush function

2018-09-10 Thread Tianyu Lan
This patch is to use range list flush function in the mmu_sync_children(), kvm_mmu_commit_zap_page() and FNAME(sync_page)(). Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 26 +++--- arch/x86/kvm/paging_tmpl.h | 5 - 2 files changed, 27 insertions(+), 4 delet

[PATCH 11/13] x86/Hyper-v: Add trace in the hyperv_nested_flush_guest_mapping_range()

2018-09-10 Thread Tianyu Lan
This patch is to trace log in the hyperv_nested_flush_ guest_mapping_range(). Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 1 + arch/x86/include/asm/trace/hyperv.h | 14 ++ 2 files changed, 15 insertions(+) diff --git a/arch/x86/hyperv/nested.c b/arch/x86/hyp

[PATCH 8/13] KVM: Add spte's point in the struct kvm_mmu_page

2018-09-10 Thread Tianyu Lan
It's necessary to check whether mmu page is last or large page when add mmu page into flush list. "spte" is needed for such check and so add spte point in the struct kvm_mmu_page. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/mmu.c | 5 + arch

[PATCH 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-09-10 Thread Tianyu Lan
Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb with specified ranges. This patch is to add the hypercall support. Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c | 110 + arch/x86/include/asm/hyperv-tlfs.h | 17 ++

[PATCH 5/13] KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()

2018-09-10 Thread Tianyu Lan
Originally, flush tlb is done by slot_handle_level_range(). This patch is to flush tlb directly in the kvm_zap_gfn_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/x86

Re: [PATCH] staging: clocking-wizard: Add support for dynamic reconfiguration

2018-09-10 Thread Greg KH
On Mon, Sep 10, 2018 at 10:47:28AM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > The patch adds support for dynamic reconfiguration of clock output rate. > Output clocks are registered as dividers and set rate callback function > is used for dynamic reconfiguration. >

Re: [PATCH 02/12] staging: wlan-ng: avoid use of camel case macro names in p80211metadef.h

2018-09-10 Thread Greg KH
On Thu, Aug 30, 2018 at 11:28:13AM +0100, Tim Collier wrote: > On Wed, Aug 29, 2018 at 02:37:36PM +0300, Dan Carpenter wrote: > > On Tue, Aug 28, 2018 at 08:26:13PM +0100, Tim Collier wrote: > > > checkpatch reported a number of "Avoid CamelCase" issues for macros > > > defined in p80211metadef.h (

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Dan Carpenter
On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: > The heap statistics have been removed and currently even basics statistics > are missing. Remind me why did we remove them? What was the git hash? regards, dan carpenter ___ devel mail

Re: [PATCH v9 2/9] media: v4l: Add definitions for MPEG-2 slice format and metadata

2018-09-10 Thread Hans Verkuil
On 09/07/2018 12:24 AM, Paul Kocialkowski wrote: > From: Paul Kocialkowski > > Stateless video decoding engines require both the MPEG-2 slices and > associated metadata from the video stream in order to decode frames. > > This introduces definitions for a new pixel format, describing buffers > w

Re: [PATCH v9 2/9] media: v4l: Add definitions for MPEG-2 slice format and metadata

2018-09-10 Thread Hans Verkuil
On 09/07/2018 12:24 AM, Paul Kocialkowski wrote: > From: Paul Kocialkowski > > Stateless video decoding engines require both the MPEG-2 slices and > associated metadata from the video stream in order to decode frames. > > This introduces definitions for a new pixel format, describing buffers > w

Re: [PATCH v9 2/9] media: v4l: Add definitions for MPEG-2 slice format and metadata

2018-09-10 Thread Paul Kocialkowski
Hi, Le lundi 10 septembre 2018 à 11:41 +0200, Hans Verkuil a écrit : > On 09/07/2018 12:24 AM, Paul Kocialkowski wrote: > > From: Paul Kocialkowski > > > > Stateless video decoding engines require both the MPEG-2 slices and > > associated metadata from the video stream in order to decode frames.

Re: [PATCH] staging: clocking-wizard: Add support for dynamic reconfiguration

2018-09-10 Thread Dan Carpenter
On Mon, Sep 10, 2018 at 10:47:28AM +0530, shubhrajyoti.da...@gmail.com wrote: > +static struct clk *clk_wzrd_register_divider(struct device *dev, > + const char *name, > + const char *parent_name, > +

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Alexey Skidanov
On 09/10/2018 12:36 PM, Dan Carpenter wrote: > On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: >> The heap statistics have been removed and currently even basics statistics >> are missing. > > Remind me why did we remove them? What was the git hash? 15c6098cfec5 ("staging: and

Re: [PATCH v9 2/9] media: v4l: Add definitions for MPEG-2 slice format and metadata

2018-09-10 Thread Hans Verkuil
On 09/10/2018 11:47 AM, Paul Kocialkowski wrote: > Hi, > > Le lundi 10 septembre 2018 à 11:41 +0200, Hans Verkuil a écrit : >> On 09/07/2018 12:24 AM, Paul Kocialkowski wrote: >>> From: Paul Kocialkowski >>> >>> Stateless video decoding engines require both the MPEG-2 slices and >>> associated me

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Alexey Skidanov
On 09/10/2018 11:27 AM, Greg KH wrote: > On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: >> The heap statistics have been removed and currently even basics statistics >> are missing. >> >> This patch creates per heap debugfs directory /sys/kernel/debug/ >> and adds two counters

[PATCH v4 00/18] staging: mt7621-pci: Parse ports info from DT and other minor cleanups

2018-09-10 Thread Sergio Paracuellos
This patch series parse remaining port info from device tree storing it in mt7621_pcie_port struct created for this. Also minor cleanups are performed here: - Remove not used macros. - Use kernel reset_control functions. - Remove unused code. Changes in v4: - Some patches of this

[PATCH v4 04/18] staging: mt7621-pci: factor out 'mt7621_pcie_enable_port' function

2018-09-10 Thread Sergio Paracuellos
Driver probe function is a mess and shall be refactored a lot. At first make use of assert and deassert control factoring out a new function called 'mt7621_pcie_enable_port'. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 88 +++-- 1 f

[PATCH v4 02/18] staging: mt7621-pci: replace return value if devm_pci_alloc_host_bridge call fails

2018-09-10 Thread Sergio Paracuellos
Driver probe function calls 'devm_pci_alloc_host_bridge'. If this call fails it is returning -ENODEV. Return -ENOMEM instead which is more accurate for this. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v4 01/18] staging: mt7621-pci: parse and init port data from device tree

2018-09-10 Thread Sergio Paracuellos
Add initialization of each PCIe port reading and initializing data using device tree. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 75 +++-- 1 file changed, 71 insertions(+), 4 deletions(-) diff --git a/drivers/staging/mt7621-pci/pc

[PATCH v4 09/18] staging: mt7621-pci: reagroup reset related macros all together

2018-09-10 Thread Sergio Paracuellos
Reset bits related macros are in different parts. Reagroup all of them together to improve readability. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c

[PATCH v4 16/18] staging: mt7621-pci: use a trailing */ on a separate line

2018-09-10 Thread Sergio Paracuellos
Chackpatch script is compalining about one comment which is not following the kernel style. Fix it. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/d

[PATCH v4 03/18] staging: mt7621-pci: add two helpers for read and write pcie register ports

2018-09-10 Thread Sergio Paracuellos
mt7621-pcie_port data structure has filed 'base' as the base address for read and write related port registers. Create two inline functions 'pcie_port_read' and 'pcie_port_write' to make this task easier and code more readable. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci

[PATCH v4 11/18] staging: mt7621-pci: factor out 'mt7621_enable_phy' function

2018-09-10 Thread Sergio Paracuellos
Factor out a new function 'mt7621_enable_phy' for enabling the pcie phy for each port and call it from 'mt7621_pcie_enable_port'. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drive

[PATCH v4 17/18] staging: mt7621-pci: use dev_* functions instead of printk

2018-09-10 Thread Sergio Paracuellos
checkpatch script is complaining about the use of printk instead of use more proper dev_* kernel functions. Replace all of them removing warnings. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) d

[PATCH v4 12/18] staging: mt7621-pci: debug port N_FTS inside 'mt7621_pcie_enable_port'

2018-09-10 Thread Sergio Paracuellos
Move debug for the port N_FTS from driver probe function to the more appropiate one 'mt7621_pcie_enable_port'. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt

[PATCH v4 14/18] staging: mt7621-dts: add sysctl registers base address to pcie

2018-09-10 Thread Sergio Paracuellos
Add missing system control registers address in pcie node of the device tree. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-dts/mt7621.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/

[PATCH v4 10/18] staging: mt7621-pci: rewrite pcie phy related functions

2018-09-10 Thread Sergio Paracuellos
Function 'bypass_pipe_rst' and 'set_phy_for_ssc' can be written in a cleaner way. Instead of use comments to see which bits are the ones which are being enabled add new macros with that information using BIT and GENMASK kernel macros. Avoid the use of set_pcie_phy which is kind of dark and use new

[PATCH v4 07/18] staging: mt7621-pci: remove two commented code lines

2018-09-10 Thread Sergio Paracuellos
This two lines whch are commented are not needed at all. Remove them. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index c56

[PATCH v4 05/18] staging: mt7621-pci: remove [ASSERT|DEASSERT]_SYSRST_PCIE macros

2018-09-10 Thread Sergio Paracuellos
Driver is using reset_control kernel API's to manage this so this two macros are not needed anymore. Remove them. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt762

[PATCH v4 18/18] staging: mt7621-pci: do not initialise statics to 0

2018-09-10 Thread Sergio Paracuellos
Static variables are initialised to 0 by GCC and checkpatch script also complains about that. Make it happy. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c

[PATCH v4 08/18] staging: mt7621-pci: remove reset related unused macros

2018-09-10 Thread Sergio Paracuellos
There are three macros which are not being used at all. Remove them. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index f5934

[PATCH v4 15/18] staging: mt7621-pci: remap and use sysctl from device tree

2018-09-10 Thread Sergio Paracuellos
There are some pointer read and writes which can be replaced properly using sysctl registers readed from device tree. Remap sysctl registers and replace in proper places. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 38 - 1 file

[PATCH v4 06/18] staging: mt7621-pci: remove GPL2+ text from license header

2018-09-10 Thread Sergio Paracuellos
This file has a valid SPDX license line added so reamining GPL2+ boilerplate text is not needed at all. Remove it. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 31 +++ 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/dr

[PATCH v4 13/18] staging: mt7621-pci: rename 'mt7621_pcie_enable_port' into 'mt7621_pcie_init_port'

2018-09-10 Thread Sergio Paracuellos
Rename function 'mt7621_pcie_enable_port' with a name which is better for what the function is really doing calling it 'mt7621_pcie_init_port'. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

Re: [PATCH] Drivers: hv: vmbus: include header for get_irq_regs()

2018-09-10 Thread Sebastian Andrzej Siewior
On 2018-08-30 09:55:03 [+0200], To K. Y. Srinivasan wrote: > On !RT the header file get_irq_regs() gets pulled in via other header files. > On > RT it does not and the build fails: > > drivers/hv/vmbus_drv.c:975 implicit declaration of function > ‘get_irq_regs’ [-Werror=implicit-function-dec

Re: [PATCH 1/13] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-09-10 Thread Sean Christopherson
On Mon, 2018-09-10 at 08:38 +, Tianyu Lan wrote: > Add flush range call back in the kvm_x86_ops and platform can use it > to register its associated function. The parameter "kvm_tlb_range" > accepts a single range and flush list which contains a list of ranges. > > Signed-off-by: Lan Tianyu >

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Greg KH
On Mon, Sep 10, 2018 at 01:46:13PM +0300, Alexey Skidanov wrote: > > > On 09/10/2018 11:27 AM, Greg KH wrote: > > On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: > >> The heap statistics have been removed and currently even basics statistics > >> are missing. > >> > >> This patch

Re: [PATCH v6 3/3] staging: mt7621-mmc: Fix debug macro IRQ_MSG and its usages

2018-09-10 Thread Greg Kroah-Hartman
On Sat, Sep 01, 2018 at 03:51:10AM +0530, Nishad Kamdar wrote: > Replace all usages of IRQ_MSG with with dev_ without __func__ > or __LINE__ or current->comm and current->pid. Remove the do {} > while(0) loop for the single statement macro. Drop IRQ_MSG from dbg.h. > Issue found by checkpatch. > >

Re: [PATCH 01/21] staging:rtl8192u: Rename AdvCoding - Style

2018-09-10 Thread Greg KH
On Wed, Aug 29, 2018 at 09:35:27PM +0100, John Whitmore wrote: > Rename the bit field element AdvCoding, as it causes a checkpatch issue > with CamelCase naming. As the element is not actually used in code it > has been renamed to 'not_used_adv_coding'. > > The single line of code which initialise

Re: [PATCH 20/20] staging:rtl8192u: Rename OWN - Style

2018-09-10 Thread Greg KH
On Sat, Sep 01, 2018 at 12:02:50AM +0100, John Whitmore wrote: > Rename the member variable 'OWN' to 'own', this is to comply with the > coding standard, where variables are named in lowercase. > > This is a simple coding style change which should have no impact on > runtime code execution. > > S

Re: [PATCH 19/20] staging:rtl8192u: Rename LINIP - Style

2018-09-10 Thread Greg KH
On Sat, Sep 01, 2018 at 12:02:49AM +0100, John Whitmore wrote: > Rename the member variable 'LINIP' to 'linip', this change is to > conform to the coding style guidelines, member variables in > lowercase. > > This is a simple coding style change which should not impact runtime > code execution. >

Re: [PATCH 18/20] staging:rtl8192u: Rename FirstSeg - Style

2018-09-10 Thread Greg KH
On Sat, Sep 01, 2018 at 12:02:48AM +0100, John Whitmore wrote: > Rename the member variable 'FirstSeg' to 'first_seg', this change > clears the checkpatch issue with CamelCase naming. > > This is a simple coding style change and as such should not impact > runtime code execution. > > Signed-off-b

[PATCH] staging: gasket: TODO: re-implement using UIO

2018-09-10 Thread Ahmed S. Darwish
The gasket in-kernel framework, recently introduced under staging, re-implements what is already long-time provided by the UIO subsystem, with extra PCI BAR remapping and MSI conveniences. Before moving it out of staging, make sure we add the new bits to the UIO framework instead, then transform i

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Alexey Skidanov
On 09/10/2018 05:21 PM, Greg KH wrote: > On Mon, Sep 10, 2018 at 01:46:13PM +0300, Alexey Skidanov wrote: >> >> >> On 09/10/2018 11:27 AM, Greg KH wrote: >>> On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: The heap statistics have been removed and currently even basics stat

[PATCH] erofs: surround fault_injection ralted option parsing using CONFIG_EROFS_FAULT_INJECTION

2018-09-10 Thread Chengguang Xu
It's a little bit strange when fault_injection related option fail with -EINVAL which was already disabled from config, so surround all fault_injection related option parsing code using CONFIG_EROFS_FAULT_INJECTION. Meanwhile, slightly change warning message to keep consistency with option POSIX_AC

Re: [PATCH] erofs: surround fault_injection ralted option parsing using CONFIG_EROFS_FAULT_INJECTION

2018-09-10 Thread Greg KH
On Mon, Sep 10, 2018 at 11:45:51PM +0800, Chengguang Xu wrote: > It's a little bit strange when fault_injection related > option fail with -EINVAL which was already disabled > from config, so surround all fault_injection related option > parsing code using CONFIG_EROFS_FAULT_INJECTION. Meanwhile, >

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Greg KH
On Mon, Sep 10, 2018 at 06:51:18PM +0300, Alexey Skidanov wrote: > On 09/10/2018 05:21 PM, Greg KH wrote: > > On Mon, Sep 10, 2018 at 01:46:13PM +0300, Alexey Skidanov wrote: > >> On 09/10/2018 11:27 AM, Greg KH wrote: > > And you also moved debugfs files (you didn't comment on that comment), > > w

Re: [PATCH] MAINTAINERS: add tree location for staging/erofs

2018-09-10 Thread Chao Yu
On 2018/9/10 11:56, Gao Xiang wrote: > > > On 2018/9/10 2:34, Thomas Weißschuh wrote: >> Hi Chao, hi Gao, >> >> On Sun, 2018-09-09T23:16+0800, Chao Yu wrote: >>> Hi Thomas, >>> >>> On 2018/9/8 11:28, Gao Xiang wrote: Hi Thomas, Thanks for your new patch. It seems that thi

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Alexey Skidanov
On 09/10/2018 06:57 PM, Greg KH wrote: > On Mon, Sep 10, 2018 at 06:51:18PM +0300, Alexey Skidanov wrote: >> On 09/10/2018 05:21 PM, Greg KH wrote: >>> On Mon, Sep 10, 2018 at 01:46:13PM +0300, Alexey Skidanov wrote: On 09/10/2018 11:27 AM, Greg KH wrote: >>> And you also moved debugfs file

Re: [PATCH] erofs: surround fault_injection ralted option parsing using CONFIG_EROFS_FAULT_INJECTION

2018-09-10 Thread Gao Xiang
Hi Greg, On 2018/9/10 23:52, Greg KH wrote: > On Mon, Sep 10, 2018 at 11:45:51PM +0800, Chengguang Xu wrote: >> It's a little bit strange when fault_injection related >> option fail with -EINVAL which was already disabled >> from config, so surround all fault_injection related option >> parsing co

Re: [PATCH] MAINTAINERS: add tree location for staging/erofs

2018-09-10 Thread Gao Xiang
Hi Thomas, On 2018/9/10 23:59, Chao Yu wrote: > On 2018/9/10 11:56, Gao Xiang wrote: >> >> >> On 2018/9/10 2:34, Thomas Weißschuh wrote: >>> Hi Chao, hi Gao, >>> >>> On Sun, 2018-09-09T23:16+0800, Chao Yu wrote: Hi Thomas, On 2018/9/8 11:28, Gao Xiang wrote: > Hi Thomas, > >

Re: [PATCH] staging: clocking-wizard: Add support for dynamic reconfiguration

2018-09-10 Thread Shubhrajyoti Datta
On Mon, Sep 10, 2018 at 2:41 PM Greg KH wrote: > > On Mon, Sep 10, 2018 at 10:47:28AM +0530, shubhrajyoti.da...@gmail.com wrote: > > From: Shubhrajyoti Datta > > > > The patch adds support for dynamic reconfiguration of clock output rate. > > Output clocks are registered as dividers and set rate

Re: [PATCH] staging: clocking-wizard: Add support for dynamic reconfiguration

2018-09-10 Thread Greg Kroah-Hartman
On Mon, Sep 10, 2018 at 10:28:25PM +0530, Shubhrajyoti Datta wrote: > On Mon, Sep 10, 2018 at 2:41 PM Greg KH wrote: > > > > On Mon, Sep 10, 2018 at 10:47:28AM +0530, shubhrajyoti.da...@gmail.com > > wrote: > > > From: Shubhrajyoti Datta > > > > > > The patch adds support for dynamic reconfigura

[PATCH 4.19 regression fix 2/2] staging: vboxvideo: Change address of scanout buffer on page-flip

2018-09-10 Thread Hans de Goede
Commit 2408898e3b6c ("staging: vboxvideo: Add page-flip support") only calls vbox_crtc_do_set_base() on page-flips, but despite that function's name it only pins the new fb, unpins the old fb and sets vbox_crtc->fb_offset. It does not program the hardware to scan out at the new vbox_crtc->fb_offset

[PATCH 4.19 regression fix 1/2] staging: vboxvideo: Fix IRQs no longer working

2018-09-10 Thread Hans de Goede
Commit 1daddbc8dec5 ("staging: vboxvideo: Update driver to use drm_dev_register.") replaced the obsolere drm_get_pci_dev() with normal pci probe and remove functions. But the new vbox_pci_probe() is missing a pci_enable_device() call, causing interrupts to not be delivered. This causes resizes of

Re: [PATCH v3] staging: erofs: use explicit unsigned int type

2018-09-10 Thread Thomas Weißschuh
Hi Greg, On Mon, 2018-09-10T10:10+0200, Greg Kroah-Hartman wrote: > On Sun, Sep 09, 2018 at 08:37:53PM +0200, Thomas Weißschuh wrote: > > Changes since v1: > > > > * Removed changes that conflicted with > > [PATCH 1/6] staging: erofs: formatting fix in unzip_vle_lz4.c > > * Added patch descript

[PATCH v4] staging: erofs: use explicit unsigned int type

2018-09-10 Thread Thomas Weißschuh
Hi Chao, On Mon, 2018-09-10T23:59+0800, Chao Yu wrote: > [...] >>> I was not aware of this tree and worked off of staging / next. >>> A patch is attached to this message that adds the tree to the MAINTAINERS >>> file. >> >> Hi Chao, >> >> I think this tree has some PREVIEW patches which previe

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Laura Abbott
On 09/10/2018 03:00 AM, Alexey Skidanov wrote: On 09/10/2018 12:36 PM, Dan Carpenter wrote: On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: The heap statistics have been removed and currently even basics statistics are missing. Remind me why did we remove them? What was th

[PATCH] staging: rtl8188eu: change array type to u8

2018-09-10 Thread Michael Straube
The the last two parameters of write_cam() have type u8. Change the type of the passed arrays from unsigned char to u8. Clears a line over 80 characters checkpatch warning. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 6 +++--- 1 file changed, 3 insertions(

Re: [PATCH] staging: android: ion: Add per-heap counters

2018-09-10 Thread Alexey Skidanov
On 09/10/2018 11:21 PM, Laura Abbott wrote: > On 09/10/2018 03:00 AM, Alexey Skidanov wrote: >> >> >> On 09/10/2018 12:36 PM, Dan Carpenter wrote: >>> On Sun, Sep 09, 2018 at 01:44:31AM +0300, Alexey Skidanov wrote: The heap statistics have been removed and currently even basics statist

RE: [PATCH] Drivers: hv: vmbus: include header for get_irq_regs()

2018-09-10 Thread KY Srinivasan
> -Original Message- > From: Sebastian Andrzej Siewior > Sent: Monday, September 10, 2018 7:07 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > > Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; Steven > Rostedt ; Bernhard Landauer > ; Ralf Ramsauer regensb

[PATCH v2] erofs: surround fault_injection ralted option parsing using CONFIG_EROFS_FAULT_INJECTION

2018-09-10 Thread Chengguang Xu
It's a little bit strange when fault_injection related option fail with -EINVAL which was already disabled from config, so surround all fault_injection related option parsing code using CONFIG_EROFS_FAULT_INJECTION. Meanwhile, slightly change warning message to keep consistency with option POSIX_AC

Re: [PATCH 4.19 regression fix 2/2] staging: vboxvideo: Change address of scanout buffer on page-flip

2018-09-10 Thread Steve Longerbeam
Hi Hans, On 09/10/2018 11:30 AM, Hans de Goede wrote: Commit 2408898e3b6c ("staging: vboxvideo: Add page-flip support") only calls vbox_crtc_do_set_base() on page-flips, but despite that function's name it only pins the new fb, unpins the old fb and sets vbox_crtc->fb_offset. It does not progra

Re: [PATCH] staging: clocking-wizard: Add support for dynamic reconfiguration

2018-09-10 Thread Shubhrajyoti Datta
On Mon, Sep 10, 2018 at 10:36 PM Greg Kroah-Hartman wrote: > > On Mon, Sep 10, 2018 at 10:28:25PM +0530, Shubhrajyoti Datta wrote: > > On Mon, Sep 10, 2018 at 2:41 PM Greg KH wrote: > > > > > > On Mon, Sep 10, 2018 at 10:47:28AM +0530, shubhrajyoti.da...@gmail.com > > > wrote: > > > > From: Shub

Re: [PATCH 4.19 regression fix 2/2] staging: vboxvideo: Change address of scanout buffer on page-flip

2018-09-10 Thread Hans de Goede
Hi, On 11-09-18 01:08, Steve Longerbeam wrote: Hi Hans, On 09/10/2018 11:30 AM, Hans de Goede wrote: Commit 2408898e3b6c ("staging: vboxvideo: Add page-flip support") only calls vbox_crtc_do_set_base() on page-flips, but despite that function's name it only pins the new fb, unpins the old fb

Re: [PATCH] staging: wilc1000: revert "fix TODO to compile spi and sdio components in single module"

2018-09-10 Thread Ajay Singh
Hi Greg, On Tue, 14 Aug 2018 10:43:35 +0200 gregkh wrote: > On Tue, Aug 14, 2018 at 10:34:27AM +0200, Arnd Bergmann wrote: > > On Tue, Aug 14, 2018 at 7:22 AM Ajay Singh > > wrote: > > > > > > Hi Arnd, > > > > > > On Mon, 13 Aug 2018 23:20:33 +0200 > > > Arnd Bergmann wrote: > > > > > > > The

Re: [PATCH 4.19 regression fix 1/2] staging: vboxvideo: Fix IRQs no longer working

2018-09-10 Thread Hans de Goede
Hi, On 11-09-18 08:48, Nicholas Mc Guire wrote: On Mon, Sep 10, 2018 at 08:30:38PM +0200, Hans de Goede wrote: Commit 1daddbc8dec5 ("staging: vboxvideo: Update driver to use drm_dev_register.") replaced the obsolere drm_get_pci_dev() with normal pci probe and remove functions. But the new vbox

Re: [PATCH 4.19 regression fix 1/2] staging: vboxvideo: Fix IRQs no longer working

2018-09-10 Thread Nicholas Mc Guire
On Mon, Sep 10, 2018 at 08:30:38PM +0200, Hans de Goede wrote: > Commit 1daddbc8dec5 ("staging: vboxvideo: Update driver to use > drm_dev_register.") replaced the obsolere drm_get_pci_dev() with > normal pci probe and remove functions. > > But the new vbox_pci_probe() is missing a pci_enable_devic