[GIT PULL] kbuild fix for v4.10-rc3

2017-01-06 Thread Michal Marek
Hi Linus, The asm-prototypes.h file added in the last merge window results in invalid code with CONFIG_KMEMCHECK=y. The net result is that genksyms segfaults. This pull request fixes the header, the genksyms fix is in my kbuild branch for 4.11. Thanks, Michal The following changes since commit

Re: [PATCH v4 07/15] mtd: nand: move Samsung specific init/detection logic in nand_samsung.c

2017-01-06 Thread Boris Brezillon
On Sat, 7 Jan 2017 00:53:24 +0100 Marek Vasut wrote: > On 01/04/2017 06:08 PM, Boris Brezillon wrote: > > On Wed, 4 Jan 2017 16:14:07 +0100 > > Marek Vasut wrote: > > > >> On 01/03/2017 02:01 PM, Boris Brezillon wrote: > >>> Move Samsung specific initialization and detection logic into > >>

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-06 Thread Ingo Molnar
* Andy Lutomirski wrote: > > When I looked at the fixmap, you had to define the space you need ahead of > > time and I am not sure there was enough space as you said. > > Can you try it and see if anything goes wrong? Even if something does go > wrong, > I think we should fix *that* rather

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-06 Thread Ingo Molnar
* Andy Lutomirski wrote: > > I looked back at the fixmap, and I can see a way it could be done (using > > NR_CPUS) like the other fixmap ranges. It would limit the number of cpus to > > 512 (there is 2M memory left on fixmap on the default configuration). > > That's > > if we never add any o

Re: [PATCH 0/2] Staging: unisys: visorbus: style fix, using octal file permissions

2017-01-06 Thread Greg KH
On Sat, Jan 07, 2017 at 04:48:01PM +1300, Derek Robson wrote: > Two files change in style fix, changes are octal file permissions. > > Derek Robson (2): > Staging: unisys: visorbus: style fix, using octal file permissions > Staging: unisys: visorbus: style fix, using octal file permissions Yo

Re: [PATCH v2] hv: retry infinitely on hypercall transient failures

2017-01-06 Thread Greg KH
On Sat, Jan 07, 2017 at 07:23:14AM +, Long Li wrote: > > -Original Message- > > From: Greg KH [mailto:g...@kroah.com] > > Sent: Wednesday, January 04, 2017 11:48 PM > > To: Long Li > > Cc: KY Srinivasan ; Haiyang Zhang > > ; de...@linuxdriverproject.org; linux- > > ker...@vger.kernel.o

Re: [PATCH] Staging: speakup: styel fix, octal file permissions

2017-01-06 Thread Greg KH
On Sat, Jan 07, 2017 at 05:11:16PM +1300, Derek Robson wrote: > Changed file permission to octal style, > Found using checkpatch Typo in your subject line :( > > Signed-off-by: Derek Robson > --- > drivers/staging/speakup/kobjects.c | 54 > +++--- > 1 file chan

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-06 Thread Ingo Molnar
* Thomas Garnier wrote: > > No, and I had the way this worked on 64-bit wrong. LTR requires an > > available TSS and changes it to busy. So here are my thoughts on how > > this should work: > > > > Let's get rid of any connection between this code and KASLR. Every > > time KASLR makes somethi

Re: [PATCH v1] mtd: spi nor: modify the boot and flash type of FMC

2017-01-06 Thread linshunquan (A)
Hi Cyrille, Thanks for your relay, I will update this patch soon. On 2017/1/6 21:44, Cyrille Pitchen wrote: > Hi, > > Le 06/01/2017 à 10:12, linshunquan 00354166 a écrit : >> (1) The HiSilicon Flash Memory Controller(FMC) is a multi-functions >> device which supports SPI Nor flash controller, S

Re: [PATCH 1/5] ARM: dts: qcom: apq8064: Add missing scm clock

2017-01-06 Thread Bjorn Andersson
On Fri 06 Jan 19:01 PST 2017, Andy Gross wrote: > On Fri, Jan 06, 2017 at 05:10:44PM -0800, John Stultz wrote: > > On Wed, Dec 21, 2016 at 3:49 AM, Bjorn Andersson > > wrote: > > > As per the device tree binding the apq8064 scm node requires the core > > > clock to be specified, so add this. > >

RE: [PATCH v2] hv: retry infinitely on hypercall transient failures

2017-01-06 Thread Long Li
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Wednesday, January 04, 2017 11:48 PM > To: Long Li > Cc: KY Srinivasan ; Haiyang Zhang > ; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v2] hv: retry infinitely on hypercall transien

RE: [PATCH] hv: use substraction to update ring buffer index

2017-01-06 Thread Long Li
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Thursday, January 05, 2017 3:40 AM > To: Long Li > Cc: KY Srinivasan ; Haiyang Zhang > ; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] hv: use substraction to updat

[PATCH v5 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-06 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> Add idle check in the res

[PATCH v5 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-06 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao Appana (3): dmaengin

[PATCH v5 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-06 Thread Kedareswara rao Appana
When driver is handling AXI DMA SoftIP When user submits multiple descriptors back to back on the S2MM(recv) side with the current driver flow the last buffer descriptor next bd points to a invalid location resulting the invalid data or errors in the DMA engine. This patch fixes this issue by crea

[PATCH v5 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-06 Thread Kedareswara rao Appana
When VDMA is configured for more than one frame in the h/w for example h/w is configured for n number of frames and user Submits n number of frames and triggered the DMA using issue_pending API. In the current driver flow we are submitting one frame at a time but we should submit all the n number o

Re: [GIT PULL] namespace related fixes for 4.10-rc3

2017-01-06 Thread Al Viro
On Sat, Jan 07, 2017 at 06:29:52AM +, Al Viro wrote: > On Sat, Jan 07, 2017 at 06:30:05PM +1300, Eric W. Biederman wrote: > > > Eric W. Biederman (3): > > mnt: Protect the mountpoint hashtable with mount_lock > ACK > > > mnt: Tuck mounts under others instead of creating shadow/sid

Re: [GIT PULL] namespace related fixes for 4.10-rc3

2017-01-06 Thread Al Viro
On Sat, Jan 07, 2017 at 06:30:05PM +1300, Eric W. Biederman wrote: > Eric W. Biederman (3): > mnt: Protect the mountpoint hashtable with mount_lock ACK > mnt: Tuck mounts under others instead of creating shadow/side mounts. NAK; you have reintroduced put_mountpoint() outside of mount

Re: [V9fs-developer] 9pfs hangs since 4.7

2017-01-06 Thread Al Viro
On Fri, Jan 06, 2017 at 02:52:35PM +0100, Greg Kurz wrote: > Looking at the tag numbers, I think we're hitting the hardcoded limit of 128 > simultaneous requests in QEMU (which doesn't produce any error, new requests > are silently dropped). > > Tuomas, can you change MAX_REQ to some higher value

[PATCH v1 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-01-06 Thread Baoyou Xie
This patch adds thermal driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/thermal/Kconfig | 6 + drivers/thermal/Makefile | 1 + drivers/thermal/zx2967_thermal.c | 241 +++ 3 files changed, 248 insertions(+) create mod

[PATCH v1 2/3] MAINTAINERS: add zx2967 thermal drivers to ARM ZTE architecture

2017-01-06 Thread Baoyou Xie
Add the zx2967 thermal drivers as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 64f04df..2593296 100644 --- a/MAINTAINERS +++ b/MAINTAI

[PATCH v1 1/3] dt: bindings: add thermal device driver for zx2967

2017-01-06 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family thermal sensor. Signed-off-by: Baoyou Xie --- .../devicetree/bindings/thermal/zx2967-thermal.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/zx2967-thermal.t

[GIT PULL] namespace related fixes for 4.10-rc3

2017-01-06 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: cd293bfacd57928627ef7da6194e0cbe24db3291 sysctl: Drop reference added by grab_header in proc_sys_readdir This tree contains 5 fixes. The

[PATCH perf/core 4/4] perf-probe: Find probe events without target module

2017-01-06 Thread Masami Hiramatsu
Find probe events without -m "module" option. If perf-probe failed to find given function in kernel image, it tries to find same symbol and module in kallsyms, and retry search in the found module. E.g. # perf probe -D i915_capabilities p:probe/i915_capabilities i915:i915_capabilities+0 Note:

[PATCH perf/core 3/4] perf-probe: Fix to probe on gcc generated functions in modules

2017-01-06 Thread Masami Hiramatsu
Fix to probe on gcc generated functions on modules. Since probing on a module is based on its symbol name, it should be adjusted on actual symbols. E.g. without this fix, perf probe shows probe definition on non-exist symbol as below. $ perf probe -m build-x86_64/net/netfilter/nf_nat.ko -F in_r

[PATCH perf/core 2/4] perf-probe: Add error checks to offline probe post-processing

2017-01-06 Thread Masami Hiramatsu
Add error check codes to post process and improve it for offline probe events as; - post process fails if no matched symbol found in map(-ENOENT) or strdup() failed(-ENOMEM). - Even if the symbol name is same, it updates symbol address and offset. Signed-off-by: Masami Hiramatsu --- tool

[PATCH perf/core 1/4] perf-probe: Fix to show correct locations for events on modules

2017-01-06 Thread Masami Hiramatsu
Fix to show correct locations for events on modules by relocating given address. Currently the relocation is done when we failed to find the address in debuginfo, but for modules it always makes a mistakes. E.g. without this fix, events on module seems wrong, but other cases (kernel and user space

[PATCH perf/core 0/4] perf-probe: Fix and improve module probe events

2017-01-06 Thread Masami Hiramatsu
Hello, This series fixes some issues on offline/online module probe support and improve perf-probe to probe module without -m option (Thanks Arnaldo!). This includes below patches. - [1/4] Fix perf-probe --list to show correct probe location in module. - [2/4] Improve error checking fo

RE: [PATCH 0/2] Staging: unisys: visorbus: style fix, using octal file permissions

2017-01-06 Thread Kershner, David A
> -Original Message- > From: Derek Robson [mailto:robso...@gmail.com] > Sent: Friday, January 6, 2017 10:48 PM > To: Kershner, David A ; > gre...@linuxfoundation.org; Sell, Timothy C > Cc: *S-Par-Maintainer ; > de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; Derek Robson > > Sub

Re: [PATCH] ipc/sem.c: fix semop()/semop() locking failure

2017-01-06 Thread Mike Galbraith
On Sun, 2016-12-18 at 19:45 -0800, Davidlohr Bueso wrote: > Nit: the title is a bit unclear. How about: > > ipc/sem.: fix semop() locking imbalance > > Otherwise, Ack. (notices patchlet _not_ flying upstream... s/failure/imbalance?)

[PATCH] Staging: speakup: styel fix, octal file permissions

2017-01-06 Thread Derek Robson
Changed file permission to octal style, Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/speakup/kobjects.c | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/spe

Re: [PATCH v2] ARM: dts: qcom: apq8064: Add missing scm clock

2017-01-06 Thread John Stultz
On Thu, Dec 29, 2016 at 4:06 AM, Bjorn Andersson wrote: > As per the device tree binding the apq8064 scm node requires the core > clock to be specified, so add this. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v1: > - Changed clock to Daytona Fabric > > arch/arm/boot/dts/qcom-apq8

Re: [PATCH net-next 1/4] siphash: add cryptographically secure PRF

2017-01-06 Thread Eric Biggers
Hi Jason, just a few comments: On Fri, Jan 06, 2017 at 09:10:52PM +0100, Jason A. Donenfeld wrote: > +#define SIPHASH_ALIGNMENT __alignof__(u64) > +typedef u64 siphash_key_t[2]; I was confused by all the functions passing siphash_key_t "by value" until I saw that it's actually typedefed to u64[2]

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread John Stultz
On Fri, Jan 6, 2017 at 6:39 PM, Joel Fernandes wrote: > Hi John, > > On Fri, Jan 6, 2017 at 4:48 PM, John Stultz wrote: >> On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: >>> This boot clock can be used as a tracing clock and will account for >>> suspend time. >>> >>> To keep it NMI safe

Re: [PATCH 2/3] Input: pwm-beeper - switch to using managed resources

2017-01-06 Thread David Lechner
On 01/06/2017 12:20 PM, Dmitry Torokhov wrote: e of managed resources (devm) simplifies error handling and teardown ^ Looks like the commit message got cut off. of the driver.

[PATCH 0/2] Staging: unisys: visorbus: style fix, using octal file permissions

2017-01-06 Thread Derek Robson
Two files change in style fix, changes are octal file permissions. Derek Robson (2): Staging: unisys: visorbus: style fix, using octal file permissions Staging: unisys: visorbus: style fix, using octal file permissions drivers/staging/unisys/visorbus/visorbus_main.c | 6 +++--- drivers/stagi

[PATCH 2/2] Staging: unisys: visorbus: style fix, using octal file permissions

2017-01-06 Thread Derek Robson
Changed file permissions to octal sytle. Found using checkpatch. Signed-off-by: Derek Robson --- drivers/staging/unisys/visorbus/visorchipset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/vi

[PATCH 1/2] Staging: unisys: visorbus: style fix, using octal file permissions

2017-01-06 Thread Derek Robson
Changed file permissions to octal style. Found with checkpatch Signed-off-by: Derek Robson --- drivers/staging/unisys/visorbus/visorbus_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visor

Re: [PATCH] net: use kvmalloc rather than open coded variant

2017-01-06 Thread kbuild test robot
Hi Michal, [auto build test ERROR on net-next/master] [also build test ERROR on v4.10-rc2 next-20170106] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/net-use-kvmalloc-rather-than

Re: [PATCH] net: use kvmalloc rather than open coded variant

2017-01-06 Thread kbuild test robot
Hi Michal, [auto build test ERROR on net-next/master] [also build test ERROR on v4.10-rc2 next-20170106] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/net-use-kvmalloc-rather-than

Re: [PATCH] usb: dwc2: use u32 for DT binding parameters

2017-01-06 Thread John Youn
On 1/6/2017 1:52 PM, John Stultz wrote: > On Fri, Jan 6, 2017 at 4:45 AM, Leo Yan wrote: >> Commit 05ee799f2021 ("usb: dwc2: Move gadget settings into core_params") >> changes to type u16 for DT binding "g-rx-fifo-size" and >> "g-np-tx-fifo-size" but use type u32 for "g-tx-fifo-size". Finally the

[PATCH] usb: dwc2: use u32 for DT binding parameters

2017-01-06 Thread John Youn
From: Leo Yan Commit 05ee799f2021 ("usb: dwc2: Move gadget settings into core_params") changes to type u16 for DT binding "g-rx-fifo-size" and "g-np-tx-fifo-size" but use type u32 for "g-tx-fifo-size". Finally the the first two parameters cannot be passed successfully with wrong data format. This

[PATCH] treewide: fix semicolon.cocci warnings

2017-01-06 Thread kbuild test robot
net/netfilter/x_tables.c:716:59-60: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu --- x_tables.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/netfilter/x_tables.c +++ b/net/netfilter/x_t

[PATCH v3] ext4: increase the protection of nlink dec and ext4 inode destroy

2017-01-06 Thread yi zhang
Because of the disk and hardware issue, the ext4 filesystem have many errors, the inode->i_nlink of ext4 becomes zero abnormally but the dentry is still positive, it will cause memory corruption after the following process: 1) Due to the inode->i_nlink is 0, this inode will be added into the orhp

Re: [net-next][PATCH] RDS: validate the requested traces user input against max supported

2017-01-06 Thread David Miller
From: Santosh Shilimkar Date: Fri, 6 Jan 2017 10:44:15 -0800 > Larger than supported value can lead to array read/write overflow. > > Reported-by: Colin Ian King > Signed-off-by: Santosh Shilimkar Applied, thanks.

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-06 Thread Stephen Hemminger
On Mon, 2 Jan 2017 20:32:14 +0100 Linus Lüssing wrote: > This feature is intended for interface types which have a more reliable > and/or efficient way to deliver unicast packets than broadcast ones > (e.g. wifi). Why is this not done in MAC80211 rather than bridge?

[PATCH] Staging: media: lirc: style fix, using octal file permissions

2017-01-06 Thread Derek Robson
Change file permissions to octal style. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/media/lirc/lirc_imon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c index 1e650fb

Re: [PATCH 1/5] ARM: dts: qcom: apq8064: Add missing scm clock

2017-01-06 Thread Andy Gross
On Fri, Jan 06, 2017 at 05:10:44PM -0800, John Stultz wrote: > On Wed, Dec 21, 2016 at 3:49 AM, Bjorn Andersson > wrote: > > As per the device tree binding the apq8064 scm node requires the core > > clock to be specified, so add this. > > > > Cc: John Stultz > > Signed-off-by: Bjorn Andersson >

Re: [PATCH net-next 0/2] afs: Implement bulk read

2017-01-06 Thread David Miller
> > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20170106 Pulled, thanks David.

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread Joel Fernandes
Hi John, On Fri, Jan 6, 2017 at 4:48 PM, John Stultz wrote: > On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: >> This boot clock can be used as a tracing clock and will account for >> suspend time. >> >> To keep it NMI safe since we're accessing from tracing, we're not using a >> separat

Need clarity on legacy RC interrupt handling

2017-01-06 Thread valmiki
Hi, Legacy interrupts are level triggered, but i see some RC drivers use flow handler "handle_simple_irq" instead why they are not using "handle_level_irq" ? Why they are registering dummy_irq_chip with "handle_simple_irq", if they use this chip how the irq type is set for this virtual irq (

[PATCH v3 03/24] ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections

2017-01-06 Thread Steve Longerbeam
From: Philipp Zabel This patch adds the device tree graph connecting the input multiplexers to the IPU CSIs and the MIPI-CSI2 gasket on i.MX6. The MIPI_IPU multiplexers are added as children of the iomuxc-gpr syscon device node. On i.MX6Q/D two two-input multiplexers in front of IPU1 CSI0 and IPU

[PATCH v3 02/24] ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node

2017-01-06 Thread Steve Longerbeam
Add to the MIPI CSI2 receiver node: compatible string, interrupt sources, clocks. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 53e6e63..42926e9 1

[PATCH v3 00/24] i.MX Media Driver

2017-01-06 Thread Steve Longerbeam
In version 3: Changes suggested by Rob Herring : - prepended FIM node properties with vendor prefix "fsl,". - make mipi csi-2 receiver compatible string SoC specific: "fsl,imx6-mipi-csi2" instead of "fsl,imx-mipi-csi2". - redundant "_clk" removed from mipi csi-2 receiver clock-names p

[PATCH v3 12/24] add mux and video interface bridge entity functions

2017-01-06 Thread Steve Longerbeam
From: Philipp Zabel Signed-off-by: Philipp Zabel --- Documentation/media/uapi/mediactl/media-types.rst | 22 ++ include/uapi/linux/media.h| 6 ++ 2 files changed, 28 insertions(+) diff --git a/Documentation/media/uapi/mediactl/media-types.rst b

[PATCH v3 11/24] ARM: dts: imx6-sabreauto: add the ADV7180 video decoder

2017-01-06 Thread Steve Longerbeam
Enables the ADV7180 decoder sensor. The ADV7180 connects to the parallel-bus mux input on ipu1_csi0_mux. On the sabreauto, two analog video inputs are routed to the ADV7180, composite on Ain1, and composite on Ain3. Those inputs are defined via inputs and input-names under the ADV7180 node. The AD

[PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-01-06 Thread Steve Longerbeam
From: Philipp Zabel This driver can handle SoC internal and external video bus multiplexers, controlled either by register bit fields or by a GPIO. The subdevice passes through frame interval and mbus configuration of the active input to the output side. Signed-off-by: Sascha Hauer Signed-off-b

[PATCH v3 16/24] media: Add i.MX media core driver

2017-01-06 Thread Steve Longerbeam
Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam --- Documentation/media/v4l-drivers/imx.rst | 443 ++ drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile| 1 + drivers/staging/media/imx/Kconfig

[PATCH v3 14/24] UAPI: Add media UAPI Kbuild file

2017-01-06 Thread Steve Longerbeam
Add an empty UAPI Kbuild file for media UAPI headers. Signed-off-by: Steve Longerbeam --- include/uapi/Kbuild | 1 + include/uapi/media/Kbuild | 1 + 2 files changed, 2 insertions(+) create mode 100644 include/uapi/media/Kbuild diff --git a/include/uapi/Kbuild b/include/uapi/Kbuild index

[PATCH v3 15/24] media: Add userspace header file for i.MX

2017-01-06 Thread Steve Longerbeam
This adds a header file for use by userspace programs wanting to interact with the i.MX media driver. It defines custom v4l2 controls and events generated by the i.MX v4l2 subdevices. Signed-off-by: Steve Longerbeam --- include/uapi/media/Kbuild | 1 + include/uapi/media/imx.h | 30 +++

[PATCH v3 17/24] media: imx: Add CSI subdev driver

2017-01-06 Thread Steve Longerbeam
This is a media entity subdevice for the i.MX Camera Serial Interface module. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Kconfig | 13 + drivers/staging/media/imx/Makefile | 2 + drivers/staging/media/imx/imx-csi.c | 644 3 files chan

[PATCH v3 18/24] media: imx: Add SMFC subdev driver

2017-01-06 Thread Steve Longerbeam
This is a media entity subdevice driver for the i.MX Sensor Multi-FIFO Controller module. Video frames are received from the CSI and can be routed to various sinks including the i.MX Image Converter for scaling, color-space conversion, motion compensated deinterlacing, and image rotation. Signed-o

[PATCH v3 21/24] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-01-06 Thread Steve Longerbeam
Adds MIPI CSI-2 Receiver subdev driver. This subdev is required for sensors with a MIPI CSI2 interface. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile| 1 + drivers/staging/media/imx/imx-mipi-csi2.c | 501 ++ 2 files changed, 502 inse

[PATCH v3 20/24] media: imx: Add Camera Interface subdev driver

2017-01-06 Thread Steve Longerbeam
This is the camera interface driver that provides the v4l2 user interface. Frames can be received from various sources: - directly from SMFC for capturing unconverted images directly from camera sensors. - from the IC pre-process encode task. - from the IC pre-process viewfinder task. - from

[PATCH v3 19/24] media: imx: Add IC subdev drivers

2017-01-06 Thread Steve Longerbeam
This is a set of three media entity subdevice drivers for the i.MX Image Converter. The i.MX IC module contains three independent "tasks": - Pre-processing Encode task: video frames are routed directly from the CSI and can be scaled, color-space converted, and rotated. Scaled output is limited

[PATCH 2/2] staging:rtl8712 Aligned code with open parenthesis

2017-01-06 Thread Scott Matheina
Aligned code with open parenthesis to fix a checkpatch warning Signed-off-by: Scott Matheina --- drivers/staging/rtl8712/mlme_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8712/mlme_linux.c b/drivers/staging/rtl8712/mlme_linux.c index af7c4

[PATCH 1/2] staging:rtl8712: Removed unnecessary parentheses

2017-01-06 Thread Scott Matheina
Removed unnecessary parentheses identified by checkpatch Signed-off-by: Scott Matheina --- drivers/staging/rtl8712/ieee80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c index 5dc3b5b..bfc6838

[PATCH v3 24/24] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers

2017-01-06 Thread Steve Longerbeam
Enable imx v4l2 staging drivers. For video capture on i.MX, the video multiplexer subdev is required. On the SabreAuto, the ADV7180 video decoder is required along with i2c-mux-gpio. The Sabrelite requires PWM clocks for the OV5640. Increase max zoneorder to allow larger video buffer allocations.

[PATCH v3 22/24] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2017-01-06 Thread Steve Longerbeam
This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta branch, modified heavily to bring forward to latest interfaces and code cleanup. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Kconfig |8 + drivers/staging/media/imx/Makefile |2 + dri

[PATCH v3 08/24] ARM: dts: imx6-sabreauto: create i2cmux for i2c3

2017-01-06 Thread Steve Longerbeam
The sabreauto uses a steering pin to select between the SDA signal on i2c3 bus, and a data-in pin for an SPI NOR chip. Use i2cmux to control this steering pin. Idle state of the i2cmux selects SPI NOR. This is not a classic way to use i2cmux, since one side of the mux selects something other than a

[PATCH v3 10/24] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2017-01-06 Thread Steve Longerbeam
Add pinctrl groups for both GPT input capture channels. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 967c3b

[PATCH v3 06/24] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2017-01-06 Thread Steve Longerbeam
Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. Both hang off the same i2c2 bus, so they require different (and non- default) i2c slave addresses. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The OV5640 connects to the input port on the MIPI C

[PATCH v3 04/24] ARM: dts: imx6qdl: add media device

2017-01-06 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q.dtsi | 4 arch/arm/boot/dts/imx6qdl.dtsi | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 9b2ca32..8867e78 100644 --- a/arch/arm/boot/dts/imx6q.dtsi ++

[PATCH v3 05/24] ARM: dts: imx6qdl-sabrelite: remove erratum ERR006687 workaround

2017-01-06 Thread Steve Longerbeam
There is a pin conflict with GPIO_6. This pin functions as a power input pin to the OV5642 camera sensor, but ENET uses it as the h/w workaround for erratum ERR006687, to wake-up the ARM cores on normal RX and TX packet done events. So we need to remove the h/w workaround to support the OV5642. The

[PATCH v3 09/24] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b

2017-01-06 Thread Steve Longerbeam
The reset pin to the port expander chip (MAX7310) is controlled by a gpio, so define a reset-gpios property to control it. There are three MAX7310's on the SabreAuto CPU card (max7310_[abc]), but all use the same pin for their reset. Since all can't acquire the same pin, assign it to max7310_b, tha

[PATCH v3 07/24] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-01-06 Thread Steve Longerbeam
Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The OV5640 connects to the input port on the MIPI CSI-2 receiver on mipi_csi. It is set to transmit over MIPI virtual channel 1. Until the OV5652 sen

[PATCH v3 01/24] [media] dt-bindings: Add bindings for i.MX media driver

2017-01-06 Thread Steve Longerbeam
Add bindings documentation for the i.MX media driver. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx.txt | 57 + 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/imx.txt diff --git a/Documentati

Re: [PATCH 4.4 00/58] 4.4.41-stable review

2017-01-06 Thread Shuah Khan
On 01/06/2017 02:43 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.41 release. > There are 58 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.9 000/116] 4.9.2-stable review

2017-01-06 Thread Shuah Khan
On 01/06/2017 02:42 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.2 release. > There are 116 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.8 00/96] 4.8.17-stable review

2017-01-06 Thread Shuah Khan
On 01/06/2017 02:42 PM, Greg Kroah-Hartman wrote: > > NOTE: This is the LAST 4.8-stable kernel to be released. After this, it > should be end-of-life. Please move to the 4.9-stable tree at this point > in time. > > > This

Re: [PATCH perf/core 3/3] perf-probe: Fix to probe on gcc generated functions in modules

2017-01-06 Thread Masami Hiramatsu
On Fri, 6 Jan 2017 15:17:11 -0300 Arnaldo Carvalho de Melo wrote: > Em Sat, Jan 07, 2017 at 01:22:23AM +0900, Masami Hiramatsu escreveu: > > On Thu, 5 Jan 2017 15:47:43 -0300 > > Arnaldo Carvalho de Melo wrote: > > > Em Thu, Jan 05, 2017 at 12:30:37PM -0300, Arnaldo Carvalho de Melo > > > escre

Re: [PATCH v3 1/2] backlight arcxcnn add support for ArcticSand devices

2017-01-06 Thread Joe Perches
On Fri, 2017-01-06 at 15:48 -0500, Olimpiu Dejeu wrote: > backlight: Add support for Arctic Sand LED backlight driver chips > This driver provides support for the Arctic Sand arc2c0608 chip, > and provides a framework to support future devices. style trivia: > diff --git a/drivers/video/back

Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2017-01-06 Thread Peter Senna Tschudin
On 04 January, 2017 21:39 CET, Rob Herring wrote: > On Tue, Jan 3, 2017 at 5:34 PM, Peter Senna Tschudin > wrote: > > Hi Rob, > > > > Thank you for the review. > > > > On 03 January, 2017 23:51 CET, Rob Herring wrote: > > > >> On Sun, Jan 01, 2017 at 09:24:29PM +0100, Peter Senna Tschudin

[PATCH v5] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-06 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" There is no checking valid value of maxmtu when getting it from device tree. This resolution added the checking condition to ensure the assignment is made within a valid range. Signed-off-by: Kweh, Hock Leong --- changelog v5: * revert back that plat->maxmtu > ndev->max

Re: [PATCH] i2c: core: helper function to detect slave mode

2017-01-06 Thread Vladimir Zapolskiy
On 01/07/2017 02:19 AM, Andy Shevchenko wrote: > On Sat, Jan 7, 2017 at 1:43 AM, Vladimir Zapolskiy wrote: >> On 01/07/2017 12:45 AM, Andy Shevchenko wrote: >>> On Fri, Jan 6, 2017 at 11:46 PM, Vladimir Zapolskiy wrote: > + if (IS_BUILTIN(CONFIG_OF) && dev->of_node) { IS_BUILTIN

Re: [PATCH 1/5] ARM: dts: qcom: apq8064: Add missing scm clock

2017-01-06 Thread John Stultz
On Wed, Dec 21, 2016 at 3:49 AM, Bjorn Andersson wrote: > As per the device tree binding the apq8064 scm node requires the core > clock to be specified, so add this. > > Cc: John Stultz > Signed-off-by: Bjorn Andersson > --- > arch/arm/boot/dts/qcom-apq8064.dtsi | 3 +++ > 1 file changed, 3 ins

Re: [PATCH] xen: do not re-use pirq number cached in pci device msi msg data

2017-01-06 Thread Konrad Rzeszutek Wilk
On Thu, Jan 05, 2017 at 02:28:56PM -0500, Dan Streetman wrote: > Do not read a pci device's msi message data to see if a pirq was > previously configured for the device's msi/msix, as the old pirq was > unmapped and may now be in use by another pci device. The previous > pirq should never be re-us

Re: [PATCH 2/5] ARM: dts: qcom: apq8064: Add riva-pil node

2017-01-06 Thread John Stultz
On Wed, Dec 21, 2016 at 3:49 AM, Bjorn Andersson wrote: > Add nodes for the Riva PIL, IRIS RF module, BT and WiFI services exposed > by the Riva firmware and the related memory reserve. > > Also provides pinctrl nodes for devices enabling the riva-pil. > > Cc: John Stultz > Signed-off-by: Bjorn A

[RFC PATCH v2 2/2] block: fix blk_get_backing_dev_info() crash, use bdev->bd_queue

2017-01-06 Thread Dan Williams
The ->bd_queue member of struct block_device was added in commit 87192a2a49c4 ("vfs: cache request_queue in struct block_device") in v3.3. However, blk_get_backing_dev_info() has been using bdev_get_queue() and grabbing the request_queue through the gendisk since before the git era. At final __blk

[RFC PATCH v2 1/2] block: fix lifetime of request_queue / backing_dev_info relative to bdev

2017-01-06 Thread Dan Williams
By definition the lifetime of a struct block_device is equal to the lifetime of its corresponding inode since they both live in struct bdev_inode. Up until the inode is destroyed it may be the target of delayed write-back requests. Issuing write-back to a block_device requires a lookup of the bdev

[RFC PATCH v2 0/2] block: fix backing_dev_info lifetime

2017-01-06 Thread Dan Williams
v1 of these changes [1] was a one line change to bdev_get_queue() to prevent a shutdown crash when del_gendisk() races the final __blkdev_put(). While it is known at del_gendisk() time that the queue is still alive, Jan Kara points to other paths [2] that are racing __blkdev_put() where the assump

Re: [PATCH v2 1/4] timekeeping: export do_adjtimex() to modules

2017-01-06 Thread John Stultz
On Wed, Jan 4, 2017 at 9:24 AM, Vitaly Kuznetsov wrote: > While do_adjtimex() is available to userspace via adjtimex syscall it is > not available to modules which may want to implement in-kernel 'NTP > clients'. Hyper-V hv_utils is going to be the first one. > > Signed-off-by: Vitaly Kuznetsov >

Re: [PATCH v2 2/4] hv_util: switch to using timespec64

2017-01-06 Thread John Stultz
On Wed, Jan 4, 2017 at 9:24 AM, Vitaly Kuznetsov wrote: > do_settimeofday() is deprecated, use do_settimeofday64() instead. > > Signed-off-by: Vitaly Kuznetsov Looks sane. Acked-by: John Stultz thanks -john

Re: [PATCH v2 4/4] hv_util: improve time adjustment accuracy by disabling interrupts

2017-01-06 Thread John Stultz
On Wed, Jan 4, 2017 at 9:24 AM, Vitaly Kuznetsov wrote: > If we happen to receive interrupts during hv_set_host_time() execution > our adjustments may get inaccurate. Make the whole function atomic. > Unfortunately, we can's call do_settimeofday64() with interrupts > disabled as some cross-CPU wor

Re: [PATCH] platform/x86: fujitsu-laptop: rework logolamp_set() to properly handle errors

2017-01-06 Thread Jonathan Woithe
On Fri, Jan 06, 2017 at 08:24:31PM +0100, Micha?? K??pie?? wrote: > > On Thu, Jan 5, 2017 at 3:11 PM, Micha?? K??pie?? wrote: > > > Potential errors returned by some call_fext_func() calls inside > > > logolamp_set() are currently ignored. Rework logolamp_set() to properly > > > handle them. Thi

Re: [PATCH v2 3/4] hv_util: use do_adjtimex() to update system time

2017-01-06 Thread John Stultz
On Wed, Jan 4, 2017 at 9:24 AM, Vitaly Kuznetsov wrote: > With TimeSync version 4 protocol support we started updating system time > continuously through the whole lifetime of Hyper-V guests. Every 5 seconds > there is a time sample from the host which triggers do_settimeofday[64](). > While the t

RE: [PATCH v3] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-06 Thread Kweh, Hock Leong
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Saturday, January 07, 2017 8:07 AM > To: Kweh, Hock Leong > Cc: David S. Miller ; Joao Pinto > ; Giuseppe CAVALLARO ; > seraphin.bonna...@st.com; Jarod Wilson ; Alexandre > TORGUE ; Joachim Eastwood > ;

Re: [PATCH] ssb: main.c: This patch removes unnecessary return statement using spatch tool

2017-01-06 Thread Julian Calaby
Hi Rahul, On Sat, Jan 7, 2017 at 2:20 AM, Rahul Krishnan wrote: > This patch removes unnecessary return statement using spatch. This doesn't describe the patch. > Signed-off-by: Rahul Krishnan > --- > drivers/ssb/main.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread John Stultz
On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: > This boot clock can be used as a tracing clock and will account for > suspend time. > > To keep it NMI safe since we're accessing from tracing, we're not using a > separate timekeeper with updates to monotonic clock and boot offset > protec

Re: [PATCH] clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled

2017-01-06 Thread Michał Zegan
seems the patch works as intended. W dniu 06.01.2017 o 13:34, Sudeep Holla pisze: > Currently we add the virtual cpufreq device unconditionally even when > the SCPI DVFS clock provider node is disabled. This will cause cpufreq > driver to throw errors when it gets initailised on boot/modprobe and

  1   2   3   4   5   6   7   8   9   10   >