[PATCH 07/14] ARM: dts: apq8064: Prefix the gsbi6 uart pins correctly

2015-09-18 Thread Srinivas Kandagatla
Usage of generic names like "uart_pins" is confusing to the reader, given the fact that there could be more than one uart on APQ8064. This patch adds gsbi prefix to uart pinctrl nodes so as to avoid such confusion. Signed-off-by: Srinivas Kandagatla ---

[PATCH 06/14] ARM: dts: apq8064: add pm8921 pwrkey support

2015-09-18 Thread Srinivas Kandagatla
This patch adds support to pm8921 power button. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread James Hogan
Hi Peter, On Fri, Sep 18, 2015 at 11:27:32AM +0200, Peter Zijlstra wrote: > On Fri, Sep 18, 2015 at 10:57:32AM +0200, Peter Zijlstra wrote: > > diff --git a/arch/metag/include/asm/atomic_lnkget.h > > b/arch/metag/include/asm/atomic_lnkget.h > > index 21c4c268b86c..1bd21c933435 100644 > > ---

[PATCH 13/14] ARM: dts: apq8064-ifc6410: add notify led support.

2015-09-18 Thread Srinivas Kandagatla
This patch adds notify led support on IFC6410, whose trigger can be configured from userspace. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH 14/14] ARM: dts: qs600: Add SD card detect support.

2015-09-18 Thread Srinivas Kandagatla
This patch adds SD card detect support. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

[PATCH 12/14] ARM: dts: qs600: add pwrseq support to WLAN

2015-09-18 Thread Srinivas Kandagatla
Add pwrseq support to sdcc4 which would enable a proper reset of WLAN without ugly hacks in the board support file. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 32 + 1 file changed, 32

[PATCH 10/14] ARM: dts: qs600: Add missing pinctrl property for gsbi7 uart

2015-09-18 Thread Srinivas Kandagatla
This patch adds missing 2pin uart pinctrl property to gsbi7 uart on CM-QS600. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

[PATCH 09/14] ARM: dts: ifc6410: Add missing pinctrl to gsbi7 uart

2015-09-18 Thread Srinivas Kandagatla
This patch adds missing 2pin uart pinctrl property to gsbi7 uart on IFC6410. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Will Deacon
On Fri, Sep 18, 2015 at 01:19:20PM +0100, Peter Zijlstra wrote: > On Fri, Sep 18, 2015 at 01:56:37PM +0200, Peter Zijlstra wrote: > > +#ifndef atomic64_read_ctrl > > +static inline int atomic64_read_ctrl(atomic64_t *v) > > +{ > > + int val = atomic64_read(v); > > Duh > > long long...

[PATCH 1/3] ASoC: wm0010: disable regulator on error

2015-09-18 Thread Sudip Mukherjee
We have done regulator_bulk_enable() while booting the DSP but on the error exit path we have not disbled it. Signed-off-by: Sudip Mukherjee --- sound/soc/codecs/wm0010.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/wm0010.c

[PATCH 3/3] ASoC: wm0010: fix error path

2015-09-18 Thread Sudip Mukherjee
Fix the error path so that we can free the allocated memory on the error path instead of releasing them individually on each error. Signed-off-by: Sudip Mukherjee --- sound/soc/codecs/wm0010.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-)

[PATCH 2/2] overlayfs: Fix dentry reference leak

2015-09-18 Thread David Howells
In ovl_copy_up_locked(), newdentry is leaked if the function exits through out_cleanup as this just to out after calling ovl_cleanup() - which doesn't actually release the ref on newdentry. The out_cleanup segment should instead exit through out2 as certainly newdentry leaks - and possibly upper

[PATCH 1/2] overlayfs: Conditionally use O_LARGEFILE in ovl_copy_up()

2015-09-18 Thread David Howells
Open the lower file with O_LARGEFILE in ovl_copy_up() if the lower file is >= 4GiB in size. Reported-by: Ulrich Obergfell Signed-off-by: David Howells --- fs/overlayfs/copy_up.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff

Re: [PATCH] macvtap: fix TUNSETSNDBUF values > 64k

2015-09-18 Thread Michael S. Tsirkin
On Fri, Sep 18, 2015 at 12:49:07PM +0200, Christian Borntraeger wrote: > Am 18.09.2015 um 12:41 schrieb Michael S. Tsirkin: > > Upon TUNSETSNDBUF, macvtap reads the requested sndbuf size into > > a local variable u. > > commit 39ec7de7092b ("macvtap: fix uninitialized access on > > TUNSETIFF")

Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting

2015-09-18 Thread Kohji Okuno
From: Marc Zyngier Date: Fri, 18 Sep 2015 11:03:12 +0100 > On Fri, 18 Sep 2015 18:22:07 +0900 > Kohji Okuno wrote: > >> From: Thomas Gleixner >> Date: Fri, 18 Sep 2015 11:04:23 +0200 >> > That's weird. The flow is: >> >

[PATCH] iommu/vt-d: fix memory leak

2015-09-18 Thread Sudip Mukherjee
We are returning NULL if we are not able to attach the iommu to the domain but while returning we missed freeing info. Signed-off-by: Sudip Mukherjee --- drivers/iommu/intel-iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/intel-iommu.c

[PATCH v2] tools lib traceevent: str addresses in heterogeneous arch environments

2015-09-18 Thread Kapileshwar Singh
When a trace recorded on a 32-bit device is processed with a 64-bit binary, the higher 32-bits of the address need to ignored The lack of this results in the output of the 64-bit pointer value to the trace as the 32-bit address lookup fails in find_printk. Before: burn-1778 [003] 548.600305:

Re: [PATCHv2] SUNRPC: Fix a race in xs_reset_transport

2015-09-18 Thread Suzuki K. Poulose
On 16/09/15 12:17, Jeff Layton wrote: On Wed, 16 Sep 2015 10:35:49 +0100 "Suzuki K. Poulose" wrote: From: "Suzuki K. Poulose" ... + write_unlock_bh(>sk_callback_lock); + return; + } + sock =

Re: [PATCH 2/2] s390/crash_dump: Use PFN_PHYS and PFN_DOWN macros

2015-09-18 Thread Heiko Carstens
On Wed, Sep 16, 2015 at 12:54:38AM +0600, Alexander Kuleshov wrote: > The provides PFN_PHYS and PFN_DOWN macros for the > getting page frame number and physical address of a page frame number. > This patch replaces (pfn << PAGE_SHIFT) and (addr >> PAGE_SHIFT) > expressions with the PFN_PHYS and

[PATCH] ARM: at91/dt: ov2640: add hsync/vsync-active property

2015-09-18 Thread Josh Wu
On at91sam9x5ek/at91sam9m10g45ek/sama5d3xek boards, we use the parallel connection for ov2640. So we must set the hsync/vsync property (1 means active high). Otherwise, the connection would be seen as BT.656 or BT.1120. Signed-off-by: Josh Wu ---

Re: [PATCH] sched: access local runqueue directly in single_task_running

2015-09-18 Thread Dominik Dingel
On Fri, 18 Sep 2015 13:26:53 +0200 Paolo Bonzini wrote: > > > On 18/09/2015 11:27, Dominik Dingel wrote: > > Commit 2ee507c47293 ("sched: Add function single_task_running to let a task > > check if it is the only task running on a cpu") referenced the current > > runqueue

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Will Deacon
On Fri, Sep 18, 2015 at 12:22:52PM +0100, Peter Zijlstra wrote: > On Fri, Sep 18, 2015 at 10:28:20AM +0100, Will Deacon wrote: > > On Fri, Sep 18, 2015 at 10:06:46AM +0100, Dmitry Vyukov wrote: > > > > Can we have something along the lines of: > > > > > > #define atomic_read_ctrl(v)

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Dmitry Vyukov
On Fri, Sep 18, 2015 at 1:22 PM, Peter Zijlstra wrote: > On Fri, Sep 18, 2015 at 10:28:20AM +0100, Will Deacon wrote: >> On Fri, Sep 18, 2015 at 10:06:46AM +0100, Dmitry Vyukov wrote: > >> > Can we have something along the lines of: >> > >> > #define atomic_read_ctrl(v)

Re: [PATCH 3/3] ASoC: wm0010: fix error path

2015-09-18 Thread Charles Keepax
On Fri, Sep 18, 2015 at 04:02:21PM +0530, Sudip Mukherjee wrote: > Fix the error path so that we can free the allocated memory on the error > path instead of releasing them individually on each error. > > Signed-off-by: Sudip Mukherjee > --- Acked-by: Charles Keepax

Re: [PATCH 2/3] ASoC: wm0010: fix memory leak

2015-09-18 Thread Charles Keepax
On Fri, Sep 18, 2015 at 04:02:20PM +0530, Sudip Mukherjee wrote: > We have requested for the firmware but we have missed releasing it both > on success and on error path. > While checking the code it turned out that the requested firmware is not > even used. More over the same firmware is being

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 01:56:37PM +0200, Peter Zijlstra wrote: > +#ifndef atomic64_read_ctrl > +static inline int atomic64_read_ctrl(atomic64_t *v) > +{ > + int val = atomic64_read(v); Duh long long... > + smp_read_barrier_depends(); /* Enforce control dependency. */ > +

[PATCH 03/14] ARM: dts: qs600: remove unnecessary eeprom label

2015-09-18 Thread Srinivas Kandagatla
This patch removes unnecessary eeprom label, which is not used anywhere in the board file. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 04/14] devicetree: Add hardware rng entry to qcom-apq8064.dtsi

2015-09-18 Thread Srinivas Kandagatla
From: John Stultz Add devicetree data to add support for hw_rng support to the apq8064 dts. Tested on the Nexus7 (2013). Cc: Kumar Gala Cc: Stephen Boyd Cc: Srinivas Kandagatla Cc:

[PATCH] Staging: comedi: Fixed coding style issues in comedi.h

2015-09-18 Thread Punit Vara
This patch is to the comedi.h file that fixes up following type of 42 warning in the file: -Blocking comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara ---

[PATCH 02/14] ARM: dts: ifc6410: remove unnecessary eeprom label

2015-09-18 Thread Srinivas Kandagatla
This patch removes unnecessary eeprom label, which is not used anywhere in the board file. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 01/14] ARM: dts: apq8064: remove redundant i2c pinctrl properties

2015-09-18 Thread Srinivas Kandagatla
This patch removes i2c pinctrl properties from board which which are now mentioned in the SOC specific file. This will avoid redundant properties across multiple board fiiles. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 11

[PATCH 05/14] ARM: dts: apq8064: add pm8921 rtc

2015-09-18 Thread Srinivas Kandagatla
This patch adds rtc node for pmic8921. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index

[PATCH 08/14] ARM: dts: apq8064: add missing gsbi7 uart pinctrl

2015-09-18 Thread Srinivas Kandagatla
This patch adds missing gsbi7 uart pinctrl, this is the default debug uart on most boards. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH] wlcore: align reg_ch_conf_last[] to 64bit

2015-09-18 Thread Guodong Xu
Align fields reg_ch_conf_last and reg_ch_conf_pending of struct wl1271{} to 64bit. Without this, on 64bit ARM, wlcore_set_pending_regdomain_ch() fails at the point it calls set_bit(ch_bit_idx, (long*)wl->reg_ch_conf_pending); Here is the error message while doing iw wlan0 scan or connect: [

[PATCH -mm] vmscan: fix sane_reclaim helper for legacy memcg

2015-09-18 Thread Vladimir Davydov
The sane_reclaim() helper is supposed to return false for memcg reclaim if the legacy hierarchy is used, because the latter lacks dirty throttling mechanism, and so it did before it was accidentally broken by commit 33398cf2f360c ("memcg: export struct mem_cgroup"). Fix it. Fixes: 33398cf2f360c

[GIT pull] x86 fix for 4.3

2015-09-18 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 A single regression fix for the x86 dma allocator which got wreckaged in the merge window. Thanks, tglx --> Junichi

Re: [PATCH] drm/i915: fix kernel-doc warnings in intel_audio.c

2015-09-18 Thread Jani Nikula
On Tue, 15 Sep 2015, Geliang Tang wrote: > Fix the following 'make htmldocs' warnings: > > .//drivers/gpu/drm/i915/intel_audio.c:439: warning: No description found > for parameter 'intel_encoder' > .//drivers/gpu/drm/i915/intel_audio.c:439: warning: Excess function >

Re: [RFC][PATCH] Add spurious wakeup quirk for Lynxpoint controllers

2015-09-18 Thread Oliver Neukum
On Fri, 2015-09-18 at 13:18 +0300, Mathias Nyman wrote: > Better ask Oliver, > Do you still have access to the HP laptop? No I am sorry, we no longer have those laptops. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: how to check how much data left to sync to disk at umount?

2015-09-18 Thread Jeff Chua
On Thu, Sep 17, 2015 at 9:50 AM, Dave Chinner wrote: > On Mon, Sep 07, 2015 at 01:29:33PM +0800, Jeff Chua wrote: >> When umount a slow device such as an SD card, the command will take a >> while to run depending on how much data is left to write to the >> device. Is there

[GIT PULL] KVM fixes for 4.3-rc2

2015-09-18 Thread Paolo Bonzini
Linus, The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f: Linux 4.3-rc1 (2015-09-12 16:35:56 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 01:50:01PM +0200, Dmitry Vyukov wrote: > > +#ifndef atomic_read_ctrl > > +static inline int atomic_read_ctrl(atomic_t *v) > > +{ > > + int val = atomic_read(v); > > + smp_read_barrier_depends(); /* Enforce control dependency. */ > > + return val; > > +} >

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-18 Thread Vignesh R
On 09/16/2015 04:26 PM, Mark Brown wrote: > On Wed, Sep 16, 2015 at 03:38:09PM +0530, Vignesh R wrote: > >> But, I didn't get how to integrate with existing message queue. Memory >> mapped read by-passes message queue of SPI core. Could you please >> explain a bit more on integrating with

Re: [PATCH 4/7] lib: introduce sg_nents_for_len2

2015-09-18 Thread Herbert Xu
On Fri, Sep 18, 2015 at 02:20:48PM +0200, LABBE Corentin wrote: > > I will send the modified patch series with this function name soon. You only need to resend patches 4-7. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

[PATCH 11/14] ARM: dts: ifc6410: Add pwrseq support for WLAN

2015-09-18 Thread Srinivas Kandagatla
This patch adds pwrseq for WLAN which resets the WLAN just before the SDIO bus is up. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 28 1 file changed, 28 insertions(+) diff --git

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 01:31:27PM +0100, James Hogan wrote: > Hi Peter, > > On Fri, Sep 18, 2015 at 11:27:32AM +0200, Peter Zijlstra wrote: > > On Fri, Sep 18, 2015 at 10:57:32AM +0200, Peter Zijlstra wrote: > > > diff --git a/arch/metag/include/asm/atomic_lnkget.h > > >

[PATCH] staging: lustre: lustre: obdclass: Removed a space

2015-09-18 Thread Anjali Menon
Removed a space to fix the following coding style error detected by checkpatch.pl ERROR: space prohibited before that '++' (ctx:WxO) Signed-off-by: Anjali Menon --- drivers/staging/lustre/lustre/obdclass/llog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] media: soc-camera: increase the length of clk_name on soc_of_bind()

2015-09-18 Thread Josh Wu
Hi, Guennadi On 8/30/2015 10:06 PM, Guennadi Liakhovetski wrote: Hi Josh, Sorry, I missed the 4.3 merge cycle, but isn't this patch a fix? Isn't it fixing soc-camera / atmel-isi on a specific platform, where the clock name is longer, than currently supported? Is this platform in the mainline

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-09-18 Thread Paul Turner
On Sat, Sep 12, 2015 at 7:40 AM, Tejun Heo wrote: > Hello, > > On Wed, Sep 09, 2015 at 05:49:31AM -0700, Paul Turner wrote: >> I do not think this is a layering problem. This is more like C++: >> there is no sane way to concurrently use all the features available, >> however,

Re: [PATCH] sched: access local runqueue directly in single_task_running

2015-09-18 Thread Paolo Bonzini
On 18/09/2015 11:27, Dominik Dingel wrote: > Commit 2ee507c47293 ("sched: Add function single_task_running to let a task > check if it is the only task running on a cpu") referenced the current > runqueue with the smp_processor_id. When CONFIG_DEBUG_PREEMPT is enabled, > that is only allowed if

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 10:28:20AM +0100, Will Deacon wrote: > On Fri, Sep 18, 2015 at 10:06:46AM +0100, Dmitry Vyukov wrote: > > Can we have something along the lines of: > > > > #define atomic_read_ctrl(v) READ_ONCE_CTRL(&(v)->counter) > > Funnily enough, I had this exact same discussion

Re: [PATCH 4/7] lib: introduce sg_nents_for_len2

2015-09-18 Thread Herbert Xu
On Thu, Sep 10, 2015 at 03:21:39PM +0200, LABBE Corentin wrote: > Some driver use a modified version of sg_nents_for_len with an > additional parameter bool *chained for knowing if the scatterlist is > chained or not. > > So, for removing duplicate code, add sg_nents_for_len2 in >

Re: [PATCH 4/7] lib: introduce sg_nents_for_len2

2015-09-18 Thread LABBE Corentin
On Fri, Sep 18, 2015 at 07:53:00PM +0800, Herbert Xu wrote: > On Thu, Sep 10, 2015 at 03:21:39PM +0200, LABBE Corentin wrote: > > Some driver use a modified version of sg_nents_for_len with an > > additional parameter bool *chained for knowing if the scatterlist is > > chained or not. > > > > So,

[PATCH RESEND] mfd: Fixup clients of multi_reg_write/register_patch

2015-09-18 Thread Charles Keepax
From: Nariman Poushin Introduced by: commit 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / register_patch") Interacting with: commit 561629755a21 ("mfd: arizona: Add support for WM8998 and WM1814") commit 81207880cef2 ("mfd: wm5110: Add

Re: [PATCH 1/5] ARM: sunxi: Add R8 support

2015-09-18 Thread Maxime Ripard
On Fri, Sep 18, 2015 at 05:47:44PM +0800, Chen-Yu Tsai wrote: > On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard > wrote: > > The R8 is a new Allwinner SoC based on the A13. While both are very > > similar, there's still a few differences. Introduce a new

Re: [PATCH 3.12 16/33] isdn/gigaset: reset tty->receive_room when attaching ser_gigaset

2015-09-18 Thread Tilman Schmidt
Am 17.09.2015 um 20:13 schrieb Peter Hurley: > On Wed, Sep 16, 2015 at 7:26 AM, Tilman Schmidt wrote: >> Am 16.09.2015 um 03:18 schrieb Peter Hurley: >>> On Tue, Sep 15, 2015 at 8:37 PM, Tilman Schmidt wrote: Am 16.09.2015 um 01:08 schrieb Peter Hurley: >

spi-imx: wait_for_completion should timeout even in non-DMA transfer cases

2015-09-18 Thread Jean-Michel Hautbois
Hi, I am wondering why in spi-imx the spi_imx_pio_transfer() function is calling wait_for_completion() and not wait_for_completion_timeout() as in the spi_imx_dma_transfer() one. I can't see a good reason for this, maybe should it be calculated based on the spi clock and transfer->len, or at

Re: [PATCH 4/7] lib: introduce sg_nents_for_len2

2015-09-18 Thread LABBE Corentin
On Fri, Sep 18, 2015 at 08:22:13PM +0800, Herbert Xu wrote: > On Fri, Sep 18, 2015 at 02:20:48PM +0200, LABBE Corentin wrote: > > > > I will send the modified patch series with this function name soon. > > You only need to resend patches 4-7. > Since I have used badly get_maintainer.pl, I need

Re: [PATCH 4/7] lib: introduce sg_nents_for_len2

2015-09-18 Thread Herbert Xu
On Fri, Sep 18, 2015 at 02:42:34PM +0200, LABBE Corentin wrote: > Since I have used badly get_maintainer.pl, I need to resend all patchs with > all proper recipient. > And I have respelled some patch. (like for sahara which have an empty commit > log). OK. Cheers, -- Email: Herbert Xu

Re: [RFC PATCH v2 0/7] Pseudo-NMI for arm64 using ICC_PMR_EL1 (GICv3)

2015-09-18 Thread Daniel Thompson
On 18/09/15 06:11, Jon Masters wrote: On Sep 14, 2015, at 06:26, Daniel Thompson wrote: This patchset provides a pseudo-NMI for arm64 kernels by reimplementing the irqflags macros to modify the GIC PMR (the priority mask register is accessible as a system register on

[PATCH 2/3] ASoC: wm0010: fix memory leak

2015-09-18 Thread Sudip Mukherjee
We have requested for the firmware but we have missed releasing it both on success and on error path. While checking the code it turned out that the requested firmware is not even used. More over the same firmware is being loaded by wm0010_stage2_load(). Signed-off-by: Sudip Mukherjee

Re: [RFCv5 PATCH 32/46] sched: Energy-aware wake-up task placement

2015-09-18 Thread Dietmar Eggemann
On 02/09/15 18:11, Leo Yan wrote: > On Tue, Jul 07, 2015 at 07:24:15PM +0100, Morten Rasmussen wrote: >> Let available compute capacity and estimated energy impact select >> wake-up target cpu when energy-aware scheduling is enabled and the >> system in not over-utilized (above the tipping point).

Re: [PATCH RFC 0/8] Add New DRM Driver for Hisilicon's Hi6220 SoC

2015-09-18 Thread Xinwei Kong
hi Daniel Stone: On 2015/9/16 23:23, Daniel Stone wrote: > Hi Xinwei, > Thanks for this contribution! We look forward to seeing support for > these devices. > > This isn't an exhaustive review, but two very high-level comments > which should result in a lot of changes ... > > On 15 September

[PATCH] macvtap: fix TUNSETSNDBUF values > 64k

2015-09-18 Thread Michael S. Tsirkin
Upon TUNSETSNDBUF, macvtap reads the requested sndbuf size into a local variable u. commit 39ec7de7092b ("macvtap: fix uninitialized access on TUNSETIFF") changed its type to u16 (which is the right thing to do for all other macvtap ioctls), breaking all values > 64k. The value of TUNSETSNDBUF

[PULL] vhost: cleanups and fixes

2015-09-18 Thread Michael S. Tsirkin
The following changes since commit 997e120843e82609c8d99a9d5714e6cf91e14cbe: virtio_balloon: do not change memory amount visible via /proc/meminfo (2015-09-08 13:32:11 +0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus

Re: [PATCH] macvtap: fix TUNSETSNDBUF values > 64k

2015-09-18 Thread Christian Borntraeger
Am 18.09.2015 um 12:41 schrieb Michael S. Tsirkin: > Upon TUNSETSNDBUF, macvtap reads the requested sndbuf size into > a local variable u. > commit 39ec7de7092b ("macvtap: fix uninitialized access on > TUNSETIFF") changed its type to u16 (which is the right thing to > do for all other macvtap

Re: [PATCH] SUNRPC: Fix a race in xs_reset_transport

2015-09-18 Thread Suzuki K. Poulose
On 17/09/15 15:50, Trond Myklebust wrote: On Thu, 2015-09-17 at 10:18 -0400, Jeff Layton wrote: On Thu, 17 Sep 2015 09:38:33 -0400 Trond Myklebust wrote: On Tue, Sep 15, 2015 at 2:52 PM, Jeff Layton < jlay...@poochiereds.net> wrote: On Tue, 15 Sep 2015

[PATCH v4] netlink: Fix autobind race condition that leads to zero port ID

2015-09-18 Thread Herbert Xu
On Fri, Sep 18, 2015 at 02:36:09PM +0800, Herbert Xu wrote: > > But yes there are ordering issues here so I've decided to make > rhashtable use a new field for its hash instead. > > Note that I've dropped the acks as this patch is now substantially > different. v3 doesn't apply to the current

[PATCH] fbdev: broadsheetfb: fix memory leak

2015-09-18 Thread Sudip Mukherjee
On the error path we have missed releasing the firmware. Signed-off-by: Sudip Mukherjee --- drivers/video/fbdev/broadsheetfb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/broadsheetfb.c

Re: [PATCH] sched: access local runqueue directly in single_task_running

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 01:26:53PM +0200, Paolo Bonzini wrote: > > +++ b/kernel/sched/core.c > > @@ -2614,13 +2614,13 @@ unsigned long nr_running(void) > > > > /* > > * Check if only the current task is running on the cpu. > > + * > > + * Caution result is subject to

Re: [PATCH 2/5] ARM: sun5i: Add R8 DTSI

2015-09-18 Thread Maxime Ripard
On Fri, Sep 18, 2015 at 05:41:47PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard > wrote: > > The R8 is very close to the A13, but it still has a few differences, > > notably a composite output, which the A13 lacks. > > > >

Re: [PATCH 0/5] ARM: sunxi: Introduce CHIP support

2015-09-18 Thread Maxime Ripard
Hi Arnd, On Fri, Sep 18, 2015 at 11:02:33AM +0200, Arnd Bergmann wrote: > On Friday 18 September 2015 10:48:45 Maxime Ripard wrote: > > > > Here is a serie introducing the support for the Allwinner R8 and the > > Nextthing's CHIP. > > > > Support is almost complete for the CHIP itself, the only

[PATCH 00/14] ARM: dts: apq8064 dt cleanups and additions

2015-09-18 Thread Srinivas Kandagatla
Hi Andy, Here are few cleanup and additions to the existing APQ8064 device tree. Some of the patches are to do with princtrl cleanup which was always not in the right place and some of the pinctrls were missing. Other set of patches is to do with adding more devices like rtc rng and pwr key for

Re: [PATCH 1/3] ASoC: wm0010: disable regulator on error

2015-09-18 Thread Sudip Mukherjee
On Fri, Sep 18, 2015 at 12:34:12PM +0100, Charles Keepax wrote: > On Fri, Sep 18, 2015 at 04:02:19PM +0530, Sudip Mukherjee wrote: > > We have done regulator_bulk_enable() while booting the DSP but on the > > error exit path we have not disbled it. > > > > Signed-off-by: Sudip Mukherjee

[PATCH 4/4] ARM: dts: sun8i: Add pwm-backlight device for A23/A33 Q8 format tablets

2015-09-18 Thread Chen-Yu Tsai
The LCD backlight on the A23/A33 Q8 format tablets is enabled with a GPIO controlled regulator, and brightness controlled with the SoC's PWM controller. The backlight is powered from the AXP223 PMIC's DC1SW output, which is not supported yet. A proper bootloader is required to enable it. The

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-18 Thread Huan Wang
> On Thu, Sep 17, 2015 at 05:03:34PM +0800, Alison Wang wrote: > > Add Freescale LS1021A initial defconfig file. > > The LS1021A SoC is a dual-core Cortex-A7 based processor. > > > > LS1021A has some special configurations against imx_v6_v7_defconfig > > and multi_v7_defconfig, such as

Re: 4.3-rc1 dirty page count underflow (cgroup-related?)

2015-09-18 Thread Greg Thelen
Greg Thelen wrote: > Dave Hansen wrote: > >> I've been seeing some strange behavior with 4.3-rc1 kernels on my Ubuntu >> 14.04.3 system. The system will run fine for a few hours, but suddenly >> start becoming horribly I/O bound. A compile of perf for instance takes >> 20-30 minutes and the

[PATCH] drm/amdgpu: fix memory leak

2015-09-18 Thread Sudip Mukherjee
If amdgpu_ib_get() fails we returned the error code but we missed freeing ib. Signed-off-by: Sudip Mukherjee --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

[PATCH 2/3] f2fs: use correct flag in f2fs_map_blocks()

2015-09-18 Thread Chao Yu
We introduce F2FS_GET_BLOCK_READ in commit e2b4e2bc8865 ("f2fs: fix incorrect mapping for bmap"), but forget to use this flag in the right place, fix it. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] Staging: android: Fix 80 character length

2015-09-18 Thread Punit Vara
This patch is to the Kconfig file which fixes up lines which exceeded the standard 80 character limitation. This file also fixes up 3 warnings regarding paragraph. Signed-off-by: Punit Vara --- drivers/staging/android/Kconfig | 28

[PATCH v2 1/1] fs/proc/array.c: set overflow flag in case of error

2015-09-18 Thread Andy Shevchenko
For now in task_name() we ignore the return code of string_escape_str() call. This is not good if buffer suddenly becomes not big enough. Do the proper error handling there. Signed-off-by: Andy Shevchenko --- fs/proc/array.c | 10 +- 1 file changed, 5

Re: [PATCH v2 7/9] [media] v4l2: introduce v4l2_timeval

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 10:05:06 Hans Verkuil wrote: > On 09/17/15 23:19, Arnd Bergmann wrote: > > The v4l2 API uses a 'struct timeval' to communicate time stamps to user > > space. This is broken on 32-bit architectures as soon as we have a C library > > that defines time_t as 64 bit, which

[PATCH v2 2/2] ARM: irqchip: mxs: add Alpascale ASM9260 support

2015-09-18 Thread Oleksij Rempel
From: Oleksij Rempel Freescale iMX23/iMX28 and Alphascale ASM9260 have similar interrupt collectors. It makes easy to reuse irq-mxs code for ASM9260. Differences between this devices are fallowing: - different register offsets - different count of intterupt

Re: [PATCH v2 7/9] [media] v4l2: introduce v4l2_timeval

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 11:27:40 Hans Verkuil wrote: > Ah, OK. Got it. > > I think this is dependent on the upcoming media workshop next month. If we > decide to redesign v4l2_buffer anyway, then we can avoid timeval completely. > And the only place where we would need to convert it in the

Re: [PATCH 3/4] input: Add new sun4i-keypad driver

2015-09-18 Thread Maxime Ripard
Hi Yassin, On Fri, Sep 18, 2015 at 10:19:55AM +1000, Yassin Jaffer wrote: > Hi Maxime > > I appreciate your time and efforts . > > Do you need that rate to be enforced, or is it some leftover from the > > allwinner BSP? > > > I've found that clock rate works fine with the default denounce and

Re: [PATCH] perf tools: session: avoid infinite loop

2015-09-18 Thread Mark Rutland
On Fri, Sep 18, 2015 at 07:09:16AM +0100, Adrian Hunter wrote: > On 17/09/15 18:41, Mark Rutland wrote: > > Hi, > > > > On Wed, Sep 16, 2015 at 09:54:54PM +0100, Arnaldo Carvalho de Melo wrote: > >> Em Wed, Sep 16, 2015 at 06:18:49PM +0100, Mark Rutland escreveu: > >>> This has been observed to

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-18 Thread Rob Herring
On Fri, Sep 18, 2015 at 4:15 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On Sep 17, 2015, at 17:13 , Rob Herring wrote: >> >> On 09/16/2015 11:11 AM, Pantelis Antoniou wrote: >>> Changesets are very powerful, but the lack of a helper API >>> makes

Re: [PATCH] tty/serial: at91: move ATMEL_MAX_UART

2015-09-18 Thread Nicolas Ferre
Le 10/09/2015 11:29, Alexandre Belloni a écrit : > Move ATMEL_MAX_UART from platform_data/atmel.h to atmel_serial.c as this is > the only file using it and it is common practise from tty/serial drivers to > define it directly in the driver file. > > Signed-off-by: Alexandre Belloni

Re: [PATCH perf/core ] [BUGFIX] perf probe: Fix a segfault when removing uprobe events

2015-09-18 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 18, 2015 at 11:26:22AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Sep 18, 2015 at 01:39:13AM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: > > Hi Arnaldo, > > > > Could you pull this bugfix as an urgent patch, since this fixes a critical > > problem? > > Sure, thanks for the

Re: [PATCH linux-next] usb: gadget: atmel_usba_udc: add ep capabilities support on device tree binding

2015-09-18 Thread Felipe Balbi
On Fri, Sep 18, 2015 at 04:22:07PM +0200, Nicolas Ferre wrote: > Le 07/09/2015 22:19, Sylvain Rochet a écrit : > > The recently added endpoint capabilities flags verification breaks Atmel > > USBA because the endpoint configuration was only added when the driver > > is bound using the legacy pdata

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Jens Axboe
On 09/18/2015 12:06 AM, Linus Torvalds wrote: Gaah, my mailer autocompleted Jens' email with an old one.. Sorry for the repeat email with the correct address. On Thu, Sep 17, 2015 at 11:04 PM, Linus Torvalds wrote: On Thu, Sep 17, 2015 at 10:40 PM, Dave Chinner

Re: Failover root devices

2015-09-18 Thread Austin S Hemmelgarn
On 2015-09-17 13:30, Drew DeVault wrote: That said, using the term failover for this is probably not the best idea, many people associate it almost exclusively with online failover and high-availability setups, and trying to do something like that with the root file system is just asking for

Re: [PATCH] usb: gadget: atmel: remove useless include

2015-09-18 Thread Nicolas Ferre
Le 10/08/2015 16:29, Alexandre Belloni a écrit : > Definitions from linux/platform_data/atmel.h are not used, remove the > include. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- >

Re: Failover root devices

2015-09-18 Thread Austin S Hemmelgarn
On 2015-09-17 14:40, Richard Weinberger wrote: Am 17.09.2015 um 20:37 schrieb Austin S Hemmelgarn: On 2015-09-17 13:47, Richard Weinberger wrote: On Thu, Sep 17, 2015 at 1:49 PM, Drew DeVault wrote: On 2015-09-17 1:40 PM, Ortwin Glück wrote: You can do that completely in

Re: [PATCH] doc: add information about max_ptes_swap

2015-09-18 Thread Rik van Riel
On 09/17/2015 05:34 PM, Ebru Akagunduz wrote: > max_ptes_swap specifies how many pages can be brought in from > swap when collapsing a group of pages into a transparent huge page. > > /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_swap > > A higher value can cause excessive swap IO and

[PATCH v9 03/18] KVM: arm/arm64: select IRQ_BYPASS_MANAGER

2015-09-18 Thread Feng Wu
From: Eric Auger Select IRQ_BYPASS_MANAGER when CONFIG_KVM is set Also add compilation of virt/lib. Signed-off-by: Eric Auger Signed-off-by: Feng Wu --- v3 -> v4: - add compilation of virt/lib in arm/arm64 KVM v2 -> v3: - [Feng

[PATCH v9 10/18] KVM: Make struct kvm_irq_routing_table accessible

2015-09-18 Thread Feng Wu
Move struct kvm_irq_routing_table from irqchip.c to kvm_host.h, so we can use it outside of irqchip.c. Signed-off-by: Feng Wu Reviewed-by: Paolo Bonzini --- include/linux/kvm_host.h | 14 ++ virt/kvm/irqchip.c | 10 -- 2 files

[PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series

2015-09-18 Thread Feng Wu
VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in non-root mode. You can find the VT-d Posted-Interrtups Spec. in

[PATCH v9 08/18] KVM: Add some helper functions for Posted-Interrupts

2015-09-18 Thread Feng Wu
This patch adds some helper functions to manipulate the Posted-Interrupts Descriptor. Signed-off-by: Feng Wu Reviewed-by: Paolo Bonzini --- arch/x86/kvm/vmx.c | 26 ++ 1 file changed, 26 insertions(+) diff --git

[PATCH] staging: comedi: comedi_fops.c: remove bogus kernel-doc for runflags

2015-09-18 Thread Ian Abbott
The comment before the `COMEDI_SRF_...` macros starts with a kernel-doc mark but isn't valid kernel-doc. There isn't a kernel-doc template for a group of macro constants. These macros are all private anyway, so don't really need to be in kernel-doc. Just change it to a normal comment.

[PATCH v9 16/18] KVM: Update Posted-Interrupts Descriptor when vCPU is preempted

2015-09-18 Thread Feng Wu
This patch updates the Posted-Interrupts Descriptor when vCPU is preempted. sched out: - Set 'SN' to suppress furture non-urgent interrupts posted for the vCPU. sched in: - Clear 'SN' - Change NDST if vCPU is scheduled to a different CPU - Set 'NV' to POSTED_INTR_VECTOR Signed-off-by: Feng Wu

<    8   9   10   11   12   13   14   15   16   17   >