Re: [PATCH 07/14] drm/nouveau: use drm_crtc_send_vblank_event()

2016-04-25 Thread Mario Kleiner
On 04/14/2016 07:48 PM, Gustavo Padovan wrote: From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/nouveau/nouveau_display.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/

Re: [PATCH v7 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-25 Thread tiffany lin
Hi Wucheng, On Mon, 2016-04-25 at 13:42 +0800, Wu-Cheng Li (李務誠) wrote: > > > > > > ... > > > > > > > +static int fops_vcodec_open(struct file *file) > > > > +{ > > > > + struct video_device *vfd = video_devdata(file); > > > > + struct mtk_vcodec_dev *dev = video_drvdata(file); > > > > + str

[PATCH] clk: qoriq: added the third frequency support on ls1021a

2016-04-25 Thread yuantian.tang
From: Tang Yuantian ls1021a CPU can work on three different clock frequency. Currently, the third one is missing. This patch added it. Signed-off-by: Tang Yuantian --- drivers/clk/clk-qoriq.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-qoriq.c

[PATCH v2 2/2] genirq: Add error code reporting to irq_{reserve,destroy}_ipi

2016-04-25 Thread Matt Redfearn
Make these functions return appropriate error codes when something goes wrong. Previously irq_destroy_ipi returned void making it impossible to notify the caller if the request could not be fulfilled. Patch 1 in the series added another condition in which this could fail in addition to the existin

[PATCH v2 1/2] genirq: Make irq_destroy_ipi take a cpumask of IPIs to destroy

2016-04-25 Thread Matt Redfearn
Previously irq_destroy_ipi() would destroy IPIs to all CPUs that were configured by irq_reserve_ipi(). This change makes it possible to destroy just a subset of the IPIs. This may be useful to remove IPIs to CPUs that have been hot removed so that the IRQ numbers allocated within the IPI domain can

[PATCH v3] qla1280: Reduce can_queue to 512

2016-04-25 Thread Johannes Thumshirn
The qla1280 driver sets the scsi_host_template's can_queue field to 0xf which results in an allocation failure when allocating the block layer tags for the driver's queues like the one shown below: [4.804166] scsi host0: QLogic QLA1040 PCI to SCSI Host Adapter Firmware version: 7.65.06,

Re: [PATCH 03/41] Documentation: arm: fix spelling mistakes

2016-04-25 Thread Nicolas Ferre
Le 25/04/2016 02:24, Eric Engestrom a écrit : > Signed-off-by: Eric Engestrom Hi, thanks for the patch: Acked-by: Nicolas Ferre > --- > Documentation/arm/Atmel/README | 2 +- > Documentation/arm/keystone/knav-qmss.txt | 2 +- So, who will take care of this patch: can you carry it w

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-25 Thread Mika Westerberg
On Sun, Apr 24, 2016 at 10:14:37PM +0200, Wolfram Sang wrote: > > > The above should work with both DT and ACPI so I'm OK with the current > > patch. We can add ACPI parts later when needed. > > Just to make sure, I read this as an ack for the original patch? Yes :)

Re: [PATCH v2] z3fold: the 3-fold allocator for compressed pages

2016-04-25 Thread Vlastimil Babka
On 04/22/2016 01:22 AM, Andrew Morton wrote: On Tue, 19 Apr 2016 11:48:45 +0200 Vitaly Wool wrote: This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allow

Re: [PATCH 09/41] Documentation: dt: clock: fix spelling mistakes

2016-04-25 Thread Heiko Stübner
Am Montag, 25. April 2016, 01:24:06 schrieb Eric Engestrom: > Signed-off-by: Eric Engestrom > --- > Documentation/devicetree/bindings/clock/rockchip,rk3188-cru.txt | 2 +- > Documentation/devicetree/bindings/clock/rockchip,rk3288-cru.txt | 2 +- > Documentation/devicetree/bindings/clock/st/st,clk

Re: [PATCH 03/41] Documentation: arm: fix spelling mistakes

2016-04-25 Thread Alexandre Belloni
Hi, It is required to write a commit message. On 25/04/2016 at 01:24:00 +0100, Eric Engestrom wrote : > Signed-off-by: Eric Engestrom > --- > Documentation/arm/Atmel/README | 2 +- > Documentation/arm/keystone/knav-qmss.txt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH] clk: rockchip: trivial fix of spelling mistake on unsuccessful

2016-04-25 Thread Heiko Stübner
Am Sonntag, 24. April 2016, 23:44:13 schrieb Colin King: > From: Colin Ian King > > fix spelling mistake, unsucessful -> unsuccessful > > Signed-off-by: Colin Ian King applied to my clk-branch for 4.7 Thanks Heiko

Re: [PATCH RESEND v2 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board

2016-04-25 Thread Heiko Stübner
Am Montag, 25. April 2016, 09:47:15 schrieb Caesar Wang: > 在 2016年04月22日 13:51, Jianqun Xu 写道: > > This patch add rk3399-evb.dts for RK3399 evaluation board. > > Tested on RK3399 evb. > > > > Signed-off-by: Jianqun Xu > > --- > > changes in v2: > > - remove rk808 since without i2c, which will ups

Re: [PATCH] x86/boot: Rename overlapping memcpy() to memmove()

2016-04-25 Thread Ingo Molnar
* Kees Cook wrote: > On Sat, Apr 23, 2016 at 4:08 AM, Ingo Molnar wrote: > > > > * Kees Cook wrote: > > > >> --- a/arch/x86/boot/compressed/string.c > >> +++ b/arch/x86/boot/compressed/string.c > >> @@ -1,7 +1,13 @@ > >> +/* > >> + * This provides an optimized implementation of memcpy, and a s

Re: [RFC PATCH 0/3] Introduce support for creating IIO devices via configfs

2016-04-25 Thread Daniel Baluta
On Sun, Apr 24, 2016 at 2:28 PM, Jonathan Cameron wrote: > On 20/04/16 16:45, Daniel Baluta wrote: >> For testing purposes is nice to have a quick way of creating IIO devices. >> This patch series introduces support for creating IIO devices via configs >> (patch 1), allowing users to register "dev

Re: [tip:x86/asm] x86/mm/xen: Suppress hugetlbfs in PV guests

2016-04-25 Thread Jan Beulich
>>> On 22.04.16 at 20:03, wrote: > On 04/22/2016 02:47 AM, tip-bot for Jan Beulich wrote: >> Commit-ID: 103f6112f253017d7062cd74d17f4a514ed4485c >> Gitweb: > http://git.kernel.org/tip/103f6112f253017d7062cd74d17f4a514ed4485c >> Author: Jan Beulich >> AuthorDate: Thu, 21 Apr 2016 00:27:

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-25 Thread Wolfram Sang
On Mon, Apr 25, 2016 at 10:25:53AM +0300, Mika Westerberg wrote: > On Sun, Apr 24, 2016 at 10:14:37PM +0200, Wolfram Sang wrote: > > > > > The above should work with both DT and ACPI so I'm OK with the current > > > patch. We can add ACPI parts later when needed. > > > > Just to make sure, I read

Re: [PATCH v7 2/8] [media] VPU: mediatek: support Mediatek VPU

2016-04-25 Thread Hans Verkuil
On 04/22/2016 06:25 AM, Tiffany Lin wrote: > From: Andrew-CT Chen > > The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. > It is able to handle video decoding/encoding of in a range of formats. > The driver provides with VPU firmware download, memory management and > the commun

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-25 Thread Mika Westerberg
On Mon, Apr 25, 2016 at 09:39:41AM +0200, Wolfram Sang wrote: > On Mon, Apr 25, 2016 at 10:25:53AM +0300, Mika Westerberg wrote: > > On Sun, Apr 24, 2016 at 10:14:37PM +0200, Wolfram Sang wrote: > > > > > > > The above should work with both DT and ACPI so I'm OK with the current > > > > patch. We

Re: [PATCH net-next 2/9] libnl: nla_put_le64(): align on a 64-bit area

2016-04-25 Thread Nicolas Dichtel
Le 23/04/2016 19:28, Alexander Aring a écrit : Hi, On 04/23/2016 07:05 PM, Alexander Aring wrote: ... if this is really needed, then nla_put_u64/be64/etc need to be changed also, Okay, I found PATCH 3/9 do it for be64, but what's about u64? It's also planned. I will send several "small" se

Re: [PATCH 33/41] Documentation: RCU: fix spelling mistake

2016-04-25 Thread Josh Triplett
On Mon, Apr 25, 2016 at 07:36:59AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Good catch. Reviewed-by: Josh Triplett > --- > Documentation/RCU/stallwarn.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/RCU/stallwarn.txt b/Documentat

[PATCH] xfs: idle aild if the AIL is pushed up to the target LSN

2016-04-25 Thread Lucas Stach
The current logic only idles aild if the AIL is empty, rescheduling the worker with a timeout of 50ms otherwise. If the target LSN isn't moved forward, the worker will not make any progress as it only pushes the AIL up to the target LSN, leading to the empty AIL condition to only be met after the l

Re: [tip:x86/asm] x86/mm/xen: Suppress hugetlbfs in PV guests

2016-04-25 Thread Thomas Gleixner
On Mon, 25 Apr 2016, Jan Beulich wrote: > >>> On 22.04.16 at 20:03, wrote: > >> +#define hugepages_supported() cpu_has_pse > >> > > > > Please don't use the cpu_has_* macros anymore, they are going away soon. > > > > In this case it should be static_cpu_has(X86_FEATURE_PSE). > > I can certain

Re: [RFC][PATCH 0/6] /dev/random - a new approach

2016-04-25 Thread Nikos Mavrogiannopoulos
On Thu, Apr 21, 2016 at 5:16 PM, Stephan Mueller wrote: >> > ... DRBG is “minimally” seeded with 112^6 bits of entropy. >> > This is commonly achieved even before user space is initiated. >> >> Unfortunately one of the issues of the /dev/urandom interface is the >> fact that it may start providing

Re: [RESEND PATCH 7/8] ARM: dts: rockchip: move the rk3288 thermal data into rk3288.dtsi

2016-04-25 Thread Heiko Stübner
Am Freitag, 22. April 2016, 18:02:53 schrieb Caesar Wang: > In order to be standard to manage for rockchip SoCs, move the thermal > data into rk3288 dtsi, we needn't to add a new file for thermal. > > Signed-off-by: Caesar Wang > Cc: Zhang Rui > Cc: Eduardo Valentin > Cc: Heiko Stuebner comp

Re: [RESEND PATCH 8/8] arm64: dts: rockchip: move the rk3368 thermal data into rk3368.dtsi

2016-04-25 Thread Heiko Stübner
Am Freitag, 22. April 2016, 18:02:54 schrieb Caesar Wang: > In order to be standard to manage for rockchip SoCs, move the thermal > data into rk3368 dtsi, we needn't to add a new file for thermal. > > Fixes commit f990238f859e > ("arm64: dts: rockchip: Add main thermal info to rk3368.dtsi") > >

[PATCH v2] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Ricardo Ribalda Delgado
When using a device is read/write mode, vb2 does not handle properly the first select/poll operation. The reason for this, is that when this code has been refactored, some of the operations have changed their order, and now fileio emulator is not started. The reintroduced check to the core is ena

Re: [RFC][PATCH 0/6] /dev/random - a new approach

2016-04-25 Thread Stephan Mueller
Am Montag, 25. April 2016, 09:55:14 schrieb Nikos Mavrogiannopoulos: Hi Nikos, > On Thu, Apr 21, 2016 at 5:16 PM, Stephan Mueller wrote: > >> > ... DRBG is “minimally” seeded with 112^6 bits of entropy. > >> > This is commonly achieved even before user space is initiated. > >> > >> Unfortunate

Re: sound: deadlock involving snd_hrtimer_callback

2016-04-25 Thread Dmitry Vyukov
On Sun, Apr 24, 2016 at 11:31 PM, Takashi Iwai wrote: > On Sun, 24 Apr 2016 19:09:48 +0200, > Dmitry Vyukov wrote: >> >> On Sun, Apr 24, 2016 at 6:16 PM, Takashi Iwai wrote: >> > On Sun, 24 Apr 2016 17:16:32 +0200, >> > Dmitry Vyukov wrote: >> >> >> >> On Sat, Apr 23, 2016 at 11:02 PM, Takashi Iw

[PATCH v6 02/10] extcon: usb-gpio: add support for ACPI gpio interface

2016-04-25 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-us

[PATCH v6 06/10] usb: mux: add driver for Intel gpio controlled port mux

2016-04-25 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. [baolu: removed .owner per platform_no_drv_owner.cocci] Signed-off-by: David Cohen Signed-off-

[PATCH v6 08/10] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-04-25 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides 1) USB ID extcon device; 2) USB vbus regulator device; and 3) USB port switch device. This MFD driver will split these 3 devices for their respective drivers. [baolu: removed .owner p

[PATCH v6 10/10] MAINTAINERS: add maintainer entry for Intel USB dual role mux drivers

2016-04-25 Thread Lu Baolu
Add a maintainer entry for Intel USB dual role mux drivers and add myself as a maintainer. Signed-off-by: Lu Baolu --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 03e00c7..e2609e6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5878,

[PATCH v6 09/10] usb: pci-quirks: add Intel USB drcfg mux device

2016-04-25 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controllers. The shared port is under control of a switch which is defined in the Intel vendor defined extended capability for xHCI. This patch adds the support to detect and create the platform device for the port mu

Re: [RFC][PATCH 19/31] locking,s390: Implement atomic{,64}_fetch_{add,sub,and,or,xor}()

2016-04-25 Thread Martin Schwidefsky
On Fri, 22 Apr 2016 11:04:32 +0200 Peter Zijlstra wrote: > Implement FETCH-OP atomic primitives, these are very similar to the > existing OP-RETURN primitives we already have, except they return the > value of the atomic variable _before_ modification. > > This is especially useful for irreversi

[PATCH v6 07/10] usb: mux: add driver for Intel drcfg controlled port mux

2016-04-25 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe Ba

Re: [fuse-devel] Horrible mmap write performance (kernel writeback issue?)

2016-04-25 Thread Sedat Dilek
On Wed, Apr 20, 2016 at 3:35 AM, Howard Cochran wrote: > On Mon, Apr 18, 2016 at 5:06 PM, Jakob Unterwurzacher > wrote: >> On 12.04.2016 13:09, Tejun Heo wrote: Probably you want to look into: https://lkml.org/lkml/2016/3/10/21 The patch mentioned above solves the issue f

[PATCH v6 05/10] usb: mux: add generic code for dual role port mux

2016-04-25 Thread Lu Baolu
Several Intel platforms implement USB dual role by having completely separate xHCI and dwc3 IPs in PCH or SOC silicons. These two IPs share a single USB port. There is another external port mux which controls where the data lines should go. While the USB controllers are part of the silicon, the por

[PATCH v6 04/10] regulator: fixed: add support for ACPI interface

2016-04-25 Thread Lu Baolu
Add support to retrieve fixed voltage configure information through ACPI interface. This is needed for Intel Bay Trail devices, where a GPIO is used to control the USB vbus. Signed-off-by: Lu Baolu --- drivers/regulator/fixed.c | 48 +++ 1 file changed

[PATCH v6 00/10] usb: add support for Intel dual role port mux

2016-04-25 Thread Lu Baolu
Intel SOC chips are featured with USB dual role. The host role is provided by Intel xHCI IP, and the gadget role is provided by IP from designware. Tablet platform designs always share a single port for both host and gadget controllers. There is a mux to switch the port to the right controller acco

[PATCH v6 03/10] regulator: fixed: add device binding for platform device

2016-04-25 Thread Lu Baolu
This is needed to handle the GPIO connected USB vcc pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu --- drivers/regulator/fixed.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index ff62d69..e6f376f 100644 --- a/driv

[PATCH v6 01/10] extcon: usb-gpio: add device binding for platform device

2016-04-25 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b/dr

Build regressions/improvements in v4.6-rc5

2016-04-25 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.6-rc5[1] compared to v4.5[2]. Summarized: - build errors: +21/-7 - build warnings: +16240/-166 JFYI, when comparing v4.6-rc5[1] to v4.6-rc4[3], the summaries are: - build errors: +15/-5 - build warnings: +407/-544 As

[PATCH] [RFC] net: dsa: mv88e6xxx: Pre-initialize err in mv88e6xxx_port_bridge_join()

2016-04-25 Thread Geert Uytterhoeven
drivers/net/dsa/mv88e6xxx.c: In function ‘mv88e6xxx_port_bridge_join’: drivers/net/dsa/mv88e6xxx.c:2184: warning: ‘err’ may be used uninitialized in this function If netdev_notifier_changeupper_info.upper_dev is ever NULL, the bridge parameter will be NULL too, and the function will return an uni

Re: Build regressions/improvements in v4.6-rc5

2016-04-25 Thread Geert Uytterhoeven
On Mon, Apr 25, 2016 at 10:15 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.6-rc5[1] to v4.6-rc4[3], the summaries are: > - build errors: +15/-5 + /home/kisskb/slave/src/arch/arm/mach-sa1100/assabet.c: error: 'PMD_MASK' undeclared (first use in this function): => 496:38 + /home/k

Re: [PATCH] bcache: bch_writeback_thread() is not freezable

2016-04-25 Thread Jiri Kosina
On Fri, 22 Apr 2016, Eric Wheeler wrote: > > I'll try to capture the output today. > > No technical data yet, but this is the thread: > > http://comments.gmane.org/gmane.linux.kernel.bcache.devel/3820 Thanks. It's highly unlikely that this will be fixed by these three patches though (the cod

Re: [PATCH v2] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Giedrius Statkevičius
On Mon, Apr 25, 2016 at 4:00 AM, Parth Sane wrote: > Added missing signed off by line and fixed alignment to match > open parenthesis. Put "Added missing signed off by line" below the ---. This is not what we want to have in change logs.

Re: [RFC][PATCH 0/6] /dev/random - a new approach

2016-04-25 Thread Nikos Mavrogiannopoulos
On Mon, Apr 25, 2016 at 10:02 AM, Stephan Mueller wrote: >> > One more item to consider: If you do not want to change to use >> > getrandom(2), the LRNG provides you with another means. >> The main problem is not about willing to switch to getrandom() or not, >> but finding any system where getran

Re: [PATCH V2 1/1] perf hists: clear dummy entry accumulated period

2016-04-25 Thread Jiri Olsa
On Fri, Apr 22, 2016 at 12:58:58AM -0700, kan.li...@intel.com wrote: > From: Kan Liang > > The accumulated period for dummy entry should also be 0. > Otherwise, the total overhead could be overcounted. > [perf]$ perf record -e '{LLC-load-misses,cpu/instructions/}' > --call-graph=lbr ./tchain > [p

Re: [PATCH 0/2] Add Opal unlock support to NVMe.

2016-04-25 Thread Christoph Hellwig
On Fri, Apr 22, 2016 at 04:12:10PM -0700, Rafael Antognolli wrote: > This patch series implement a small set of the Opal protocol for self > encrypting devices. It's implemented only what is needed for saving a password > and unlocking a given "locking range". The password is saved on the driver an

Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-04-25 Thread Thomas Gleixner
On Fri, 22 Apr 2016, Lianwei Wang wrote: > Any way is Ok for debugging purpose. But think the kernel run on a > customer machine, such as PC, Mobile phone or other devices. How we > let the customer debug it but not recover it smartly? There is nothing smart here. Restoring the count is a bandaid

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Michal Hocko
On Thu 21-04-16 19:09:02, Tejun Heo wrote: > Hello, > > So, this ended up a lot simpler than I originally expected. I tested > it lightly and it seems to work fine. Petr, can you please test these > two patches w/o the lru drain drop patch and see whether the problem > is gone? > > Thanks. > --

Re: [RFC][PATCH 19/31] locking,s390: Implement atomic{,64}_fetch_{add,sub,and,or,xor}()

2016-04-25 Thread Peter Zijlstra
On Mon, Apr 25, 2016 at 10:06:25AM +0200, Martin Schwidefsky wrote: > On Fri, 22 Apr 2016 11:04:32 +0200 > Peter Zijlstra wrote: > > > Implement FETCH-OP atomic primitives, these are very similar to the > > existing OP-RETURN primitives we already have, except they return the > > value of the ato

[PATCH v3] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Parth Sane
Signed-off-by: Parth Sane --- Changes in v3: -Added missing signed off by line and fixed alignment to match open parenthesis. -Fixed location of message drivers/staging/rtl8712/hal_init.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-04-25 Thread h...@infradead.org
On Sat, Apr 23, 2016 at 06:08:37PM +, Verma, Vishal L wrote: > direct_IO might fail with -EINVAL due to misalignment, or -ENOMEM due > to some allocation failing, and I thought we should return the original > -EIO in such cases so that the application doesn't lose the information > that the bad

Re: [PATCH 2/8] drm/udl: Change drm_fb_helper_sys_*() calls to sys_*()

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 11:16:34AM +0100, Emil Velikov wrote: > On 22 April 2016 at 09:24, Daniel Vetter wrote: > > On Thu, Apr 21, 2016 at 08:18:48PM +0200, Noralf Trønnes wrote: > >> > >> Den 21.04.2016 09:28, skrev Daniel Vetter: > >> >On Wed, Apr 20, 2016 at 08:15:30PM +0200, Noralf Trønnes wr

Re: sound: deadlock involving snd_hrtimer_callback

2016-04-25 Thread Takashi Iwai
On Mon, 25 Apr 2016 10:03:34 +0200, Dmitry Vyukov wrote: > > On Sun, Apr 24, 2016 at 11:31 PM, Takashi Iwai wrote: > > On Sun, 24 Apr 2016 19:09:48 +0200, > > Dmitry Vyukov wrote: > >> > >> On Sun, Apr 24, 2016 at 6:16 PM, Takashi Iwai wrote: > >> > On Sun, 24 Apr 2016 17:16:32 +0200, > >> > Dmi

[PATCH v4] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Parth Sane
diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 0c76fbc..0dd458d 100644 --- a/drivers/staging/rtl8712/hal_init.c +++ b/drivers/staging/rtl8712/hal_init.c @@ -197,8 +197,8 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)

[PATCH v5] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Parth Sane
Fixed alignment to match open parenthesis. Signed-off-by: Parth Sane --- Changes in v5: -Fixed missing commit messages. drivers/staging/rtl8712/hal_init.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rt

Re: [PATCH v2] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Hans Verkuil
On 04/25/2016 09:59 AM, Ricardo Ribalda Delgado wrote: > When using a device is read/write mode, vb2 does not handle properly the > first select/poll operation. > > The reason for this, is that when this code has been refactored, some of > the operations have changed their order, and now fileio em

Re: [PATCH] kprobes: add the "tls" argument for j_do_fork

2016-04-25 Thread Petr Mladek
On Fri 2016-04-22 13:58:12, Andrew Morton wrote: > On Thu, 14 Apr 2016 17:16:40 +0800 Huang Shijie wrote: > > > The patch "3033f14a clone: support passing tls argument via C rather ..." > > added the tls argument for _do_fork(). The patch adds the "tls" argument > > for j_do_fork to make it match

Re: [PATCH V3 4/4] gpio: tegra: Add support for gpio debounce

2016-04-25 Thread Laxman Dewangan
On Monday 25 April 2016 10:25 AM, Alexandre Courbot wrote: On Wed, Apr 20, 2016 at 10:30 PM, Laxman Dewangan wrote: bank->int_lvl[p] = tegra_gpio_readl(tgi, @@ -550,6 +598,9 @@ static int tegra_gpio_probe(struct platform_device *pdev) platform_set_drvdata(pdev,

[PATCH 1/1 v2] hwmon: add support for Sensirion SHT3x sensors

2016-04-25 Thread Pascal Sachs
From: David Frey This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all values are scaled by 1000, i.e. the value for 31.5 degrees c

Re: [PATCH] ALSA: timer: remove legacy rtctimer

2016-04-25 Thread Takashi Iwai
On Sat, 23 Apr 2016 02:58:05 +0200, Alexandre Belloni wrote: > > There are no users of rtctimer left. Remove its code as this is the > in-kernel user of the legacy PC RTC driver that will hopefully be removed > at some point. > > Signed-off-by: Alexandre Belloni > --- > Note that I've kept the d

Re: [PATCH 36/41] Documentation: sound: fix spelling mistakes

2016-04-25 Thread Takashi Iwai
On Mon, 25 Apr 2016 08:37:02 +0200, Eric Engestrom wrote: > > Signed-off-by: Eric Engestrom Applied, thanks. Takashi

[PATCH 0/2] Support MPS2 Timer

2016-04-25 Thread Vladimir Murzin
Hi, These patches allow to use simple 32 bits general purpose countdown timers found on MPS2 platform. Following [1], please, consider to merge them into clocksource tree. [1] https://lkml.org/lkml/2016/4/23/190 Thanks! Vladimir Murzin (2): dt-bindings: document the MPS2 timer bindings clo

[PATCH 1/2] dt-bindings: document the MPS2 timer bindings

2016-04-25 Thread Vladimir Murzin
This adds documentation of device tree bindings for the timers found on ARM MPS2 platform. Acked-by: Rob Herring Signed-off-by: Vladimir Murzin --- .../devicetree/bindings/timer/arm,mps2-timer.txt | 28 1 file changed, 28 insertions(+) create mode 100644 Documentation/

[PATCH 2/2] clockevents/drivers: add MPS2 Timer driver

2016-04-25 Thread Vladimir Murzin
MPS2 platform has simple 32 bits general purpose countdown timers. The driver uses the first detected timer as a clocksource and the rest of the timers as a clockevent Acked-by: Daniel Lezcano Signed-off-by: Vladimir Murzin --- drivers/clocksource/Kconfig |6 + drivers/clocksource/Mak

[PATCH 2/3] serial: mps2-uart: add MPS2 UART driver

2016-04-25 Thread Vladimir Murzin
This driver adds support to the UART controller found on ARM MPS2 platform. Acked-by: Greg Kroah-Hartman Reviewed-by: Andy Shevchenko Signed-off-by: Vladimir Murzin --- drivers/tty/serial/Kconfig | 12 + drivers/tty/serial/Makefile |1 + drivers/tty/serial/mps2-uart.c | 597

[PATCH 0/3] Support MPS2 UART controller

2016-04-25 Thread Vladimir Murzin
Hi, These patches allow to use UART controller found on MPS2 platform. Following [1], please, consider to merge them into tty/serial tree. [1] https://lkml.org/lkml/2016/4/23/190 Thanks! Vladimir Murzin (3): dt-bindings: document the MPS2 UART bindings serial: mps2-uart: add MPS2 UART driv

[PATCH] dmaengine: dmatest: Add support for scatter-gather DMA mode

2016-04-25 Thread Kedareswara rao Appana
This patch updates the dmatest client to support scatter-gather dma mode. Signed-off-by: Kedareswara rao Appana --- drivers/dma/dmatest.c | 38 -- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c inde

[PATCH 1/5] ARM: vexpress/mps2: introduce MPS2 platform

2016-04-25 Thread Vladimir Murzin
The Cortex-M Prototyping System (or V2M-MPS2) is designed for prototyping and evaluation Cortex-M family of processors including the latest Cortex-M7 It comes with a range of useful peripherals including 8MB single cycle SRAM, 16MB PSRAM, Ethernet, QSVGA touch screen panel, 4bit RGB VGA connector,

[PATCH 4/5] ARM: dts: introduce MPS2 AN399/AN400

2016-04-25 Thread Vladimir Murzin
Application Notes 399 and 400 shares the same memory map and features. Both are shipped with Cortex-M7 and have the same peripheral as AN385/AN386, but with different location of PSRAM and Ethernet controller. Signed-off-by: Vladimir Murzin --- arch/arm/boot/dts/Makefile |4 +- arch/a

[PATCH v3] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Ricardo Ribalda Delgado
When using a device is read/write mode, vb2 does not handle properly the first select/poll operation. The reason for this, is that when this code has been refactored, some of the operations have changed their order, and now fileio emulator is not started. The reintroduced check to the core is ena

Re: [PATCH V4 3/4] gpio: tegra: Get rid of all file scoped global variables

2016-04-25 Thread Laxman Dewangan
On Monday 25 April 2016 10:43 AM, Alexandre Courbot wrote: On Fri, Apr 22, 2016 at 7:09 PM, Laxman Dewangan wrote: -static struct tegra_gpio_bank *tegra_gpio_banks; +struct tegra_gpio_info { I think tegra_gpio_chip would be a better name for this structure (especially if you make "struct gpio

[PATCH 3/3] serial: mps2-uart: add support for early console

2016-04-25 Thread Vladimir Murzin
This adds support early console for MPS2 UART which can be enabled via earlycon=mps2,0x40004000 Acked-by: Greg Kroah-Hartman Reviewed-by: Peter Hurley Signed-off-by: Vladimir Murzin --- drivers/tty/serial/Kconfig |1 + drivers/tty/serial/mps2-uart.c | 28

[PATCH 0/5] Support MPS2 platform

2016-04-25 Thread Vladimir Murzin
Hi, These patches add basic support for ARM Versatile Express Cortex-M Prototyping System (V2M-MPS2). ucLinux can be now run on both the hardware and FVP models with Cortex-M3/M4/M7 configurations Following [1], please, consider to merge them into vexpress tree. [1] https://lkml.org/lkml/2016/4/

[PATCH 1/3] dt-bindings: document the MPS2 UART bindings

2016-04-25 Thread Vladimir Murzin
This adds documentation of device tree bindings for the UART found on ARM MPS2 platform Acked-by: Rob Herring Signed-off-by: Vladimir Murzin --- .../devicetree/bindings/serial/arm,mps2-uart.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devi

[PATCH 3/5] ARM: dts: introduce MPS2 AN385/AN386

2016-04-25 Thread Vladimir Murzin
Application Notes 385 and 386 shares the same memory map and features except the CPU is used. AN385 is supplied with Cortex-M3 CPU and AN386 is supplied with Cortex-M4. Reviewed-by: Linus Walleij Signed-off-by: Vladimir Murzin --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/mps

[PATCH 5/5] MAINTAINERS: Update ARM Versatile Express platform entry

2016-04-25 Thread Vladimir Murzin
This patch update ARM Versatile Express entry to cover bits needed for Cortex-M Prototyping System (MPS2 platform). So patches for the latter are collected by existing Vexpress and Juno maintainers (Liviu, Sudeep, Lorenzo) and find their way upstream via Vexpess and/or Juno trees. Signed-off-by: V

[PATCH 2/5] ARM: configs: add MPS2 defconfig

2016-04-25 Thread Vladimir Murzin
This patch adds a new config for MPS2 platform. Signed-off-by: Vladimir Murzin --- arch/arm/configs/mps2_defconfig | 109 +++ 1 file changed, 109 insertions(+) create mode 100644 arch/arm/configs/mps2_defconfig diff --git a/arch/arm/configs/mps2_defconfig b

Re: [PATCH 07/41] Documentation: dt: arc: fix spelling mistakes

2016-04-25 Thread Vineet Gupta
On Monday 25 April 2016 05:54 AM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Thx Eric. Applied to ARC for-curr ! -Vineet

Re: [PATCH V4 4/4] gpio: tegra: Add support for gpio debounce

2016-04-25 Thread Laxman Dewangan
On Monday 25 April 2016 11:06 AM, Alexandre Courbot wrote: Sorry, just realized I commented on v3... On Fri, Apr 22, 2016 at 7:09 PM, Laxman Dewangan wrote: + spinlock_t dbc_lock[4]; /* Lock for updating debounce count register */ I'm nit'ing here, but maybe one spinlock shared by all

Re: [PATCH 36/41] Documentation: sound: fix spelling mistakes

2016-04-25 Thread Vinod Koul
On Mon, Apr 25, 2016 at 07:37:02AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/sound/alsa/compress_offload.txt | 2 +- Acked-by: Vinod Koul Thanks -- ~Vinod

Re: [PATCH v2] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Hans Verkuil
On 04/25/2016 10:39 AM, Hans Verkuil wrote: > On 04/25/2016 09:59 AM, Ricardo Ribalda Delgado wrote: >> When using a device is read/write mode, vb2 does not handle properly the >> first select/poll operation. >> >> The reason for this, is that when this code has been refactored, some of >> the oper

Re: [PATCH v5 00/10] Support for Cortex-M Prototyping System

2016-04-25 Thread Vladimir Murzin
On 24/04/16 00:43, Arnd Bergmann wrote: > On Friday 01 April 2016, Vladimir Murzin wrote: >> Hi, >> >> This patch series provides the basic support for running ucLinux on V2M-MPS2 >> platform. >> >> With these patches applied ucLinux can be run on both HW and FVP models >> with Cortex-M3/M4/M7 conf

Re: [GIT PULL 1/5] ARM: dts: exynos: Artik5 topic branch for v4.7

2016-04-25 Thread Krzysztof Kozlowski
On 04/24/2016 11:15 PM, Arnd Bergmann wrote: > On Wednesday 13 April 2016 12:01:18 Krzysztof Kozlowski wrote: >> Topic branch for Device Tree changes for Exynos 3250 for v4.7: >> >> Merge necessary new clocks from Sylwester (used by new board) and add support >> for Exynos3250-based Artik5 board. >

Re: [GIT PULL 2/5] ARM: dts: exynos: DT for v4.7

2016-04-25 Thread Krzysztof Kozlowski
On 04/24/2016 11:18 PM, Arnd Bergmann wrote: > On Wednesday 13 April 2016 12:01:19 Krzysztof Kozlowski wrote: >> Samsung Device Tree updates and improvements for v4.7: >> 1. Enable accelerated AES (Security SubSystem) on Exynos4412-based boards. >> 2. Enable HDMI CEC on Exynos4412-based Odroid. >>

Re: [PATCH] fs: fix over-zealous use of "const"

2016-04-25 Thread Andy Shevchenko
On Thu, 2016-04-21 at 12:53 -0700, Kees Cook wrote: > When I was fixing up const recommendations from checkpatch.pl, I went > overboard. This fixes the warning (during a W=1 build): > > include/linux/fs.h:2627:74: warning: type qualifiers ignored on > function return type [-Wignored-qualifiers] >

Re: [PATCH v2 1/8] drm/rect: Add some drm_clip_rect utility functions

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 10:48:55PM +0200, Noralf Trønnes wrote: > Add some utility functions for struct drm_clip_rect. > > Signed-off-by: Noralf Trønnes > --- > drivers/gpu/drm/drm_rect.c | 67 > include/drm/drm_rect.h | 69 >

Re: [PATCH 03/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2016-04-25 Thread Lee Jones
On Thu, 21 Apr 2016, Appana Durga Kedareswara Rao wrote: > > -Original Message- > > From: dmaengine-ow...@vger.kernel.org [mailto:dmaengine- > > ow...@vger.kernel.org] On Behalf Of Peter Griffin > > Sent: Thursday, April 21, 2016 4:34 PM > > To: linux-arm-ker...@lists.infradead.org; linux-k

Re: [PATCH v2 3/8] drm/qxl: Change drm_fb_helper_sys_*() calls to sys_*()

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 10:48:57PM +0200, Noralf Trønnes wrote: > Now that drm_fb_helper gets deferred io support, the > drm_fb_helper_sys_{fillrect,copyarea,imageblit} functions will schedule > a worker that will call the (struct drm_framebuffer *)->funcs->dirty() > function. This will break this

[patch] drm: atmel-hlcdc: fix a NULL check

2016-04-25 Thread Dan Carpenter
If kmalloc() returned NULL we would end up dereferencing "state" a couple lines later. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c index 8df0aaf..867069b 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_

[PATCH v4] media: vb2: Fix regression on poll() for RW mode

2016-04-25 Thread Ricardo Ribalda Delgado
When using a device is read/write mode, vb2 does not handle properly the first select/poll operation. The reason for this, is that when this code has been refactored, some of the operations have changed their order, and now fileio emulator is not started. The reintroduced check to the core is ena

Re: [PATCH v4] i2c: designware-platdrv: fix unbalanced clk enable and prepare

2016-04-25 Thread Andy Shevchenko
On Fri, 2016-04-22 at 16:59 +0300, Jarkko Nikula wrote: > Hi > > On 04/22/2016 11:49 AM, Jisheng Zhang wrote: > > > > If i2c_dw_probe() fails, we should disable and unprepare the clock, > > otherwise the clock enable and prepare is left unbalanced. > > > > In dw_i2c_plat_remove(), we'd better to

Re: [patch] drm: atmel-hlcdc: fix a NULL check

2016-04-25 Thread Boris Brezillon
On Mon, 25 Apr 2016 12:04:54 +0300 Dan Carpenter wrote: > If kmalloc() returned NULL we would end up dereferencing "state" a > couple lines later. > > Signed-off-by: Dan Carpenter Acked-by: Boris Brezillon Thanks, Boris > > diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > b/

Re: [PATCH v2 4/8] drm/fb-helper: Add fb_deferred_io support

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 10:48:58PM +0200, Noralf Trønnes wrote: > This adds deferred io support if CONFIG_FB_DEFERRED_IO is enabled. > The fbdev framebuffer changes are flushed using the callback > (struct drm_framebuffer *)->funcs->dirty() by a dedicated worker > ensuring that it always runs in pr

Re: [patch] drm: atmel-hlcdc: fix a NULL check

2016-04-25 Thread Eric Engestrom
On Mon, Apr 25, 2016 at 12:04:54PM +0300, Dan Carpenter wrote: > If kmalloc() returned NULL we would end up dereferencing "state" a > couple lines later. > > Signed-off-by: Dan Carpenter Reviewed-by: Eric Engestrom

Re: [PATCH v2 5/8] fbdev: fb_defio: Export fb_deferred_io_mmap

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 10:48:59PM +0200, Noralf Trønnes wrote: > Export fb_deferred_io_mmap so drivers can change vma->vm_page_prot. > When the framebuffer memory is allocated using dma_alloc_writecombine() > instead of vmalloc(), I get cache syncing problems on ARM. > This solves it: > > static

Re: [PATCH] arm64: fix /proc/cpuinfo for elf32

2016-04-25 Thread Catalin Marinas
On Mon, Apr 25, 2016 at 11:37:33AM +0800, Zeng Tao wrote: > For elf32 thread, personality is used for arm32, > and thread_flag for arm64. > > Here personality is used for arm64, so fix it. > > Signed-off-by: Zeng Tao > --- > arch/arm64/kernel/cpuinfo.c | 2 +- > 1 file changed, 1 insertion(+),

  1   2   3   4   5   6   7   8   9   10   >