[PATCH] usb: gadget: f_fs: add usb_functionfs_descs_head_v2

2014-09-01 Thread Zhuang Jin Can
Add usb_functionfs_descs_head_v2 structure for the new layout of descriptors. Signed-off-by: Zhuang Jin Can --- include/uapi/linux/usb/functionfs.h |9 + 1 file changed, 9 insertions(+) diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h index 015

Re: [PATCH] PM / Domains: Make generic_pm_domain.name const

2014-09-01 Thread Geert Uytterhoeven
Hi Rafael, On Tue, Sep 2, 2014 at 1:50 AM, Rafael J. Wysocki wrote: >> Signed-off-by: Geert Uytterhoeven > > I'm going to apply this one. Does anything depend on it? Thanks. So far nothing depends on it. >> --- >> include/linux/pm_domain.h |2 +- >> 1 file changed, 1 insertion(+), 1 dele

Re: [uas/3.16.1] panic in uas_data_cmplt()

2014-09-01 Thread Hans de Goede
Hi, On 09/02/2014 06:18 AM, Chunwei Chen wrote: > Dear all: > > The kernel version is 3.16.1-1-ARCH > > Today I keep getting this panic when booting up. > http://i.imgur.com/0Rx93Kr.jpg > > It might be that the UAS device was in some strange state, > because that after I unplugged and power-cyc

[PATCH] Input: cap1106 - fix register definition

2014-09-01 Thread Klaus Goger
Use the correct register address for Calibration Active and Interrupt Enable Signed-off-by: Klaus Goger --- drivers/input/keyboard/cap1106.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/keyboard/cap1106.c b/drivers/input/keyboard/cap1106.c index 180b184..

Re: [PATCH 1/4] x86, fpu: introduce per-cpu "bool in_kernel_fpu"

2014-09-01 Thread Suresh Siddha
On Fri, Aug 29, 2014 at 11:16 AM, Oleg Nesterov wrote: > interrupted_kernel_fpu_idle() tries to detect if kernel_fpu_begin() > is safe or not. In particulat it should obviously deny the nested > kernel_fpu_begin() and this logic doesn't look clean. > > If use_eager_fpu() == T we rely on a) __threa

Re: early microcode: how to disable at runtime?

2014-09-01 Thread Borislav Petkov
On Mon, Sep 01, 2014 at 04:59:21PM -0300, Henrique de Moraes Holschuh wrote: > On Mon, 01 Sep 2014, H. Peter Anvin wrote: > > No, it is worse to rename it and have older kernels behave differently. > > Kernel options are basically super obscure to most people anyway. > > Ok, so rename is out, alth

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Jason Wang
On 09/02/2014 02:03 PM, Eliezer Tamir wrote: > On 02/09/2014 06:35, Jason Wang wrote: >> On 09/01/2014 02:55 PM, Eliezer Tamir wrote: >>> On 26/08/2014 10:16, Jason Wang wrote: On 08/25/2014 09:16 PM, Eliezer Tamir wrote: >>> Think about the case where two processes are busy polling on the >>>

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Eliezer Tamir
On 02/09/2014 06:29, Jason Wang wrote: > On 09/01/2014 02:39 PM, Eliezer Tamir wrote: >> On 29/08/2014 06:08, Jason Wang wrote: Yes, but rx busy polling only works in process context and does not disable bh, so it may be not an issue. >> sk_busy_loop() uses rcu_read_lock_bh(), so it does

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Peter Zijlstra
On Tue, Sep 02, 2014 at 11:38:40AM +0800, Jason Wang wrote: > I see, how about just exporting a boolean helper like > current_can_busy_loop() and take care all of the conditions (pending bhs > and rcu callbacks, runnable processes) in scheduler code itself? How is that going to help the cases that

Re: [PATCH] init/Kconfig: Add ENDIAN attributes for all architectures using

2014-09-01 Thread Chen Gang
On 9/2/14 13:17, Paul Gortmaker wrote: > [Re: [PATCH] init/Kconfig: Add ENDIAN attributes for all architectures using] > On 01/09/2014 (Mon 10:01) H. Peter Anvin wrote: > >> On 09/01/2014 09:08 AM, Paul Gortmaker wrote: > diff --git a/init/Kconfig b/init/Kconfig index ac033c3..f30

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Eliezer Tamir
On 02/09/2014 06:35, Jason Wang wrote: > On 09/01/2014 02:55 PM, Eliezer Tamir wrote: >> On 26/08/2014 10:16, Jason Wang wrote: >>> On 08/25/2014 09:16 PM, Eliezer Tamir wrote: >> Think about the case where two processes are busy polling on the >> same CPU and the same device queue. Since busy pol

Re: Re: [PATCH 1/3] scsi/trace: Use macros for getting driver byte, host byte, msg byte, and status byte

2014-09-01 Thread Yoshihiro YUNOMAE
(2014/09/02 0:15), Christoph Hellwig wrote: On Mon, Sep 01, 2014 at 12:33:28PM +, Yoshihiro YUNOMAE wrote: For getting driver byte, host byte, msg byte, and status byte, macros are implemented in scsi/scsi.h, so we use it. As mentioned about three times in various previous scsi logging dis

Re: [PATCH 20/41] perf tools: Let a user specify a PMU event without any config terms

2014-09-01 Thread Adrian Hunter
On 09/01/2014 10:11 PM, Jiri Olsa wrote: > On Mon, Sep 01, 2014 at 09:27:17AM +0300, Adrian Hunter wrote: >> On 08/30/2014 11:53 AM, Jiri Olsa wrote: >>> On Fri, Aug 29, 2014 at 09:48:51PM +0300, Adrian Hunter wrote: On 16/07/2014 9:22 p.m., Jiri Olsa wrote: > On Wed, Jul 16, 2014 at 06:04

Re: [PATCH] init/Kconfig: Add ENDIAN attributes for all architectures using

2014-09-01 Thread Paul Gortmaker
[Re: [PATCH] init/Kconfig: Add ENDIAN attributes for all architectures using] On 01/09/2014 (Mon 10:01) H. Peter Anvin wrote: > On 09/01/2014 09:08 AM, Paul Gortmaker wrote: > >>> > >> diff --git a/init/Kconfig b/init/Kconfig > >> index ac033c3..f301cc8 100644 > >> --- a/init/Kconfig > >> +++ b/i

Re: [PATCH 0/4] x86, fpu: copy_process's FPU paths cleanups

2014-09-01 Thread Suresh Siddha
On Wed, Aug 27, 2014 at 11:51 AM, Oleg Nesterov wrote: > Hello, > > Who can review this? And where should I send FPU changes? > > And it seems that nobody cares about 2 fixes I sent before. > Linus, I understand that you won't take them into v3.17, but > perhaps you can ack/nack them explicitly? I

Re: [PATCH] netlink: Safer deletion of sk_bind_node

2014-09-01 Thread David Miller
From: Harish Jenny K N Date: Mon, 1 Sep 2014 12:38:29 +0530 Firstly, you really need to fix your outgoing email so that your email address appears in your From: header properly. > From: Harish Jenny K N > > Unable to handle kernel NULL pointer dereference at virtual address > >

Re: [PATCH] x86, fpu: __restore_xstate_sig()->math_state_restore() needs preempt_disable()

2014-09-01 Thread Suresh Siddha
On Mon, Aug 25, 2014 at 11:08 AM, Oleg Nesterov wrote: > > Add preempt_disable() + preempt_enable() around math_state_restore() in > __restore_xstate_sig(). Otherwise __switch_to() after __thread_fpu_begin() > can overwrite fpu->state we are going to restore. > > Signed-off-by: Oleg Nesterov > Cc

Re: [PATCH 3/3] cpufreq: kirkwood: use the powersave multiplexer

2014-09-01 Thread Viresh Kumar
On 2 September 2014 00:17, Mike Turquette wrote: > @@ -150,7 +146,7 @@ static int kirkwood_cpufreq_probe(struct platform_device > *pdev) > err = PTR_ERR(priv.powersave_clk); > goto out_ddr; > } > - clk_prepare(priv.powersave_clk); > + clk_prepa

Re: [SMP BUG?] the return value of is_smp() is bug?

2014-09-01 Thread Leon Yu
On 2014-09-01, Wang Long wrote: > > Hi,all > > In kernel 3.17-rc2, when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = y > in .config file. the secondary core can not boot. > > when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = n in .config file, > the secondary core can boot. > > But this d

Re: [PATCH] cpufreq: intel_pstate: Remove unneeded variable

2014-09-01 Thread Viresh Kumar
On 1 September 2014 17:53, Gabriele Mazzotta wrote: > It should have been removed with commit d1b6848590af > ("cpufreq / intel_pstate: Optimize intel_pstate_set_policy") > > Signed-off-by: Gabriele Mazzotta > --- > drivers/cpufreq/intel_pstate.c | 4 > 1 file changed, 4 deletions(-) > > dif

Re: [PATCH net v5 4/4] tg3: Fix tx_pending checks for tg3_tso_bug

2014-09-01 Thread David Miller
From: Benjamin Poirier Date: Fri, 29 Aug 2014 13:46:31 -0700 > This puts us in the exceptional situation that a single skb that > triggers tg3_tso_bug() may require the entire tx ring. This is really silly. If you get fed crap, linearize the SKB, end of story. Don't try to be clever, and absol

Re: [PATCH v7 5/5] regulator: RK808: Remove pdata from the regulator

2014-09-01 Thread Doug Anderson
Chris, On Mon, Sep 1, 2014 at 2:47 AM, Chris Zhong wrote: > Signed-off-by: Chris Zhong > > --- > > Changes in v7: > - remove pdata struct from header file, add rk808_regulator struct > > Changes in v6: > - remove the redundant code > > Changes in v5: > - re-edit base on Mark's branch > > Changes

[uas/3.16.1] panic in uas_data_cmplt()

2014-09-01 Thread Chunwei Chen
Dear all: The kernel version is 3.16.1-1-ARCH Today I keep getting this panic when booting up. http://i.imgur.com/0Rx93Kr.jpg It might be that the UAS device was in some strange state, because that after I unplugged and power-cycled the UAS, everything went normal again. Does anyone know what's

Re: [REGRESSION] i915: failure to see Dell 30" monitor connected to a Lenovo Haswell docking station

2014-09-01 Thread Dave Airlie
On 2 September 2014 14:05, Theodore Ts'o wrote: > I recently upgraded to v3.17-rc3, and on my Lenovo T540p, I can no > longer see the my Dell 30" monitor when it is connected via the > docking station using a Displayport connector. This worked using 3.16 > kernel. > > If I connect to the monitor

Re: [PATCH] pci/probe: Enable CRS for Intel Haswell root ports

2014-09-01 Thread Bjorn Helgaas
[+cc Linus (author of ad7edfe04908), Matthew (author of 07ff9220908c from full history), Yinghai (author of 2f5d8e4ff947), Richard] On Thu, Aug 28, 2014 at 3:55 PM, Rajat Jain wrote: > The PCIe root port of the Intel Haswell CPU, has a behavior to endlessly > retry the configuration cycles, if an

[REGRESSION] i915: failure to see Dell 30" monitor connected to a Lenovo Haswell docking station

2014-09-01 Thread Theodore Ts'o
I recently upgraded to v3.17-rc3, and on my Lenovo T540p, I can no longer see the my Dell 30" monitor when it is connected via the docking station using a Displayport connector. This worked using 3.16 kernel. If I connect to the monitor using the mini-display, by passing the docking station, thin

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Jason Wang
On 09/01/2014 06:19 PM, Peter Zijlstra wrote: > On Mon, Sep 01, 2014 at 12:04:34PM +0200, Peter Zijlstra wrote: >> > On Mon, Sep 01, 2014 at 12:52:19PM +0300, Michael S. Tsirkin wrote: >>> > > On Mon, Sep 01, 2014 at 11:31:59AM +0200, Peter Zijlstra wrote: > > > On Fri, Aug 22, 2014 at 07:01:0

Re: [PATCH v7 3/5] RTC: RK808: add RTC driver for RK808

2014-09-01 Thread Doug Anderson
Chris, On Mon, Sep 1, 2014 at 2:43 AM, Chris Zhong wrote: > Adding RTC driver for supporting RTC device present inside RK808 PMIC. > > Signed-off-by: Chris Zhong > Signed-off-by: Zhang Qing > > --- > > Changes in v7: > Adviced by doug > - read rtc time from shadowed registers > Adviced by Dmitr

[RESEND PATCH] arm64: dts: add symlink

2014-09-01 Thread Pankaj Dubey
Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to match the ones in ARM architectures so that preprocessed device tree files can include various useful constant definitions. See commit c58299aa8754 ("kbuild: create an "include chroot" for DT bindings") merged in v3.10-rc1 for

Re: [PATCH v7 1/5] dt-bindings: Add RK808 device tree bindings document

2014-09-01 Thread Doug Anderson
Chris, On Mon, Sep 1, 2014 at 2:07 AM, Chris Zhong wrote: > Add device tree bindings documentation and a header file > for rockchip's RK808 pmic. > > Signed-off-by: Chris Zhong > Signed-off-by: Zhang Qing > > --- > > Changes in v7: > Advices by Mark Rutland > - modify description about clock-ce

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-09-01 Thread Yijing Wang
On 2014/8/13 0:25, Liviu Dudau wrote: > Some architectures do not have a simple view of the PCI I/O space > and instead use a range of CPU addresses that map to bus addresses. > For some architectures these ranges will be expressed by OF bindings > in a device tree file. > > This patch introduces

Re: [PATCH v7 1/5] dt-bindings: Add RK808 device tree bindings document

2014-09-01 Thread Doug Anderson
Chris, On Mon, Sep 1, 2014 at 2:07 AM, Chris Zhong wrote: > Add device tree bindings documentation and a header file > for rockchip's RK808 pmic. > > Signed-off-by: Chris Zhong > Signed-off-by: Zhang Qing > > --- > > Changes in v7: > Advices by Mark Rutland > - modify description about clock-ce

Re: [PATCH net-next] r8152: rename rx_buf_sz

2014-09-01 Thread David Miller
From: Hayes Wang Date: Tue, 2 Sep 2014 10:27:52 +0800 > The variable "rx_buf_sz" is used by both tx and rx buffers. Replace > it with "agg_buf_sz". > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [PATCH v7 1/5] dt-bindings: Add RK808 device tree bindings document

2014-09-01 Thread Doug Anderson
Chris, On Mon, Sep 1, 2014 at 2:07 AM, Chris Zhong wrote: > Add device tree bindings documentation and a header file > for rockchip's RK808 pmic. > > Signed-off-by: Chris Zhong > Signed-off-by: Zhang Qing > > --- > > Changes in v7: > Advices by Mark Rutland > - modify description about clock-ce

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Jason Wang
On 09/01/2014 06:04 PM, Peter Zijlstra wrote: > On Mon, Sep 01, 2014 at 12:52:19PM +0300, Michael S. Tsirkin wrote: >> On Mon, Sep 01, 2014 at 11:31:59AM +0200, Peter Zijlstra wrote: >>> On Fri, Aug 22, 2014 at 07:01:05AM +0200, Mike Galbraith wrote: > +++ b/include/net/busy_poll.h > @@ -10

RE: [PATCHv1 1/7] ASoC: simple-card: Merge single and muti DAI link code.

2014-09-01 Thread li.xi...@freescale.com
> > On Mon, Sep 01, 2014 at 03:34:12PM +0200, Andrew Lunn wrote: > > On Mon, Sep 01, 2014 at 12:29:35PM +0800, Xiubo Li wrote: > > > This patch merge single DAI link and muti-DAI links code together, > > > and simply the simple-card driver code. > > > It would be good to note that this breaks the

Re: [PATCH] drivers: net: NET_XGENE should depend on HAS_DMA

2014-09-01 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 29 Aug 2014 18:21:41 +0200 > If NO_DMA=y: ... > Signed-off-by: Geert Uytterhoeven Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.ke

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Jason Wang
On 09/01/2014 02:55 PM, Eliezer Tamir wrote: > On 26/08/2014 10:16, Jason Wang wrote: >> On 08/25/2014 09:16 PM, Eliezer Tamir wrote: >>> Here are my 2 cents: >>> I think Ingo's suggestion of only yielding to tasks with same or higher >>> priority makes sense. >> I'm not sure I get your meaning. Do

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Jason Wang
On 09/01/2014 02:39 PM, Eliezer Tamir wrote: > On 29/08/2014 06:08, Jason Wang wrote: >> > Yes, but rx busy polling only works in process context and does not >> > disable bh, so it may be not an issue. > sk_busy_loop() uses rcu_read_lock_bh(), so it does run with bh disabled. > > -Eliezer True, s

Re: [PATCH 1/2] gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error

2014-09-01 Thread Greg Kroah-Hartman
On Tue, Sep 02, 2014 at 10:25:55AM +0800, Axel Lin wrote: > 2014-09-02 10:11 GMT+08:00 Greg Kroah-Hartman : > > On Tue, Sep 02, 2014 at 09:47:37AM +0800, Axel Lin wrote: > >> 2014-08-03 10:36 GMT+08:00 Axel Lin : > >> > This driver uses GENERIC_IRQ_CHIP, so it needs to select > >> > GENERIC_IRQ_CH

Re: [PATCH 1/5] net: mvberlin_eth: add an Ethernet driver for Marvell Berlin

2014-09-01 Thread David Miller
From: Antoine Tenart Date: Fri, 29 Aug 2014 15:50:59 +0200 > +struct rx_desc { > + u16 buf_size; /* Buffer size */ > + u16 byte_cnt; /* Descriptor buffer byte count */ ... > + u16 byte_cnt; /* buffer byte count

Re: [PATCH 15/15] tty: serial: 8250: omap: add dma support

2014-09-01 Thread Sebastian Reichel
Hi, On Mon, Sep 01, 2014 at 07:47:53PM +0200, Sebastian Andrzej Siewior wrote: > On 08/29/2014 06:12 PM, Tony Lindgren wrote: > > Looks like the paste bug is there for sure, doing off idle and pasting > > 240 characters to the console can hang the UART RX after few attempts, > > and pasting 16 cha

RE: Regression: Wake up from Suspend to RAM crashes ToshibaSatellitelaptop to black screen

2014-09-01 Thread Hayes Wang
> From: Zhang Rui [mailto:rui.zh...@intel.com] > Sent: Monday, September 01, 2014 4:09 PM [...] > Hi, Hayes, > > We got a regression report complaining that wakeup from Suspend to RAM > crashes, please refer to > https://bugzilla.kernel.org/show_bug.cgi?id=82741 > > and it seems that it is intro

[PATCH] drm/panel: update innolux n116bge timings

2014-09-01 Thread Daniel Kurtz
There are several different models of N116BGE. According to the commit that added innolux_n116bge_mode [0], this N116BGE is for the eDP variety. [0] commit 0a2288c06aab73c966e82045c8f20b0e713baf2a Author: Thierry Reding Date: Thu Jul 3 14:02:59 2014 +0200 drm/panel: simple: Add Innolux N

Re: [PATCH] net: calxedaxgmac: fix driver dependencies

2014-09-01 Thread Rob Herring
On Mon, Sep 1, 2014 at 10:39 AM, Bartlomiej Zolnierkiewicz wrote: > Calxeda 1G/10G XGMAC Ethernet support should be available only on > Calxeda ECX-1000/2000 (Highbank/Midway) platforms. > > Signed-off-by: Bartlomiej Zolnierkiewicz > Acked-by: Kyungmin Park > Cc: Rob Herring > --- > drivers/ne

[PATCH net-next] r8152: rename rx_buf_sz

2014-09-01 Thread Hayes Wang
The variable "rx_buf_sz" is used by both tx and rx buffers. Replace it with "agg_buf_sz". Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index cc6

Re: [PATCH 1/2] gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error

2014-09-01 Thread Axel Lin
2014-09-02 10:11 GMT+08:00 Greg Kroah-Hartman : > On Tue, Sep 02, 2014 at 09:47:37AM +0800, Axel Lin wrote: >> 2014-08-03 10:36 GMT+08:00 Axel Lin : >> > This driver uses GENERIC_IRQ_CHIP, so it needs to select GENERIC_IRQ_CHIP >> > to >> > avoid build error. >> > >> > Fixes below build errors: >>

Re: [PATCH] ext4: fix comments about get_blocks

2014-09-01 Thread Theodore Ts'o
On Mon, Sep 01, 2014 at 10:16:02PM +0900, Seunghun Lee wrote: > get_blocks is renamed to get_block. > > Signed-off-by: Seunghun Lee Applied, thanks. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 1/2] gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error

2014-09-01 Thread Greg Kroah-Hartman
On Tue, Sep 02, 2014 at 09:47:37AM +0800, Axel Lin wrote: > 2014-08-03 10:36 GMT+08:00 Axel Lin : > > This driver uses GENERIC_IRQ_CHIP, so it needs to select GENERIC_IRQ_CHIP to > > avoid build error. > > > > Fixes below build errors: > > ERROR: "irq_alloc_domain_generic_chips" [drivers/gpu/ipu-v3

Re: [RESEND 0/5] PCIe, AER: Misc cleanup

2014-09-01 Thread Chen, Gong
On Wed, Aug 13, 2014 at 09:52:36PM -0400, Chen, Gong wrote: > Date: Wed, 13 Aug 2014 21:52:36 -0400 > From: "Chen, Gong" > To: Bjorn Helgaas > Cc: Randy Dunlap , Borislav Petkov , > Tony Luck , "linux-...@vger.kernel.org" > , "linux-kernel@vger.kernel.org" > > Subject: Re: [RESEND 0/5] PCIe,

Re: [PATCH 1/2] gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error

2014-09-01 Thread Axel Lin
2014-08-03 10:36 GMT+08:00 Axel Lin : > This driver uses GENERIC_IRQ_CHIP, so it needs to select GENERIC_IRQ_CHIP to > avoid build error. > > Fixes below build errors: > ERROR: "irq_alloc_domain_generic_chips" [drivers/gpu/ipu-v3/imx-ipu-v3.ko] > undefined! > ERROR: "irq_gc_mask_clr_bit" [drivers/

Re: [PATCH] init/Kconfig: Add ENDIAN attributes for all architectures using

2014-09-01 Thread Chen Gang
On 09/02/2014 01:01 AM, H. Peter Anvin wrote: > On 09/01/2014 09:08 AM, Paul Gortmaker wrote: >>> diff --git a/init/Kconfig b/init/Kconfig >>> index ac033c3..f301cc8 100644 >>> --- a/init/Kconfig >>> +++ b/init/Kconfig >>> @@ -23,6 +23,12 @@ config CONSTRUCTORS >>> config IRQ_WORK >>> boo

Re: [Intel-gfx] Regression in drm-intel caused by d91a2cb8e510

2014-09-01 Thread Alan Stern
On Mon, 1 Sep 2014, Damien Lespiau wrote: > On Mon, Sep 01, 2014 at 04:19:23PM -0400, Alan Stern wrote: > > Daniel: > > > > I'm encountering a problem with the drm-intel-nightly branch in your > > drm-intel repository. The symptom is that when I boot my laptop, at > > some point during the start

Re: [PATCH] mm: page_alloc: Default to node-ordering on 64-bit NUMA machines

2014-09-01 Thread Kamezawa Hiroyuki
(2014/09/01 21:55), Mel Gorman wrote: Zones are allocated by the page allocator in either node or zone order. Node ordering is preferred in terms of locality and is applied automatically in one of three cases. 1. If a node has only low memory 2. If DMA/DMA32 is a high percentage of memory

Re: [PATCH] netlink: Safer deletion of sk_bind_node

2014-09-01 Thread Eric W. Biederman
Harish Jenny K N writes: > From: Harish Jenny K N > > Unable to handle kernel NULL pointer dereference at virtual address > > (netlink_release+0x0/0x2a0) from [<8034e78c>] (sock_release+0x28/0xa4) > (sock_release+0x0/0xa4) from [<8034e830>] (sock_close+0x28/0x34) >

Re: pull request: wireless 2014-08-28

2014-09-01 Thread David Miller
From: "John W. Linville" Date: Thu, 28 Aug 2014 14:17:14 -0400 > Please pull this batch of fixes intended for the 3.17 stream. > > For the Bluetooth/6LowPAN/802.15.4 bits, Johan says: > > 'It contains a connection reference counting fix for LE where a > connection might stay up even though it s

Re: For review: user_namespace(7) man page

2014-09-01 Thread Eric W. Biederman
"Michael Kerrisk (man-pages)" writes: > On 08/30/2014 11:53 PM, Eric W. Biederman wrote: >> "Michael Kerrisk (man-pages)" writes: >>> For various reasons, my work on the namespaces man pages >>> fell off the table a while back. Nevertheless, the pages have >>> been close to completion for a wh

Re: [PATCH 03/12] of: Add binding document for MIPS GIC

2014-09-01 Thread Andrew Bresticker
On Mon, Sep 1, 2014 at 4:01 AM, Mark Rutland wrote: > On Fri, Aug 29, 2014 at 11:14:30PM +0100, Andrew Bresticker wrote: >> The Global Interrupt Controller (GIC) present on certain MIPS systems >> can be used to route external interrupts to individual VPEs and CPU >> interrupt vectors. It also su

[PATCH] regulator: rk808: Fix n_voltages for DCDC4

2014-09-01 Thread Axel Lin
The min_sel is 0, max_sel is 15, so n_voltages should be 16. Signed-off-by: Axel Lin --- drivers/regulator/rk808-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index 0d11df1..0da8867 10064

Re: [PATCH v4 00/16] Tegra124 CL-DVFS / DFLL clocksource, plus cpufreq

2014-09-01 Thread Mike Turquette
Quoting Tuomas Tynkkynen (2014-08-20 14:04:28) > v4 changes: > DFLL: > - fix wrong register accessors used for the DFLL_OUTPUT_CFG register > - I decided to leave the dfll_i2c_{readl,writel} separate since the > correct barrier function still needs to be called > - fix PMI

[PATCH 01/12] Staging: rtl8821ae: hal_bt_coexist: fix commenting style

2014-09-01 Thread An Ha
Fix commenting style from C99 comments to C89 comments Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/staging/rtl8821ae/rtl8821ae/hal

[PATCH 02/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue which requires a space before the open curly brace '{'. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/sta

[PATCH 03/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue which requires a space after the open parenthesis '('. Signed-off-by: An Ha --- .../staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 50 +++--- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexis

[PATCH 05/12] Staging: rtl8821ae: hal_bt_coexist: fix pointer placement coding style issue

2014-09-01 Thread An Ha
Fix pointer placement coding style issue, where using "foo *" is preferable over "foo*". Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drive

[PATCH 11/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue which requires a space after the equal sign '='. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/staging/rtl882

[PATCH 04/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue which requires a space after a comma. Signed-off-by: An Ha --- .../staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/st

[PATCH 10/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue where the open curly brace '{' should be on the same line as the if statement. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coe

[PATCH 07/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Remove unnecessary whitespace before a quoted newline. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/staging/rtl8821ae/rtl8821ae

[PATCH 08/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue where the if statement unnecessarily uses curly braces for one line statements. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl88

[PATCH 06/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Remove whitespace after open parenthesis '('. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/staging/rtl8821ae/rtl8821ae/hal_bt

[PATCH 12/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue which requires a blank line after declarations. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c b/drivers/staging/rtl8821ae/rtl8821ae/hal

[PATCH 09/12] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-09-01 Thread An Ha
Fix coding style issue where the else conditional statement should follow the closing curly brace '}'. Signed-off-by: An Ha --- drivers/staging/rtl8821ae/rtl8821ae/hal_bt_coexist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hal_bt_co

[PATCH 5/6] ACPICA: ACPI 5.1: Add support for runtime validation of _DSD package.

2014-09-01 Thread Lv Zheng
From: Mika Westerberg Adds ACPICA kernel runtime support to validate contents/format of the _DSD package, similar to the iASL support. Ported by Mika Westerberg. Signed-off-by: Mika Westerberg Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/nsprepkg.c | 39

[PATCH 0/6] ACPICA: 20140828 Release

2014-09-01 Thread Lv Zheng
The 20140828 ACPICA kernel-resident subsystem updates are linuxized based on the pm/linux-next branch to form this patchset. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 + default + COFNIG_ACPI=y 2. i386 + allyes + CONFIG_ACPI=y 3. i386 + de

[PATCH 4/6] ACPICA: Disassembler: Fix for gpio_int interrupt polarity flags.

2014-09-01 Thread Lv Zheng
From: Bob Moore The field is actually 2 bits, not 1. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/utresrc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/utresrc.c b/drivers/acpi/acpica/utresrc.c index 14cb6c0..5cd017

[PATCH 6/6] ACPICA: Update version to 20140828.

2014-09-01 Thread Lv Zheng
From: Bob Moore Version 20140828. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index b7c89d4..dc9d037 100644 --- a/include/acpi/acpixf.h +++ b/inc

[PATCH 3/6] ACPICA: Headers: Add GTDT flag definitions for the timer subtable.

2014-09-01 Thread Lv Zheng
From: Hanjun Guo Mostly by Hanjun Guo Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl3.h |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h index 787bcc8..5480cb2 100

[PATCH 2/6] ACPICA: ACPI 5.1/Disassembler: Add GICC affinity subtable to SRAT table.

2014-09-01 Thread Lv Zheng
From: Hanjun Guo Update template for SRAT. Add clock_domain to standard CPU affinity subtable. Mostly by Hanjun Guo Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl1.h | 19 +-- 1 file changed, 17 insertions(+), 2 deletions

[PATCH 1/6] ACPICA: Add _PSx names to the METHOD_NAME list.

2014-09-01 Thread Lv Zheng
From: Bob Moore Will be used by iASL. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acnames.h |4 1 file changed, 4 insertions(+) diff --git a/include/acpi/acnames.h b/include/acpi/acnames.h index c728113..f97804b 100644 --- a/include/acpi/acnames.h +++ b/include

RE: [PATCH v1 2/5] mfd: lpc_sch: better code manageability with chipset info struct

2014-09-01 Thread Chang, Rebecca Swee Fun
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: 01 September, 2014 6:25 PM > To: Lee Jones > Cc: Bjorn Helgaas; linux-kernel@vger.kernel.org; Samuel Ortiz; Chang, Rebecca > Swee Fun > Subject: Re: [PATCH v1 2/5] mfd: lpc_sch: better code man

RE: [PATCH v1 3/5] pci_ids: add support for Intel Quark ILB

2014-09-01 Thread Chang, Rebecca Swee Fun
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: 01 September, 2014 5:14 PM > To: Bjorn Helgaas > Cc: Lee Jones; linux-kernel@vger.kernel.org; Samuel Ortiz; Chang, Rebecca > Swee Fun; Ahmad, Josef > Subject: Re: [PATCH v1 3/5] pci_ids: add su

Re: [PATCH 04/12] MIPS: GIC: Move MIPS_GIC_IRQ_BASE into platform irq.h

2014-09-01 Thread Andrew Bresticker
On Mon, Sep 1, 2014 at 1:34 AM, Arnd Bergmann wrote: > On Sunday 31 August 2014 11:54:04 Andrew Bresticker wrote: >> On Sat, Aug 30, 2014 at 12:57 AM, Arnd Bergmann wrote: >> > On Friday 29 August 2014 15:14:31 Andrew Bresticker wrote: >> >> Define a generic MIPS_GIC_IRQ_BASE which is suitable fo

[PATCH] ARM: at91/dt: sam9g20: set at91sam9g20 pllb driver

2014-09-01 Thread Gaël PORTAY
The at91sam9g20 SOC uses its own pllb implementation which is different from the one inherited from at91sam9260 SOC. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91sam9g20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91s

Re: [PATCH] fs/super.c: do not shrink fs slab during direct memory reclaim

2014-09-01 Thread Dave Chinner
On Fri, Aug 29, 2014 at 05:57:22PM +0800, Xue jiufei wrote: > The patch trys to solve one deadlock problem caused by cluster > fs, like ocfs2. And the problem may happen at least in the below > situations: > 1)Receiving a connect message from other nodes, node queues a > work_struct o2net_listen_wo

Re: [PATCH] semaphore: Resolve some shadow warnings

2014-09-01 Thread Jeff Kirsher
On Mon, 2014-09-01 at 14:02 +0200, Peter Zijlstra wrote: > On Thu, Aug 28, 2014 at 05:19:26AM -0700, Jeff Kirsher wrote: > > From: Mark Rustad > > > > Resolve some shadow warnings resulting from using the name > > jiffies, which is a well-known global. This is not a problem > > of course, but it

Re: [PATCH v2] net: sh_eth: fix driver dependencies

2014-09-01 Thread Simon Horman
On Mon, Sep 01, 2014 at 06:36:19PM +0200, Geert Uytterhoeven wrote: > On Mon, Sep 1, 2014 at 4:25 PM, Bartlomiej Zolnierkiewicz > wrote: > > Renesas SuperH Ethernet support should be available only on > > Renesas ARM SoCs and SuperH architecture. > > > > Signed-off-by: Bartlomiej Zolnierkiewicz >

Re: [PATCH v2] usb: renesas_usbhs: fix driver dependencies

2014-09-01 Thread Simon Horman
On Mon, Sep 01, 2014 at 06:40:50PM +0200, Geert Uytterhoeven wrote: > On Mon, Sep 1, 2014 at 4:24 PM, Bartlomiej Zolnierkiewicz > wrote: > > Renesas USBHS controller support should be available only on > > Renesas ARM SoCs and SuperH architecture. > > > > Signed-off-by: Bartlomiej Zolnierkiewicz

Re: [PATCH] v4l: vsp1: fix driver dependencies

2014-09-01 Thread Simon Horman
On Mon, Sep 01, 2014 at 06:32:56PM +0200, Geert Uytterhoeven wrote: > On Mon, Sep 1, 2014 at 3:18 PM, Bartlomiej Zolnierkiewicz > wrote: > > Renesas VSP1 Video Processing Engine support should be available > > only on Renesas ARM SoCs. > > Thanks! > > > Signed-off-by: Bartlomiej Zolnierkiewicz

Re: [PATCH] PM / Domains: Make generic_pm_domain.name const

2014-09-01 Thread Rafael J. Wysocki
On Friday, August 29, 2014 03:13:21 PM Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven I'm going to apply this one. Does anything depend on it? > --- > include/linux/pm_domain.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/pm_domain.h

Re: [PATCH] powercap/rapl: lower warning level for domain detection

2014-09-01 Thread Rafael J. Wysocki
On Thursday, August 28, 2014 09:56:08 PM Jacob Pan wrote: > Many CPUs do not support complete set of RAPL domains, as a > result this detection failed message is very misleading and > annoying. So lower the warning message to info and reword. > > Signed-off-by: Jacob Pan What about printing a (i

[PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs interface code) the pm_states[] array is not populated initially, which causes setup_test_suspend() to always fail and the suspend testing during boot doesn't work any more. Fix the problem by using pm_lab

Re: [PATCH] ufs: fix deadlocks after mutex merge

2014-09-01 Thread Al Viro
On Tue, Sep 02, 2014 at 12:08:35AM +0100, Al Viro wrote: > Your commit message makes no sense - ufs_evict_inode() is *never* called > with that lock held, for one thing. I agree that "ufs: sb mutex merge + > mutex_destroy" was been badly broken and apparently never tested, though - > the bugs are

linux-next: Tree for Sep 1

2014-09-01 Thread Mark Brown
Changes since 20140829: The akpm-current gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 2553 2686 files changed, 98625 insertions(+), 79475 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g

Re: [PATCH] ufs: fix deadlocks after mutex merge

2014-09-01 Thread Al Viro
On Tue, Sep 02, 2014 at 02:30:24AM +0400, Alexey Khoroshilov wrote: > Commit 0244756edc4b ("ufs: sb mutex merge + mutex_destroy") introduces > deadlocks in ufs_new_inode() and ufs_free_inode() that call lock_ufs() > being already invoked with mutex held. > > ufs_free_inode() is always invoked with

linux-next: manual merge of the akpm-current tree with the tree

2014-09-01 Thread Mark Brown
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in scripts/checkpatch.pl between commit 8678fa326053d41 ("checkpatch: relax check for length of git commit IDs") from Linus' tree and what looks like the same commit from the akpm-current tree. I fixed it up by taking

[PATCH] ethernet: nvidia: Remove extra parens

2014-09-01 Thread David Wood
Remove unnecessary double parenthesis around if statement. Signed-off-by: David Wood --- drivers/net/ethernet/nvidia/forcedeth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c index 925b296..f

Re: [PATCH 0/2] KVM: minor cleanup and optimizations

2014-09-01 Thread Alexander Graf
On 28.08.14 15:13, Radim Krčmář wrote: > The first patch answers a demand for inline arch functions. > (There is a lot of constant functions that could be inlined as well.) > > Second patch digs a bit into the history of KVM and removes a useless > argument that seemed suspicious when preparing

[3.17-rc3] Warning in ieee80211_can_queue_work

2014-09-01 Thread Carlos R. Mafra
I am using the kernel 3.17-rc3 which I compiled today and I get the warning below right before suspending to RAM: [ 37.856537] [ cut here ] [ 37.856559] WARNING: CPU: 3 PID: 43 at /home/mafra/linux-2.6/net/mac80211/util.c:716 ieee80211_can_queue_work.isra.38+0x2d/0x40

[PATCH] ufs: fix deadlocks after mutex merge

2014-09-01 Thread Alexey Khoroshilov
Commit 0244756edc4b ("ufs: sb mutex merge + mutex_destroy") introduces deadlocks in ufs_new_inode() and ufs_free_inode() that call lock_ufs() being already invoked with mutex held. ufs_free_inode() is always invoked with mutex locked, while ufs_new_inode() is called with mutex locked two times of

Re: [PATCH] ipv6: fix rtnl locking in setsockopt for anycast and multicast

2014-09-01 Thread Hannes Frederic Sowa
Hi, On Mo, 2014-09-01 at 23:05 +0200, Sabrina Dubroca wrote: > Calling setsockopt with IPV6_JOIN_ANYCAST or IPV6_LEAVE_ANYCAST > triggers the assertion in addrconf_join_solict()/addrconf_leave_solict() > > ipv6_sock_ac_join(), ipv6_sock_ac_drop(), ipv6_sock_ac_close() need to > take RTNL before c

  1   2   3   4   5   6   7   >