Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-10 Thread Hongbo Zhang
Mark? ping. On 09/03/2013 05:01 PM, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines,

[BusLogic] DMA-API: device driver failed to check map error

2013-09-10 Thread Tetsuo Handa
Hello. I got below warning on current linux.git . -- [2.612237] scsi: * BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 * [2.613067] scsi: Copyright 1995-1998 by Leonard N. Zubkoff l...@dandelion.com [2.630942] scsi0: Configuring BusLogic Model BT-958 PCI Wide

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote: I am not sure how to call this kernel option but we need something like that. I see drivers and the kernel spawning processes on the nohz cores. The name kthread is not really catching the purpose. os_cpus=?

[git pull] drm intel fixes and one nouveau regression

2013-09-10 Thread Dave Airlie
Hi Linus, Daniel had some fixes queued up, that were delayed, the stolen memory ones and vga arbiter ones are quite useful, along with his usual bunch of stuff, nothing for HSW outputs yet, the one nouveau fix is for a regression I caused with the poweroff stuff. Dave. The following changes

Re: RFC vmstat: On demand vmstat threads

2013-09-10 Thread Gilad Ben-Yossef
On Wed, Sep 4, 2013 at 7:48 PM, Christoph Lameter c...@linux.com wrote: vmstat threads are used for folding counter differentials into the zone, per node and global counters at certain time intervals. They currently run at defined intervals on all processors which will cause some holdoff for

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Dave Chinner
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: Hi folks, I just updated my performance test VM to the current 3.12-git tree after the XFS dev branch was merged. The first test I ran which was a 16-way

Re: [git pull] drm tree for 3.12-rc1

2013-09-10 Thread Sean V Kelley
On Thu, Sep 5, 2013 at 12:18 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Sep 5, 2013 at 3:41 AM, Dave Airlie airl...@linux.ie wrote: i915: Haswell PC8+ support and eLLC support, HDMI 4K support, initial per-process VMA pieces, watermark reworks, convert to generic

Re: [PATCH] ethernet/arc/arc_emac: Fix huge delays in large file copies

2013-09-10 Thread Vineet Gupta
On 09/05/2013 11:55 PM, David Miller wrote: From: Vineet Gupta vineet.gup...@synopsys.com Date: Wed, 4 Sep 2013 17:17:15 +0530 copying large files to a NFS mounted host was taking absurdly large time. Turns out that TX BD reclaim had a sublte bug. Loop starts off from @txbd_dirty cursor

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-10 Thread Wei Ni
On 09/10/2013 01:54 PM, Guenter Roeck wrote: On 09/09/2013 10:39 PM, Wei Ni wrote: On 09/10/2013 12:50 PM, Guenter Roeck wrote: On 09/09/2013 09:05 PM, Wei Ni wrote: On 09/10/2013 04:39 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Sep 09, 2013 at 09:17:35AM -0700, Guenter

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-10 Thread Aaron Lu
On Mon, Sep 09, 2013 at 11:32:10AM +0200, Daniel Vetter wrote: Hi Aaaron, Have we grown any clue meanwhile about which Intel boxes need this and for which we still need to keep the acpi backlight around? I've grown _very_ Sorry, no general rule has been found. As Rafael has said, it appears

[PATCH] workqueue: remove redundant timer_stats_timer_set_start_info() call

2013-09-10 Thread Libin
From: Li Bin huawei.li...@huawei.com There is a redundant call for timer_stats_timer_set_start_info(), because it is the responsibility of the 'timer add' function: add_timer_on() |- timer_stats_timer_set_start_info() add_timer() |- mod_timer() |- __mod_timer() |-

Re: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-10 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:25PM +0800, Xiubo Li wrote: This adds devicetree node for VF610, and there are 8 channels supported by default. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 103 ++- 1 file

Re: [PATCHv2 00/25] perf tool: Add support for multiple data file storage

2013-09-10 Thread Adrian Hunter
On 09/09/13 14:17, Peter Zijlstra wrote: On Sun, Sep 01, 2013 at 12:36:11PM +0200, Jiri Olsa wrote: hi, sending the support for multiple file storage. Initial RFC is here: http://marc.info/?l=linux-kernelm=137408381902423w=2 v2 changes: - reworked perf mmap size setup to be able to get

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote: I am not sure how to call this kernel option but we need something like that. I see drivers and the kernel spawning processes on the nohz cores. The

Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-10 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. + +static int fsl_pwm_probe(struct platform_device *pdev) +{ + int ret = 0; + struct fsl_pwm_chip *fpc; + struct resource *res; + +

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-10 Thread Viresh Kumar
Back finally and I see lots of mails over cpufreq stuff.. :) On 3 September 2013 18:50, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: This doesn't solve the problem completely: it prevents the store_*() task from continuing *only* when it concurrently executes the

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Joonsoo Kim
On Tue, Sep 10, 2013 at 04:15:20PM +1000, Dave Chinner wrote: On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: Hi folks, I just updated my performance test VM to the current 3.12-git tree after the XFS dev

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-10 Thread Sascha Hauer
On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: This flag is a NOOP since 2.6.35 and can be removed. This is an update for 3.11 of a patch already sent for 3.10 Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com (added shawn to Cc) Acked-by: Sascha

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
Hi, On Tue, Sep 10, 2013 at 9:47 AM, Mike Galbraith bitbuc...@online.de wrote: On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote: I am not sure how to call this kernel option but we need something

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-10 Thread Joel Fernandes
On 07/31/2013 03:35 AM, Javier Martinez Canillas wrote: On 07/31/2013 01:44 AM, Linus Walleij wrote: On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij linus.wall...@linaro.org wrote: To solve this dilemma, perform an

Re: [PATCH 4/5] cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes

2013-09-10 Thread Viresh Kumar
On 7 September 2013 01:23, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Commit cpufreq: serialize calls to __cpufreq_governor() had been a temporary and partial solution to the race condition between writing to a cpufreq sysfs file and taking a CPU offline. Now that we have a proper

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-10 Thread Shawn Guo
On Tue, Sep 10, 2013 at 08:58:38AM +0200, Sascha Hauer wrote: On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: This flag is a NOOP since 2.6.35 and can be removed. This is an update for 3.11 of a patch already sent for 3.10 Signed-off-by: Michael Opdenacker

Re: [RFC PATCH 1/4] zbud: use page ref counter for zbud pages

2013-09-10 Thread Krzysztof Kozlowski
Hi, On pon, 2013-09-09 at 14:47 -0500, Seth Jennings wrote: On Fri, Aug 30, 2013 at 10:42:53AM +0200, Krzysztof Kozlowski wrote: Use page reference counter for zbud pages. The ref counter replaces zbud_header.under_reclaim flag and ensures that zbud page won't be freed when zbud_free() is

Re: Subject: [PATCH] md: avoid deadlock when raid5 array has unack badblocks during md_stop_writes.

2013-09-10 Thread y b
I use linux-next 2013-9-6 vesion and I can reproduce it when raid5 array rescovering, so sync_blockdev may not work. Some disk-controller driver handle disk error in a slowerpath, may more than 5 seconds. if shutdown or set readonly array, we can met this situation. the detail message when I met

[tip:sched/urgent] sched: Fix load balancing performance regression in should_we_balance()

2013-09-10 Thread tip-bot for Joonsoo Kim
Commit-ID: b0cff9d88ce2f3030f73138078c5b1019f17e1cc Gitweb: http://git.kernel.org/tip/b0cff9d88ce2f3030f73138078c5b1019f17e1cc Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 10 Sep 2013 15:54:49 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 10 Sep 2013

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:59 +0300, Gilad Ben-Yossef wrote: Hi, On Tue, Sep 10, 2013 at 9:47 AM, Mike Galbraith bitbuc...@online.de wrote: On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote:

Re: [PATCH v2] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread Lee Jones
On Tue, 10 Sep 2013, wwang wrote: 于 2013年09月09日 21:02, Lee Jones 写道: #define PHY_FLD4 0x1E +#define FLDEN_SEL0x4000 +#define REQ_REF 0x2000 +#define RXAMP_OFF0x1000 +#define REQ_ADDA

Re: kernel deadlock

2013-09-10 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: Now, I'm still in the dark as to why HRTICK exposes this, but seems like the following patch should resolve the issue (and quiets the lockdep warnings in my testing). Let me know how it works for you! Ingo: This makes me think we really should

Re: [PATCH 0/3] perf: parse the dwarf backtrace info from .debug_frame section

2013-09-10 Thread Jean Pihet
Hi! FYI a wiki page has been added for perf-libunwind, at https://wiki.linaro.org/LEG/Engineering/TOOLS/perf-libunwind Any feedback is welcome! Cheers, Jean On 9 September 2013 12:00, Jean Pihet jean.pi...@linaro.org wrote: On ARM the debug info is not present in the .eh_frame sections but

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Rodolfo Giometti
On Mon, Sep 09, 2013 at 06:01:15PM +0200, Paul Chavent wrote: Hi. This series enable the PPS reporting for USB serial devices. I have nothing against with this solution but consider that reporting a PPS signal through USB bus may add unknown delays that may vanish clock stability... as far as

Re: [PATCH RESEND 1/2] i2c: prepare runtime PM support for I2C client devices

2013-09-10 Thread Mika Westerberg
On Mon, Sep 09, 2013 at 04:40:28PM +0100, Mark Brown wrote: On Mon, Sep 09, 2013 at 04:34:38PM +0300, Mika Westerberg wrote: + /* +* Enable runtime PM for the client device. If the client wants to +* participate on runtime PM it should call pm_runtime_put() in its +*

[benchmark] THP performance testcase

2013-09-10 Thread Ingo Molnar
( Changed the subject line to make it stand out better on lkml. Mail with link results quoted below. ) * Alex Thorlton athorl...@sgi.com wrote: [...] Here's a pointer to the test I wrote: ftp://shell.sgi.com/collect/appsx_test/pthread_test.tar.gz Everything to compile the test should

[PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread George Cherian
In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/extcon/extcon-palmas.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[tip:x86/urgent] x86: Remove now-unused save_rest()

2013-09-10 Thread tip-bot for Borislav Petkov
Commit-ID: c0da0fa1d7ebe3c86747b10c92e0ac2be1524a8a Gitweb: http://git.kernel.org/tip/c0da0fa1d7ebe3c86747b10c92e0ac2be1524a8a Author: Borislav Petkov b...@suse.de AuthorDate: Sat, 7 Sep 2013 11:39:10 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 10 Sep 2013 09:31:55

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
On Tue, Sep 10, 2013 at 10:26 AM, Mike Galbraith bitbuc...@online.de wrote: Hammering on the wrong spot makes removing isolcpus take longer, and adds up to more hammering in the long run, no? Hearing you mention isolcpus, I just thought I should mention that it wants to go away, so might

Re: kernel deadlock

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 01:29:47PM -0700, John Stultz wrote: Ingo: This makes me think we really should have some lockdep smarts added to seqlock/seqcount structures. Is there something already discovered thats preventing this, or has this just not yet been tried? The only reason this hasn't

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-10 Thread Jochen Striepe
Hello, On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: On Mon, Sep 09, 2013 at 11:58:36PM +0200, Jochen Striepe wrote: I just got this on 3.10.11 on the same machine. Could that be related? Several people helped track down another source of spurious stall

[PATCH] drm/i915/sdvo: Fully translate sync flags in the dtd-mode conversion

2013-09-10 Thread Daniel Vetter
Instead of just a flag bit for each of the positive/negative sync modes drm actually uses a separate flag for each ... This upsets the modeset checker since the adjusted mode filled out at modeset time doesn't match the one reconstructed at check time (since the -get_config callback already gets

Re: [GIT PULL] perf changes for v3.12

2013-09-10 Thread Namhyung Kim
Hi, On Thu, 5 Sep 2013 14:42:44 +0200, Frederic Weisbecker wrote: On Thu, Sep 05, 2013 at 12:56:39PM +0200, Ingo Molnar wrote: (Cc:-ed Frederic and Namhyung as well, it's about bad overhead in tools/perf/util/hist.c.) * Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Sep

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Peter Zijlstra
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 7f0a5e6..9b3fe1c 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5151,7 +5151,7 @@ static int should_we_balance(struct lb_env *env) * First idle

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Paul Chavent
Hi. At the bottom of the description of the patch set, i warn about the latencies and jitter. I did real test with a pps generated by a workstation (i haven't tested with a precise pps yet), so the the jitter don't mean anything. But the magnitude of difference between uart and usb pps

RE: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-10 Thread Xiubo Li-B47053
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 67d929c..44787b5 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++ b/arch/arm/boot/dts/vf610.dtsi @@ -140,6 +140,37 @@ clock-names = pit; }; +

Re: [PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 09:42:46PM -0700, John Stultz wrote: +++ b/include/linux/lockdep.h @@ -510,6 +510,21 @@ static inline void print_irqtrace_events(struct task_struct *curr) #ifdef CONFIG_DEBUG_LOCK_ALLOC # ifdef CONFIG_PROVE_LOCKING +# define seqcount_acquire(l, s, t, i)

RE: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-10 Thread Xiubo Li-B47053
Subject: Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. + +static int fsl_pwm_probe(struct platform_device *pdev) { + int ret = 0;

Re: [PATCH 1/5] USB : serial : remove tty arg of handle_dcd_change.

2013-09-10 Thread Paul Chavent
On 09/09/2013 07:45 PM, Johan Hovold wrote: On Mon, Sep 09, 2013 at 06:01:16PM +0200, Paul Chavent wrote: Do the same way as in serialcore.c for uart_handle_dcd_change. It removes duplicated code around the usb_serial_handle_dcd_change calls. Signed-off-by: Paul Chavent

Re: [git pull] drm tree for 3.12-rc1

2013-09-10 Thread Benjamin Tissoires
On Fri, Sep 6, 2013 at 2:56 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Sep 5, 2013 at 4:19 PM, Linus Torvalds torva...@linux-foundation.org wrote: So I've decided I'm going to try to bisect this after all. I've done enough pulls for today anyway, I guess. Let's see if I

[PATCH 0/3] perf tools: Fix scalability problem on callchain merging

2013-09-10 Thread Namhyung Kim
Hello, Linus reported that perf report was stuck in after processing time ordered events. It turned out that merging/collapsing the callchain takes most of time to look up a matching callchain. Since it did a linear search for the lookup, it took more than 95% of time during the processing huge

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-10 Thread George Spelvin
_What_ pathname translations? Pathname resolution doesn't fall back to seq_writelock() at all. I meant the translation of dentry to pathname that this thread is about. Apologies for my confusing abbreviation. Since the reverse translation (pathname to dentry) is done a level at a time and

[PATCH 2/3] perf ui/progress: Add new helper functions for progress bar

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Introduce ui_progress_setup() and ui_progress__advance() to separate out from the session logic. It'll be used by other places in the upcoming patch. Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. You'll get VBUS interrupt when detaching USB-HOST cable also no? (because you do

Re: [Intel-gfx] [PATCH] drm/i915/sdvo: Fully translate sync flags in the dtd-mode conversion

2013-09-10 Thread Ville Syrjälä
On Tue, Sep 10, 2013 at 10:02:48AM +0200, Daniel Vetter wrote: Instead of just a flag bit for each of the positive/negative sync modes drm actually uses a separate flag for each ... This upsets the modeset checker since the adjusted mode filled out at modeset time doesn't match the one

[ANNOUNCE] BFS CPU scheduler v0.442 for linux-3.11

2013-09-10 Thread Con Kolivas
This is to announce a resync and minor update of the Brain Fuck Scheduler, version 0.442 for the latest stable linux kernel. The patch against linux-3.11 is available here: http://ck.kolivas.org/patches/bfs/3.0/3.11/3.11-sched-bfs-442.patch All patches available here:

[PATCH 1/3] perf callchain: Convert children list to rbtree

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Current collapse stage has a scalability problem which can be reproduced easily with parallel kernel build. This is because it needs to traverse every children of callchain linearly during the collapse/merge stage. Convert it to rbtree reduced the

[PATCH 3/3] perf tools: Show progress on histogram collapsing

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It can take quite amount of time so add progress bar UI to inform user. Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +-

Re: proc hidepid=2 and SGID programs

2013-09-10 Thread Christian Kujau
On Sun, 8 Sep 2013 at 23:42, Eric W. Biederman wrote: I don't have a clue why anyone would want to hide processes, and make their own lives more difficult. Oh, there are plenty of usescases, I'm sure. And I for one am thankful that this process hiding option made it into the kernel. Or, to

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread George Cherian
On 9/10/2013 1:54 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. You'll get VBUS interrupt

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread Kishon Vijay Abraham I
On Tuesday 10 September 2013 02:01 PM, George Cherian wrote: On 9/10/2013 1:54 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the

[PATCH] Staging: rtl8188eu: rtw_wlan_util.c: Fixed checkpatch.pl warnings.

2013-09-10 Thread farisdehaan
From: Faris de Haan farisdeh...@gmail.com Fixed a few of the coding style issues reported by checkpatch.pl Signed-off-by: Faris de Haan farisdeh...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff

Re: [PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 09:42:46PM -0700, John Stultz wrote: Currently seqlocks and seqcounts don't support lockdep. After running across a seqcount related deadlock in the timekeeping code, I used a less-refined and more focused varient of this patch to narrow down the cause of the issue.

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-10 Thread Lars Poeschel
On Tuesday 10 September 2013 17:19:24, Mark Brown wrote: On Wed, Sep 04, 2013 at 02:16:36PM -0600, Stephen Warren wrote: On 09/04/2013 03:05 AM, Lars Poeschel wrote: The driver that tries to use the GPIO requested by this patch before HAS to fail. This is exactly the intention of this

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-10 Thread Geert Uytterhoeven
On Mon, Sep 9, 2013 at 10:06 PM, Guenter Roeck li...@roeck-us.net wrote: [*] Why does m68k allmodconfig still succeed on kissb??? It does fail for me, as m68k's copy_from_user_page() calls flush_icache_user_range(), which is not exported. I don't see a build failure in

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-10 Thread Srivatsa S. Bhat
On 09/10/2013 12:22 PM, Viresh Kumar wrote: Back finally and I see lots of mails over cpufreq stuff.. :) On 3 September 2013 18:50, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: This doesn't solve the problem completely: it prevents the store_*() task from continuing *only* when

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 10:56 +0300, Gilad Ben-Yossef wrote: What if we re-did the implementation of isolcpu as creating an cpuset with migration off as early as possible in the boot process, prior to spawning init? So basically, isolcpus becomes just a way to configure a cpuset early?

Re: [PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 09:42:46PM -0700, John Stultz wrote: @@ -38,10 +39,58 @@ */ typedef struct seqcount { unsigned sequence; +#ifdef CONFIG_DEBUG_LOCK_ALLOC + struct lockdep_map dep_map; +#endif } seqcount_t; -#define SEQCNT_ZERO { 0 } -#define seqcount_init(x)

Re: [PATCHv2 00/25] perf tool: Add support for multiple data file storage

2013-09-10 Thread Namhyung Kim
Hi Peter and Jiri, On Mon, 9 Sep 2013 13:17:49 +0200, Peter Zijlstra wrote: On Sun, Sep 01, 2013 at 12:36:11PM +0200, Jiri Olsa wrote: hi, sending the support for multiple file storage. Initial RFC is here: http://marc.info/?l=linux-kernelm=137408381902423w=2 v2 changes: - reworked

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread Laxman Dewangan
On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. Signed-off-by: George Cherian george.cher...@ti.com ---

Re: linux-next: manual merge of the arm-soc tree with the pm tree

2013-09-10 Thread Lorenzo Pieralisi
On Mon, Sep 09, 2013 at 06:22:16PM +0100, Kevin Hilman wrote: On Mon, Sep 2, 2013 at 11:09 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Thu, Aug 29, 2013 at 06:57:15PM +0100, Olof Johansson wrote: On Thu, Aug 29, 2013 at 06:04:25PM +1000, Stephen Rothwell wrote: Hi all,

Re: kernel deadlock

2013-09-10 Thread Lin Ming
On Tue, Sep 10, 2013 at 4:29 AM, John Stultz john.stu...@linaro.org wrote: [snip] So I think I've managed to finally reproduce this and hunt it down. With Peter's sched: Fix HRTICK patch and HRTICK enabled, I found I could trigger a hard hang at boot on my x86_64 kvm system. sysrq didn't

Re: [PATCH 4/5] cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes

2013-09-10 Thread Srivatsa S. Bhat
On 09/10/2013 12:39 PM, Viresh Kumar wrote: On 7 September 2013 01:23, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Commit cpufreq: serialize calls to __cpufreq_governor() had been a temporary and partial solution to the race condition between writing to a cpufreq sysfs file and

Re: [PATCH 1/3] perf callchain: Convert children list to rbtree

2013-09-10 Thread Namhyung Kim
On Tue, 10 Sep 2013 17:24:16 +0900, Namhyung Kim wrote: - /* matches not, relay on the parent */ + /* matches not, relay no the parent */ Argh.. please ignore this hunk. Thanks, Namhyung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 9/9] x86/UV: Add ability to disable UV NMI handler

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 10:07:03AM -0700, Mike Travis wrote: On 9/9/2013 5:43 AM, Peter Zijlstra wrote: On Thu, Sep 05, 2013 at 05:50:41PM -0500, Mike Travis wrote: For performance reasons, the NMI handler may be disabled to lessen the performance impact caused by the multiple perf

[PATCH] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rts5249.c| 48

[PATCH v3] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rts5249.c| 48

[PATCH] drivers: of: fix build break if asm/dma-contiguous.h is missing

2013-09-10 Thread Marek Szyprowski
It is not needed to include asm/dma-contiguous.h header to compile reserved memory initialization code, so remove it to avoid build break on architectures without CMA support. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/of/of_reserved_mem.c |2 -- 1 file changed, 2

Re: [PATCH] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread wwang
于 2013年09月10日 17:09, wei_w...@realsil.com.cn 写道: From: Wei WANG wei_w...@realsil.com.cn In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. Hi all: Sorry, forget to modify the subject

Re: [PATCHv2 00/25] perf tool: Add support for multiple data file storage

2013-09-10 Thread Peter Zijlstra
On Tue, Sep 10, 2013 at 09:54:38AM +0300, Adrian Hunter wrote: On 09/09/13 14:17, Peter Zijlstra wrote: The only reason I wanted this is so that each thread can write its own data. The current one file thing is an immense bottle-neck for big machines. Do you need multiple files for

Re: [PATCH v2 2/2] perf tools: add attr-mmap2 support

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 04:47:45PM -0300, Arnaldo Carvalho de Melo wrote: Em Wed, Aug 21, 2013 at 12:10:25PM +0200, Stephane Eranian escreveu: This patch adds support for the new PERF_RECORD_MMAP2 record type exposed by the kernel. This is an extended PERF_RECORD_MMAP record. It adds for

Re: /proc/$PID/sched does not take PID namespace into account

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 01:01:41PM +0200, Peter Zijlstra wrote: On Tue, Sep 03, 2013 at 04:22:33PM +0200, Emmanuel Deloget wrote: The issue (if this is really an issue) lies in kernel/sched/debug.c, function proc_sched_show_task(). The code says [1]: SEQ_printf(m, %s (%d, #threads:

Re: [PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-10 Thread Peter Zijlstra
On Tue, Sep 10, 2013 at 10:11:56AM +0200, Peter Zijlstra wrote: On Mon, Sep 09, 2013 at 09:42:46PM -0700, John Stultz wrote: +++ b/include/linux/lockdep.h @@ -510,6 +510,21 @@ static inline void print_irqtrace_events(struct task_struct *curr) #ifdef CONFIG_DEBUG_LOCK_ALLOC #

Re: [PATCH] drm/i915/sdvo: Fully translate sync flags in the dtd-mode conversion

2013-09-10 Thread Daniel Vetter
On Tue, Sep 10, 2013 at 10:41:33AM +0200, Knut Petersen wrote: On 10.09.2013 10:02, Daniel Vetter wrote: Instead of just a flag bit for each of the positive/negative sync modes drm actually uses a separate flag for each ... This upsets the modeset checker since the adjusted mode filled out at

Re: [PATCH v3] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread Lee Jones
From: Wei WANG wei_w...@realsil.com.cn In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. The code looks so much more readable now, thanks for that. I would like some more

[PATCH 0/50] Basic scheduler support for automatic NUMA balancing V7

2013-09-10 Thread Mel Gorman
It has been a long time since V6 of this series and time for an update. Much of this is now stabilised with the most important addition being the inclusion of Peter and Rik's work on grouping tasks that share pages together. This series has a number of goals. It reduces overhead of automatic

[PATCH 48/50] sched: numa: Decide whether to favour task or group weights based on swap candidate relationships

2013-09-10 Thread Mel Gorman
From: Rik van Riel r...@redhat.com This patch separately considers task and group affinities when searching for swap candidates during task NUMA placement. If tasks are not part of a group or the same group then the task weights are considered. Otherwise the group weights are compared.

[PATCH 26/50] sched: Check current-mm before allocating NUMA faults

2013-09-10 Thread Mel Gorman
task_numa_placement checks current-mm but after buffers for faults have already been uselessly allocated. Move the check earlier. [pet...@infradead.org: Identified the problem] Signed-off-by: Mel Gorman mgor...@suse.de --- kernel/sched/fair.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH 24/50] sched: Reschedule task on preferred NUMA node once selected

2013-09-10 Thread Mel Gorman
A preferred node is selected based on the node the most NUMA hinting faults was incurred on. There is no guarantee that the task is running on that node at the time so this patch rescheules the task to run on the most idle CPU of the selected node when selected. This avoids waiting for the

[PATCH 19/50] sched: Track NUMA hinting faults on per-node basis

2013-09-10 Thread Mel Gorman
This patch tracks what nodes numa hinting faults were incurred on. This information is later used to schedule a task on the node storing the pages most frequently faulted by the task. Signed-off-by: Mel Gorman mgor...@suse.de --- include/linux/sched.h | 2 ++ kernel/sched/core.c | 3 +++

[PATCH 31/50] sched: Avoid overloading CPUs on a preferred NUMA node

2013-09-10 Thread Mel Gorman
This patch replaces find_idlest_cpu_node with task_numa_find_cpu. find_idlest_cpu_node has two critical limitations. It does not take the scheduling class into account when calculating the load and it is unsuitable for using when comparing loads between NUMA nodes. task_numa_find_cpu uses similar

[PATCH 44/50] sched: numa: stay on the same node if CLONE_VM

2013-09-10 Thread Mel Gorman
From: Rik van Riel r...@redhat.com A newly spawned thread inside a process should stay on the same NUMA node as its parent. This prevents processes from being torn across multiple NUMA nodes every time they spawn a new thread. Signed-off-by: Rik van Riel r...@redhat.com Signed-off-by: Mel Gorman

[PATCH 29/50] sched: Set preferred NUMA node based on number of private faults

2013-09-10 Thread Mel Gorman
Ideally it would be possible to distinguish between NUMA hinting faults that are private to a task and those that are shared. If treated identically there is a risk that shared pages bounce between nodes depending on the order they are referenced by tasks. Ultimately what is desirable is that task

[PATCH 45/50] sched: numa: use group fault statistics in numa placement

2013-09-10 Thread Mel Gorman
This patch uses the fraction of faults on a particular node for both task and group, to figure out the best node to place a task. If the task and group statistics disagree on what the preferred node should be then a full rescan will select the node with the best combined weight. Signed-off-by:

[PATCH 50/50] sched: numa: Avoid migrating tasks that are placed on their preferred node

2013-09-10 Thread Mel Gorman
From: Peter Zijlstra pet...@infradead.org (This changelog needs more work, it's currently inaccurate and it's not clear at exactly what point rt env-fbq_type is true for the logic to kick in) This patch classifies scheduler domains and runqueues into FBQ (cannot guess what this expands to)

[PATCH 49/50] sched: numa: fix task or group comparison

2013-09-10 Thread Mel Gorman
From: Rik van Riel r...@redhat.com This patch should probably be folded into commit 77e0ecbbc5cf0a84764be88b9de5ff13e4338163 Author: Rik van Riel r...@redhat.com Date: Tue Aug 27 21:52:47 2013 +0100 sched: numa: Decide whether to favour task or group weights based on swap candidate

[PATCH 47/50] sched: numa: add debugging

2013-09-10 Thread Mel Gorman
From: Ingo Molnar mi...@kernel.org Signed-off-by: Ingo Molnar mi...@kernel.org Signed-off-by: Peter Zijlstra pet...@infradead.org Link: http://lkml.kernel.org/n/tip-5giqjcqnc93a89q01ymtj...@git.kernel.org --- include/linux/sched.h | 6 ++ kernel/sched/debug.c | 60

[PATCH 46/50] sched: numa: Prevent parallel updates to group stats during placement

2013-09-10 Thread Mel Gorman
Having multiple tasks in a group go through task_numa_placement simultaneously can lead to a task picking a wrong node to run on, because the group stats may be in the middle of an update. This patch avoids parallel updates by holding the numa_group lock during placement decisions. Signed-off-by:

[PATCH 43/50] mm: numa: Do not group on RO pages

2013-09-10 Thread Mel Gorman
From: Peter Zijlstra pet...@infradead.org And here's a little something to make sure not the whole world ends up in a single group. As while we don't migrate shared executable pages, we do scan/fault on them. And since everybody links to libc, everybody ends up in the same group.

[PATCH 42/50] sched: numa: Report a NUMA task group ID

2013-09-10 Thread Mel Gorman
It is desirable to model from userspace how the scheduler groups tasks over time. This patch adds an ID to the numa_group and reports it via /proc/PID/status. Signed-off-by: Mel Gorman mgor...@suse.de --- fs/proc/array.c | 2 ++ include/linux/sched.h | 5 + kernel/sched/fair.c | 7

[PATCH 40/50] mm: numa: Change page last {nid,pid} into {cpu,pid}

2013-09-10 Thread Mel Gorman
From: Peter Zijlstra pet...@infradead.org Change the per page last fault tracking to use cpu,pid instead of nid,pid. This will allow us to try and lookup the alternate task more easily. Note that even though it is the cpu that is store in the page flags that the mpol_misplaced decision is still

[PATCH 41/50] sched: numa: Use {cpu, pid} to create task groups for shared faults

2013-09-10 Thread Mel Gorman
From: Peter Zijlstra pet...@infradead.org While parallel applications tend to align their data on the cache boundary, they tend not to align on the page or THP boundary. Consequently tasks that partition their data can still false-share pages presenting a problem for optimal NUMA placement. This

[PATCH 30/50] sched: Do not migrate memory immediately after switching node

2013-09-10 Thread Mel Gorman
From: Rik van Riel r...@redhat.com The load balancer can move tasks between nodes and does not take NUMA locality into account. With automatic NUMA balancing this may result in the tasks working set being migrated to the new node. However, as the fault buffer will still store faults from the old

[PATCH 39/50] sched: numa: Favor placing a task on the preferred node

2013-09-10 Thread Mel Gorman
A tasks preferred node is selected based on the number of faults recorded for a node but the actual task_numa_migate() conducts a global search regardless of the preferred nid. This patch checks if the preferred nid has capacity and if so, searches for a CPU within that node. This avoids a global

  1   2   3   4   5   6   7   8   9   10   >