[PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-02 Thread Robert Jarzmik
When a transfer is completed, the descriptor is moved from issued list to completed list. Fix the list manipulation, from list_add to list_move_tail. The bug was seen with a multiple descriptors issued and completed lists, where the issued list chaining was corrupted. Signed-off-by: Robert Jarzmi

[PATCH 0/9] ARM: at91 cleanups for 4.1 #1

2015-03-02 Thread Alexandre Belloni
Hi, This series removes more mach/headers. Then it introduces a more scalable SoC detection infrastructure which allows to remove the at91_map_io/at91_alt_map_io and iotable_init ugliness. Alexandre Belloni (7): ARM: at91: remove unused at91_ioremap_matrix and header ARM: at91: remove unused

[PATCH 7/9] ARM: at91: at91sam9: use SoC detection infrastructure

2015-03-02 Thread Alexandre Belloni
Use the soc detection infrastructure for at91sam9 initialization. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9.c | 94 +-- arch/arm/mach-at91/soc.h | 30 ++ 2 files changed, 102 insertions(+), 22 deletions(-) diff --gi

[PATCH 6/9] ARM: at91: at91rm9200 use SoC detection infrastructure

2015-03-02 Thread Alexandre Belloni
Use the soc detection infrastructure for at91rm9200 initialization. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91rm9200.c | 34 -- arch/arm/mach-at91/soc.h| 3 +++ 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/arch/arm/ma

[PATCH 2/9] ARM: at91: remove unused at91_ioremap_matrix and header

2015-03-02 Thread Alexandre Belloni
at91_ioremap_matrix and the at91_matrix.h header are not used anymore, remove them. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/generic.h | 4 arch/arm/mach-at91/include/mach/at91_matrix.h | 23 --- arch/arm/mach-at91/setup.c

[PATCH 1/9] ARM: at91: remove NEED_MACH_IO_H

2015-03-02 Thread Alexandre Belloni
From: Arnd Bergmann The mach/io.h header on at91 is used to support a nonstandard I/O space window for the cf card driver. This changes the driver to use pci_ioremap_io in order to have the standard location, and then removes the custom mach/io.h. [alexandre.bell...@free-electrons.com: Added PCI

Re: [patch] perf_event_open.2: 3.19 PERF_SAMPLE_REGS_INTR support

2015-03-02 Thread Stephane Eranian
On Mon, Mar 2, 2015 at 4:19 PM, Vince Weaver wrote: > On Mon, 2 Mar 2015, Stephane Eranian wrote: > >> vince, > >> PEBS machine state. Problem is that there is only one set of pt_regs passed >> to >> __intel_pmu_pebs_event(). And if REGS_INTR is set, then the pt_regs >> registers are >> indeed ov

Re: [PATCH 0/5] split ET_DYN ASLR from mmap ASLR

2015-03-02 Thread Andrew Morton
On Thu, 26 Feb 2015 19:07:09 -0800 Kees Cook wrote: > This separates ET_DYN ASLR from mmap ASLR, as already done on s390. The > various architectures that are already randomizing mmap (arm, arm64, mips, > powerpc, s390, and x86), have their various forms of arch_mmap_rnd() > made available via th

Re: [GIT PULL] Kselftest updates for 3.20-rc1

2015-03-02 Thread Shuah Khan
On 03/02/2015 02:19 PM, Dave Jones wrote: > On Tue, Feb 10, 2015 at 02:16:05PM +1100, Michael Ellerman wrote: > > > > On 02/09/2015 05:43 PM, Michael Ellerman wrote: > > > > On Mon, 2015-02-09 at 17:36 -0700, Shuah Khan wrote: > > > >> On 02/09/2015 05:30 PM, Michael Ellerman wrote: > > > >>>

Re: [PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-02 Thread Lars-Peter Clausen
On 03/02/2015 10:19 PM, Robert Jarzmik wrote: diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h index 3772032..2a3da22 100644 --- a/drivers/dma/virt-dma.h +++ b/drivers/dma/virt-dma.h @@ -91,7 +91,7 @@ static inline void vchan_cookie_complete(struct virt_dma_desc *vd) dma_cook

Re: [PATCH 14/15] twl4030_charger: Increase current carefully while watching voltage.

2015-03-02 Thread Pavel Machek
On Tue 2015-02-24 15:33:53, NeilBrown wrote: > The USB Battery Charging spec (BC1.2) suggests a dedicated > charging port can deliver from 0.5 to 5.0A at between 4.75 and 5.25 > volts. > > To choose the "correct" current voltage setting requires a trial > and error approach: try to draw current an

Re: [PATCH 15/15] twl4030_charger: assume a 'charger' can supply maximum current.

2015-03-02 Thread Pavel Machek
On Tue 2015-02-24 15:33:53, NeilBrown wrote: > If it cannot, we will stop pulling more current when voltage drops. Can you justify it a bit more? I mean... maybe there's a fuse in the charger? Or maybe it will supply the current but overheat in the process? (USB_MAX_CURRENT is 500mA or 1.7A?) Th

Re: [PATCH v3] fs: record task name which froze superblock

2015-03-02 Thread Dave Chinner
On Mon, Mar 02, 2015 at 05:38:29AM +0100, Mateusz Guzik wrote: > On Sun, Mar 01, 2015 at 08:31:26AM +1100, Dave Chinner wrote: > > On Sat, Feb 28, 2015 at 05:25:57PM +0300, Alexey Dobriyan wrote: > > > Freezing and thawing are separate system calls, task which is supposed > > > to thaw filesystem/s

[PATCH] sparc: clarify __GFP_NOFAIL allocation

2015-03-02 Thread Michal Hocko
On Mon 02-03-15 15:44:24, David S. Miller wrote: [...] > > OK, thanks for the clarification. This wasn't clear from the commit > > which has introduced this code. I will drop this patch. Would you > > accept something like the following instead? > > Sure. Thanks! --- >From dac5829e3a1d44ba7759b4

Re: [PATCH 1/7] mtd: docg3: drop dead code

2015-03-02 Thread Robert Jarzmik
Dan Carpenter writes: > On Sat, Feb 28, 2015 at 02:02:24AM -0800, Brian Norris wrote: >> diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c >> index 448ce42f951e..01eddea1f0d9 100644 >> --- a/drivers/mtd/devices/docg3.c >> +++ b/drivers/mtd/devices/docg3.c >> @@ -2079,8 +2079,

Re: ACPI regression with 3.19+

2015-03-02 Thread Rafael J. Wysocki
On Monday, March 02, 2015 10:07:20 PM Hudd wrote: > On Sun, 2015-03-01 at 01:00 +0100, Rafael J. Wysocki wrote: > > On Saturday, February 28, 2015 10:35:21 AM Prakash Punnoor wrote: > > > This is a multi-part message in MIME format. > > > --080704070901080904040008 > > > Content-Type: t

Re: [RFC 2/4] jbd2: revert must-not-fail allocation loops back to GFP_NOFAIL

2015-03-02 Thread Michal Hocko
On Mon 02-03-15 12:33:21, David Rientjes wrote: > On Mon, 2 Mar 2015, Michal Hocko wrote: > > > This basically reverts 47def82672b3 (jbd2: Remove __GFP_NOFAIL from jbd2 > > layer). The deprecation of __GFP_NOFAIL was a bad choice because it led > > to open coding the endless loop around the alloca

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-02 Thread Linus Torvalds
On Mon, Mar 2, 2015 at 1:16 PM, Jason Low wrote: > > In original code, we set cputimer->running first so it is running while > we call update_gt_cputime(). Now in this patch, we swapped the 2 calls > such that we set running after calling update_gt_cputime(), so that > wouldn't be an issue anymore

Re: [PATCH] kernel/sys.c: Add build-time check for UNAME26

2015-03-02 Thread Linus Torvalds
On Mon, Mar 2, 2015 at 5:10 AM, Geert Uytterhoeven wrote: > Add a build-time check for the major version number, to make sure Linus > will update the UNAME26 implementation (and the comment at the top of > the function) at the next version increase. I really can't imagine that anybody ever cares

Re: [PATCH] sparc: clarify __GFP_NOFAIL allocation

2015-03-02 Thread David Miller
From: Michal Hocko Date: Mon, 2 Mar 2015 22:36:10 +0100 > 920c3ed74134 ([SPARC64]: Add basic infrastructure for MD add/remove > notification.) has added __GFP_NOFAIL for the allocation request but > it hasn't mentioned why is this strict requirement really needed. > The code was handling an alloc

Re: [PATCH net-next 2/2] net: netcp: select davinci_mdio driver by default

2015-03-02 Thread Murali Karicheri
On 03/02/2015 11:11 AM, Tony Lindgren wrote: * Murali Karicheri [150227 12:59]: On 02/27/2015 11:29 AM, Tony Lindgren wrote: * Murali Karicheri [150224 13:31]: Keystone netcp driver re-uses davinci mdio driver. So enable it by default for keystone netcp driver. Signed-off-by: Murali Karich

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-02 Thread Jason Low
On Mon, 2015-03-02 at 11:03 -0800, Linus Torvalds wrote: > On Mon, Mar 2, 2015 at 10:42 AM, Jason Low wrote: > > > > This patch converts the timers to 64 bit atomic variables and use > > atomic add to update them without a lock. With this patch, the percent > > of total time spent updating thread

Re: [PATCH] mm: reorder can_do_mlock to fix audit denial

2015-03-02 Thread Nick Kralevich
On Mon, Mar 2, 2015 at 9:20 AM, Jeff Vander Stoep wrote: > A userspace call to mmap(MAP_LOCKED) may result in the successful > locking of memory while also producing a confusing audit log denial. > can_do_mlock checks capable and rlimit. If either of these return > positive can_do_mlock returns tr

Re: [PATCH] block/cpqarray.c: remove IRQF_DISABLED flag

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 13:32:55 +0100 Valentin Rothberg wrote: > The IRQF_DISABLED is a NOOP and scheduled to be removed. According to > Ingo Molnar (e58aa3d2d0cc01ad8d6f7f640a0670433f794922) running IRQ > handlers with interrupts enabled can cause stack overflows when the > interrupt line of the

RE: [PATCH char-misc] mei: bus: () can be static

2015-03-02 Thread Nick Meier
Yes - the function should have been static. This change correctly corrects the oversight. thanks, -Nick -Original Message- From: kbuild test robot [mailto:fengguang...@intel.com] Sent: Sunday, March 1, 2015 8:49 PM To: Tomas Winkler Cc: kbuild-...@01.org; Greg Kroah-Hartman; Nick Meie

[PATCH - v7] of: Move of_dma_configure() to device.c to help re-use

2015-03-02 Thread Murali Karicheri
Move of_dma_configure() to device.c so it can be re-used for PCI devices to obtain DMA configuration from DT. Also add a second argument so that for PCI, the DT node of root bus host bridge can be used to obtain the DMA configuration for the slave PCI device. Tested-by: Suravee Suthikulpanit (AM

Re: [PATCH v5] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-03-02 Thread Paul Bolle
ory and AXI4-Stream type target peripherals. > + It has two stream interfaces/channels, Memory Mapped to > + Stream (MM2S) and Stream to Memory Mapped (S2MM) for the > + data transfers. > + How did you test this patch? On next-20150302, running x86_64, I got: $ make ARCH=mic

[RFCv2 net-next 4/7] openvswitch: Allow matching on conntrack mark

2015-03-02 Thread Joe Stringer
From: Justin Pettit Allow matching and setting the conntrack mark field. As with conntrack state and zone, these are populated by executing the conntrack() action. Unlike these, the conntrack mark is also a writable field. The set_field() action may be used to modify the mark, which will take eff

Re: [PATCH v4 2/2] Input: bcm-keypad: Add Broadcom keypad controller

2015-03-02 Thread Scott Branden
Hi Dmitry, I understand what's missing now. Thanks, Scott On 15-03-02 12:23 PM, Dmitry Torokhov wrote: Hi Scott, Hmm, also bcm_kp_start() and bcm_kp_stop() should check if kp->clk is valid before trying to enable/disable it. I checked and other keyboard drivers do not check this. I retur

[PATCH - V7] of/pci: Add of_pci_dma_configure() to update DMA configuration

2015-03-02 Thread Murali Karicheri
Add of_pci_dma_configure() to allow updating the DMA configuration of the PCI device using the configuration from DT of the parent of the root bridge device. Use the newly added APIs pci_get/put_host_bridge_device() for implementing this. Tested-by: Suravee Suthikulpanit (AMD Seattle) Signed-off

Re: [PATCH 04/16] drivers: fix up obsolete cpu function usage.

2015-03-02 Thread Rafael J. Wysocki
On Monday, March 02, 2015 10:05:45 PM Rusty Russell wrote: > Thanks to spatch, plus manual removal of "&*". Then a sweep for > for_each_cpu_mask => for_each_cpu. > > Signed-off-by: Rusty Russell > Cc: Thomas Gleixner > Cc: "Rafael J. Wysocki" > Cc: Herbert Xu > Cc: Jason Cooper > Cc: Chris M

[RFCv2 net-next 2/7] openvswitch: Move MASKED* macros to datapath.h

2015-03-02 Thread Joe Stringer
This will allow the ovs-conntrack code to reuse these macros. Signed-off-by: Joe Stringer --- net/openvswitch/actions.c | 52 +--- net/openvswitch/datapath.h |4 2 files changed, 29 insertions(+), 27 deletions(-) diff --git a/net/openvswitch/a

[RFCv2 net-next 7/7] openvswitch: Support fragmented IPv4 packets for conntrack

2015-03-02 Thread Joe Stringer
From: Andy Zhou The conntrack action now re-assembles fragmented IPv4 packets and only send a fully re-assembled IP packet to nf_conntrack layer. When a re-assembled IP frame hits the output action. The output action will re fragment them into IP fragments based on this packets' incoming fragmen

Re: [PATCH 0/3] Add ktd2692 Flash LED driver

2015-03-02 Thread Sakari Ailus
Hi Bryan, On Mon, Mar 02, 2015 at 12:07:42PM -0800, Bryan Wu wrote: > On Mon, Mar 2, 2015 at 1:15 AM, Sakari Ailus wrote: > > H Ingi, > > > > On Mon, Mar 02, 2015 at 04:14:39PM +0900, Ingi Kim wrote: > >> Hi Jacek > >> > >> On 2015년 02월 27일 17:42, Jacek Anaszewski wrote: > >> > Hi Ingi, > >> > >

Re: [PATCH 07/15] mm: Add ___GFP_NOTRACE

2015-03-02 Thread Tom Zanussi
On Mon, 2015-03-02 at 11:29 -0800, Alexei Starovoitov wrote: > On Mon, Mar 2, 2015 at 10:54 AM, Tom Zanussi > wrote: > >> > > >> > The idea would be that instead of getting your individually kmalloc'ed > >> > elements on-demand from kmalloc while in the handler, you'd get them > >> > from a pool y

[RFCv2 net-next 3/7] openvswitch: Add conntrack action

2015-03-02 Thread Joe Stringer
From: Justin Pettit Expose the kernel connection tracker to OVS. Userspace components can make use of the "conntrack()" action, followed by "recirculate", to populate the conntracking state in the OVS flow key, and subsequently match on that state. IPv4 fragment handling for conntrack is added i

[RFCv2 net-next 6/7] net: Refactor ip_defrag() APIs

2015-03-02 Thread Joe Stringer
From: Andy Zhou Currently, ip_defrag() does not keep track of the maximum fragmentation size for each fragmented packet. This information is not necessary since current Linux IP fragmentation always fragments a packet based on output devices' MTU. However, this becomes more tricky when integrati

[RFCv2 net-next 0/7] OVS conntrack support

2015-03-02 Thread Joe Stringer
The goal of this series is to allow OVS to send packets through the Linux kernel connection tracker, and subsequently match on fields populated by conntrack. Sending this out as another RFC change as this is the first time IP fragment support is included. Only IPv4 is added right now, as we'd like

[RFCv2 net-next 5/7] net: refactor ip_fragment()

2015-03-02 Thread Joe Stringer
From: Andy Zhou Current ip_fragment() API assumes there is a netdev device attached to the skb. The MTU size is then derived from the attached device. However, skbs incoming from OVS vports do not have a netdevice attached, so it is not possible to query it for the MTU size. This patch splits th

[RFCv2 net-next 1/7] openvswitch: Serialize acts with original netlink len

2015-03-02 Thread Joe Stringer
Previously, we used the kernel-internal netlink actions length to calculate the size of messages to serialize back to userspace. However,the sw_flow_actions may not be formatted exactly the same as the actions on the wire, so store the original actions length when de-serializing and re-use the orig

Re: [PATCH 1/2] cpuidle: Clean up fallback handling in cpuidle_idle_call()

2015-03-02 Thread Rafael J. Wysocki
On Monday, March 02, 2015 04:05:36 PM Lorenzo Pieralisi wrote: > On Mon, Mar 02, 2015 at 02:51:35PM +, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Move the fallback code path in cpuidle_idle_call() to the end of the > > function to avoid jumping to a label in a an if () branc

Re: [PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-02 Thread Robert Jarzmik
Lars-Peter Clausen writes: > On 03/02/2015 10:19 PM, Robert Jarzmik wrote: >> diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h >> index 3772032..2a3da22 100644 >> --- a/drivers/dma/virt-dma.h >> +++ b/drivers/dma/virt-dma.h >> @@ -91,7 +91,7 @@ static inline void vchan_cookie_complete

Re: [PATCH 2/2] cpuidle / sleep: Use broadcast timer for states that stop local timer

2015-03-02 Thread Rafael J. Wysocki
On Monday, March 02, 2015 04:27:06 PM Lorenzo Pieralisi wrote: > On Mon, Mar 02, 2015 at 02:53:28PM +, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Commit 381063133246 (PM / sleep: Re-implement suspend-to-idle handling) > > overlooked the fact that entering some sufficiently d

Re: [PATCH 1/8] x86, kaslr: get kaslr_enabled back correctly

2015-03-02 Thread Yinghai Lu
On Mon, Mar 2, 2015 at 12:25 PM, Borislav Petkov wrote: > unsigned char *choose_kernel_location(struct boot_params *params, > diff --git a/arch/x86/boot/compressed/vmlinux.lds.S > b/arch/x86/boot/compressed/vmlinux.lds.S > index 34d047c98284..26d62f4b27b9 100644 > --- a/arch/x86/boot/compressed

RE: [char-misc:char-misc-testing 25/45] drivers/hv/vmbus_drv.c:67:9: sparse: constant 0x8000000000000000 is so big it is unsigned long

2015-03-02 Thread Nick Meier
I will correct this constant definition and resubmit. -Nick Meier -Original Message- From: kbuild test robot [mailto:fengguang...@intel.com] Sent: Sunday, March 1, 2015 8:49 PM To: Nick Meier Cc: kbuild-...@01.org; Greg Kroah-Hartman; KY Srinivasan; Haiyang Zhang; de...@linuxdriverproje

Re: [PATCH] Input: psmouse - when comparing PNP IDs ignore case

2015-03-02 Thread Jeff Epler
On Fri, Feb 27, 2015 at 04:18:52PM -0800, Dmitry Torokhov wrote: > PNP IDs are supposed to be case-insensitive and so we should compare > them as such. Have specific systems popped up which need this fix, or is it just in the interests of being correct? If there are specific system(s) that are af

Re: [PATCH v2] KVM: SVM: fix interrupt injection (apic->isr_count always 0)

2015-03-02 Thread Marcelo Tosatti
On Fri, Feb 27, 2015 at 04:32:38PM +0100, Radim Krčmář wrote: > In commit b4eef9b36db4, we started to use hwapic_isr_update() != NULL > instead of kvm_apic_vid_enabled(vcpu->kvm). This didn't work because > SVM had it defined and "apicv" path in apic_{set,clear}_isr() does not > change apic->isr_c

Re: [PATCH] arch: mips: kvm: Enable after disabling interrupt

2015-03-02 Thread Marcelo Tosatti
On Sun, Feb 22, 2015 at 09:48:21PM +0530, Tapasweni Pathak wrote: > Enable disabled interrupt, on unsuccessful operation. > > Found by Coccinelle. > > Signed-off-by: Tapasweni Pathak > Acked-by: Julia Lawall > --- > arch/mips/kvm/tlb.c |1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] Input: psmouse - when comparing PNP IDs ignore case

2015-03-02 Thread Dmitry Torokhov
Hi Jeff, On Mon, Mar 02, 2015 at 04:14:37PM -0600, Jeff Epler wrote: > On Fri, Feb 27, 2015 at 04:18:52PM -0800, Dmitry Torokhov wrote: > > PNP IDs are supposed to be case-insensitive and so we should compare > > them as such. > > Have specific systems popped up which need this fix, or is it just

Re: [patch] perf_event_open.2: 3.19 PERF_SAMPLE_REGS_INTR support

2015-03-02 Thread Vince Weaver
On Mon, 2 Mar 2015, Stephane Eranian wrote: > Vince, REGS_USER is user ONLY. It does not capture machine state if PMU > interrupt occurred inside the kernel. REGS_USER is useful in support of dwarf > based user level call stack unwinding. Otherwise REGS_INTR is what most > analysis tools need. s

Re: [PATCH 0/5] split ET_DYN ASLR from mmap ASLR

2015-03-02 Thread Kees Cook
On Mon, Mar 2, 2015 at 1:26 PM, Andrew Morton wrote: > On Thu, 26 Feb 2015 19:07:09 -0800 Kees Cook wrote: > >> This separates ET_DYN ASLR from mmap ASLR, as already done on s390. The >> various architectures that are already randomizing mmap (arm, arm64, mips, >> powerpc, s390, and x86), have th

Re: [PATCH 2/2 linux-next] FS/HFSPLUS: move xattr_name allocation in hfsplus_setxattr()

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 18:38:26 +0100 Fabian Frederick wrote: > security/trusted/user/osx setxattr did the same > xattr_name initialization. Move that operation in hfsplus_setxattr(). > > Tested with security/trusted/user getfattr/setfattr > > --- a/fs/hfsplus/xattr.c > +++ b/fs/hfsplus/xattr.c >

Re: [PATCH v2 6/6] HID: uclogic: actually invert the in-range bit for huion tablets only

2015-03-02 Thread Benjamin Tissoires
On Feb 28 2015 or thereabouts, Nikolai Kondrashov wrote: > On 02/26/2015 08:57 PM, Benjamin Tissoires wrote: > >This hack is only needed for Huion tablets. It does not seem to have > >any effect on the other tablets handled by this device right now, but > >it's better to check for the product id so

Re: [patch] perf_event_open.2: 3.19 PERF_SAMPLE_REGS_INTR support

2015-03-02 Thread Stephane Eranian
Vince, On Mon, Mar 2, 2015 at 5:23 PM, Vince Weaver wrote: > On Mon, 2 Mar 2015, Stephane Eranian wrote: > > >> Vince, REGS_USER is user ONLY. It does not capture machine state if PMU >> interrupt occurred inside the kernel. REGS_USER is useful in support of dwarf >> based user level call stack u

Fwd: [PATCH] c6x: Makefile: Add -D__linux__

2015-03-02 Thread Chen Gang S
Just forward mail. Forwarded Message Subject: [PATCH] c6x: Makefile: Add -D__linux__ Date: Tue, 03 Mar 2015 06:33:42 +0800 From: Chen Gang <762976...@qq.com> To: Mark Salter , a-jacqu...@ti.com CC: linux-c6x-...@linux-c6x.org , linux-kernel@vger.kernel.org For gcc5 c6x raw c

Re: [E1000-devel] randconfig build error with next-20150302, in drivers/net/ethernet/intel/i40e/i40e_configfs.c

2015-03-02 Thread Hisashi T Fujinaka
On Mon, 2 Mar 2015, Nicholas Krause wrote: On March 2, 2015 11:29:12 AM EST, Jim Davis wrote: Building with the attached random configuration file, drivers/built-in.o: In function `i40e_cfgfs_group_make_item': i40e_configfs.c:(.text+0x3df4ce): undefined reference to `config_item_init_type_nam

[PATCH RESEND 0/1] Enable Broadcom Cygnus BCM958305K

2015-03-02 Thread Jonathan Richardson
This patchset adds a DTS file to enable the BCM58305 Wireless Audio reference design based on Cygnus. It will be kept up to date as Cygnus drivers are accepted into the mainline. Jonathan Richardson (1): ARM: dts: Enable Broadcom Cygnus BCM958305K arch/arm/boot/dts/Makefile |3 ++- a

[PATCH RESEND 1/1] ARM: dts: Enable Broadcom Cygnus BCM958305K

2015-03-02 Thread Jonathan Richardson
DT file to enable the Wireless Audio reference design based on the BCM58305. Reviewed-by: Ray Jui Reviewed-by: Scott Branden Tested-by: Scott Branden Signed-off-by: Jonathan Richardson --- arch/arm/boot/dts/Makefile |3 ++- arch/arm/boot/dts/bcm958305k.dts | 53 +++

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-02 Thread Jason Low
On Mon, 2015-03-02 at 13:44 -0800, Linus Torvalds wrote: > On Mon, Mar 2, 2015 at 1:16 PM, Jason Low wrote: > > > > In original code, we set cputimer->running first so it is running while > > we call update_gt_cputime(). Now in this patch, we swapped the 2 calls > > such that we set running after

Re: [PATCH] [RFC] ARM: shmobile: R-Car Gen2: Add da9063/da9210 regulator quirk

2015-03-02 Thread Simon Horman
On Mon, Mar 02, 2015 at 09:49:11PM +0100, Geert Uytterhoeven wrote: > Hi Wolfram, > > On Mon, Mar 2, 2015 at 7:32 PM, Wolfram Sang wrote: > > On Mon, Mar 02, 2015 at 06:28:43PM +0100, Geert Uytterhoeven wrote: > >> The r8a7791/koelsch development board has da9063 and da9210 regulators. > >> Both

Fwd: [PATCH] mm: memcontrol: Let mem_cgroup_move_account() have effect only if MMU enabled

2015-03-02 Thread Chen Gang S
Just forward mail. Forwarded Message Subject: [PATCH] mm: memcontrol: Let mem_cgroup_move_account() have effect only if MMU enabled Date: Tue, 03 Mar 2015 06:42:01 +0800 From: Chen Gang <762976...@qq.com> To: han...@cmpxchg.org, mho...@suse.cz CC: cgro...@vger.kernel.org, linux

[PATCH] cgroup: Use kvfree in pidlist_free()

2015-03-02 Thread Bandan Das
The wrapper already calls the appropriate free function, use it instead of spinning our own. Signed-off-by: Bandan Das --- kernel/cgroup.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 29a7b2c..c19d66d 100644 --- a/kernel/cgroup.

Re: [patch] perf_event_open.2: 3.19 PERF_SAMPLE_REGS_INTR support

2015-03-02 Thread Andi Kleen
> do not enable REGS_USER and REG_INTR at the same time > as REGS_USER will have REG_INTR values and > cannot be used for user stack unwinding If that's true it would be a bug. But I doubt it. The PEBS handler sets up its own pt_regs, so they should be independen

Re: [PATCH v3 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-03-02 Thread Rasmus Villemoes
On Mon, Mar 02 2015, Andy Shevchenko wrote: > On Mon, 2015-02-23 at 23:55 +0100, Rasmus Villemoes wrote: >> On Mon, Feb 23 2015, Andy Shevchenko >> wrote: > >> > What about to make it a separate function *and* call from inside of >> > test_string_escape? Would it work for you? >> >> See my ear

Re: randconfig build error with next-20150302, in drivers/net/ethernet/intel/i40e/i40e_configfs.c

2015-03-02 Thread Jeff Kirsher
On Mon, 2015-03-02 at 09:29 -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/built-in.o: In function `i40e_cfgfs_group_make_item': > i40e_configfs.c:(.text+0x3df4ce): undefined reference to > `config_item_init_type_name' > drivers/built-in.o: In function

Fwd: [PATCH] c6x: asm: pgtable: Define dummy pgprot_writecombine for !MMU

2015-03-02 Thread Chen Gang S
Forwarded Message Subject: [PATCH] c6x: asm: pgtable: Define dummy pgprot_writecombine for !MMU Date: Tue, 03 Mar 2015 07:06:25 +0800 From: Chen Gang <762976...@qq.com> To: msal...@redhat.com, a-jacqu...@ti.com CC: kirill.shute...@linux.intel.com, Andrew Morton , linux-c6x-...

Re: [RFC 3/3] hugetlbfs: accept subpool reserved option and setup accordingly

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 14:58:13 -0800 Mike Kravetz wrote: > Make reserved be an option when mounting a hugetlbfs. New mount option triggers a user documentation update. hugetlbfs isn't well documented, but Documentation/vm/hugetlbpage.txt looks like the place. > reserved > option is only possibl

Re: [RFC 2/3] hugetlbfs: coordinate global and subpool reserve accounting

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 14:58:11 -0800 Mike Kravetz wrote: > If the pages for a subpool are reserved, then the reservations have > already been accounted for in the global pool. Therefore, when > requesting a new reservation (such as for a mapping) for the subpool > do not count again in global pool

Re: [RFC 0/3] hugetlbfs: optionally reserve all fs pages at mount time

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 14:58:08 -0800 Mike Kravetz wrote: > hugetlbfs allocates huge pages from the global pool as needed. Even if > the global pool contains a sufficient number pages for the filesystem > size at mount time, those global pages could be grabbed for some other > use. As a result, fi

Re: [RFC 1/3] hugetlbfs: add reserved mount fields to subpool structure

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 14:58:10 -0800 Mike Kravetz wrote: > Add a boolean to the subpool structure to indicate that the pages for > subpool have been reserved. The hstate pointer in the subpool is > convienient to have when it comes time to unreserve the pages. > subool_reserved() is a handy way to

[PATCH v2] seccomp: switch to using asm-generic for seccomp.h

2015-03-02 Thread Kees Cook
Most architectures don't need to do anything special for the strict seccomp syscall entries. Remove the redundant headers and reduce the others. Signed-off-by: Kees Cook --- v2: - use Kbuild "generic-y" instead of explicit #include lines (sfr) --- arch/arm/include/asm/Kbuild | 1 +

[PATCH] MAINTAINERS: Add maintainer for maxim codecs

2015-03-02 Thread Anish Kumar
This patch adds maintainer for maxim audio codecs. Signed-off-by: Anish Kumar --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8bdd7a7..2128586 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7387,6 +7387,13 @@ S: Supported F: so

Re: [PATCH v8] sched/deadline: support dl task migration during cpu hotplug

2015-03-02 Thread Wanpeng Li
Hi Juri, On Mon, Mar 02, 2015 at 12:11:48PM +, Juri Lelli wrote: >Hi, > >On 25/02/2015 11:50, Wanpeng Li wrote: >> I observe that dl task can't be migrated to other cpus during cpu hotplug, >> in addition, task may/may not be running again if cpu is added back. The >> root cause which I found i

Re: [PATCH 07/15] mm: Add ___GFP_NOTRACE

2015-03-02 Thread Alexei Starovoitov
On Mon, Mar 2, 2015 at 2:04 PM, Tom Zanussi wrote: > On Mon, 2015-03-02 at 11:29 -0800, Alexei Starovoitov wrote: >> On Mon, Mar 2, 2015 at 10:54 AM, Tom Zanussi >> wrote: >> >> > >> >> > The idea would be that instead of getting your individually kmalloc'ed >> >> > elements on-demand from kmallo

Fwd: [PATCH] c6x: asm: Add default flat.h according to xtensa architecture

2015-03-02 Thread Chen Gang S
Just forward the original mail. Forwarded Message Subject: [PATCH] c6x: asm: Add default flat.h according to xtensa architecture Date: Tue, 03 Mar 2015 07:24:26 +0800 From: Chen Gang <762976...@qq.com> To: msal...@redhat.com, a-jacqu...@ti.com CC: linux-c6x-...@linux-c6x.org ,

Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution

2015-03-02 Thread Rob Herring
On Mon, Mar 2, 2015 at 1:09 PM, Arun Ramamurthy wrote: > > > On 15-03-02 08:11 AM, Russell King - ARM Linux wrote: >> >> On Mon, Mar 02, 2015 at 04:08:29PM +, Pawel Moll wrote: >>> >>> I'm not sure about this... The word "virtual" never works well with >>> device tree nodes defined as "hardwar

Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC

2015-03-02 Thread Rob Herring
On Mon, Mar 2, 2015 at 10:00 AM, Pawel Moll wrote: > On Wed, 2015-02-25 at 21:01 +, Arun Ramamurthy wrote: >> Added ioctl and interrupt handler functions to support FBIO_WAITFORVSYNC >> Also corrected documentation to make interrupts and interrupt-names >> optional as they are not required pro

[PATCH] spi: spi-imx: use correct enumeration type

2015-03-02 Thread Stefan Agner
The fourth argument of dmaengine_prep_slave_sg needs to be of the enumeration type dma_transfer_direction instead of dma_data_direction. Since the used enumeration values actually stay the same, this is not an actual issue at runtime. Signed-off-by: Stefan Agner --- This showed up when I tried us

Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC

2015-03-02 Thread Rob Herring
On Wed, Feb 25, 2015 at 3:01 PM, Arun Ramamurthy wrote: > Added ioctl and interrupt handler functions to support FBIO_WAITFORVSYNC > Also corrected documentation to make interrupts and interrupt-names > optional as they are not required properties. > > Reviewed-by: Ray Jui > Reviewed-by: Scott Br

Re: [PATCH v4 01/30] PCI: Rip out pci_bus_add_devices() from pci_scan_bus()

2015-03-02 Thread Bjorn Helgaas
On Thu, Feb 26, 2015 at 04:11:55PM +0800, Yijing Wang wrote: > Pci_bus_add_devices() should not be placed in pci_scan_bus(). > Now pci device will be added to driver core once its > creation. All things left in pci_bus_add_devices() are > driver attachment and other trivial sysfs things. > Pci_scan

Re: [PATCH 05/16] staging/lustre: fix up obsolete cpu function usage.

2015-03-02 Thread Rusty Russell
Oleg Drokin writes: > Thanks! > Seems there was a midair collsion with my own patch that was not as > comprehensive > wrt functions touched: https://lkml.org/lkml/2015/3/2/10 Yep, I posted this for completeness (and for your reference), but figured you'd handle it. > But on the other hand I als

Re: [PATCH 01/16] CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS: set if CPUMASK_OFFSTACK.

2015-03-02 Thread Rusty Russell
depends on BROKEN >> + bool >> + depends on CPUMASK_OFFSTACK > > This removes the "prompt" from this symbol's entry. And nothing selects > it either (not in next-20150302 nor in this series). So I think this > just disables this Kconfig symbol en

Re: [PATCH RESEND 1/1] ARM: dts: Enable Broadcom Cygnus BCM958305K

2015-03-02 Thread Florian Fainelli
On 02/03/15 14:41, Jonathan Richardson wrote: > DT file to enable the Wireless Audio reference design based on the > BCM58305. > > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > Tested-by: Scott Branden > Signed-off-by: Jonathan Richardson Applied to devicetree/next at github.com/stblinu

Re: [PATCH] mm: cma: constify and use correct signness in mm/cma.c

2015-03-02 Thread Gregory Fong
On Sat, Feb 28, 2015 at 12:57 AM, Sasha Levin wrote: > Constify function parameters and use correct signness where needed. > > Signed-off-by: Sasha Levin Acked-by: Gregory Fong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCH v2 1/2] hwrng: iproc-rng200 - Add device tree bindings

2015-03-02 Thread Florian Fainelli
On 25/02/15 10:16, Scott Branden wrote: > Documents the IPROC random number generator device tree bindings > used in some Broadcom chipsets. > > Reviewed-by: Ray Jui > Signed-off-by: Scott Branden Applied to devicetree/next at github.com/stblinux, thanks! -- Florian -- To unsubscribe from this

Re: [PATCH 4/4] mmc: sdhci-iproc: add device tree bindings

2015-03-02 Thread Florian Fainelli
On 09/02/15 16:06, Scott Branden wrote: > Add device tree binding documentation for IPROC SDHCI driver. > > Acked-by: Ray Jui > Signed-off-by: Corneliu Doban > Signed-off-by: Scott Branden > --- > .../devicetree/bindings/mmc/brcm,sdhci-iproc.txt | 23 > ++ > 1 file chang

Re: [PATCH v2] rtc: add Abracon ABx80x driver

2015-03-02 Thread Andrew Morton
On Sun, 1 Mar 2015 11:27:15 +0100 Alexandre Belloni wrote: > Add support for the i2c RTC from Abracon. What is the relationship between this patch and http://ozlabs.org/~akpm/mmots/broken-out/rtc-add-rtc-abx805-a-driver-for-the-abracon-ab-1805-i2c-rtc.patch? From: Alexandre Belloni Subject:

[PATCH v9] sched/deadline: support dl task migration during cpu hotplug

2015-03-02 Thread Wanpeng Li
I observe that dl task can't be migrated to other cpus during cpu hotplug, in addition, task may/may not be running again if cpu is added back. The root cause which I found is that dl task will be throtted and removed from dl rq after comsuming all budget, which leads to stop task can't pick it up

Re: [PATCH char-misc] mei: bus: () can be static

2015-03-02 Thread Fengguang Wu
On Mon, Mar 02, 2015 at 12:41:05PM +0300, Dan Carpenter wrote: > On Mon, Mar 02, 2015 at 11:49:23AM +0800, kbuild test robot wrote: > > drivers/hv/vmbus_drv.c:51:5: sparse: symbol 'hyperv_panic_event' was not > > declared. Should it be static? > > drivers/hv/vmbus_drv.c:51:5: sparse: symbol 'hyper

Re: [PATCH 00/13] FS-Cache: Fix a number of bugs that occur when the cache runs out of space

2015-03-02 Thread Jeff Layton
On Thu, 26 Feb 2015 14:01:55 + David Howells wrote: > > Attached are a bunch of patches that progressively fix bugs that can occur > when the cache hits the hard "must maintain X free space" limit and starts > rejecting requests. > > The commit ensubjected "FS-Cache: Synchronise object deat

Re: [PATCH] f2fs: fix to issue small discard in real-time mode discard

2015-03-02 Thread Changman Lee
On Sat, Feb 28, 2015 at 05:23:30PM +0800, Chao Yu wrote: > Now in f2fs, we share functions and structures for batch mode and real-time > mode > discard. For real-time mode discard, in shared function add_discard_addrs, we > will use uninitialized trim_minlen in struct cp_control to compare with le

xsaves support broken?

2015-03-02 Thread Dave Hansen
ption from my kernel. Re-adding "noxsaves" made MPX work again, and the BNDCSR contents were properly passed in to the kernel. Is it possible that "xsaves" use inside the kernel is simply broken? Config is here: http://sr71.net/~dave/intel/config-20150302 -- To u

Re: [PATCH v2 00/15] tracing: 'hist' triggers

2015-03-02 Thread Alexei Starovoitov
On Mon, Mar 2, 2015 at 11:55 AM, Tom Zanussi wrote: > > I disagree that it would be rarely used. In fact, it would probably > cover about 80% of the use cases that people initially use things like > systemtap or dtrace for, which I guess is what ebpf is shooting for. 'hist' style won't solve any

Re: [PATCH v4 1/2] Input: bcm-keypad: add device tree bindings

2015-03-02 Thread Dmitry Torokhov
On Sat, Feb 28, 2015 at 08:35:56AM -0800, Scott Branden wrote: > Documents the Broadcom keypad controller device tree bindings. > > Reviewed-by: Ray Jui > Signed-off-by: Scott Branden I folded this into the patch adding the driver itself and queued for 4.1. Thank you. > --- > .../devicetree/

RE: xsaves support broken?

2015-03-02 Thread Yu, Fenghua
that "xsaves" use inside the kernel is simply broken? > > Config is here: > > http://sr71.net/~dave/intel/config-20150302 Xsaves has been tested by QA since 3.17 with or without MPX. I'm not aware of reported issues. But MPX is the only code to call the get_xsave_addr

Re: [PATCH net-next 2/2] net: netcp: select davinci_mdio driver by default

2015-03-02 Thread Tony Lindgren
* Murali Karicheri [150302 13:49]: > On 03/02/2015 11:11 AM, Tony Lindgren wrote: > > > >Because we are now force selecting items that may have other > >dependencies later on that will not be satisfied. That causes > >all kinds of make randconfig build errors. > > > My mistake. I didn't ask you w

Re: [PATCH] clk: qcom: Fix ipq806x LCC frequency tables

2015-03-02 Thread Kenneth Westfield
On Thu, Feb 26, 2015 at 07:37:44PM -0800, Stephen Boyd wrote: > These frequency tables list the wrong rates. Either they don't > have the correct frequency at all, or they're specified in kHz > instead of Hz. Fix it. > > Fixes: c99e515a92e9 "clk: qcom: Add IPQ806X LPASS clock controller (LCC) > d

[PATCH] staging: lustre: space prohibited between function name and open parenthesis '('

2015-03-02 Thread Alberto Pires de Oliveira Neto
This patch fixes checkpatch.pl warning. WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Alberto Pires de Oliveira Neto --- drivers/staging/lustre/lustre/fld/fld_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/l

[PATCH v2 0/5] split ET_DYN ASLR from mmap ASLR

2015-03-02 Thread Kees Cook
To address the "offset2lib" ASLR weakness[1], this separates ET_DYN ASLR from mmap ASLR, as already done on s390. The architectures that are already randomizing mmap (arm, arm64, mips, powerpc, s390, and x86), have their various forms of arch_mmap_rnd() made available via the new CONFIG_ARCH_HAS_EL

[PATCH 5/5] mm: fold arch_randomize_brk into ARCH_HAS_ELF_RANDOMIZE

2015-03-02 Thread Kees Cook
The arch_randomize_brk() function is used on several architectures, even those that don't support ET_DYN ASLR. To avoid bulky extern/#define tricks, consolidate the support under CONFIG_ARCH_HAS_ELF_RANDOMIZE for the architectures that support it, while still handling CONFIG_COMPAT_BRK. Signed-off

  1   2   3   4   5   6   7   8   9   10   >