[PATCHv1 3/4] staging:lustre:lnet: lib-md.c erase C99 // comments

2014-08-29 Thread Janet Liu
After changing the comments format, the other error disappears. So silences two checkpatch errors: ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu --- drivers/staging/lustre/lnet/lnet/lib-md.c |6 +++--- 1 file changed, 3 inser

[PATCHv1 2/4] staging:lustre:lnet: lib-md.c delete space before '(' for code style

2014-08-29 Thread Janet Liu
Silences the following checkpatch warning: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Janet Liu --- drivers/staging/lustre/lnet/lnet/lib-md.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/lu

[PATCHv1 1/4] staging:lustre:lnet: lib-md.c make line not over 80 characters

2014-08-29 Thread Janet Liu
Silences the following checkpatch warning: WARNING: line over 80 characters Signed-off-by: Janet Liu --- drivers/staging/lustre/lnet/lnet/lib-md.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/lib-md.c b/drivers/staging/

[PATCH] Export handle_fasteoi_irq

2014-08-29 Thread matwey
From: "Matwey V. Kornilov" handle_fasteoi_irq is required by drivers/gpio/gpio-zynq.c and drivers/gpio/gpio-sodaville.c We need to export it properly to avoid built issues like: [30003s] ERROR: "handle_fasteoi_irq" [drivers/gpio/gpio-zynq.ko] undefined! Signed-off-by: Matwey V. Kornilov ---

Re: [PATCH 7/7] mm/balloon_compaction: general cleanup

2014-08-29 Thread Konstantin Khlebnikov
On Sat, Aug 30, 2014 at 1:38 AM, Andrew Morton wrote: > On Wed, 20 Aug 2014 19:05:09 +0400 Konstantin Khlebnikov > wrote: > >> * move special branch for balloon migraion into migrate_pages >> * remove special mapping for balloon and its flag AS_BALLOON_MAP >> * embed struct balloon_dev_info into

Re: [PATCH 00/12] MIPS: GIC device-tree support

2014-08-29 Thread John Crispin
Hi Andrew, On 30/08/2014 00:14, Andrew Bresticker wrote: > Based on 3.17-rc2 and boot tested on Danube (+ out of tree patches) and > Malta. Lantiq makes a mips soc called danube. is this the same family or is this just a name collision between 2 chip vendors ? John -- To unsubscribe from

Re: [ANNOUNCE] (Resend) Tools to analyse PM and scheduling behaviour

2014-08-29 Thread Sundar
Hi Amit, On Tue, Aug 26, 2014 at 11:02 AM, Amit Kucheria wrote: > Consider the following examples: > > *On a given platform*, we see the same benchmark scores with and > without patchset ABC, but including patchset ABC leads to better "power > behaviour" i.e. requests of deeper idle states and/o

Re: [PATCH v8 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-08-29 Thread Daniel Borkmann
On 08/30/2014 01:01 AM, Alexei Starovoitov wrote: ... btw, I've spent last two days writing syscall manpage :( What is the best way to present it for review? If I just attach it raw, it's unreadable... I can include a link to html page, but man2html produces ugly pages comparing to what 'man' com

[PATCH] staging: comedi: addi_apci_1564: move boilerplate text to addi_apci_1564.c

2014-08-29 Thread Chase Southwood
Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- .../comedi/drivers/addi-data/hwdrv_apci1564.c | 23 -- drivers/staging/comedi/drivers/addi_apci_1564.c| 23 ++ 2 files changed, 23 insertions(+), 23 deletions(-) diff --git

Re: [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
Bjorn, Thanks for review. :) On 30-08-2014 12:12 AM, Bjorn Andersson wrote: > On Fri 29 Aug 07:30 PDT 2014, Pramod Gurav wrote: > >> This patch adds support for reset functions to reboot the boards >> with soc apq8064. >> >> CC: Linus Walleij >> CC: Bjorn Andersson >> CC: "Ivan T. Ivanov" >> C

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: > On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: > >> This patch releases gpiochip related resources by calling >> gpiochip_remove when either of gpiochip_add_pin_range and >> gpiochip_irqchip_add fails. >> >> CC: Linus Walleij >> CC: B

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: > On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: > >> This patch releases gpiochip related resources by calling >> gpiochip_remove when either of gpiochip_add_pin_range and >> gpiochip_irqchip_add fails. >> >> CC: Linus Walleij >> CC:

Re: [PATCH 0/2] IO voltage domain support for rk3188 and rk3288

2014-08-29 Thread Doug Anderson
Santosh, On Thu, Aug 28, 2014 at 2:26 PM, Santosh Shilimkar wrote: > On Thursday 28 August 2014 03:36 PM, Doug Anderson wrote: >> These two patches add support for automatically configuring the IO >> voltage domains on rk3188 and rk3288 SoCs. The first patch adds some >> new notification types t

Re: [PATCH 0/2] rockchip-i2s: add power setting for I2S controller and fix some critical bugs

2014-08-29 Thread Doug Anderson
Jianqun, On Fri, Aug 29, 2014 at 3:07 PM, Jianqun wrote: > Add optional power setting for i2s controller found on rk3066, rk3168 and > rk3288 > processors from rockchip, should according to hardware design. > > Default setting for I2S controller is powered by 3.3V, there needs this patch > if >

Re: [PATCH (net-next) v3] net: stmmac: fix warning from Sparse for socfpga

2014-08-29 Thread David Miller
From: Ley Foon Tan Date: Thu, 28 Aug 2014 12:59:46 +0800 > Warning: > drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:41: > sparse: cast removes address space of expression > drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:38: > sparse: incorrect type in assignment (different addr

RE: [PATCH 1/4] net: stmmac: enhance to support multiple device instances

2014-08-29 Thread Kweh, Hock Leong
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, August 30, 2014 11:06 AM > To: Kweh, Hock Leong > Cc: peppe.cavall...@st.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Ong, Boon Leong > Subject: Re: [PATCH 1/4] net: stmmac: enhance to

[PATCH v2] mmc:sdhci: handle busy-end interrupt during command

2014-08-29 Thread Chanho Min
It is fully legal for a controller to start handling busy-end interrupt before it has signaled that the command has completed. So make sure we do things in the proper order, Or it results that command interrupt is ignored so it can cause unexpected operations. This is founded at some toshiba emmc w

[RFC PATCH] powerpc: Wire up three syscalls

2014-08-29 Thread Pranith Kumar
I see that the three syscalls seccomp, getrandom and memfd_create are not wired because of which we get a warning while compilation. So I wired them up in this patch. What else needs to be done? I tried the memfd_test after compiling this kernel, but it is failing. What am I missing for this to wo

Re: [PATCH] drivers/xen/evtchn.c: Check failure for evtchn_make_refcounted()

2014-08-29 Thread Chen Gang
On 8/29/14 21:43, David Vrabel wrote: > On 29/08/14 14:34, Chen Gang wrote: >> >> >> On 8/28/14 23:49, David Vrabel wrote: >>> On 28/08/14 16:13, Chen Gang wrote: evtchn_make_refcounted() may return failure, so need process the failure case. In failure case, it need call unbind_from_irq

Re: [PATCH 0/4] Remove various orphaned header files

2014-08-29 Thread David Miller
From: Rasmus Villemoes Date: Thu, 28 Aug 2014 13:44:30 +0200 > These four files are not included anywhere, and seem to be accidental > leftovers from past cleanups (see the individual commit messages). Series applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH net-next v2] r8152: reduce the number of Tx

2014-08-29 Thread David Miller
From: Hayes Wang Date: Thu, 28 Aug 2014 10:24:18 +0800 > Because the Tx has the features of stopping queue and aggregation, > We don't need many tx buffers. Change the tx number from 10 to 4 > to reduce the usage of the memory. This could save 16K * 6 bytes > memory. > > Signed-off-by: Hayes Wan

Re: [PATCH 1/1] USB: Add device quirk for ASUS T100 Base Station keyboard

2014-08-29 Thread Lu, Baolu
On 8/29/2014 7:59 PM, Sergei Shtylyov wrote: Hello. On 8/29/2014 8:26 AM, Lu Baolu wrote: This full-speed USB device generates spurious remote wakeup event as soon as USB_DEVICE_REMOTE_WAKEUP feature is set. As the result, Linux can't enter system suspend and S0ix power saving modes once this

Re: [PATCH 1/4] net: stmmac: enhance to support multiple device instances

2014-08-29 Thread David Miller
From: Kweh Hock Leong Date: Wed, 27 Aug 2014 18:32:26 +0800 > @@ -26,27 +26,22 @@ > #include > #include "stmmac.h" > > -static struct plat_stmmacenet_data plat_dat; > -static struct stmmac_mdio_bus_data mdio_data; > -static struct stmmac_dma_cfg dma_cfg; > +static int instance_id = 1; Don't

Re: net_ns cleanup / RCU overhead

2014-08-29 Thread Paul E. McKenney
On Sat, Aug 30, 2014 at 01:52:06AM +0200, Florian Westphal wrote: > Eric W. Biederman wrote: > > Julian Anastasov writes: > > > > > Hello, > > > > > > On Thu, 28 Aug 2014, Simon Kirby wrote: > > > > > >> I noticed that [kworker/u16:0]'s stack is often: > > >> > > >> [] wait_rcu_gp+0x46/0x50 >

Re: [kselftest] kselftest wiki (was RE: [Ksummit-discuss] Fwd: Rough notes from testing unconference)

2014-08-29 Thread Shuah Khan
On Fri, Aug 29, 2014 at 7:09 PM, Bird, Tim wrote: > On Saturday, August 23, 2014 6:35 AM, Bird, Tim wrote: >> Also, I've requested a 'test' wiki on kernel.org, where we can place >> notes, ideas, and lists of things to work on, or things in progress >> (like possible output format guidelines). >>

Re: net_ns cleanup / RCU overhead

2014-08-29 Thread Paul E. McKenney
On Thu, Aug 28, 2014 at 05:40:29PM -0700, Simon Kirby wrote: > On Thu, Aug 28, 2014 at 01:46:58PM -0700, Paul E. McKenney wrote: > > > On Thu, Aug 28, 2014 at 03:33:42PM -0500, Eric W. Biederman wrote: > > > > > I just want to add a little bit more analysis to this. > > > > > > What we desire to

Re: [Patch v4] x86, irq, PCI: Keep IRQ assignment for runtime power management

2014-08-29 Thread Jiang Liu
On 2014/8/30 7:24, Rafael J. Wysocki wrote: > On Friday, August 29, 2014 04:42:34 PM Rafael J. Wysocki wrote: >> On Fri, Aug 29, 2014 at 11:26 AM, Jiang Liu >> wrote: >>> Now IOAPIC driver dynamically allocates IRQ numbers for IOAPIC pins. >>> We need to keep IRQ assignment for PCI devices duri

[alsa-devel] [PATCH v5 0/2] mfd: arizona: add support for INn_MODE register control

2014-08-29 Thread Inha Song
This patch series add support for INn_MODE register control using platform data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Changes for v5 - Change to use of_property_for_each_u32 Changes for v4 - Update document content for more clari

[alsa-devel] [PATCH v5 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-29 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ 1 file cha

[alsa-devel] [PATCH v5 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-29 Thread Inha Song
Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present, values must be specified less than or equal to the number of input singals. If values less than the number of input signals, elements that has not been specifed are

[f2fs-dev][PATCH v2] f2fs: reposition unlock_new_inode to prevent accessing invalid inode

2014-08-29 Thread Chao Yu
As the race condition on the inode cache, following scenario can appear: [Thread a] [Thread b] ->f2fs_mkdir ->f2fs_add_link ->__f2fs_add_link

Re: RTNL: assertion failed at net/ipv6/addrconf.c (1699)

2014-08-29 Thread Hannes Frederic Sowa
Hi Sabrina, On Fr, 2014-08-29 at 21:53 +0200, Sabrina Dubroca wrote: > 2014-08-29, 11:14:48 -0700, Cong Wang wrote: > > On Fri, Aug 29, 2014 at 8:26 AM, Tommi Rantala wrote: > > > [ 77.297196] RTNL: assertion failed at net/ipv6/addrconf.c (1699) > > > [ 77.298080] CPU: 0 PID: 4842 Comm: trini

[PATCH -mmotm] mm: fix kmemcheck.c build errors

2014-08-29 Thread Randy Dunlap
From: Randy Dunlap Add header file to fix kmemcheck.c build errors: ../mm/kmemcheck.c:70:7: error: dereferencing pointer to incomplete type ../mm/kmemcheck.c:83:15: error: dereferencing pointer to incomplete type ../mm/kmemcheck.c:95:8: error: dereferencing pointer to incomplete type ../mm/kmemc

[PATCH] staging: comedi: usbdux: fix sparse endianness warnings

2014-08-29 Thread Chase Southwood
Sparse has many warnings like: drivers/staging/comedi/drivers/usbdux.c:366:32: warning: cast to restricted __le16 on lines on which devpriv->in_buf or devpriv->insn_buf are passed to le16_to_cpu(). This suggests that both of these variables should actually be of type __le16. Signed-off-by: Chas

[PATCH] staging: comedi: usbduxsigma: fix sparse endianness warnings

2014-08-29 Thread Chase Southwood
Sparse has many warnings like: drivers/staging/comedi/drivers/usbduxsigma.c:293:21: warning: cast to restricted __be32 on lines on which devpriv->in_buf is passed to be32_to_cpu(). This suggests that this variable should actually be of type __be32. Signed-off-by: Chase Southwood Cc: Ian Abbott

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-29 Thread Wang Nan
On 2014/8/29 16:47, Jon Medhurst (Tixy) wrote: > On Thu, 2014-08-28 at 11:24 +0100, Will Deacon wrote: >> On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: >>> On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: (2014/08/27 22:02), Wang Nan wrote: > Th

Re: mm: BUG in unmap_page_range

2014-08-29 Thread Sasha Levin
On 08/27/2014 11:26 AM, Mel Gorman wrote: > diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h > index 281870f..ffea570 100644 > --- a/include/asm-generic/pgtable.h > +++ b/include/asm-generic/pgtable.h > @@ -723,6 +723,9 @@ static inline pte_t pte_mknuma(pte_t pte) > >

[kselftest] kselftest wiki (was RE: [Ksummit-discuss] Fwd: Rough notes from testing unconference)

2014-08-29 Thread Bird, Tim
On Saturday, August 23, 2014 6:35 AM, Bird, Tim wrote: > Also, I've requested a 'test' wiki on kernel.org, where we can place > notes, ideas, and lists of things to work on, or things in progress > (like possible output format guidelines). > > I'll let everyone know when the wiki is set up. There

Re: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-29 Thread Scott Wood
On Fri, 2014-08-29 at 02:17 -0500, Lu Jingchang-B35083 wrote: > >-Original Message- > >From: Wood Scott-B07421 > >Sent: Friday, August 29, 2014 12:26 AM > >To: Lu Jingchang-B35083 > >Cc: mturque...@linaro.org; linuxppc-...@lists.ozlabs.org; linux- > >ker...@vger.kernel.org; linux-arm-ker...

Re: debug_dma_assert_idle - ahci - cpu touching an active dma mapped cacheline

2014-08-29 Thread poma
On 11.05.2014 12:02, poma wrote: > > [ cut here ] > WARNING: CPU: 2 PID: 628 at lib/dma-debug.c:593 > debug_dma_assert_idle+0x159/0x1d0() > snd_hda_intel :00:07.0: DMA-API: cpu touching an active dma mapped > cacheline [cln=0x03074000] > CPU: 2 PID: 628 Comm: lightdm

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-08-29 Thread Courtney Cavin
On Sat, Aug 30, 2014 at 02:14:07AM +0200, Stephen Boyd wrote: > On 08/29/14 16:41, Courtney Cavin wrote: > > On Sat, Aug 30, 2014 at 01:14:23AM +0200, Bjorn Andersson wrote: > >> From: Kumar Gala > >> > >> Add driver for Qualcomm MSM Hardware Mutex block that exists on > >> newer Qualcomm SoCs. >

Re: [PATCH 3/3] ARM: zynq: DT: Add Ethernet phys

2014-08-29 Thread Florian Fainelli
On 08/29/2014 04:22 PM, Jason Gunthorpe wrote: > On Fri, Aug 29, 2014 at 11:23:57AM -0700, Florian Fainelli wrote: >> On 08/29/2014 10:31 AM, Jason Gunthorpe wrote: >>> On Fri, Aug 29, 2014 at 08:35:36AM -0700, Sören Brinkmann wrote: >>> The compatible string is listed as optional property for

[Q] threading and scope_process

2014-08-29 Thread Ian Kumlien
Hi, I have to admit that this is perhaps not the best time to write this, late in the evening after work but... =) A friend of mine recently started to develop things on Linux and got a bit confused since Linux lacks PTHREAD_SCOPE_PROCESS which just about all other OS:es seems to implement. (Ok,

Re: [RFC PATCH V2] PM/CPU: Parallel enalbing nonboot cpus with resume devices

2014-08-29 Thread Rafael J. Wysocki
On 8/29/2014 5:40 AM, Lan Tianyu wrote: On 2014年08月22日 16:33, Lan Tianyu wrote: In the current world, all nonboot cpus are enabled serially during system resume. System resume sequence is that boot cpu enables nonboot cpu one by one and then resume devices. Before resuming devices, there are few

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-08-29 Thread Stephen Boyd
On 08/29/14 16:41, Courtney Cavin wrote: > On Sat, Aug 30, 2014 at 01:14:23AM +0200, Bjorn Andersson wrote: >> From: Kumar Gala >> >> Add driver for Qualcomm MSM Hardware Mutex block that exists on >> newer Qualcomm SoCs. >> >> Cc: Jeffrey Hugo >> Cc: Eric Holmberg >> Cc: Courtney Cavin >> Sign

[RFC PATCH v4] tpm_tis: verify interrupt during init

2014-08-29 Thread Scot Doyle
On Thu, 28 Aug 2014, Jason Gunthorpe wrote: > On Thu, Aug 28, 2014 at 12:35:16AM +, Scot Doyle wrote: > >>> To move it means we have to understand why you are getting timeouts: >>> >>> [ 33.247720] tpm_tis 00:08: tpm_transmit: tpm_send: error -62 >>> [ 33.247731] tpm_tis 00:08: [Hardware E

Re: net_ns cleanup / RCU overhead

2014-08-29 Thread Florian Westphal
Eric W. Biederman wrote: > Julian Anastasov writes: > > > Hello, > > > > On Thu, 28 Aug 2014, Simon Kirby wrote: > > > >> I noticed that [kworker/u16:0]'s stack is often: > >> > >> [] wait_rcu_gp+0x46/0x50 > >> [] synchronize_sched+0x2e/0x50 > >> [] nf_nat_net_exit+0x2c/0x50 [nf_nat] > > >

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-08-29 Thread Courtney Cavin
On Sat, Aug 30, 2014 at 01:14:23AM +0200, Bjorn Andersson wrote: > From: Kumar Gala > > Add driver for Qualcomm MSM Hardware Mutex block that exists on > newer Qualcomm SoCs. > > Cc: Jeffrey Hugo > Cc: Eric Holmberg > Cc: Courtney Cavin > Signed-off-by: Kumar Gala > [bjorn: added pm_runtime

Re: [PATCH 3/3] ARM: zynq: DT: Add Ethernet phys

2014-08-29 Thread Jason Gunthorpe
On Fri, Aug 29, 2014 at 11:23:57AM -0700, Florian Fainelli wrote: > On 08/29/2014 10:31 AM, Jason Gunthorpe wrote: > > On Fri, Aug 29, 2014 at 08:35:36AM -0700, Sören Brinkmann wrote: > > > >> The compatible string is listed as optional property for PHYs. So, not > >> having one is an option, I gu

[PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-08-29 Thread Bjorn Andersson
From: Kumar Gala Add driver for Qualcomm MSM Hardware Mutex block that exists on newer Qualcomm SoCs. Cc: Jeffrey Hugo Cc: Eric Holmberg Cc: Courtney Cavin Signed-off-by: Kumar Gala [bjorn: added pm_runtime calls, from Courtney, added sfpb-mutex compatible, updated DT binding

Re: [PATCH RFC] rcu: assoc_array: Add critical section to avoid a bug

2014-08-29 Thread Andreea Bernat
On Fri, Aug 29, 2014 at 11:49:04PM +0100, David Howells wrote: > Andreea Bernat wrote: > > > Looks good to me. > > Can I put that down as a Reviewed-by? Yes, it is OK. Regards, Andreea > > Thanks, > David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [Patch v4] x86, irq, PCI: Keep IRQ assignment for runtime power management

2014-08-29 Thread Rafael J. Wysocki
On Friday, August 29, 2014 04:42:34 PM Rafael J. Wysocki wrote: > On Fri, Aug 29, 2014 at 11:26 AM, Jiang Liu wrote: > > Now IOAPIC driver dynamically allocates IRQ numbers for IOAPIC pins. > > We need to keep IRQ assignment for PCI devices during runtime power > > management, otherwise it may cau

Re: [PATCH v8 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-08-29 Thread Alexei Starovoitov
On Fri, Aug 29, 2014 at 3:24 PM, Daniel Borkmann wrote: >> >> Also I really dislike 'ebpf' name in all lower case. If we make such >> header >> file name, we would need to rename all macros and function names >> to EBPF_... which I find very ugly looking. I think all good abbreviations >> are >> t

Re: RTNL: assertion failed at net/ipv6/addrconf.c (1699)

2014-08-29 Thread Cong Wang
On Fri, Aug 29, 2014 at 12:53 PM, Sabrina Dubroca wrote: > 2014-08-29, 11:14:48 -0700, Cong Wang wrote: >> On Fri, Aug 29, 2014 at 8:26 AM, Tommi Rantala wrote: >> > [ 77.297196] RTNL: assertion failed at net/ipv6/addrconf.c (1699) >> > [ 77.298080] CPU: 0 PID: 4842 Comm: trinity-main Not tai

Re: [PATCH RFC] rcu: assoc_array: Add critical section to avoid a bug

2014-08-29 Thread David Howells
Andreea Bernat wrote: > Looks good to me. Can I put that down as a Reviewed-by? Thanks, David -- 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.kernel.org/majordomo-info.html Pleas

[GIT PULL] x86 fixes for v3.17-rc3

2014-08-29 Thread H. Peter Anvin
Hi Linus, One patch to avoid assigning interrupts we don't actually have on non-PC platforms, and two patches that addresses bugs in the new IOAPIC assignment code. The following changes since commit 7be141d0554921751db103b54e9f794956aa4f65: Merge branch 'x86-urgent-for-linus' of git://git.ke

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Greg KH
On Fri, Aug 29, 2014 at 01:52:00PM -0700, Andrew Morton wrote: > On Fri, 29 Aug 2014 13:44:31 -0700 Mike Travis wrote: > > > > > > > On 8/29/2014 1:16 PM, Andrew Morton wrote: > > > On Fri, 29 Aug 2014 14:53:28 -0500 Mike Travis wrote: > > > > > >> > > >> We have a large university system in

Re: [PATCH v8 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-08-29 Thread Daniel Borkmann
On 08/29/2014 08:02 PM, Alexei Starovoitov wrote: On Fri, Aug 29, 2014 at 10:39 AM, Daniel Borkmann wrote: On 08/27/2014 10:37 PM, Alexei Starovoitov wrote: allow user space to generate eBPF programs uapi/linux/bpf.h: eBPF instruction set definition linux/filter.h: the rest Very sorry for

[PATCH 2/2] rockchip-i2s: add power setting for I2S controller, also fix some bugs

2014-08-29 Thread Jianqun
changes: * add snd_soc_dai_init_dma_data * fix duplicated argument to "I2S_DMACR_TDE_DISABLE" * set 1.8v or 3.3v power for I2S controller by GRF interface * enable "hclk" always * dma maxburst change to 16 Requested on RK3XXX I2S controllers, and tested ok on rk3288-pinky board. Change-Id: If17b8

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

2014-08-29 Thread Andrew Bresticker
Define a generic MIPS_GIC_IRQ_BASE which is suitable for Malta and the upcoming Danube board in . Since Sead-3 is different and uses a MIPS_GIC_IRQ_BASE equal to the CPU IRQ base (0), define its MIPS_GIC_IRQ_BASE in . Signed-off-by: Andrew Bresticker --- arch/mips/include/asm/mach-generic/irq.h

[PATCH 08/12] MIPS: GIC: Implement generic irq_ack/irq_eoi callbacks

2014-08-29 Thread Andrew Bresticker
Implement a default gic_irq_ack() and gic_finish_irq(). These are suitable for handling IPIs on Malta and the upcoming Danube board. Signed-off-by: Andrew Bresticker --- arch/mips/kernel/irq-gic.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/mips/kernel/irq-gic.c b/a

[PATCH 02/12] MIPS: Set vint handler when mapping CPU interrupts

2014-08-29 Thread Andrew Bresticker
When mapping an interrupt in the CPU IRQ domain, set the vint handler for that interrupt if the CPU uses vectored interrupt handling. Signed-off-by: Andrew Bresticker --- arch/mips/kernel/irq_cpu.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/mips/kernel/irq_cpu.c b/arch/mips/ker

Re: [PATCH] ACPI: Add GPIO-signaled event emulator.

2014-08-29 Thread Rafael J. Wysocki
On Thursday, August 28, 2014 01:19:48 PM Tomasz Nowicki wrote: > On 26.08.2014 00:39, Rafael J. Wysocki wrote: > > On Thursday, August 21, 2014 04:39:46 PM Tomasz Nowicki wrote: > >> Hi Mika, > >> > >> On 21.08.2014 12:45, Mika Westerberg wrote: > >>> On Wed, Aug 20, 2014 at 04:58:20PM +0200, Tomas

[PATCH 01/12] MIPS: Provide a generic plat_irq_dispatch

2014-08-29 Thread Andrew Bresticker
For platforms which boot with device-tree and use the MIPS CPU interrupt controller binding, a generic plat_irq_dispatch() can be used since all CPU interrupts should be mapped through the CPU IRQ domain. Implement a plat_irq_dispatch() which simply handles the highest pending interrupt. Signed-o

[PATCH 09/12] MIPS: GIC: Fix gic_set_affinity() return value

2014-08-29 Thread Andrew Bresticker
If the online CPU check in gic_set_affinity() fails, return a proper errno value instead of -1. Signed-off-by: Andrew Bresticker --- arch/mips/kernel/irq-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/irq-gic.c b/arch/mips/kernel/irq-gic.c index 1764b0

mmotm 2014-08-29-15-15 uploaded

2014-08-29 Thread akpm
The mm-of-the-moment snapshot 2014-08-29-15-15 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH 05/12] MIPS: GIC: Add device-tree support

2014-08-29 Thread Andrew Bresticker
Add device-tree support for the MIPS GIC. With DT, no per-platform static device interrupt mapping is supplied and instead all device interrupts are specified through the DT. The GIC-to-CPU interrupts must also be specified in the DT. Platforms using DT-based probing of the GIC need only supply

[PATCH 11/12] MIPS: GIC: Use local interrupts for timer

2014-08-29 Thread Andrew Bresticker
Instead of using GIC interrupt 0 for the timer (which was not even handled correctly by the GIC irqchip code and could conflict with an actual external interrupt), use the designated local interrupt for the GIC timer. Also, since the timer is a per-CPU interrupt, initialize it with setup_percpu_ir

[PATCH 07/12] MIPS: GIC: Implement irq_set_type callback

2014-08-29 Thread Andrew Bresticker
Implement an irq_set_type callback for the GIC which is used to set the polarity and trigger type of GIC interrupts. Signed-off-by: Andrew Bresticker --- arch/mips/include/asm/gic.h | 9 arch/mips/kernel/irq-gic.c | 53 + 2 files changed, 62

[PATCH 10/12] MIPS: GIC: Support local interrupts

2014-08-29 Thread Andrew Bresticker
The MIPS GIC supports 7 local interrupts, 5 of which are just core interrupts which can be re-routed through the GIC. This patch adds support for mapping and handling the remaining two: the GIC timer and watchdog. GIC interrupts from 0 to GIC_NUM_INTRS are still the shared external interrupts whi

[PATCH 00/12] MIPS: GIC device-tree support

2014-08-29 Thread Andrew Bresticker
This series add support for mapping and routing GIC interrupts through the device-tree, which will be used on the upcoming interAptiv-based Danube SoC. - Patches 1 and 2 provide improvements to the CPU interrupt controller when used with DT. - Patches 3 through 7 add device-tree support for the

[PATCH 12/12] MIPS: Malta: Map GIC local interrupts

2014-08-29 Thread Andrew Bresticker
Now that the GIC driver properly supports local interrupts, extend the static interrupt mapping to include the GIC timer and watchdog and fix up the GIC interrupt setup and handling so that the local interrupts are properly handled. Note that ipi_map is also renamed to gic_irq_map since it is now

[PATCH 06/12] MIPS: GIC: Add generic IPI support when using DT

2014-08-29 Thread Andrew Bresticker
When DT-based probing is used for the GIC and the GIC is also used for IPIs (i.e. MIPS_GIC_IPI=y), set up the last 2 * NR_CPUs GIC interrupts as the reschedule and call IPIs. Signed-off-by: Andrew Bresticker --- arch/mips/kernel/irq-gic.c | 86 ++ 1 fi

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

2014-08-29 Thread Andrew Bresticker
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 supports a timer and software-generated interrupts. Signed-off-by: Andrew Bresticker --- Documentation/devicetree/bindings/mips/gi

[PATCH 0/2] rockchip-i2s: add power setting for I2S controller and fix some critical bugs

2014-08-29 Thread Jianqun
Add optional power setting for i2s controller found on rk3066, rk3168 and rk3288 processors from rockchip, should according to hardware design. Default setting for I2S controller is powered by 3.3V, there needs this patch if it's powered by 1.8V by hardware design. Jianqun (2): rockchip-i2s: dt

[PATCH 1/2] rockchip-i2s: dt: add grf requested properties to set power of I2S controller

2014-08-29 Thread Jianqun
Add "rockchip,grf" for driver to get physical address of GRF, and "rockchip,grf-io-vsel" for driver to set voltage for I2S controller according to hardware request. Requested by rk3xxx I2S controller and tested ok on rk3288-pinky board. Change-Id: I2587d15c25e64c569857369326653d8a450bae19 Signed

Re: [tip:x86/urgent] x86, irq, PCI: Keep IRQ assignment for runtime power management

2014-08-29 Thread Rafael J. Wysocki
On Saturday, August 30, 2014 12:09:17 AM Rafael J. Wysocki wrote: > On Friday, August 29, 2014 04:40:14 AM tip-bot for Jiang Liu wrote: > > Commit-ID: 9eabc99a635a77cbf0948ce17d3cbc2b51680d4a > > Gitweb: > > http://git.kernel.org/tip/9eabc99a635a77cbf0948ce17d3cbc2b51680d4a > > Author: Ji

[PATCH v2 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-08-29 Thread Octavian Purdila
From: Laurentiu Palcu This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 6.2.2 for the I2C master mod

[PATCH v2 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-08-29 Thread Octavian Purdila
From: Daniel Baluta This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 2.9 for the GPIO module commands and responses. [1] https://www.diolan.com/downloads/dln-api

[PATCH v2 1/3] mfd: add support for Diolan DLN-2 devices

2014-08-29 Thread Octavian Purdila
This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be found in the Programmer's Reference Manual [1], see section 1.7. Because th

[PATCH v2 0/3] mfd: add support for Diolan DLN-2

2014-08-29 Thread Octavian Purdila
This patch series adds support for Diolan USB-I2C/GPIO Master Adapter DLN-2. Details about device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Changes since v1: * rewrite the drivers as an MFD * rewrite the irq part of the gpio driver to use GPIOLIB_IRQCHIP * cleanup t

Re: net_ns cleanup / RCU overhead

2014-08-29 Thread Eric W. Biederman
Julian Anastasov writes: > Hello, > > On Thu, 28 Aug 2014, Simon Kirby wrote: > >> I noticed that [kworker/u16:0]'s stack is often: >> >> [] wait_rcu_gp+0x46/0x50 >> [] synchronize_sched+0x2e/0x50 >> [] nf_nat_net_exit+0x2c/0x50 [nf_nat] > > I guess the problem is in nf_nat_net_exit,

Re: [PATCH resend v5 0/2] ARM: sunxi: RTC support for A31/A23

2014-08-29 Thread Maxime Ripard
Hi Alessandro, On Tue, Aug 26, 2014 at 11:54:54AM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > Resending the sun6i RTC series, rebased onto 3.17-rc1. > The DT/defconfig patches have been queued for 3.18, and therefore > dropped from this series. Hope we can get the driver parts in as > well. >

Re: [tip:x86/urgent] x86, irq, PCI: Keep IRQ assignment for runtime power management

2014-08-29 Thread Rafael J. Wysocki
On Friday, August 29, 2014 04:40:14 AM tip-bot for Jiang Liu wrote: > Commit-ID: 9eabc99a635a77cbf0948ce17d3cbc2b51680d4a > Gitweb: http://git.kernel.org/tip/9eabc99a635a77cbf0948ce17d3cbc2b51680d4a > Author: Jiang Liu > AuthorDate: Fri, 29 Aug 2014 17:26:23 +0800 > Committer: Thomas Gle

Re: [PATCH 7/7] mm/balloon_compaction: general cleanup

2014-08-29 Thread Andrew Morton
On Wed, 20 Aug 2014 19:05:09 +0400 Konstantin Khlebnikov wrote: > * move special branch for balloon migraion into migrate_pages > * remove special mapping for balloon and its flag AS_BALLOON_MAP > * embed struct balloon_dev_info into struct virtio_balloon > * cleanup balloon_page_dequeue, kill b

Re: [PATCH 7/7] mm/balloon_compaction: general cleanup

2014-08-29 Thread Rafael Aquini
On Fri, Aug 29, 2014 at 05:09:55PM -0400, Rafael Aquini wrote: > On Fri, Aug 29, 2014 at 02:05:21PM -0700, Andrew Morton wrote: > > On Wed, 20 Aug 2014 19:05:09 +0400 Konstantin Khlebnikov > > wrote: > > > > > * move special branch for balloon migraion into migrate_pages > > > * remove special m

Re: 3.10.y regression caused by: lockd: ensure we tear down any live sockets when socket creation fails during lockd_up

2014-08-29 Thread Jeff Layton
On Fri, 29 Aug 2014 16:25:33 -0400 "J. Bruce Fields" wrote: > On Mon, Jul 07, 2014 at 03:27:21PM -0700, Greg Kroah-Hartman wrote: > > On Fri, Jun 20, 2014 at 03:14:03PM +0400, Nikita Yushchenko wrote: > > > With current 3.10.y, if kernel is booted with init=/bin/sh and then nfs > > > mount > > >

[GIT PULL] ACPI and power management fixes for 3.17-rc3

2014-08-29 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.17-rc3 to receive more ACPI and power management fixes for v3.17-rc3 with top-most commit 0b4f58b7cebd74ede19d13b81fb43a7eaeba10a3 Merge branch 'pm-cpufreq' on top of commit 52addcf9d666

Re: [PATCH 7/7] mm/balloon_compaction: general cleanup

2014-08-29 Thread Rafael Aquini
On Fri, Aug 29, 2014 at 02:05:21PM -0700, Andrew Morton wrote: > On Wed, 20 Aug 2014 19:05:09 +0400 Konstantin Khlebnikov > wrote: > > > * move special branch for balloon migraion into migrate_pages > > * remove special mapping for balloon and its flag AS_BALLOON_MAP > > * embed struct balloon_d

Re: [PATCH 7/7] mm/balloon_compaction: general cleanup

2014-08-29 Thread Andrew Morton
On Wed, 20 Aug 2014 19:05:09 +0400 Konstantin Khlebnikov wrote: > * move special branch for balloon migraion into migrate_pages > * remove special mapping for balloon and its flag AS_BALLOON_MAP > * embed struct balloon_dev_info into struct virtio_balloon > * cleanup balloon_page_dequeue, kill b

Re: [RFC v1 2/2] usb: otg: Temporarily hold wakeupsource on charger

2014-08-29 Thread Felipe Balbi
On Thu, Aug 28, 2014 at 03:36:39PM +0530, Kiran Kumar Raparthy wrote: > From: Todd Poynor > > usb: otg: Temporarily hold wakeupsource on charger connect and disconnect > events > > Allow other parts of the system to react to the charger connect/disconnect > event without allowing the system to s

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Andrew Morton
On Fri, 29 Aug 2014 13:44:31 -0700 Mike Travis wrote: > > > On 8/29/2014 1:16 PM, Andrew Morton wrote: > > On Fri, 29 Aug 2014 14:53:28 -0500 Mike Travis wrote: > > > >> > >> We have a large university system in the UK that is experiencing > >> very long delays modprobing the driver for a spe

Re: [PATCH resend] nosave: Consolidate __nosave_{begin,end} in

2014-08-29 Thread Stephen Boyd
On 08/29/14 13:22, Geert Uytterhoeven wrote: > The different architectures used their own (and different) declarations: > > extern __visible const void __nosave_begin, __nosave_end; > extern const void __nosave_begin, __nosave_end; > extern long __nosave_begin, __nosave_end; > > Consoli

[PATCH] Staging: bcm: LeakyBucket: format kernel-docs

2014-08-29 Thread Andrew Plummer
Remove insignificant spaces before tabs in comments. Signed-off-by: Andrew Plummer --- drivers/staging/bcm/LeakyBucket.c | 81 --- 1 file changed, 33 insertions(+), 48 deletions(-) diff --git a/drivers/staging/bcm/LeakyBucket.c b/drivers/staging/bcm/LeakyBuc

Re: [RFC 1/2] USB: OTG: Hold wakeupsource when VBUS present

2014-08-29 Thread Felipe Balbi
Hi, On Wed, Aug 27, 2014 at 02:58:30PM -0700, Todd Poynor wrote: > On Fri, Aug 22, 2014 at 10:12 AM, Felipe Balbi wrote: > ... > > you never explain why this is needed and you have also added some > > information to commit log which shouldn't be here. > > Android uses this to prevent suspend fro

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

2014-08-29 Thread Benjamin Poirier
In tg3_set_ringparam(), the tx_pending test to cover the cases where tg3_tso_bug() is entered has two problems 1) the check is only done for certain hardware whereas the workaround is now used more broadly. IOW, the check may not be performed when it is needed. 2) the check is too optimistic. For

[PATCH net v5 3/4] tg3: Move tx queue stop logic to its own function

2014-08-29 Thread Benjamin Poirier
It is duplicated. Also, the first instance in tg3_start_xmit() is racy. Consider: tg3_start_xmit() if budget <= ... tg3_tx() (free up the entire ring) tx_cons =

[PATCH net v5 2/4] tg3: Fix tx_pending check for MAX_SKB_FRAGS

2014-08-29 Thread Benjamin Poirier
The rest of the driver assumes at least one free descriptor in the tx ring. Therefore, since an skb with max frags takes up (MAX_SKB_FRAGS + 1) descriptors, tx_pending must be > (MAX_SKB_FRAGS + 1). Signed-off-by: Benjamin Poirier --- Changes v1->v2 Moved ahead in the series from 3/3 to 2/3, no

[PATCH net v5 1/4] tg3: Limit minimum tx queue wakeup threshold

2014-08-29 Thread Benjamin Poirier
tx_pending may be set by the user (via ethtool -G) to a low enough value that TG3_TX_WAKEUP_THRESH becomes smaller than MAX_SKB_FRAGS + 1. This may cause the tx queue to be waked when there are in fact not enough descriptors to handle an skb with max frags. This in turn causes tg3_start_xmit() to r

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
On 8/29/2014 1:16 PM, Andrew Morton wrote: > On Fri, 29 Aug 2014 14:53:28 -0500 Mike Travis wrote: > >> >> We have a large university system in the UK that is experiencing >> very long delays modprobing the driver for a specific I/O device. >> The delay is from 8-10 minutes per device and there

  1   2   3   4   5   6   >