[PATCH v2] kbuild: move extra gcc checks to scripts/Makefile.extrawarn

2014-04-08 Thread Masahiro Yamada
W=... provides extra gcc checks. Having such code in scripts/Makefile.build results in the same flags being added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build is invoked every time Kbuild descends into the subdirectories. Since the top Makefile is already too cluttered, this

Re: [PATCH] futex: avoid race between requeue and wake

2014-04-08 Thread Mike Galbraith
On Wed, 2014-04-09 at 07:41 +0200, Peter Zijlstra wrote: > On Tue, Apr 08, 2014 at 03:30:07PM -0700, Linus Torvalds wrote: > > So I'll have to leave this decision to the futex people. But the > > attached slightly more complex patch *may* be the better one. > > Of course, tglx is the main futex

Re: [PATCH 01/15] mtd: st_spi_fsm: Add Macronix MX25L25655E device

2014-04-08 Thread Brian Norris
On Thu, Mar 27, 2014 at 08:20:47AM +, Lee Jones wrote: > > > From: Angus Clark > > > > > > Add Macronix MX25L25655E to the list of known devices. > > > > > > Signed-off-by: Angus Clark > > > Signed-off-by: Lee Jones > > > --- > > > drivers/mtd/devices/st_spi_fsm.c | 3 +++ > > > 1 file

Re: [PATCH 4/6 V2] perf, sort: Add physid sorting based on mmap2 data

2014-04-08 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 02:21:49PM +0900, Namhyung Kim wrote: > > create a new 'physid mode' to group all the sorting rules together > > (mimics the mem-mode) > > What is 'physid' then? I guess you meant physical id but it seems > unique id or unique map id looks like a better fit

Re: [PATCH] futex: avoid race between requeue and wake

2014-04-08 Thread Peter Zijlstra
On Tue, Apr 08, 2014 at 03:30:07PM -0700, Linus Torvalds wrote: > So I'll have to leave this decision to the futex people. But the > attached slightly more complex patch *may* be the better one. Of course, tglx is the main futex 'people' and he's not on CC.. *sigh*. -- To unsubscribe from this

Re: [GIT PULL 00/10] perf/core improvements and fixes

2014-04-08 Thread Ingo Molnar
* Namhyung Kim wrote: > Hi Andi, > > On Wed, Apr 9, 2014 at 4:50 AM, Andi Kleen wrote: > > Jiri Olsa writes: > > > >> hi Ingo, > >> please consider pulling > > > > So who actually maintains perf user space now? > > > > I have at least 4 perf user patchkits/bug fixes pending, but > > Arnaldo

Re: [PATCH 6/6] perf, sort: Allow unique sorting instead of combining hist_entries

2014-04-08 Thread Namhyung Kim
On Mon, 24 Mar 2014 15:34:36 -0400, Don Zickus wrote: > The cache contention tools needs to keep all the perf records unique in order > to properly parse all the data. Currently add_hist_entry() will combine > the duplicate record and add the weight/period to the existing record. > > This throws

Re: [FMC] BUG: scheduling while atomic: swapper/1/0x10000002

2014-04-08 Thread Fengguang Wu
On Wed, Apr 09, 2014 at 07:08:43AM +0200, Alessandro Rubini wrote: > Hello. > Thank you for the report. > > I'm at a conference and I fear I won't be able to test myself in the > next days, but I think this is already fixed (it is part of > the "misc_register" call path, so it's the same

Re: [FMC] BUG: scheduling while atomic: swapper/1/0x10000002

2014-04-08 Thread Jet Chen
On 04/09/2014 01:08 PM, Alessandro Rubini wrote: > Hello. > Thank you for the report. > > I'm at a conference and I fear I won't be able to test myself in the > next days, but I think this is already fixed (it is part of > the "misc_register" call path, so it's the same problem). > > The fix is

Re: [FMC] BUG: scheduling while atomic: swapper/1/0x10000002

2014-04-08 Thread Alessandro Rubini
Hello. Thank you for the report. I'm at a conference and I fear I won't be able to test myself in the next days, but I think this is already fixed (it is part of the "misc_register" call path, so it's the same problem). The fix is commit v3.11-rc2-11-g783c2fb 783c2fb FMC: fix locking in

Re: [PATCH 4/6 V2] perf, sort: Add physid sorting based on mmap2 data

2014-04-08 Thread Namhyung Kim
On Mon, 24 Mar 2014 16:57:18 -0400, Don Zickus wrote: > In order for the c2c tool to work correctly, it needs to properly > sort all the records on uniquely identifiable data addresses. These > unique addresses are converted from virtual addresses provided by the > hardware into a kernel address

Re: [PATCH 1/2] usb: ehci-exynos: Return immediately from suspend if ehci_suspend fails

2014-04-08 Thread Jingoo Han
On Wednesday, April 09, 2014 1:01 PM, Vivek Gautam wrote: > > Patch 'b8efdaf USB: EHCI: add check for wakeup/suspend race' > adds a check for possible race between suspend and wakeup interrupt, > and thereby it returns -EBUSY as error code if there's a wakeup > interrupt. > So the platform host

[BUG] kernel BUG at /.../block/cfq-iosched.c:3145!

2014-04-08 Thread Benjamin Herrenschmidt
Hi folks ! While testing a branch of fixes before I send it to Linus, which happens to be based on 18a1a7a1d862ae0794a0179473d08a414dd49234, I hit this: kernel BUG at /home/benh/linux-powerpc-test/block/cfq-iosched.c:3145! cpu 0x3c: Vector: 700 (Program Check) at [c03ca69bb190] pc:

Re: [clocksource] INFO: possible irq lock inversion dependency detected

2014-04-08 Thread Jet Chen
On 04/09/2014 12:40 PM, Viresh Kumar wrote: On 9 April 2014 10:04, Jet Chen wrote: How did you got this in cc list ? "abd38155f8293923de5953cc063f9e2d7ecb3f04.1396679170.git.viresh.ku...@linaro.org" I got it from the patch you sent to me before. attach it again. Apologizes if it's

Re: [PATCH RESEND] ARM: spear: add __init to spear_clocksource_init()

2014-04-08 Thread Viresh Kumar
On Wed, Apr 9, 2014 at 4:04 AM, Alex Elder wrote: > I get a build warning because spear_clocksource_init() calls > clocksource_mmio_init(), but it doesn't have an __init annotation. > Fix that. > > Signed-off-by: Alex Elder > --- > arch/arm/mach-spear/time.c |2 +- > 1 file changed, 1

Re: [clocksource] INFO: possible irq lock inversion dependency detected

2014-04-08 Thread Viresh Kumar
On 9 April 2014 10:04, Jet Chen wrote: >> How did you got this in cc list ? >> >> >> "abd38155f8293923de5953cc063f9e2d7ecb3f04.1396679170.git.viresh.ku...@linaro.org" >> >> >> > > I got it from the patch you sent to me before. attach it again. > Apologizes if it's improper to cc this list.

Re: [clocksource] INFO: possible irq lock inversion dependency detected

2014-04-08 Thread Jet Chen
On 04/09/2014 12:25 PM, Viresh Kumar wrote: On 9 April 2014 06:51, Jet Chen wrote: spin_lock_irqsave() does fix this issue. Tested-by: Jet Chen Thanks a lot :) Welcome. How did you got this in cc list ? "abd38155f8293923de5953cc063f9e2d7ecb3f04.1396679170.git.viresh.ku...@linaro.org"

[PATCH V2] clocksource: register cpu notifier to remove timer from dying CPU

2014-04-08 Thread Viresh Kumar
clocksource core is using add_timer_on() to run clocksource_watchdog() on all CPUs one by one. But when a core is brought down, clocksource core doesn't remove this timer from the dying CPU. And in this case timer core gives this (Gives this only with unmerged code, anyway in the current code as

Re: [PATCH 1/3] w1: fix netlink refcnt leak on error path

2014-04-08 Thread David Fries
This patch is a bug fix, and I see from the mailing list I'm not the only one to run into this bug, so it would be nice for this patch to make it into this merge window. I didn't tag this one for stable because it doesn't apply cleanly due to previous changes that did make it into the merge

Re: [PATCH] cpufreq: highbank: fix ARM_HIGHBANK_CPUFREQ dependency warning

2014-04-08 Thread Viresh Kumar
On 9 April 2014 08:04, Kefeng Wang wrote: > When make ARCH=arm multi_v7_defconfig, we get the following warnings: > > warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has > unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK > && REGULATOR && OF && THERMAL &&

Re: [clocksource] INFO: possible irq lock inversion dependency detected

2014-04-08 Thread Viresh Kumar
On 9 April 2014 06:51, Jet Chen wrote: > spin_lock_irqsave() does fix this issue. > > Tested-by: Jet Chen Thanks a lot :) How did you got this in cc list ? "abd38155f8293923de5953cc063f9e2d7ecb3f04.1396679170.git.viresh.ku...@linaro.org" -- To unsubscribe from this list: send the line

Re: [Ocfs2-devel] [PATCH 1/1] OCFS2: Remove NULL assignments on static

2014-04-08 Thread Fabian Frederick
On Wed, 09 Apr 2014 08:53:14 +0800 Wengang wrote: > Hi Fabian, > > What's the badness if we do the assignments? > > thanks, > wengang Hi Wengang, Nothing wrong but AFAICS redundant. Regards, Fabian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

USB: OMAP: questions on patch "Implement runtime idling and remote wakeup for OMAP EHCI controller"

2014-04-08 Thread Chao Xu
Hi, I have two questions about this patch series. Any help is appreciated. 1. in the cover letter(https://lkml.org/lkml/2013/7/10/355), it states "the series implements suspend/resume for the OMAP EHCI host controller during runtime idle". I don't understand when is the EHCI host controller

[PATCH 2/2] usb: ehci-platform: Return immediately from suspend if ehci_suspend fails

2014-04-08 Thread Vivek Gautam
Patch 'b8efdaf USB: EHCI: add check for wakeup/suspend race' adds a check for possible race between suspend and wakeup interrupt, and thereby it returns -EBUSY as error code if there's a wakeup interrupt. So the platform host controller should not proceed further with its suspend callback, rather

[PATCH 1/2] usb: ehci-exynos: Return immediately from suspend if ehci_suspend fails

2014-04-08 Thread Vivek Gautam
Patch 'b8efdaf USB: EHCI: add check for wakeup/suspend race' adds a check for possible race between suspend and wakeup interrupt, and thereby it returns -EBUSY as error code if there's a wakeup interrupt. So the platform host controller should not proceed further with its suspend callback, rather

[PATCH] sched/cpupri: fix cpupri_find() for high priority tasks

2014-04-08 Thread Mike Galbraith
Hi Steven, Seems c92211d9b7727 introduced a buglet. --snip-- Bail on task_pri >= MAX_RT_PRIO excludes userspace prio 98 and 99 tasks, which map to 100 and 101 respectively. A user reported that given two SCHED_RR tasks, one hog, one light, the light task may be stacked on top of the hog iff

Re: [Intel-gfx] i915 DVI resolution regression (3.13.7+)

2014-04-08 Thread Dave Airlie
On Tue, Apr 8, 2014 at 5:32 PM, Daniel J Blueman wrote: > On 8 April 2014 15:14, Jani Nikula wrote: >> On Tue, 08 Apr 2014, Daniel J Blueman wrote: >>> Ville et al, >>> >>> It looks like commit e3ea8fa6beaf55fee64bf816f3b8a80ad733b2c2 (or >>> another commit in 3.13.7) broke modes which require

[PATCH 3/3] w1: optional bundling of netlink kernel replies

2014-04-08 Thread David Fries
Applications can submit a set of commands in one packet to the kernel, and in some cases it is required such as reading the temperature sensor results. This adds an option W1_CN_BUNDLE to the flags of cn_msg to request the kernel to reply in one packet for efficiency. The cn_msg flags now check

[PATCH 1/3] w1: fix netlink refcnt leak on error path

2014-04-08 Thread David Fries
If the message type is W1_MASTER_CMD or W1_SLAVE_CMD, then a reference is taken when searching for the slave or master device. If there isn't any following data m->len (mlen is a copy) is 0 and packing up the message for later execution is skipped leaving nothing to decrement the reference

[PATCH 2/3] connector: allow multiple messages to be sent in one packet

2014-04-08 Thread David Fries
This increases the amount of bundling to reduce the number of packets sent. For the one wire use there can be multiple struct w1_netlink_cmd in a struct w1_netlink_msg and multiple of those in struct cn_msg, and with this change multiple of those in a struct nlmsghdr, and at each level the len

[PATCH 0/3] w1: fixes and bundling replies

2014-04-08 Thread David Fries
A program can bundle a sequence of commands in one netlink packet but the kernel was having to reply in many different packets, this adds a flag W1_CN_BUNDLE in the cn_msg.flags to allow the kernel to bundle the replies in to one message. This is opt in to avoid breaking programs that aren't

[RFC] bpf tracing filters API proposal. Was: [RFC PATCH 00/28] ktap: A lightweight dynamic tracing tool for Linux

2014-04-08 Thread Alexei Starovoitov
On Tue, Apr 8, 2014 at 2:08 AM, Peter Zijlstra wrote: > On Tue, Apr 08, 2014 at 04:40:36PM +0900, Masami Hiramatsu wrote: >> (2014/04/07 22:55), Peter Zijlstra wrote: >> > On Wed, Apr 02, 2014 at 09:42:03AM +0200, Ingo Molnar wrote: >> >> I'd suggest using C syntax instead initially, because

Re: [PATCH 4/6] perf, sort: Add physid sorting based on mmap2 data

2014-04-08 Thread Don Zickus
On Mon, Mar 24, 2014 at 03:34:34PM -0400, Don Zickus wrote: > In order for the c2c tool to work correctly, it needs to properly > sort all the records on uniquely identifiable data addresses. These > unique addresses are converted from virtual addresses provided by the > hardware into a kernel

Re: [PATCH 3/3] ie31200_edac: Add driver

2014-04-08 Thread Jason Baron
On 04/08/2014 06:34 PM, Luck, Tony wrote: >>> Btw, this driver is polling, AFAICT. Doesn't e3-12xx support the CMCI >>> interrupt which you can feed into this driver directly and thus not need >>> the polling at all? >> On the system with the ce and ue events that I'm testing on, I don't see >>

[GIT PULL] MMC updates for 3.15-rc1

2014-04-08 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-updates-for-3.15-rc1 to receive the MMC merge for 3.15. These patches have been tested in linux-next, and there are currently no conflicts. There's a MAINTAINERS update to add Ulf Hansson as MMC

[PATCH RT 0/2] rwsem-rt: Make rwsem rt closer to mainline

2014-04-08 Thread Steven Rostedt
Looking at mainline's down_read() I noticed that reader locks of rwsems are not made to nest. In fact, they should not. Although, it may seem fine if a down_read() nests as multiple readers can have the lock, rwsems are fair locks. That is, if a writer were to block on a rwsem while readers have

[PATCH RT 2/2] rtmutex: Remove duplicate rt_mutex_init()

2014-04-08 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The rt_mutex_init() macro is the same whether or not CONFIG_DEBUG_RT_MUTEX is set. Remove the duplicate. Signed-off-by: Steven Rostedt --- include/linux/rtmutex.h | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git

[PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2014-04-08 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The readers of mainline rwsems are not allowed to nest, the rwsems in the PREEMPT_RT kernel should not nest either. Signed-off-by: Steven Rostedt --- include/linux/rwsem_rt.h | 1 - kernel/rt.c | 37 - 2 files

Re: driver skip pci_set_master, fix it? No.

2014-04-08 Thread Benjamin Herrenschmidt
On Tue, 2014-04-08 at 17:18 -0400, Mark Lord wrote: > > I assume you're talking about the one added by cf3e1feba7f9 ("PCI: > > Workaround missing pci_set_master in pci drivers"), but as far as I > > can tell, it only calls pci_set_master() for *bridge* devices. What > > am I missing? Is

Re: [Intel-gfx] i915 DVI resolution regression (3.13.7+)

2014-04-08 Thread Daniel J Blueman
Ville et al, On 8 April 2014 16:02, Daniel Vetter wrote: > On Tue, Apr 8, 2014 at 9:32 AM, Daniel J Blueman wrote: >> I am using a dual-link DVI-D to DVI-D cable to this monitor, since I >> previously couldn't get 2560x1440 via HDMI. >> >> If it isn't this commit, then it may be another commit

linux-next: manual merge of the userns tree with Linus' tree

2014-04-08 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in fs/namespace.c between commits from Linus' tree and commits from the userns tree. I fixed it up (I used the conflict resolution that your sent to Linus - see below) and can carry the fix as necessary (no action is required).

hpsa driver bug crack kernel down!

2014-04-08 Thread Baoquan He
Hi, The kernel is 3.14.0+ which is pulled just now. [ 18.402695] systemd[1]: Set hostname to . [ 18.408456] random: systemd urandom read with 70 bits of entropy available [ 18md[1]: Expecting device dev-mapper-rhel_hp\x2d\x2dsl4545g7\x2d\x2d01\x2droot.device... Expecting device

linux-next: manual merge of the userns tree with Linus' tree

2014-04-08 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in fs/namei.c between commits from Linus' tree and commits 3dd905eaa258 ("vfs: Don't allow overwriting mounts in the current mount namespace") and f43d102a391d ("vfs: Lazily remove mounts on unlinked files and directories") from

linux-next: manual merge of the userns tree with Linus' tree

2014-04-08 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in fs/dcache.c between commit da1ce0670c14 ("vfs: add cross-rename") from Linus' tree and commit f43d102a391d ("vfs: Lazily remove mounts on unlinked files and directories") from the userns tree. I fixed it up (see below) and

Re: [GIT PULL] Detaching mounts on unlink for 3.15-rc1

2014-04-08 Thread Al Viro
On Wed, Apr 09, 2014 at 03:30:27AM +0100, Al Viro wrote: > > When renaming or unlinking directory entries that are not mountpoints > > no additional locks are taken so no performance differences can result, > > and my benchmark reflected that. > > It also means that d_invalidate() now might

[PATCH] cpufreq: highbank: fix ARM_HIGHBANK_CPUFREQ dependency warning

2014-04-08 Thread Kefeng Wang
When make ARCH=arm multi_v7_defconfig, we get the following warnings: warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL) To fix this, make ARM_HIGHBANK_CPUFREQ

Re: [PATCH 3/6] Revert "perf: Disable PERF_RECORD_MMAP2 support"

2014-04-08 Thread Namhyung Kim
On Mon, 24 Mar 2014 15:34:33 -0400, Don Zickus wrote: > This reverts commit 3090ffb5a2515990182f3f55b0688a7817325488. It seems if you exchange the order of patch 2 and 3 it'd be less confusing ;-p Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [GIT PULL] Detaching mounts on unlink for 3.15-rc1

2014-04-08 Thread Al Viro
On Tue, Apr 08, 2014 at 05:21:32PM -0700, Eric W. Biederman wrote: > This set of changes has been reviewed and been sitting idle for the last > 6 weeks. In that time the vfs has slightly shifted under me the new > version of rename and the mount hash list becoming a hlist. None of > those

[PATCH] iommu/vt-d: fix memory leakage caused by commit ea8ea46

2014-04-08 Thread Jiang Liu
Commit ea8ea46 "iommu/vt-d: Clean up and fix page table clear/free behaviour" introduces possible leakage of DMA page tables due to: for (pte = page_address(pg); !first_pte_in_page(pte); pte++) { if (dma_pte_present(pte) && !dma_pte_superpage(pte))

Re: [PATCH 2/6] perf: Update mmap2 interface with protection and flag bits

2014-04-08 Thread Namhyung Kim
On Wed, 09 Apr 2014 11:17:44 +0900, Namhyung Kim wrote: > So you need to synthesize a PERF_RECORD_MMAP2 event then. The > mmap_event and mmap2_event shares same fields util ->pgoff only. So > copying to mmap.filename will overwrite other bits in mmap2. Oops, missed patch 3/3 already does it.

Re: [PATCH] futex: avoid race between requeue and wake

2014-04-08 Thread Davidlohr Bueso
Adding Thomas to the thread. Sorry for the late reply, I was out running errands all day just to get home to find this futex jewel in my inbox. On Tue, 2014-04-08 at 15:30 -0700, Linus Torvalds wrote: > On Tue, Apr 8, 2014 at 2:02 PM, Jan Stancek wrote: > > > > I ran reproducer with following

Re: [PATCH 2/6] perf: Update mmap2 interface with protection and flag bits

2014-04-08 Thread Namhyung Kim
On Mon, 24 Mar 2014 15:34:32 -0400, Don Zickus wrote: > The kernel piece passes more info now. Update the perf tool to reflect > that and adjust the synthesized maps to play along. > > Signed-off-by: Don Zickus > --- > tools/perf/util/event.c | 23 +-- >

Re: [PATCH RESEND] usb: ohci-exynos: Remove locks for 'ohci' in suspend callback

2014-04-08 Thread Jingoo Han
On Tuesday, April 08, 2014 11:41 PM, Vivek Gautam wrote: > > Patch : 14982e3 USB: OHCI: Properly handle ohci-exynos suspend > has already removed 'ohci_hcd' settings from exynos glue layer > as a part of streamlining the ohci controller's suspend. > So we don't need the locks for 'ohci_hcd'

Re: [PATCH 07/15 V3] perf, c2c: Add in sort on physid

2014-04-08 Thread Don Zickus
On Wed, Apr 09, 2014 at 10:30:56AM +0900, Namhyung Kim wrote: > On Tue, 8 Apr 2014 10:17:58 -0400, Don Zickus wrote: > > On Tue, Apr 08, 2014 at 04:56:25PM +0900, Namhyung Kim wrote: > >> On Mon, 24 Mar 2014 15:36:58 -0400, Don Zickus wrote: > >> > +static int perf_c2c__init(struct perf_c2c *c2c)

[PATCH] driver core: platform: add device binding path 'driver_override'

2014-04-08 Thread Kim Phillips
Needed by platform device drivers, such as the vfio-platform driver [1], in order to bypass the existing OF, ACPI, id_table and name string matches, and successfully be able to be bound to any device, like so: echo vfio-platform > /sys/bus/platform/devices/fff51000.ethernet/driver_override echo

[PATCH] sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue

2014-04-08 Thread Mikulas Patocka
[ the maintainer didn't respond, so I'm sending to Linus ] This patch fixes I/O errors when the disk returns QUEUE FULL status. When the controller encounters an error (including QUEUE FULL or BUSY status), it aborts all not yet submitted requests in the function sym_dequeue_from_squeue. This

Re: [PATCH 1/2] perf, tools, stat: Initialize statistics correctly

2014-04-08 Thread Namhyung Kim
On Tue, 25 Mar 2014 10:31:38 -0700, Andi Kleen wrote: > From: Andi Kleen > > perf stat did initialize the stats structure used to compute > stddev etc. incorrectly. It merely zeroes it. But one member > (min) needs to be set to a non zero value. This causes min > to be not computed at all. Call

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-08 Thread Madhavan Srinivasan
On Friday 04 April 2014 11:20 PM, David Miller wrote: > From: Dave Hansen > Date: Fri, 04 Apr 2014 09:18:43 -0700 > >> On 04/03/2014 11:27 PM, Madhavan Srinivasan wrote: >>> This patch creates infrastructure to move the FAULT_AROUND_ORDER >>> to arch/ using Kconfig. This will enable architecture

Re: [PATCH 05/15 V3] perf, c2c: Rework setup code to prepare for features

2014-04-08 Thread Don Zickus
On Wed, Apr 09, 2014 at 10:12:32AM +0900, Namhyung Kim wrote: > On Tue, 8 Apr 2014 10:11:07 -0400, Don Zickus wrote: > > On Tue, Apr 08, 2014 at 04:41:29PM +0900, Namhyung Kim wrote: > >> On Sat, 29 Mar 2014 18:10:18 +0100, Jiri Olsa wrote: > >> > On Mon, Mar 24, 2014 at 03:36:56PM -0400, Don

Re: [GIT] kbuild/lto changes for 3.15-rc1

2014-04-08 Thread Andi Kleen
On Tue, Apr 08, 2014 at 03:44:25PM -0700, Linus Torvalds wrote: > On Tue, Apr 8, 2014 at 1:49 PM, wrote: > > > > In addition to making the kernel smaller and such (I'll leave the > > specific stats there to Andi), here's the key awesomeness of LTO that > > you, personally, should find useful and

Re: [rfc]pwm: add BCM2835 PWM driver

2014-04-08 Thread Stephen Warren
On 04/08/2014 05:02 PM, Tim Kryger wrote: > On Thu, Apr 3, 2014 at 6:44 AM, Bart Tanghe wrote: >> need some recommendation >> the memory mapped io registers of the bcm2835 pwm hardware are spreaded >> over the memory mapped io >> gpio config 0x2024 - clk config 0x201010A0 - pwm configuration

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-08 Thread Madhavan Srinivasan
On Friday 04 April 2014 09:48 PM, Dave Hansen wrote: > On 04/03/2014 11:27 PM, Madhavan Srinivasan wrote: >> This patch creates infrastructure to move the FAULT_AROUND_ORDER >> to arch/ using Kconfig. This will enable architecture maintainers >> to decide on suitable FAULT_AROUND_ORDER value based

Re: [PATCH 07/15 V3] perf, c2c: Add in sort on physid

2014-04-08 Thread Namhyung Kim
On Tue, 8 Apr 2014 10:17:58 -0400, Don Zickus wrote: > On Tue, Apr 08, 2014 at 04:56:25PM +0900, Namhyung Kim wrote: >> On Mon, 24 Mar 2014 15:36:58 -0400, Don Zickus wrote: >> > +static int perf_c2c__init(struct perf_c2c *c2c) >> > +{ >> > + sort__mode = SORT_MODE__PHYSID; >> > +

Re: [PATCH 03/15 V3] perf c2c: Shared data analyser

2014-04-08 Thread Andi Kleen
Namhyung Kim writes: > > Well, I'm not sure ;-) Yes, the c2c is a complex tool which might > deserve an own command, but the functionality is very similar and I > guess there's something to share between them. They work very differently. I don't see a lot of potential for sharing. perf mem is

[PATCH 1/2] ARM: dts: msm: Add 8921 PMIC to ssbi bus

2014-04-08 Thread Stephen Boyd
Add the PMIC and the sub-devices that are currently supported in the kernel to the DT. Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8960-cdp.dts | 16 +++ arch/arm/boot/dts/qcom-msm8960.dtsi| 37 ++ 2 files changed, 53 insertions(+)

[PATCH 2/2] ARM: dts: msm: Add 8058 PMIC to ssbi bus

2014-04-08 Thread Stephen Boyd
Add the PMIC and the sub-devices that are currently supported in the kernel to the DT. Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8660-surf.dts | 30 +++ arch/arm/boot/dts/qcom-msm8660.dtsi | 42 + 2 files changed, 72

Grant Award!!!

2014-04-08 Thread Ford Foundation
Attention, The Ford Foundation has awarded the sum of 1.5m USD as a Grant Donation to you please contacts Email: grantawa...@ford-foundation.org with your details.Thanks Regards Ford Foundation Orphanage -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [GIT] kbuild/lto changes for 3.15-rc1

2014-04-08 Thread Andi Kleen
Thanks Honza. Just one comment: > The runtime benefits are more visible on bigger, bloated and less > optimized projects than on hand tuned video encoder implementation. > I believe Kernel largely falls into hand tuned category despite its size. In my experience there's a lot of

Re: [clocksource] INFO: possible irq lock inversion dependency detected

2014-04-08 Thread Jet Chen
On 04/08/2014 01:21 PM, Viresh Kumar wrote: On 8 April 2014 09:29, Jet Chen wrote: (Sorry for previous bad format email) Your patch on my testing branch in LKP system: git://bee.sh.intel.com/git/tchen37/linux.git timer_debug3 got the below dmesg. FYI, I applied your patch on the top of commit

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-08 Thread Madhavan Srinivasan
On Friday 04 April 2014 06:47 PM, Kirill A. Shutemov wrote: > On Fri, Apr 04, 2014 at 11:57:14AM +0530, Madhavan Srinivasan wrote: >> Kirill A. Shutemov with faultaround patchset introduced >> vm_ops->map_pages() for mapping easy accessible pages around >> fault address in hope to reduce number of

Re: [PATCH 05/15 V3] perf, c2c: Rework setup code to prepare for features

2014-04-08 Thread Namhyung Kim
On Tue, 8 Apr 2014 10:11:07 -0400, Don Zickus wrote: > On Tue, Apr 08, 2014 at 04:41:29PM +0900, Namhyung Kim wrote: >> On Sat, 29 Mar 2014 18:10:18 +0100, Jiri Olsa wrote: >> > On Mon, Mar 24, 2014 at 03:36:56PM -0400, Don Zickus wrote: >> > >> > SNIP >> > >> >> >> >> static int

Bumping required kernels to 3.0 for Linux backports ?

2014-04-08 Thread Luis R. Rodriguez
Folks, we have a age old dance of random parties, in particular the embedded folks, ending up with random ancient kernels on embedded devices. I've tried to carefully document a few ideas on why and how I believe we can make automatic kernel backporting scale [0] and part of this will be to try

Re: [PATCH 03/15 V3] perf c2c: Shared data analyser

2014-04-08 Thread Namhyung Kim
On Tue, 8 Apr 2014 10:22:26 -0400, Don Zickus wrote: > On Tue, Apr 08, 2014 at 03:59:15PM +0900, Namhyung Kim wrote: >> Hi Don, >> >> On Mon, 24 Mar 2014 15:36:54 -0400, Don Zickus wrote: >> > From: Arnaldo Carvalho de Melo >> > >> > This is the start of a new perf tool that will collect

[Patch v3 6/6] iio: Added ABI description for quaternion

2014-04-08 Thread Srinivas Pandruvada
Added documentation for reading quaternion components for 3D rotations. Signed-off-by: Srinivas Pandruvada --- Documentation/ABI/testing/sysfs-bus-iio | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio

[Patch v3 5/6] iio: hid-sensors: Added device rotation support

2014-04-08 Thread Srinivas Pandruvada
Added usage id processing for device rotation. This uses IIO interfaces for triggered buffer to present data to user mode.This uses HID sensor framework for registering callback events from the sensor hub. Data is exported to user space in the form of quaternion rotation format. Signed-off-by:

Re: [Ocfs2-devel] [PATCH 1/1] OCFS2: Remove NULL assignments on static

2014-04-08 Thread Wengang
Hi Fabian, What's the badness if we do the assignments? thanks, wengang 于 2014年04月09日 04:13, Fabian Frederick 写道: static values are automatically initialized to NULL. Cc: Andrew Morton Cc: ocfs2-de...@oss.oracle.com Signed-off-by: Fabian Frederick --- fs/ocfs2/cluster/tcp.c | 2 +-

[Patch v3 3/6] IIO: core: Modify scan element type

2014-04-08 Thread Srinivas Pandruvada
The current scan element type uses the following format: [be|le]:[s|u]bits/storagebits[>>shift]. To specify multiple elements in this type, added a repeat value. So new format is: [be|le]:[s|u]bits/storagebits{X[repeat]}[>>shift]. Here X is specifying how may times, real/storage bits are

[Patch v3 4/6] IIO: core: Add quaternion modifier

2014-04-08 Thread Srinivas Pandruvada
Added quaternion in the list of supported modifiers. Signed-off-by: Srinivas Pandruvada --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index

[Patch v3 1/6] devres: introduce API "devm_kmemdup

2014-04-08 Thread Srinivas Pandruvada
Introduce devm_kmemdup, which uses resource managed kmalloc. There are several request from maintainers to add this instead of using kmemdup. Signed-off-by: Srinivas Pandruvada --- Documentation/driver-model/devres.txt | 1 + drivers/base/devres.c | 21 +

[Patch v3 2/6] IIO: core: Introduce read_raw_multi

2014-04-08 Thread Srinivas Pandruvada
This callback is introduced to overcome some limitations of existing read_raw callback. The functionality of both existing read_raw and read_raw_multi is similar, both are used to request values from the device. The current read_raw callback allows only two return values. The new read_raw_multi

[PATCH 2/2] Drivers: hv: vmbus: Implement per-CPU mapping of relid to channel

2014-04-08 Thread K. Y. Srinivasan
Currently the mapping of the relID to channel is done under the protection of a single spin lock. Starting with ws2012, each channel is bound to a specific VCPU in the guest. Use this binding to eliminate the spin lock by setting up per-cpu state for mapping relId to the channel. Signed-off-by:

[PATCH 1/2] Drivers: hv: Eliminate the channel spinlock in the callback path

2014-04-08 Thread K. Y. Srinivasan
By ensuring that we set the callback handler to NULL in the channel close path on the same CPU that the channel is bound to, we can eliminate this lock acquisition and release in a performance critical path. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/hv/channel.c

[PATCH 0/2] Eliminate spin locks in the vmbus channel callback path

2014-04-08 Thread K. Y. Srinivasan
Currently we map the channel handle to the channel under the protection of a spin lock. Additionally, we dispatch the channel callback function under the protection of the channel inbound lock (another spin lock). In some recent nework performance runs, the time spent acquiring and releasing these

Re: [PATCH v2] openvswitch: supply a dummy err_handler of gre_cisco_protocol to prevent kernel crash

2014-04-08 Thread Jesse Gross
On Fri, Apr 4, 2014 at 9:20 PM, wei zhang wrote: > At 2014-04-05 07:05:59,"Jesse Gross" wrote: >>On Tue, Apr 1, 2014 at 5:23 PM, Wei Zhang wrote: >>> >>> v2 -> v1: use the same logic of the gre_rcv() to distinguish which packet is >>> intended to us! >> >>As a tip on kernel process: if you put

Re: [PATCH 5/5] hugetlb: add support for gigantic page allocation at runtime

2014-04-08 Thread Yasuaki Ishimatsu
(2014/04/09 4:02), Luiz Capitulino wrote: > HugeTLB is limited to allocating hugepages whose size are less than > MAX_ORDER order. This is so because HugeTLB allocates hugepages via > the buddy allocator. Gigantic pages (that is, pages whose size is > greater than MAX_ORDER order) have to be

Re: [PATCH 1/1 v11] Tracepoint: register/unregister struct tracepoint

2014-04-08 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Mathieu Desnoyers" > Cc: linux-kernel@vger.kernel.org, "Ingo Molnar" , "Frederic > Weisbecker" , > "Andrew Morton" , "Frank Ch. Eigler" > , "Johannes Berg" > > Sent: Tuesday, April 8, 2014 8:17:05 PM > Subject: Re: [PATCH 1/1 v11]

Re: post 3.14 serial regression

2014-04-08 Thread Greg Kroah-Hartman
On Tue, Apr 08, 2014 at 02:38:31PM -0700, Dave Hansen wrote: > On 04/08/2014 02:03 PM, Dave Hansen wrote: > > On 04/08/2014 04:27 AM, One Thousand Gnomes wrote: > >>> At the end, you can see that init is somehow dying. If I revert this > >>> patch, init is happy again and doesn't die, and the

[PATCH] sched_clock: Remove deprecated setup_sched_clock() API

2014-04-08 Thread Stephen Boyd
Remove the 32-bit only setup_sched_clock() API now that all users have been converted to the 64-bit friendly sched_clock_register(). Signed-off-by: Stephen Boyd --- This is based on Linus' tree at a7963eb7f4c4 (Merge branch 'for_linus' of

Re: [PATCH 0/4 v2] perf: Make some functions generic

2014-04-08 Thread Namhyung Kim
On Mon, 7 Apr 2014 14:55:20 -0400, Don Zickus wrote: > This patch just converts some private functions into global ones > that can be used by other tools like the c2c tool I am trying to merge. For the series, Reviewed-by: Namhyung Kim Thanks, Namhyung > > Don Zickus (4): > perf: Allow

Re: [PATCH 4/4] hugetlb: add support for gigantic page allocation at runtime

2014-04-08 Thread Luiz Capitulino
On Tue, 8 Apr 2014 15:51:02 -0700 Andrew Morton wrote: > On Mon, 7 Apr 2014 14:49:35 -0400 Luiz Capitulino > wrote: > > > > > --- > > > > arch/x86/include/asm/hugetlb.h | 10 +++ > > > > mm/hugetlb.c | 177 > > > > ++--- > > > > 2 files

[GIT PULL] Detaching mounts on unlink for 3.15-rc1

2014-04-08 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: 0d7d90f86f83f29a442b37c78172870f8ee28c58 proc: Update proc_flush_task_mnt to use d_invalidate My apologies for sending this pull request

Re: [PATCH 06/15 V3] perf, c2c: Add in new options to configure latency and stores

2014-04-08 Thread Namhyung Kim
On Mon, 7 Apr 2014 14:16:18 -0400, Don Zickus wrote: > On Sun, Apr 06, 2014 at 03:14:22PM +0200, Jiri Olsa wrote: >> On Mon, Mar 31, 2014 at 10:55:35PM -0400, Don Zickus wrote: >> > On Sat, Mar 29, 2014 at 06:11:38PM +0100, Jiri Olsa wrote: >> > > > @@ -316,6 +369,12 @@ int cmd_c2c(int argc, const

Re: [GIT] kbuild/lto changes for 3.15-rc1

2014-04-08 Thread Jan Hubicka
> Hi Linus, > > > So right now, I see several reasons not to merge it ("It's so > > experimental that we don't even want to encourage people to test it" > > I don't want them to enable it during allyesconfig because they > might need more than 4GB of RAM to build it (especially with gcc > 4.8,

Re: [PATCH 1/2] watchdog: add Intel MID watchdog driver support

2014-04-08 Thread Guenter Roeck
On 04/08/2014 01:59 PM, David Cohen wrote: Add initial Intel MID watchdog driver support. This driver is an initial implementation of generic Intel MID watchdog driver. Currently it supports Intel Merrifield platform. How does this compare with the existing SCU watchdog driver

RE: [tip:x86/urgent] x86 idle: Repair large-server 50-watt idle-power regression

2014-04-08 Thread Brown, Len
Davidlohr, Thanks for the note. Ideally (on Linux in general, and on servers, in particular) we strive for the performance impact of power saving features to be small enough to be considered in "measurement noise". Your report for 160 core Westmere AIM numbers being hit at 10-25% shows 15%

Re: [PATCH 1/1 v11] Tracepoint: register/unregister struct tracepoint

2014-04-08 Thread Steven Rostedt
OK, I kicked off my tests to test this patch. If all goes well, I'll push it to linux-next and then off to Linus. But I also added a patch on top. This shouldn't cause any issues for you, does it? -- Steve >From a22720af7d7d2e06284fbed68bd93827f75381b1 Mon Sep 17 00:00:00 2001 From: "Steven

Re: [GIT] kbuild/lto changes for 3.15-rc1

2014-04-08 Thread Tim Bird
FWIW, I'd really like to see this go in as an experimental feature. Andi has already quoted my size results, which I thought were pretty good, as well as given a pointer to my size optimization presentation. Some of what follows is in the presentation, but here is a summary: There are other

[PATCH] mfd: pm8921: Remove pm8xxx API now that sub-devices use regmap

2014-04-08 Thread Stephen Boyd
The pm8xxx read/write wrappers are no longer necessary now that all the sub-device drivers are using the regmap API. Remove it. Signed-off-by: Stephen Boyd --- Based on Linus' tip as of a7963eb7f4c4 (Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs,

Re: post 3.14 serial regression

2014-04-08 Thread Dave Hansen
On 04/08/2014 02:03 PM, Dave Hansen wrote: > On 04/08/2014 04:27 AM, One Thousand Gnomes wrote: >>> At the end, you can see that init is somehow dying. If I revert this >>> patch, init is happy again and doesn't die, and the serial console works >>> like before. >> >> Can you check if init is

Re: [PATCH 5/9] crypto: qce: Adds sha and hmac transforms

2014-04-08 Thread Stephen Boyd
On 04/03, Stanimir Varbanov wrote: > +static void qce_ahash_dma_done(void *data) > +{ > + struct crypto_async_request *async_req = data; > + struct ahash_request *req = ahash_request_cast(async_req); > + struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); > + struct

  1   2   3   4   5   6   7   8   9   10   >