[PATCH] KVM: nVMX: don't reset kvm mmu twice

2017-03-12 Thread Wanpeng Li
From: Wanpeng Li kvm mmu is reset once successfully loading CR3 as part of emulating vmentry in nested_vmx_load_cr3(). We should not reset kvm mmu twice. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/

Re: [PATCH] locking/hung_task: Defer showing held locks

2017-03-12 Thread Vegard Nossum
On 12/03/2017 06:33, Tetsuo Handa wrote: When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). For example, if 1000 threads were blocked in TAS

Re: [PATCH v3] statx: optimize copy of struct statx to userspace

2017-03-12 Thread David Howells
Eric Biggers wrote: > +static int cp_statx(const struct kstat *stat, struct statx __user *buffer) > ... > + struct statx tmp; This function needs to be "noinline" as tmp is big. > - return statx_set_result(&stat, buffer); > + > + return cp_statx(&stat, buffer); Can you leave it as

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Vivek Gautam
Hi Kishon, On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: >> Make the "samsung" directory and move the Samsung specific files to >> there for maintaining the files relevant to Samsung. > > The number of phy drivers

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Krzysztof Kozlowski
On Sun, Mar 12, 2017 at 11:18 AM, Vivek Gautam wrote: > Hi Kishon, > > > On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: >>> Make the "samsung" directory and move the Samsung specific files to >>> there for mainta

Re: [PATCH v3 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code

2017-03-12 Thread Geert Uytterhoeven
On Sun, Mar 12, 2017 at 6:38 AM, Magnus Damm wrote: > From: Magnus Damm > > Support the r8a7796 IPMMU by sharing feature flags between > r8a7795 and r8a7796. Also update IOMMU_OF_DECLARE to hook > up the updated compat string. > > Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Gr{

[PATCH] um: use KERN_CONT in stack dump

2017-03-12 Thread Vegard Nossum
Without KERN_CONT, the symbol will appear on a new line, making stack traces completely unreadable: Call Trace: [<6008e891>] ? printk+0x0/0x94 [<6001cce6>] show_stack+0xfe/0x15b [<600666ec>] ? dump_stack_print_info+0xe1/0xea [<6008e891>] ? printk+0x0/0x94

Re: [PATCH] um: use KERN_CONT in stack dump

2017-03-12 Thread Richard Weinberger
Vegard, Am 12.03.2017 um 10:38 schrieb Vegard Nossum: > Without KERN_CONT, the symbol will appear on a new line, making stack > traces completely unreadable: > > Call Trace: > [<6008e891>] ? > printk+0x0/0x94 > [<6001cce6>] > show_stack+0xfe/0x15b > [<600666ec>] ? >

Re: [PATCH] um: use KERN_CONT in stack dump

2017-03-12 Thread Vegard Nossum
On 12/03/2017 10:45, Richard Weinberger wrote: Am 12.03.2017 um 10:38 schrieb Vegard Nossum: Without KERN_CONT, the symbol will appear on a new line, making stack traces completely unreadable: [snip] I think it is better to fix the root of the problem by using a single printk. i.e. diff --git

[PATCH] um: Fix _print_addr()

2017-03-12 Thread Richard Weinberger
Recent changes to printk() broke UML's stack trace output. Kill the root of the problem by using a single printk() statement. Fixes: 4bcc595ccd80decb ("printk: reinstate KERN_CONT for printing continuation lines") Cc: sta...@vger.kernel.org Cc: Vegard Nossum Tested-by: Vegard Nossum Reported-by:

[scsi] scsi: ufs: don't check unsigned type for a negative value

2017-03-12 Thread Tomas Winkler
Fix compilation warning drivers/scsi/ufs/ufshcd.c:7645:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if ((value < UFS_PM_LVL_0) || (value >= UFS_PM_LVL_MAX)) Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 RFC] mm/vmscan: more restrictive condition for retry in do_try_to_free_pages

2017-03-12 Thread Yisheng Xie
hi, Shakeel, On 03/12/2017 01:52 AM, Shakeel Butt wrote: > On Sat, Mar 11, 2017 at 5:51 AM, Yisheng Xie wrote: >> From: Yisheng Xie >> >> When we enter do_try_to_free_pages, the may_thrash is always clear, and >> it will retry shrink zones to tap cgroup's reserves memory by setting >> may_thrash

[tip:x86/urgent] x86/tlb: Fix tlb flushing when lguest clears PGE

2017-03-12 Thread tip-bot for Daniel Borkmann
Commit-ID: 2c4ea6e28dbf15ab93632c5c189f3948366b8885 Gitweb: http://git.kernel.org/tip/2c4ea6e28dbf15ab93632c5c189f3948366b8885 Author: Daniel Borkmann AuthorDate: Sat, 11 Mar 2017 01:31:19 +0100 Committer: Thomas Gleixner CommitDate: Sun, 12 Mar 2017 11:19:29 +0100 x86/tlb: Fix tlb flu

[GIT pull] irq fixes for 4.11

2017-03-12 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus This update contains: - A workaround for a GIC erratum - A missing stub function for CONFIG_IRQDOMAIN=n - Fixes for a couple of type inconsi

[GIT pull] x86 fixes for 4.11

2017-03-12 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus This update contains: - A fix for the kexec/purgatory regression which was introduced in the merge window via an innocent sparse fix. We cou

[PATCH v3 RFC] mm/vmscan: more restrictive condition for retry of shrink_zones

2017-03-12 Thread Yisheng Xie
From: Yisheng Xie When we enter do_try_to_free_pages, the may_thrash is always clear, and it will retry shrink zones to tap cgroup's reserves memory by setting may_thrash when the former shrink_zones reclaim nothing. However, when memcg is disabled or on legacy hierarchy, it should not do this u

Re: kvm: WARNING in mmu_spte_clear_track_bits

2017-03-12 Thread Dmitry Vyukov
On Tue, Jan 17, 2017 at 5:00 PM, Dmitry Vyukov wrote: > On Tue, Jan 17, 2017 at 4:20 PM, Paolo Bonzini wrote: >> >> >> On 13/01/2017 12:15, Dmitry Vyukov wrote: >>> >>> I've commented out the WARNING for now, but I am seeing lots of >>> use-after-free's and rcu stalls involving mmu_spte_clear_tra

[PATCH 2/4] Documentation: input: fix path to input code defnitions

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation in input-programming.txt; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/input/input-programming.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/input/input-programming.

[PATCH 1/4] Documentation: hid: fix path to input bus definitions

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/hid/hidraw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/hid/hidraw.txt b/Documentation/hid/hidraw.txt index 029e6cb..

[PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/input/ff.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/input/ff.txt b/Documentation/input/ff.txt index b3867bf..

[PATCH 3/4] Documentation: admin-guide: fix path to input key definitions

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/admin-guide/sysrq.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/sysrq.rst b/Documentation/admin-guide/s

Re: [PATCH] kbuild: strip the last slash in KBUILD_EXTMOD

2017-03-12 Thread Wei Yang
On Sat, Mar 11, 2017 at 10:34:50PM +0900, Masahiro Yamada wrote: >Hi Wei, > > >2017-02-23 0:08 GMT+09:00 Wei Yang : >> Current kbuild will build the target again if we run "make M=dir" and "make >> M=dir/" by turns, since if_changed will see the prerequisite is changed. >> The behavior may confuse

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-12 Thread Borislav Petkov
On Sat, Mar 11, 2017 at 09:37:23PM -0800, l...@pengaru.com wrote: > Hello list, > > Here's a photo of the panic, on imgur to be kind to vger: > http://imgur.com/a/wZI32 > > I'm out on a sailboat so can't really do much, but had a chance with internet So you didn't bring another box with you on t

Re: [PATCH] dt-bindings: display: rk3288-mipi-dsi: add reset property

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 11:39:45AM +, John Keeping wrote: > This reset is required in order to fully reset the internal state of the > MIPI controller. > > Signed-off-by: John Keeping > --- > On Thu, 2 Mar 2017 13:56:46 -0800, Brian Norris wrote: > > On Fri, Feb 24, 2017 at 12:55:06PM +,

[PATCH] kbuild: strip the last slash in KBUILD_EXTMOD

2017-03-12 Thread Wei Yang
Current kbuild will build the target again if we run "make M=dir" and "make M=dir/" by turns, since if_changed will see the prerequisite is changed. The behavior may confuse the user a little, since actually we are building the same target and no difference. According to current implementation in

[GIT PULL] s390 patches for 4.11-rc2/rc3

2017-03-12 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: * Four patches to get the new cputime code in shape for s390 * Add the new statx system call * A few bug fixes Heiko Carstens

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-12 Thread Borislav Petkov
On Sun, Mar 12, 2017 at 12:57:03PM +0100, Borislav Petkov wrote: > On Sat, Mar 11, 2017 at 09:37:23PM -0800, l...@pengaru.com wrote: > > Hello list, > > > > Here's a photo of the panic, on imgur to be kind to vger: > > http://imgur.com/a/wZI32 > > > > I'm out on a sailboat so can't really do much

Linux 4.4.53

2017-03-12 Thread Greg KH
I'm announcing the release of the 4.4.53 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.14

2017-03-12 Thread Greg KH
I'm announcing the release of the 4.9.14 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

[PATCH] staging: adis16060_core: Use private driver lock instead of mlock

2017-03-12 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices g

[PATCH v2 01/23] MAINTAINERS: Add file patterns for auxdisplay device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Miguel Ojeda Sandonis Cc: Greg Kroah-Hartman --- Please apply this patch directly if you want to be involved in device tree binding documentation f

[PATCH v2 05/23] MAINTAINERS: Add file patterns for dove device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebastian Hesselbarth Cc: Gregory Clement Cc: linux-arm-ker...@lists.infradead.org --- Please apply this patch d

[PATCH v2 00/23] MAINTAINERS: Add file patterns for subsystem device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Hi all, Submitters of device tree binding documentation regularly forget to CC the subsystem maintainer due to missing entries in MAINTAINERS for Documentation/devicetree/bindings/. This patch series is an attempt to add (most) missing entries. Maintainers: Please apply the appropriate pa

[PATCH v2 20/23] MAINTAINERS: Add file patterns for tpm device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Jarkko Sakkinen Cc: Peter Huewe Cc: Marcel Selhorst Cc: Jarkko Sakkinen Cc: Jason Gunthorpe Cc: tpmdd-de...@lists.sourceforge.net --- Plea

[PATCH v2 14/23] MAINTAINERS: Add file patterns for nios2 device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Ley Foon Tan Cc: nios2-...@lists.rocketboards.org --- Please apply this patch directly if you want to be involved in device tree binding documentati

[PATCH v2 03/23] MAINTAINERS: Add file patterns for cpufreq device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Viresh Kumar Cc: Viresh Kumar Cc: "Rafael J. Wysocki" Cc: linux...@vger.kernel.org --- Please apply this patch directly if you want to be in

[PATCH v2 13/23] MAINTAINERS: Add file patterns for mediatek device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Reviewed-by: Matthias Brugger Cc: Matthias Brugger Cc: linux-arm-ker...@lists.infradead.org Cc: linux-media...@lists.infradead.org --- Please apply thi

[PATCH v2 22/23] MAINTAINERS: Add file patterns for x86 device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: x...@kernel.org --- Please apply this patch directly if you want to be involved in device t

[PATCH v2 12/23] MAINTAINERS: Add file patterns for media device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Reviewed-by: Javier Martinez Canillas Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Please apply this patch directly if you want to be

[PATCH v2 07/23] MAINTAINERS: Add file patterns for fpga device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Moritz Fischer Cc: Alan Tull Cc: Moritz Fischer Cc: linux-f...@vger.kernel.org --- Please apply this patch directly if you want to be involv

[PATCH v2 08/23] MAINTAINERS: Add file patterns for h8300 device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Yoshinori Sato Cc: uclinux-h8-de...@lists.sourceforge.jp --- Please apply this patch directly if you want to be involved in device tree binding docu

[PATCH v2 04/23] MAINTAINERS: Add file patterns for cris device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Jesper Nilsson Cc: Mikael Starvik Cc: Jesper Nilsson Cc: linux-cris-ker...@axis.com --- Please apply this patch directly if you want to be i

[PATCH v2 09/23] MAINTAINERS: Add file patterns for infiniband device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Doug Ledford Cc: Sean Hefty Cc: Hal Rosenstock Cc: linux-r...@vger.kernel.org --- Please apply this patch directly if you want to be involved in d

[PATCH v2 18/23] MAINTAINERS: Add file patterns for serio device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Dmitry Torokhov Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org --- Please apply this patch directly if you want to be involved in device

[PATCH v2 17/23] MAINTAINERS: Add file patterns for pps device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Rodolfo Giometti Cc: Greg Kroah-Hartman Cc: linux...@ml.enneenne.com --- Please apply this patch directly if you want to be involved in device tree

[PATCH v2 23/23] MAINTAINERS: Add file patterns for xillybus device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Eli Billauer Cc: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman --- Please apply this patch directly if you want to be involved in devic

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-12 Thread Benjamin Gaignard
2017-03-05 13:04 GMT+01:00 Jonathan Cameron : > On 01/03/17 14:45, Benjamin Gaignard wrote: >> One of the features of STM32 trigger hardware block is a counter >> that can counts up/down depending of the levels and edges of the >> selected external pins. >> >> This patch allow to read/write the cou

[PATCH v2 16/23] MAINTAINERS: Add file patterns for powerpc device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-...@lists.ozlabs.org --- Please apply this patch directly if you want

[PATCH v2 15/23] MAINTAINERS: Add file patterns for perf device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Will Deacon Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org --- Please apply this patch directly if you want to be involved in device tre

[PATCH v2 21/23] MAINTAINERS: Add file patterns for w1 device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Evgeniy Polyakov Cc: Greg Kroah-Hartman --- Please apply this patch directly if you want to be involved in device tree binding documentation for yo

[PATCH v2 19/23] MAINTAINERS: Add file patterns for ti device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Santosh Shilimkar Cc: Santosh Shilimkar Cc: linux-kernel@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org --- Please apply this patch

[PATCH v2 10/23] MAINTAINERS: Add file patterns for ipmi device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Corey Minyard Cc: openipmi-develo...@lists.sourceforge.net --- Please apply this patch directly if you want to be involved in device tree binding do

[PATCH v2 02/23] MAINTAINERS: Add file patterns for clocksource device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Daniel Lezcano Cc: Thomas Gleixner --- Please apply this patch directly if you want to be involved in device tree binding documentation for your su

[PATCH v2 11/23] MAINTAINERS: Add file patterns for mailbox device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Jassi Brar --- Please apply this patch directly if you want to be involved in device tree binding documentation for your subsystem. v2: - No chan

[PATCH v2 06/23] MAINTAINERS: Add file patterns for dsa device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Andrew Lunn Cc: Vivien Didelot Cc: net...@vger.kernel.org --- Please apply this patch directly if you want to be involved in device tree binding do

[PATCH 1/2] ARM: dts: sun4i: Add CAN node and can0_pins_a pinctrl settings

2017-03-12 Thread Patrick Menschel
The A10 SoC has an on-board CAN controller. This patch adds the device node and the corresponding pinctrl settings for pins PH20 and PH21. This patch is adapted from the description in Documentation/devicetree/bindings/net/can/sun4i_can.txt Signed-off-by: Patrick Menschel --- arch/arm/boot/dts/

[PATCH 2/2] ARM: dts: sun7i: Add CAN node and can0_pins_a pinctrl settings

2017-03-12 Thread Patrick Menschel
The A20 SoC has an on-board CAN controller. This patch adds the device node and the corresponding pinctrl settings for pins PH20 and PH21. The CAN controller is inherited from the A10 SoC and uses the same driver. This patch is adapted from the description in Documentation/devicetree/bindings/net

[PATCH 0/2] ARM: dts: sunxi: Add CAN node and can0_pins_a pinctrl setting

2017-03-12 Thread Patrick Menschel
The Allwinner A10/A20 SoCs have an on-board CAN (Controller Area Network) controller. This patch adds the CAN core to the SoC's include files, sun4i-a10.dtsi and sun7i-a20.dtsi. On linux-can mailing list was a discussion about updating the device tree bindings https://lkml.org/lkml/2015/9/17/220

Re: [v6 1/8] bus: fsl-mc: dpio: add DPIO driver overview document

2017-03-12 Thread Greg KH
On Wed, Mar 08, 2017 at 04:54:43PM -0500, Roy Pledge wrote: > From: Stuart Yoder > > add document describing the dpio driver and it's role, components > and major interfaces > > Signed-off-by: Stuart Yoder You need to also sign off on patches you send me from others if I am to be able to accep

[PATCH] staging: iio: ade7753: replace mlock with driver private lock

2017-03-12 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices g

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-12 Thread Benjamin Gaignard
2017-03-09 18:38 GMT+01:00 Laura Abbott : > On 03/09/2017 02:00 AM, Benjamin Gaignard wrote: >> 2017-03-06 17:04 GMT+01:00 Daniel Vetter : >>> On Mon, Mar 06, 2017 at 11:58:05AM +0100, Mark Brown wrote: On Mon, Mar 06, 2017 at 11:40:41AM +0100, Daniel Vetter wrote: > No one gave a thi

Linux 4.10.2

2017-03-12 Thread Greg KH
I'm announcing the release of the 4.10.2 kernel. All users of the 4.10 kernel series must upgrade. The updated 4.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.10.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v3] staging: android: Replace strcpy with strlcpy

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 03:32:44AM +0530, simran singhal wrote: > Replace strcpy with strlcpy as strcpy does not check for buffer > overflow. Can there be a buffer overflow here? If not, then strcpy is just fine to use. Do you see a potential code path here that actually is a problem using this?

Re: [PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-12 Thread Greg KH
On Sat, Mar 11, 2017 at 01:07:40PM +, Craig Inches wrote: > This patch resolves the "Comparisons should place the constant on > the right side of the test" found with checkpatch tool. Both are constants, I think checkpatch is the thing that is wrong here, don't you agree? thanks, greg k-h

Re: [PATCH] staging: lustre: replace simple_strtoul with kstrtoint

2017-03-12 Thread Greg Kroah-Hartman
On Thu, Mar 09, 2017 at 03:53:00PM +0100, Marcin Ciupak wrote: > Replace simple_strtoul with kstrtoint. Why? > simple_strtoul is marked for obsoletion. > > Signed-off-by: Marcin Ciupak > --- > drivers/staging/lustre/lustre/obdclass/obd_mount.c | 20 > 1 file changed, 16 in

Re: [PATCH v2 1/5] staging: rtl8192e: Fix coding style issues

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 12:20:44AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Fix coding style issues and comments in rtl_core.c What issues would that be? Please always be specific and tell us what you do. Also always test-build your patches, otherwise you make maintainers r

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

2017-03-12 Thread Boris Petkov
On March 9, 2017 11:08:17 AM GMT+01:00, Borislav Petkov wrote: >From: Borislav Petkov ... >diff --git a/arch/x86/ras/Kconfig b/arch/x86/ras/Kconfig >index 0bc60a308730..2a2d89d39af6 100644 >--- a/arch/x86/ras/Kconfig >+++ b/arch/x86/ras/Kconfig >@@ -7,3 +7,17 @@ config MCE_AMD_INJ > asp

Re: [PATCH v1] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 07:05:05PM +0530, simran singhal wrote: > The function atomisp_set_stop_timeout on being called, simply returns > back. The function hasn't been mentioned in the TODO and doesn't have > FIXME code around. Hence, atomisp_set_stop_timeout and its calls have been > removed. >

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-12 Thread Andy Shevchenko
On Sun, Mar 12, 2017 at 2:26 PM, Borislav Petkov wrote: > On Sun, Mar 12, 2017 at 12:57:03PM +0100, Borislav Petkov wrote: >> On Sat, Mar 11, 2017 at 09:37:23PM -0800, l...@pengaru.com wrote: >> > Hello list, >> > >> > Here's a photo of the panic, on imgur to be kind to vger: >> > http://imgur.com

Re: [PATCH] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 06:12:31PM +0530, simran singhal wrote: > Convert macro GAT_CONFIG to static inline function as static inline > functions are preferred over macros. This change is possible since the > arguments at all call sites have the same type. > > This was done using Coccinelle: > >

Re: [PATCH 0/3] staging: sm750fb: multiple checkpatch issues

2017-03-12 Thread Greg KH
On Sat, Mar 11, 2017 at 08:54:07AM +0530, Arushi Singhal wrote: > Improve readability by fixing multiple checkpatch.pl > issues in sm750fb driver. > > Arushi Singhal (3): > staging: sm750fb: function prototype argument should have an > identifier name > staging: sm750fb: fixes add blank li

Re: [PATCH v5 2/4] dt-bindings: mfd: Add LED subnode binding for MT6323 PMIC

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 09:56:23PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > This patch adds documentation for devicetree bindings > for LED support as the subnode of MT6323 PMIC > > Signed-off-by: Sean Wang > --- > Documentation/devicetree/bindings/mfd/mt6397.txt | 5 + >

Re: [PATCH v5 1/4] dt-bindings: leds: Add document bindings for leds-mt6323

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 09:56:22PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > This patch adds documentation for devicetree bindings > for LED support on MT6323 PMIC > > Signed-off-by: Sean Wang > --- > .../devicetree/bindings/leds/leds-mt6323.txt | 63 > +

Re: [PATCH 1/2] dt-bindings: mfd: Fix path to atmel/hlcdc-dc.txt

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 03:41:46PM +0100, Richard Genoud wrote: > Atmel hlcdc-dc documentation is actually in > Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt > > Signed-off-by: Richard Genoud > --- > Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt | 2 +- > 1 file changed, 1

Re: [PATCH 01/10] ALSA SoC MAX98927 driver - Initial release

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 11:52:39PM +0900, Ryan Lee wrote: > From: Ryan Lee > > Signed-off-by: Ryan Lee > --- > > Initial release of ALSA SoC MAX98927 driver. > > .../devicetree/bindings/sound/max98927.txt | 32 + In addition to what Mark said, please split bindings to a separate pa

Re: [PATCH 1/2] devicetree: add vendor prefix for Winstar Display Corp.

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 04:21:55PM +0100, Richard Genoud wrote: > Winstar Display Corp. is specialized in LCD displays for embedded > products. > cf: http://www.winstar.com.tw > > Signed-off-by: Richard Genoud > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed,

Re: [PATCH] staging: wlan-ng: fix checkpatch.pl code style warnings

2017-03-12 Thread Greg KH
On Sat, Mar 11, 2017 at 10:39:56PM +0200, Andrii wrote: > Fixed code style warnings reported by checkpatch.pl script. What warning would that be? Please always be very specific. > > Signed-off-by: Andrii Vladyka Trailing whitespace on this line :( > diff --git a/drivers/staging/wlan-ng/hfa

Re: [PATCH 2/2] drm/panel: simple: Add support for Winstar WF35LTIACD

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 04:21:56PM +0100, Richard Genoud wrote: > This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT > LCD panel, which can be supported by the simple panel driver. > > Signed-off-by: Richard Genoud > --- > .../bindings/display/panel/winstar,wf35ltiacd |

Re: [PATCH v1 1/7] staging: gc2235: Remove unnecessary typecast of c90 int constant

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 04:20:23AM +0530, simran singhal wrote: > This patch removes unnecessary typecast of c90 int constant. > > WARNING: Unnecessary typecast of c90 int constant > > Signed-off-by: simran singhal > --- > drivers/staging/media/atomisp/i2c/gc2235.c | 6 +++--- > 1 file changed,

Re: [PATCH] Add blank line after function/struct/union/enum declarations

2017-03-12 Thread Greg Kroah-Hartman
On Sat, Mar 11, 2017 at 12:12:43AM +0530, Arushi Singhal wrote: > This patch fixes the warnings reported by checkpatch.pl > for please use a blank line after function/struct/union/enum > declarations. > > Signed-off-by: Arushi Singhal You didn't put what subsystem: driver you are modifying in th

Re: [PATCH 2/2] staging: dvb-frontends: removed code in comments.

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 09:16:32PM +0530, Arushi Singhal wrote: > Commenting Code Is a Bad Idea. No, "Commenting code is a good idea". I think you mean "commenting out code is a bad idea", correct? And no need for putting the sentance in all caps. thanks, greg k-h

Re: [PATCH] staging: fbtft: Allows bpp to be set from dt

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 10:25:27AM +0100, Radoslaw Pietrzyk wrote: > Allows bpp to be set from dt > > Signed-off-by: Radoslaw Pietrzyk > --- > drivers/staging/fbtft/fbtft-core.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/staging/fbtft/fbtft-core.c > b/drivers/staging/fb

Re: [PATCH v3] tpm: do not suspend/resume if power stays on

2017-03-12 Thread Rob Herring
On Tue, Mar 07, 2017 at 09:44:55AM +0100, Enric Balletbo i Serra wrote: > Hi Jarkko, > > On 06/03/17 21:59, Jarkko Sakkinen wrote: > > On Fri, Mar 03, 2017 at 05:09:59PM +0100, Enric Balletbo i Serra wrote: > >> From: Sonny Rao > >> > >> The suspend/resume behavior of the TPM can be controlled by

Re: [PATCH] staging: speakup: Comparison to NULL could be written

2017-03-12 Thread Greg Kroah-Hartman
On Sat, Mar 11, 2017 at 12:29:09AM +0530, Arushi Singhal wrote: > Fixed coding style for null comparisons in speakup driver to be more > consistant with the rest of the kernel coding style. > > Signed-off-by: Arushi Singhal > --- > drivers/staging/speakup/selection.c | 2 +- > drivers/staging/

Re: [PATCH 1/1] HID: clamp input to logical range if no null state

2017-03-12 Thread Tomasz Kramkowski
On Thu, Mar 09, 2017 at 09:16:06AM +0100, Benjamin Tissoires wrote: > We have a "clamp()" function in the kernel that does the job directly > and which is more readable. Also, this makes testing the out of range > values twice. > > How about: > > diff --git a/drivers/hid/hid-input.c b/drivers/hid

Re: [PATCH v3] tpm: do not suspend/resume if power stays on

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 05:09:59PM +0100, Enric Balletbo i Serra wrote: > From: Sonny Rao > > The suspend/resume behavior of the TPM can be controlled by setting > "powered-while-suspended" in the DTS. This is useful for the cases > when hardware does not power-off the TPM. > > Signed-off-by: So

Re: [PATCH] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread SIMRAN SINGHAL
On Sun, Mar 12, 2017 at 7:26 PM, Greg KH wrote: > On Fri, Mar 10, 2017 at 06:12:31PM +0530, simran singhal wrote: >> Convert macro GAT_CONFIG to static inline function as static inline >> functions are preferred over macros. This change is possible since the >> arguments at all call sites have the

[PATCH 1/3] staging: dgnc: ch->ch_bd is already assigned to bd variable

2017-03-12 Thread Daeseok Youn
The bd variable in dgnc_tty_send_break() is assigned with ch->ch_bd but it is not used in this function except checking NULL. The ch->ch_bd could be replaced with bd variable in dgnc_tty_send_break() Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insert

drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon

2017-03-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 106e4da60209b508894956b6adf4688f84c1766d commit: 1f47e6cbf58d10392a2158b0e33ef72ad681e40f drm/tinydrm: Add support for Multi-Inno MI0283QT display date: 3 weeks ago coccinelle warnings: (new ones prefixe

[PATCH] drm/tinydrm: fix semicolon.cocci warnings

2017-03-12 Thread kbuild test robot
drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon drivers/gpu/drm/tinydrm/mipi-dbi.c:593:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu --- mipi-dbi.c |4 ++-- 1 file changed, 2 insertions

[PATCH 2/3] staging: dgnc: remove useless switch-case statements

2017-03-12 Thread Daeseok Youn
The dgnc_tty_send_break() has a switch-case condition for msec. It is no use except case -1. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_t

[PATCH 3/3] staging: dngc: ch->ch_bd is already assigned to bd variable

2017-03-12 Thread Daeseok Youn
The bd variable in dgnc_tty_digiseta() is assigned with ch->ch_bd but it is not used in this function except checking NULL. The ch->ch_bd could be replaced with bd variable in dgnc_tty_digiseta() Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(

Re: [PATCH v3] staging: android: Replace strcpy with strlcpy

2017-03-12 Thread SIMRAN SINGHAL
On Sun, Mar 12, 2017 at 7:04 PM, Greg KH wrote: > On Sun, Mar 12, 2017 at 03:32:44AM +0530, simran singhal wrote: >> Replace strcpy with strlcpy as strcpy does not check for buffer >> overflow. > > Can there be a buffer overflow here? If not, then strcpy is just fine > to use. Do you see a poten

Re: [PATCH] ASoC: cs35l35: trivial fix to indentation

2017-03-12 Thread walter harms
Am 11.03.2017 20:19, schrieb Colin King: > From: Colin Ian King > > Remove extraneous tab to correct the nesting level indentation > > Detected by CoverityScan, CID#1416584 ("Nesting level does > not match indentation") > > Signed-off-by: Colin Ian King > --- > sound/soc/codecs/cs35l35.c |

Re: [PATCH] staging: atomisp: clean up return logic, remove redunant code

2017-03-12 Thread walter harms
Am 11.03.2017 20:32, schrieb Colin King: > From: Colin Ian King > > There is no need to check if ret is non-zero, remove this > redundant check and just return the error status from the call > to mt9m114_write_reg_array. > > Detected by CoverityScan, CID#1416577 ("Identical code for > differen

Re: [PATCH] staging: atomisp: clean up return logic, remove redunant code

2017-03-12 Thread Julia Lawall
On Sun, 12 Mar 2017, walter harms wrote: > > > Am 11.03.2017 20:32, schrieb Colin King: > > From: Colin Ian King > > > > There is no need to check if ret is non-zero, remove this > > redundant check and just return the error status from the call > > to mt9m114_write_reg_array. > > > > Detected

Re: [PATCH v3] staging: android: Replace strcpy with strlcpy

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 08:25:28PM +0530, SIMRAN SINGHAL wrote: > On Sun, Mar 12, 2017 at 7:04 PM, Greg KH wrote: > > On Sun, Mar 12, 2017 at 03:32:44AM +0530, simran singhal wrote: > >> Replace strcpy with strlcpy as strcpy does not check for buffer > >> overflow. > > > > Can there be a buffer ov

Can We Talk is Urgent

2017-03-12 Thread Mrs Susan B

[PATCH v1] x86/platform/intel-mid: Correct MSI for watchdog device

2017-03-12 Thread Andy Shevchenko
The interrupt line used for watchdog is 12 according to the official Intel Edison BSP code. And indeed after fixing it we start getting an interrupt and thus: [ 191.699951] Kernel panic - not syncing: Kernel Watchdog Fixes: 78a3bb9e408b ("x86: intel-mid: add watchdog platform code for Merrifiel

[PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Andrii
Fixed three code style warnings (multiple line dereference) reported by checkpatch.pl script. Signed-off-by: Andrii Vladyka diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 6134eba..a050748 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/dri

  1   2   3   4   >