[PATCH v5 2/6] iommu/iova: Optimise the padding calculation

2017-09-21 Thread Robin Murphy
From: Zhen Lei The mask for calculating the padding size doesn't change, so there's no need to recalculate it every loop iteration. Furthermore, Once we've done that, it becomes clear that we don't actually need to calculate a padding size at all - by flipping the arithmetic around, we can just c

[PATCH v5 4/6] iommu/iova: Make dma_32bit_pfn implicit

2017-09-21 Thread Robin Murphy
From: Zhen Lei Now that the cached node optimisation can apply to all allocations, the couple of users which were playing tricks with dma_32bit_pfn in order to benefit from it can stop doing so. Conversely, there is also no need for all the other users to explicitly calculate a 'real' 32-bit PFN,

[PATCH v5 5/6] iommu/iova: Add rbtree anchor node

2017-09-21 Thread Robin Murphy
Add a permanent dummy IOVA reservation to the rbtree, such that we can always access the top of the address space instantly. The immediate benefit is that we remove the overhead of the rb_last() traversal when not using the cached node, but it also paves the way for further simplifications. Signed

[PATCH v5 3/6] iommu/iova: Extend rbtree node caching

2017-09-21 Thread Robin Murphy
The cached node mechanism provides a significant performance benefit for allocations using a 32-bit DMA mask, but in the case of non-PCI devices or where the 32-bit space is full, the loss of this benefit can be significant - on large systems there can be many thousands of entries in the tree, such

Applied "ASoC: omap-hdmi-audio: Handle return value of devm_kasprintf" to the asoc tree

2017-09-21 Thread Mark Brown
The patch ASoC: omap-hdmi-audio: Handle return value of devm_kasprintf has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "ASoC: fsl-asoc-card: Handle return value of devm_kasprintf" to the asoc tree

2017-09-21 Thread Mark Brown
The patch ASoC: fsl-asoc-card: Handle return value of devm_kasprintf has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

[PATCH] Drop unlikely with IS_ERR

2017-09-21 Thread xNombre
As we know IS_ERR (and its similar instances) uses unlikely in definition so we don't have to mark unlikely second time. Signed-off-by: xNombre --- block/blk-cgroup.c| 2 +- drivers/crypto/caam/caamalg_qi.c | 6 +++--- dri

Applied "ASoC: davinci-mcasp: Handle return value of devm_kasprintf" to the asoc tree

2017-09-21 Thread Mark Brown
The patch ASoC: davinci-mcasp: Handle return value of devm_kasprintf has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [git pull][vfs.git] a couple of fixes

2017-09-21 Thread Linus Torvalds
On Wed, Sep 20, 2017 at 6:13 PM, Al Viro wrote: > A couple of regression fixes, one for this merge window, one for > the previous cycle. That older fix for 4.13 doesn't seem to be marked for stable. Can you make sure it gets to Greg? Linus

Re: [PATCH 7/7] fs-writeback: only allow one inflight and pending full flush

2017-09-21 Thread Jens Axboe
On 09/21/2017 09:36 AM, Jens Axboe wrote: >> But more importantly once we are not guaranteed that we only have >> a single global wb_writeback_work per bdi_writeback we should just >> embedd that into struct bdi_writeback instead of dynamically >> allocating it. > > We could do this as a followup.

[PATCH] jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path

2017-09-21 Thread Jake Daryll Obina
If jffs2_iget() fails for a newly-allocated inode, jffs2_do_clear_inode() can get called twice in the error handling path, the first call in jffs2_iget() itself and the second through iget_failed(). This can result to a use-after-free error in the second jffs2_do_clear_inode() call, such as shown b

Re: Query regarding synchronize_sched_expedited and resched_cpu

2017-09-21 Thread Paul E. McKenney
On Thu, Sep 21, 2017 at 03:59:46PM +0200, Peter Zijlstra wrote: > On Tue, Sep 19, 2017 at 08:31:26AM -0700, Paul E. McKenney wrote: > > So I have this one queued. Objections? > > Changelog reads like its whitespace damaged. It does, now that you mention it. How about the updated version below?

Re: [PATCH] xen: support 52 bit physical addresses in pv guests

2017-09-21 Thread Boris Ostrovsky
On 09/21/2017 10:41 AM, Juergen Gross wrote: On 21/09/17 16:14, Boris Ostrovsky wrote: On 09/21/2017 04:01 AM, Juergen Gross wrote: Physical addresses on processors supporting 5 level paging can be up to 52 bits wide. For a Xen pv guest running on such a machine those physical addresses hav

Re: [kernel-hardening] Re: [PATCH v3 03/31] usercopy: Mark kmalloc caches as usercopy caches

2017-09-21 Thread Christopher Lameter
On Thu, 21 Sep 2017, Kees Cook wrote: > > So what is the point of this patch? > > The DMA kmalloc caches are not whitelisted: The DMA kmalloc caches are pretty obsolete and mostly there for obscure drivers. ?? > >> kmalloc_dma_caches[i] = create_kmalloc_cache(n, > >> -

[PATCH -next] spi: fix spi-sprd-adi build errors when COMPILE_TEST=y

2017-09-21 Thread Randy Dunlap
d-adi.c:(.text+0x389): undefined reference to `__hwspin_lock_timeout' spi-sprd-adi.c:(.text+0x3ee): undefined reference to `__hwspin_unlock' Signed-off-by: Randy Dunlap Cc: Baolin Wang Cc: Mark Brown Cc: linux-...@vger.kernel.org --- drivers/spi/Kconfig | 1 + 1 file changed, 1

Re: usb/storage/uas: slab-out-of-bounds in uas_probe

2017-09-21 Thread Greg Kroah-Hartman
On Thu, Sep 21, 2017 at 05:39:05PM +0200, Andrey Konovalov wrote: > Hi! > > I've got the following report while fuzzing the kernel with syzkaller. > > On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18). > > The issue occurs when we iterate over interface altsettings, but I > don't see t

Re: Memory-ordering recipes

2017-09-21 Thread Peter Zijlstra
On Thu, Sep 21, 2017 at 08:26:42AM -0700, Paul E. McKenney wrote: > ISA2 is the first one on page 2, and has this pattern of reads and > writes: > > CPU 0 CPU 1 CPU 2 > > WRITE_ONCE(x, 1); r1 = READ_ONCE(y); r2 = READ_ONCE(z); > WRI

Re: [Xen-devel] [PATCH] xen: support 52 bit physical addresses in pv guests

2017-09-21 Thread Andrew Cooper
On 21/09/17 17:00, Boris Ostrovsky wrote: Signed-off-by: Juergen Gross ---    arch/x86/include/asm/xen/page.h | 11 ++-    arch/x86/xen/mmu_pv.c   |  4 ++--    2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/xen/page.h b/arch/x86/include

RE: [PATCH][drm-next] drm/i915/gvt: ensure -ve return value is handled correctly

2017-09-21 Thread Wang, Zhi A
Hi Joonas: Thanks for the introduction. I have been thinking about the possibility of introducing GEM_BUG_ON into GVT-g recently and investigating on it. I'm just a bit confused about the usage between GEM_BUG_ON and WARN_ON. GEM_BUG_ON is only enabled when kernel debug is enabled, which mostly

Re: [PATCH 2/2] x86/asm: Fix inline asm call constraints for clang

2017-09-21 Thread Josh Poimboeuf
On Thu, Sep 21, 2017 at 05:35:11PM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Wed, Sep 20, 2017 at 10:32:43AM -0700, H. Peter Anvin wrote: > > > On 09/19/17 11:45, Josh Poimboeuf wrote: > > > > For inline asm statements which have a CALL instruction, we list the > > > > stack

[PATCH v3 5/6] serial: imx: update the stop rx,tx procedures

2017-09-21 Thread Martyn Welch
From: Nandor Han According to "Documentation/serial/driver" both procedures should stop receiving or sending data. Based on this the procedures should stop the activity regardless if DMA is enabled or not. This commit updates both imx_stop_{rx|tx} procedures to stop the activity and disable the

Re: Query regarding synchronize_sched_expedited and resched_cpu

2017-09-21 Thread Peter Zijlstra
On Thu, Sep 21, 2017 at 08:31:34AM -0700, Paul E. McKenney wrote: > > And given RCU is the only user of that thing, I suppose we can indeed > > change it to a full lock. > > Thank you! May I have your ack? Last version I saw still had a Changelog that looked like whitespace damage.

[PATCH v3 2/6] serial: imx: only set dma_is_rxing when DMA starts

2017-09-21 Thread Martyn Welch
From: Romain Perier The variable dma_is_rxing is currently set to 1 in imx_disable_rx_int(). This is problematic as: - whilst imx_disable_rx_int() is currently always called before start_rx_dma() this dependency isn't obvious. - start_rx_dma() does error checking and might exit without enabl

[PATCH v3 6/6] serial: imx: Fix imx_shutdown procedure

2017-09-21 Thread Martyn Welch
From: Nandor Han In some cases, it looks that interrupts can happen after the dma was disabled and port was not yet shutdown. This will result in interrupts handled by imx_rxint. This commits updates the shutdown function to ensure that underlying components are disabled in the right order. This

[PATCH v3 4/6] serial: imx: unmap sg buffers when DMA channel is released

2017-09-21 Thread Martyn Welch
From: Nandor Han This commits unmaps sg buffers when the DMA channel is released. It also sets to zero `dma_is_rxing` and `dma_is_txing` to state that the corresponding channels cannot transmit/receive data, as these are disabled. Signed-off-by: Nandor Han Signed-off-by: Romain Perier Signed-o

[PATCH v3 3/6] serial: imx: Simplify DMA disablement

2017-09-21 Thread Martyn Welch
From: Nandor Han This commits simplify the function imx_disable_dma() by moving the code for disabling RX and TX DMAs to dedicated functions. This is a preparation for the next commit. Signed-off-by: Nandor Han Signed-off-by: Romain Perier Signed-off-by: Martyn Welch --- drivers/tty/serial/i

[PATCH v3 0/6] serial: imx: various improvements

2017-09-21 Thread Martyn Welch
During shutdown when a userspace service is disabled (which generates an uart close), we got kernel crashes in the imx serial driver : [ 1257.657423] Unhandled fault: external abort on non-linefetch (0x1008) at 0xf0938000 [ 1257.665122] pgd = ecf2 [ 1257.667838] [f0938000] *pgd=de819811, *pte

[PATCH v3 1/6] serial: imx: remove CTSC and CTS handling from imx_disable_dma

2017-09-21 Thread Martyn Welch
From: Nandor Han The CTSC and CTS bits affect operation of the CTS/RTS hardware flow control signal (depending on whether the device is in DCE or DTE mode) and are not related to DMA. When in RS-232 mode, the driver is using the automatic CTSC control based on a rxFIFO fill level unless the state

Re: [PATCH 03/12] platform/x86: dell-smbios: Add pr_fmt definition to driver

2017-09-21 Thread Andy Shevchenko
On Thu, Sep 21, 2017 at 4:57 PM, Mario Limonciello wrote: We need a (formal) commit message even for simple patches. > Signed-off-by: Mario Limonciello -- With Best Regards, Andy Shevchenko

Re: [PATCH 8/9 v2] usb: usb251xb: Add max power/current dts property support

2017-09-21 Thread Rob Herring
On Wed, Sep 20, 2017 at 4:27 PM, Serge Semin wrote: > On Wed, Sep 20, 2017 at 03:52:55PM -0500, Rob Herring wrote: >> On Sat, Sep 16, 2017 at 01:42:19PM +0300, Serge Semin wrote: >> > This parameters may be varied in accordance with hardware specifics. >> > So lets add the corresponding settings

Re: Query regarding synchronize_sched_expedited and resched_cpu

2017-09-21 Thread Peter Zijlstra
On Thu, Sep 21, 2017 at 09:00:48AM -0700, Paul E. McKenney wrote: > commit c21c9b78182e35eb0e72ef4e3bba3054f26eaaea > Author: Paul E. McKenney > Date: Mon Sep 18 08:54:40 2017 -0700 > > sched: Make resched_cpu() unconditional > > The current implementation of synchronize_sched_expe

Re: [PATCH RT] locking/rtmutex: don't drop the wait_lock twice

2017-09-21 Thread Steven Rostedt
On Thu, 21 Sep 2017 17:48:43 +0200 Sebastian Andrzej Siewior wrote: > Since the futex rework, __rt_mutex_start_proxy_lock() does no longer > acquire the wait_lock so it must not drop it. Otherwise the lock is not > only unlocked twice but also the preemption counter is underflown. > > Cc: rt-sta

Re: [git pull][vfs.git] a couple of fixes

2017-09-21 Thread Al Viro
On Thu, Sep 21, 2017 at 05:59:57AM -1000, Linus Torvalds wrote: > On Wed, Sep 20, 2017 at 6:13 PM, Al Viro wrote: > > A couple of regression fixes, one for this merge window, one for > > the previous cycle. > > That older fix for 4.13 doesn't seem to be marked for stable. > > Can you mak

Re: Memory-ordering recipes

2017-09-21 Thread Paul E. McKenney
On Thu, Sep 21, 2017 at 06:15:47PM +0200, Peter Zijlstra wrote: > On Thu, Sep 21, 2017 at 08:26:42AM -0700, Paul E. McKenney wrote: > > ISA2 is the first one on page 2, and has this pattern of reads and > > writes: > > > > CPU 0 CPU 1 CPU 2 > > > > WRIT

Re: [PATCH RT] locking/rtmutex: don't drop the wait_lock twice

2017-09-21 Thread Sebastian Andrzej Siewior
On 2017-09-21 12:31:05 [-0400], Steven Rostedt wrote: > > diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c > > index f03876322d4a..79f49d73e4d0 100644 > > --- a/kernel/locking/rtmutex.c > > +++ b/kernel/locking/rtmutex.c > > @@ -2281,7 +2281,6 @@ int __rt_mutex_start_proxy_lock(stru

usb/gadget: copy_to_user called with spinlock held

2017-09-21 Thread Andrey Konovalov
Hi! I've got the following report while fuzzing the kernel with syzkaller. On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18). Line numbers might be a little off, due to some local changes to gadgetfs code but the issue is AFAIU with calling copy_to_user() with spinlock held in ep0_read

Re: [PATCH 07/12] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-09-21 Thread Andy Shevchenko
On Thu, Sep 21, 2017 at 4:57 PM, Mario Limonciello wrote: > The Dell WMI descriptor check is used as an indication that WMI > calls are safe to run both when used with the notification > ASL/GUID pair as well as the SMBIOS calling ASL/GUID pair. > > As some code in dell-wmi-smbios is already a pre

Re: [PATCH 09/12] platform/x86: wmi: create character devices when requested by drivers

2017-09-21 Thread Andy Shevchenko
On Thu, Sep 21, 2017 at 4:57 PM, Mario Limonciello wrote: > For WMI operations that are only Set or Query read or write sysfs > attributes created by WMI vendor drivers make sense. > > For other WMI operations that are run on Method, there needs to be a > way to guarantee to userspace that the res

Re: [PATCH] debugfs: Add check for module parameter name

2017-09-21 Thread arvind
Hi, On Thursday 21 September 2017 06:14 PM, Al Viro wrote: On Thu, Sep 21, 2017 at 05:46:54PM +0530, Arvind Yadav wrote: Here, start_creating() is calling by debugfs_create_dir() and debugfs_create_automount(). driver can pass name as NULL in debugfs_create_dir and debugfs_create_automount. So

Re: Query regarding synchronize_sched_expedited and resched_cpu

2017-09-21 Thread Paul E. McKenney
On Thu, Sep 21, 2017 at 06:30:12PM +0200, Peter Zijlstra wrote: > On Thu, Sep 21, 2017 at 09:00:48AM -0700, Paul E. McKenney wrote: > > commit c21c9b78182e35eb0e72ef4e3bba3054f26eaaea [ . . . ] > Inconsistent spacing after your bullet 'o', first two points have a > space the last two a tab or so.

[PATCH v9 5/7] clk: qcom: Add regmap mux-div clocks support

2017-09-21 Thread Georgi Djakov
Add support for hardware that can switch both parent clock and divider at the same time. This avoids generating intermediate frequencies from either the old parent clock and new divider or new parent clock and old divider combinations. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/Makefile

[PATCH v9 7/7] clk: qcom: Add APCS clock controller support

2017-09-21 Thread Georgi Djakov
Add a driver for the APCS clock controller. It is part of the APCS hardware block, which among other things implements also a combined mux and half integer divider functionality. It can choose between a fixed-rate clock or the dedicated APCS (A53) PLL. The source and the divider can be set both at

Re: usb/storage/uas: slab-out-of-bounds in uas_probe

2017-09-21 Thread Alan Stern
On Thu, 21 Sep 2017, Andrey Konovalov wrote: > Hi! > > I've got the following report while fuzzing the kernel with syzkaller. > > On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18). > > The issue occurs when we iterate over interface altsettings, but I > don't see the driver doing anyt

Re: [PATCH RT] locking/rtmutex: don't drop the wait_lock twice

2017-09-21 Thread Steven Rostedt
On Thu, 21 Sep 2017 18:43:02 +0200 Sebastian Andrzej Siewior wrote: > On 2017-09-21 12:31:05 [-0400], Steven Rostedt wrote: > > > diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c > > > index f03876322d4a..79f49d73e4d0 100644 > > > --- a/kernel/locking/rtmutex.c > > > +++ b/kernel/

[PATCH v9 6/7] dt-bindings: clock: Document qcom,apcs binding

2017-09-21 Thread Georgi Djakov
Add device-tree binding documentation for the Qualcom APCS clock controller. This clock controller is a mux and half-integer divider and provides the clock for the application CPU. Signed-off-by: Georgi Djakov --- .../devicetree/bindings/clock/qcom,apcs.txt| 27 ++ 1

[PATCH v9 3/7] mailbox: qcom: Move the apcs struct into a separate header

2017-09-21 Thread Georgi Djakov
Move the structure shared by the APCS IPC device and its subdevices into a separate header file. Signed-off-by: Georgi Djakov --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 11 +-- include/linux/mailbox/qcom-apcs.h | 34 + 2 files changed, 35 insertio

[PATCH v9 0/7] Add support for Qualcomm A53 CPU clock

2017-09-21 Thread Georgi Djakov
This patchset adds support for the A53 CPU clock on MSM8916 platforms and allows scaling of the CPU frequency on msm8916 based platforms. Changes since v8 (https://lkml.org/lkml/2017/6/23/476) * Converted APCS mailbox driver to use regmap and to populate child platform devices that will handle t

[PATCH v9 4/7] clk: qcom: Add A53 PLL support

2017-09-21 Thread Georgi Djakov
The CPUs on Qualcomm MSM8916-based platforms are clocked by two PLLs, a primary (A53) CPU PLL and a secondary fixed-rate GPLL0. These sources are connected to a mux and half-integer divider, which is feeding the CPU cores. This patch adds support for the primary CPU PLL which generates the higher

Re: [PATCH -next] spi: fix spi-sprd-adi build errors when COMPILE_TEST=y

2017-09-21 Thread Mark Brown
On Thu, Sep 21, 2017 at 09:10:04AM -0700, Randy Dunlap wrote: > +++ linux-next-20170921/drivers/spi/Kconfig > @@ -625,6 +625,7 @@ config SPI_SIRF > config SPI_SPRD_ADI > tristate "Spreadtrum ADI controller" > depends on ARCH_SPRD || COMPILE_TEST >

[PATCH v9 2/7] mailbox: qcom: Populate APCS child platform devices

2017-09-21 Thread Georgi Djakov
Register the child platform devices to probe their drivers. Signed-off-by: Georgi Djakov --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index ab344bc6fa63..fd9

[PATCH v9 1/7] mailbox: qcom: Convert APCS IPC driver to use regmap

2017-09-21 Thread Georgi Djakov
This hardware block provides more functionalities that just IPC. Convert it to regmap to allow other child platform devices to use the same regmap. Signed-off-by: Georgi Djakov --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletion

Re: [RFC] sched/fair: Use wake_q length as a hint for wake_wide

2017-09-21 Thread Atish Patra
On 09/21/2017 12:50 AM, Joel Fernandes wrote: On Wed, Sep 20, 2017 at 2:17 PM, Atish Patra wrote: On 09/20/2017 03:23 PM, Joel Fernandes wrote: On Wed, Sep 20, 2017 at 2:33 AM, Brendan Jackman wrote: On Wed, Sep 20 2017 at 05:06, Joel Fernandes wrote: On Tue, Sep 19, 2017 at 3:05 AM, Br

Re: [PATCH 1/5] usb: usb251xb: Add USB2517/i hub support

2017-09-21 Thread Rob Herring
On Wed, Sep 20, 2017 at 4:15 PM, Serge Semin wrote: > On Wed, Sep 20, 2017 at 03:52:35PM -0500, Rob Herring wrote: >> On Sat, Sep 16, 2017 at 02:31:09AM +0300, Serge Semin wrote: >> > USB2517i hubs are very like USB251xb devices series. They have almost >> > the same configuration registers space

Re: [PATCH v3 0/6] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-21 Thread Miguel Bernal Marin
On Wed, Sep 20, 2017 at 04:24:18PM -0500, Josh Poimboeuf wrote: > On Tue, Sep 19, 2017 at 06:37:39PM -0500, Miguel Bernal Marin wrote: > > Some warning were showed by objtool using gcc 7.2.0 > > > > kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call without > > frame pointer save/setu

Re: [PATCH 0/2] dmaengine: Correct some documentation

2017-09-21 Thread Vinod Koul
On Tue, Sep 12, 2017 at 01:44:43AM +0200, Stefan Brüns wrote: > Some small fixes for dmaengine documentation. Applied, thanks > > Stefan Brüns (2): > dmaengine: List all allowed values for src/dst_addr_width in kernel > doc > dmaengine: Mark struct dma_slave_caps kernel-doc correctly, cl

[PATCH 00/64] use setup_timer() helper function.

2017-09-21 Thread Allen Pais
This series uses setup_timer() helper function. The series addresses the files under drivers/net/*. Allen Pais (64): drivers: net: de4x: use setup_timer() helper. drivers: net: b44: use setup_timer() helper. drivers: net: pcnet32: use setup_timer() helper. drivers: net: brcm80211: use se

[PATCH 01/64] drivers: net: de4x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/dec/tulip/de4x5.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/et

[PATCH 02/64] drivers: net: b44: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/b44.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/b

[PATCH 04/64] drivers: net: brcm80211: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm8

[PATCH 03/64] drivers: net: pcnet32: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/amd/pcnet32.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet/a

[PATCH 05/64] drivers : net: niu: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/sun/niu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c in

[PATCH 07/64] drivers: net: declance: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/amd/declance.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/amd/declance.c b/drivers/net/etherne

[PATCH 11/64] drivers: net: rsi_91x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wireless/rsi/rsi_91x_hal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wi

[PATCH 10/64] drivers: net: appletalk: cops: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/appletalk/cops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c index 48

[PATCH 13/64] drivers: net: ns83820: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/natsemi/ns83820.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/natsemi/ns83820.c b/drivers/net/ethe

[PATCH 09/64] drivers: net: et131x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/agere/et131x.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/agere/et131x.c b/drivers/net/ethernet

[PATCH 15/64] drivers: net: sundance: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/dlink/sundance.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/dlink/sundance.c b/drivers/net/ethern

[PATCH 14/64] drivers: net: ixgb: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/intel/ixgb/ixgb_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_main.c b/driv

[PATCH 16/64] drivers: net: tg3: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/tg3.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/b

[PATCH 18/64] drivers: net: cisco_hdlc: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/hdlc_cisco.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/hdlc_cisco.c b/drivers/net/wan/hdlc_cisco.c index a4

[PATCH 17/64] drivers: net: sdla: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/sdla.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c index 236c625..0cc4890 100

[PATCH 19/64] drivers: net: slip: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/slip/slip.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c index 436dd78..eb8

[PATCH 23/64] drivers: net: winbond-840: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/dec/tulip/winbond-840.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/dec/tulip/winbond-840.c b/driv

[PATCH 22/64] drivers: net: natsemi: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/natsemi/natsemi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/natsemi/natsemi.c b/drivers/net/ethe

[PATCH 20/64] drivers: net: spider_net: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/toshiba/spider_net.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/toshiba/spider_net.c b/

[PATCH 21/64] drivers: net: sun: cassini: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/sun/cassini.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/su

[PATCH 24/64] drivers: net: enic: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/cisco/enic/enic_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/cisco/enic/enic_main.c b/driv

[PATCH 25/64] drivers: net: bnx2: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/bnx2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet

[PATCH 26/64] drivers: net: xen-netback: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/xen-netback/interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback

[PATCH 29/64] drivers: net: smsc: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/smsc/epic100.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/smsc/epic100.c b/drivers/net/ethernet/s

[PATCH 27/64] drivers: net: atmel: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wireless/atmel/atmel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/a

[PATCH 28/64] drivers: net: hippi: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/hippi/rrunner.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c index 71dda

[PATCH 31/64] drivers: net: e1000e: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/intel/e1000e/netdev.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b

[PATCH 32/64] drivers: net: amd: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/amd/sunlance.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/amd/sunlance.c b/drivers/net/ethernet

[PATCH 35/64] drivers: net: can: usb: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/can/usb/peak_usb/pcan_usb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/can/usb/peak_usb/pcan_usb.c b/drivers/net/

[PATCH 33/64] drivers: net: amd8111e: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/amd/amd8111e.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet

[PATCH 37/64] drivers: net: arcnet: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/arcnet/arcnet.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c index fcfcc

[PATCH 38/64] drivers: net: ath6kl: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wireless/ath/ath6kl/txrx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wire

[PATCH 36/64] drivers: net: can: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/can/grcan.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/net/can/grcan.c b/drivers/net/can/grcan.c index a7be12d..

[PATCH 40/64] drivers: net: sis900: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/sis/sis900.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/sis/sis900.c b/drivers/net/ethernet/sis/s

[PATCH 41/64] drivers: net: packetengines: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/packetengines/yellowfin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/packetengines/yellowfin.c b/

[PATCH 39/64] drivers: net: sun: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/sun/sungem.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/s

[PATCH 42/64] drivers: net: mlx5: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/mellanox/mlx5/core/health.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/health.c

[PATCH 43/64] drivers: net: mlx4: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/mellanox/mlx4/catas.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/catas.c b/drivers/

[PATCH 46/64] drivers: net: dmfe: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/dec/tulip/dmfe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/dec/tulip/dmfe.c b/drivers/net/ethern

[PATCH 51/64] drivers: net: caif: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/caif/caif_hsi.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/net/caif/caif_hsi.c b/drivers/net/caif/caif_hsi.

Re: [PATCH 8/9 v2] usb: usb251xb: Add max power/current dts property support

2017-09-21 Thread Serge Semin
On Thu, Sep 21, 2017 at 11:26:04AM -0500, Rob Herring wrote: > On Wed, Sep 20, 2017 at 4:27 PM, Serge Semin wrote: > > On Wed, Sep 20, 2017 at 03:52:55PM -0500, Rob Herring > > wrote: > >> On Sat, Sep 16, 2017 at 01:42:19PM +0300, Serge Semin wrote: > >> > This parameters may be varied in accor

[PATCH 49/64] drivers: net: adi: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/adi/bfin_mac.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet

[PATCH 50/64] drivers: net: can: sja1000: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/can/sja1000/peak_pcmcia.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/can/sja1000/peak_pcmcia.c b/drivers/net/can/sj

[PATCH 52/64] drivers: net: appletalk: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/appletalk/ltpc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/appletalk/ltpc.c b/drivers/net/appletalk/ltpc.c index ac

<    1   2   3   4   5   6   7   8   9   >