[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:

[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 +

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

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,

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

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

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 ,

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

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

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

[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 ---

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,

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

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

[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 ++-

[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: [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

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

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

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

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 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

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.

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

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

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

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

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;

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 > ---

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

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

[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

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 ()

[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

[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

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

[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

[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

[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

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, > >> > >

[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

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

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

[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)

[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

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

2015-03-02 Thread Paul Bolle
between memory 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

[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

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

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] 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

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] 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

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

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 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

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

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:

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

[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

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

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?)

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

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)

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 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

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

[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

[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

[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

[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

[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

[PATCH 9/9] ARM: at91: remove old setup

2015-03-02 Thread Alexandre Belloni
The old setup is not used anymore, remove it Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/Makefile | 2 +- arch/arm/mach-at91/setup.c | 320 2 files changed, 1 insertion(+), 321 deletions(-) delete mode 100644

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

2015-03-02 Thread Dave Jones
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: > > >>> On Mon, 2015-02-09 at 11:36 -0700, Shuah Khan wrote:

[PATCH 4/9] ARM: at91/dt: introduce atmel,-dbgu

2015-03-02 Thread Alexandre Belloni
The DBGU is not a simple UART and we need to be able to distinguish it from the other UARTs, in particular to get its address and check the chip id. Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/serial/atmel-usart.txt | 3 ++- arch/arm/boot/dts/at91rm9200.dtsi

[PATCH 5/9] ARM: at91: add soc detection infrastructure

2015-03-02 Thread Alexandre Belloni
From: Boris BREZILLON Add new structures and functions to handle AT91 SoC detection. [alexandre.bell...@free-electrons.com: reworked DBGU detection] Signed-off-by: Alexandre Belloni Signed-off-by: Boris BREZILLON --- arch/arm/Kconfig| 1 + arch/arm/mach-at91/Makefile | 2 +-

[PATCH 8/9] ARM: at91: sama5 use SoC detection infrastructure

2015-03-02 Thread Alexandre Belloni
Use the soc detection infrastructure for sama5 initialization. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/sama5.c | 54 +- arch/arm/mach-at91/soc.h | 14 2 files changed, 53 insertions(+), 15 deletions(-) diff --git

[PATCH 3/9] ARM: at91: remove unused _matrix.h headers

2015-03-02 Thread Alexandre Belloni
The matrix headers are not used anymore, remove them. Signed-off-by: Alexandre Belloni --- .../mach-at91/include/mach/at91sam9260_matrix.h| 80 --- .../mach-at91/include/mach/at91sam9261_matrix.h| 64 - .../mach-at91/include/mach/at91sam9263_matrix.h| 129

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 20:40 +0100, Oleg Nesterov wrote: > Well, I forgot everything about this code, but let me ask anyway ;) > > On 03/02, Jason Low wrote: > > @@ -222,13 +239,10 @@ void thread_group_cputimer(struct task_struct *tsk, > > struct task_cputime *times) > > * it. > >

[PATCH 02/19] selftests/timers: Quiet warning due to lack of return check on brk

2015-03-02 Thread John Stultz
The posix_timers.c test has a loop that tries to keep it in kernel space, repeatedly calling brk(). However, it doesn't check the return value, which causes warnings. This patch adds a err value which captures the return value and modifies the test so it will quit if a failure occurs. Cc: Shuah

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 20:43 +0100, Oleg Nesterov wrote: > On 03/02, Oleg Nesterov wrote: > > > > Well, I forgot everything about this code, but let me ask anyway ;) > > > > On 03/02, Jason Low wrote: > > > > > > -static void update_gt_cputime(struct task_cputime *a, struct > > > task_cputime *b)

[PATCH 01/19] selftests/timers: Cleanup Makefile to make it easier to add future tests

2015-03-02 Thread John Stultz
Try to streamline the makefile so its easier to add timer/timekeeping tests. Also adds support for the CROSS_COMPILE variable. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile | 11 ---

[PATCH 03/19] selftests/timers: Add nanosleep test from timetest suite

2015-03-02 Thread John Stultz
Add my basic nanosleep test from my timetest suite. This test validates that nanosleep doesn't return early against a number of clockids. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile|

[PATCH 00/19 v3] Add timekeeping tests to kernel selftest

2015-03-02 Thread John Stultz
I've hosted my timekeeping tests on github for the last few years: https://github.com/johnstultz-work/timetests but I suspect not too many folks have actually used them. I've been meaning to get them reworked and submitted into the selftest infrastructure, but haven't had much time until

[PATCH 07/19] selftests/timers: Add set-timer-lat test from timetest suite

2015-03-02 Thread John Stultz
Add my set-timer-lat test from the timetest suite. This test checks the latency from set_timer and reports if any are unreasonable (>40ms). Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile

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, > 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 overwritten with PEBS captured state. To avoid the issue, we >

[PATCH 10/19] selftests/timers: Add adjtimex validation test from timetest suite

2015-03-02 Thread John Stultz
This adds a adjtimex validation test which checks the behavior for a set of valida and invalid inputs. So far this only tests ADJ_FREQUENCY, but hopefully will grow. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz ---

Re: [PATCH] regulator: core: Fix enable GPIO reference counting

2015-03-02 Thread Doug Anderson
Mark, On Mon, Mar 2, 2015 at 10:47 AM, Mark Brown wrote: > On Fri, Feb 27, 2015 at 11:41:03AM -0800, Doug Anderson wrote: >> It is possible for _regulator_do_enable() to be called for an >> already-enabled rdev, like in regulator_suspend_finish(). If we were >> using an enable pin

[PATCH 11/19] selftests/timers: Add alarmtimer-suspend test from timetests suite

2015-03-02 Thread John Stultz
This adds the alarmtimer-suspend test from the timetests suite, which tests that the alarmtimers wake the system up from suspend shortly after the time they were set to fire. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz ---

[PATCH 12/19] selftests/timers: Add change_skew test from timetest suite

2015-03-02 Thread John Stultz
This patch adds the change_skew test which validates the adjtimex freq can be set to various values and then using the inconsistency-check, raw_skew, and nanosleep tests ensures time behaves properly. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by:

Re: [PATCH 13/15] twl4030_charger: add ac/mode to match usb/mode

2015-03-02 Thread Pavel Machek
On Tue 2015-02-24 15:33:53, NeilBrown wrote: > This allows AC charging to be turned off, much like usb charging. > > "continuous" (aka "linear") mode maps to the CVENAC (constant voltage) > feature of the twl4030. > > Signed-off-by: NeilBrown Acked-by: Pavel Machek > ---

[PATCH 13/19] selftests/timers: Add skew_consistency test from the timetests suite

2015-03-02 Thread John Stultz
This change adds the skew_consistency test, which twists the ADJ_FREQUENCY knob back and forth and watches for timekeeping inconsistencies. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile

[PATCH 09/19] selftests/timers: Add mqueue latency test from the timetest suite

2015-03-02 Thread John Stultz
Add test to validate mqueue timeout latency from the timetest suite Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile | 3 +- tools/testing/selftests/timers/mqueue-lat.c | 124

[PATCH 14/19] selftests/timers: Add clocksource-switch test from timetest suite

2015-03-02 Thread John Stultz
Adds the clocksource-switch tests which continually switches the current clocksource between all the available ones, watching for any timekeeping inconsistencies. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz ---

[PATCH 08/19] selftests/timers: Add threaded time inconsistency test from timetest suite

2015-03-02 Thread John Stultz
Add the threaded time inconsistency test from the timetest suite. This checks for time inconsistencies between cpus, usually associated with clock skew as sometimes found w/ TSCs. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz ---

[PATCH 17/19] selftests/timers: Add set-tai from the timetest suite

2015-03-02 Thread John Stultz
This patch adds the set-tai test which ensures the tai offset can be set properly from adjtimex. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile | 3 +-

[PATCH 16/19] selftests/timers: Add leapcrash test from the timetest suite

2015-03-02 Thread John Stultz
This change adds the leapcrash test which tests to see if a leapsecond deadlock which was observed from 2.6.26 to 3.3 is present on this system. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile

[PATCH 18/19] selftests/timers: Add set-2038 test from timetest suite

2015-03-02 Thread John Stultz
Adds the set-2038 test which sets the time to near-edge cases like the start and end of the 32 bit epoch and checks that time behaves properly. There is also a dangerous mode, which lets the clock roll over past 2038 on 32bit systems, which on some older kernels will cause system hangs. Cc: Shuah

[PATCH 19/19] MAINTAINERS: Add selftests/timers to the timekeeping maintainance list

2015-03-02 Thread John Stultz
Since I'm adding a bunch of tests to selftests/timers, put me on the hook in the maintainers file. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS

[PATCH 15/19] selftests/timers: Add leap-a-day test from timetest suite

2015-03-02 Thread John Stultz
This change adds the leap-a-day test which sets STA_INS and STA_DEL each day to trigger leapseconds each day. It also has a mode to jump the time to right before the end of the day each iteration. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John

<    1   2   3   4   5   6   7   8   9   10   >