[3.5.y.z extended stable] Linux 3.5.7.10

2013-04-10 Thread Luis Henriques
I am announcing the release of the 3.5.7.10 tree of stable patches. This tree picks up the latest 3.5 stable release upstream, and add patches on top that were later marked for stable but can't be added to 3.5, as it is not anymore an stable series maintained upstream. The tree is maintained by t

[3.9-rc5 regression, BISECTED] INFO: task umount:29671 blocked for more than 120 seconds

2013-04-10 Thread Jan Kara
Axboe , Phillip Susi Bcc: Subject: Re: [3.9-rc5 regression, BISECTED] INFO: task umount:29671 blocked for more than 120 seconds Reply-To: In-Reply-To: <12072206.85601365230982200.JavaMail.weblogic@epml02> Hello, On Sat 06-04-13 06:49:42, Jongman Heo wrote: > Once I reported this issue (on 1

Re: [PATCH] drm/i915: don't check inconsistent modeset state when force-restoring

2013-04-10 Thread Daniel Vetter
On Wed, Apr 10, 2013 at 01:59:02PM +0200, Richard Cochran wrote: > On Tue, Apr 09, 2013 at 09:51:30PM +0200, Daniel Vetter wrote: > > It will be only consistent once we've restored all the crtcs. Since a > > bunch of other callers also want to just restore a single crtc, add a > > boolean to disabl

Re: [RFC 4/4] cputime: remove scaling

2013-04-10 Thread Ingo Molnar
* Stanislaw Gruszka wrote: > Scaling cputime cause problems, bunch of them was fixed, but still is > possible > to hit multiplication overflow issue, which make {u,s}time values incorrect. > This problem has no good solution in kernel. Wasn't 128-bit math a solution to the overflow problems?

Re: [PATCH] drm/i915: don't check inconsistent modeset state when force-restoring

2013-04-10 Thread Richard Cochran
On Tue, Apr 09, 2013 at 09:51:30PM +0200, Daniel Vetter wrote: > It will be only consistent once we've restored all the crtcs. Since a > bunch of other callers also want to just restore a single crtc, add a > boolean to disable checking only where it doesn't make sense. > > Note that intel_modeset

Re: [PATCH RESEND 0/3] perf, amd: Support for Family 16h L2I Performance Counters

2013-04-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, 2013-04-10 at 13:49 +0200, Peter Zijlstra wrote: > > > Hmm.. the 15h old interface bits got merged? I thought I kept telling > > that should be done like the intel uncore stuff since the hardware > > interface wasn't retarded anymore. > > Ah well, that crap se

Re: [PATCH] drivers/gpu/drm/gma500:fix build failure for 3.9-rc5

2013-04-10 Thread Xiong Zhou
On Tue, 9 Apr 2013, Patrik Jakobsson wrote: > On Tue, Apr 9, 2013 at 8:35 AM, Xiong Zhou wrote: > > From: Xiong Zhou > > > > This patch fixes build failure of v3.9-rc5. > > When config ACPI_VIDEO as m, DRM_GMA500 as y, here comes the failure. > > gma5/600 needs acpi_video just like nouveau. >

Re: [PATCH RESEND 0/3] perf, amd: Support for Family 16h L2I Performance Counters

2013-04-10 Thread Peter Zijlstra
On Wed, 2013-04-10 at 13:49 +0200, Peter Zijlstra wrote: > Hmm.. the 15h old interface bits got merged? I thought I kept telling > that should be done like the intel uncore stuff since the hardware > interface wasn't retarded anymore. Ah well, that crap seems to have slipped in in Feb when I was

[PATCH -next 2/2] sun3_scsi: switch to ->show_info()

2013-04-10 Thread Geert Uytterhoeven
Based on Al's changes to atari_scsi. Signed-off-by: Geert Uytterhoeven --- http://kisskb.ellerman.id.au/kisskb/buildresult/8543326/ drivers/scsi/sun3_NCR5380.c | 185 ++ drivers/scsi/sun3_scsi.c|2 +- drivers/scsi/sun3_scsi.h|2 +- 3 file

[PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4

2013-04-10 Thread Laxman Dewangan
Enable SPI4 and add Winbond SPI flash W25Q32DW device on CS0 line. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra114-dalmore.dts | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dal

Re: [PATCH RESEND 0/3] perf, amd: Support for Family 16h L2I Performance Counters

2013-04-10 Thread Stephane Eranian
On Wed, Apr 10, 2013 at 1:49 PM, Peter Zijlstra wrote: > On Wed, 2013-04-10 at 13:38 +0200, Stephane Eranian wrote: >> On Wed, Apr 10, 2013 at 11:41 AM, Peter Zijlstra >> wrote: >> > >> > On Tue, 2013-04-09 at 10:23 -0500, Jacob Shin wrote: >> > > Upcoming AMD Family 16h Processors provide 4 new

Re: [PATCH v2 7/7] i2c-designware: switch to use runtime PM autosuspend

2013-04-10 Thread Mika Westerberg
On Wed, Apr 10, 2013 at 05:13:57PM +0530, Shubhrajyoti Datta wrote: > Hi Mika, > > > > On Wed, Apr 10, 2013 at 4:06 PM, Mika Westerberg < > mika.westerb...@linux.intel.com> wrote: > > > Using autosuspend helps to reduce the resume latency in situations where > > another I2C message is going to

[PATCH 1/2] sun3_scsi: Fill in missing scsi_host_template.proc_info method

2013-04-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/scsi/sun3_scsi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c index 6e25889..b0dc034 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c @@ -626,6 +626,7

[PATCH 1/2] ARM: config: tegra: enable T114 SPI

2013-04-10 Thread Laxman Dewangan
Nvidia Tegra114 has the new spi controller whose driver is not compatible with older SoCs. The new driver is added for Tegra114 spi controller. Enabling the config of this driver. Signed-off-by: Laxman Dewangan --- arch/arm/configs/tegra_defconfig |1 + 1 files changed, 1 insertions(+), 0 d

[PATCH 2/2] ARM: tegra: pluto: populate key mapping

2013-04-10 Thread Laxman Dewangan
Keys on Pluto interfaced through Tegra KBC controller in key matrix topology. Add the key mapping for the keys Signed-off-by: Laxman Dewangan --- The system is booted on Pluto with the fastboot. arch/arm/boot/dts/tegra114-pluto.dts | 17 + 1 files changed, 17 insertions(+), 0

[PATCH 1/2] ARM: tegra: dalmore: populate key mapping

2013-04-10 Thread Laxman Dewangan
Keys on Dalmore interfaced through Tegra KBC controller in key matrix topology. Add the key mapping for the keys. Signed-off-by: Laxman Dewangan --- The system is booted on Dalmore SKU1000 with the fastboot. arch/arm/boot/dts/tegra114-dalmore.dts | 12 1 files changed, 12 insert

Re: [PATCH 2/7] sched: Update rq clock on nohz CPU before setting fair group shares

2013-04-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, 2013-04-10 at 13:06 +0200, Ingo Molnar wrote: > > > There's just a handful of high level entry points, right? schedule(), > > wakeup, > > scheduler tick, maybe notifiers - anything else? > > I suppose there's some cgroup muck and the various system calls; m

Re: [PATCH RESEND 0/3] perf, amd: Support for Family 16h L2I Performance Counters

2013-04-10 Thread Peter Zijlstra
On Wed, 2013-04-10 at 13:38 +0200, Stephane Eranian wrote: > On Wed, Apr 10, 2013 at 11:41 AM, Peter Zijlstra > wrote: > > > > On Tue, 2013-04-09 at 10:23 -0500, Jacob Shin wrote: > > > Upcoming AMD Family 16h Processors provide 4 new performance counters > > > to count L2 related events. Similar

Re: [PATCH 2/7] sched: Update rq clock on nohz CPU before setting fair group shares

2013-04-10 Thread Peter Zijlstra
On Wed, 2013-04-10 at 13:06 +0200, Ingo Molnar wrote: > There's just a handful of high level entry points, right? schedule(), wakeup, > scheduler tick, maybe notifiers - anything else? I suppose there's some cgroup muck and the various system calls; most of them should be covered if we take som

Re: [PATCH v5 4/7] CIFS: Use NT_CREATE_ANDX command for forcemand mounts

2013-04-10 Thread Pavel Shilovsky
2013/4/10 Jeff Layton : > On Tue, 9 Apr 2013 16:40:24 +0400 > Pavel Shilovsky wrote: > >> forcemand mount option now lets us use Windows mandatory style of >> byte-range locks even if server supports posix ones - switches on >> Windows locking mechanism. Share flags is another locking mehanism >>

Re: [PATCH v2] arm64: Fix task tracing

2013-04-10 Thread Will Deacon
On Tue, Apr 09, 2013 at 01:33:34PM +0100, Christopher Covington wrote: > For accurate accounting pass contextidr_thread_switch the prev > task pointer, since cpu_switch_to has at that point changed the > the stack pointer. > > Signed-off-by: Christopher Covington Thanks Christopher -- I assume t

Re: [PATCH] rtc: rtc-s3c: use clk_prepare_enable and clk_disable_unprepare

2013-04-10 Thread Vivek Gautam
On Wed, Apr 10, 2013 at 3:20 PM, Sylwester Nawrocki wrote: > On 04/09/2013 04:27 PM, Vivek Gautam wrote: >> From: Thomas Abraham >> >> Convert clk_enable/clk_disable to clk_prepare_enable/clk_disable_unprepare >> calls as required by common clock framework. >> >> Signed-off-by: Thomas Abraham >>

RE: [PATCH v4] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-04-10 Thread Philip, Avinash
On Wed, Apr 10, 2013 at 17:05:24, Nori, Sekhar wrote: > Avinash, > > On 4/10/2013 1:32 PM, Philip Avinash wrote: > > Add da850 EHRPWM & ECAP DT node along with pin-mux details for EHRPWM1. > > Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP > > clock. > > > > Signed-off-by:

Re: [PATCH RESEND 0/3] perf, amd: Support for Family 16h L2I Performance Counters

2013-04-10 Thread Stephane Eranian
On Wed, Apr 10, 2013 at 11:41 AM, Peter Zijlstra wrote: > > On Tue, 2013-04-09 at 10:23 -0500, Jacob Shin wrote: > > Upcoming AMD Family 16h Processors provide 4 new performance counters > > to count L2 related events. Similar to northbridge counters, these new > > counters are shared across multi

Re: [PATCH v4] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-04-10 Thread Sekhar Nori
Avinash, On 4/10/2013 1:32 PM, Philip Avinash wrote: > Add da850 EHRPWM & ECAP DT node along with pin-mux details for EHRPWM1. > Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP > clock. > > Signed-off-by: Philip Avinash > --- > Changes since v3: > - add pin mux info

Re: [PATCH] process cputimer is moving faster than its corresponding clock

2013-04-10 Thread Peter Zijlstra
On Fri, 2013-04-05 at 13:59 -0400, Olivier Langlois wrote: > Process timers are moving fasters than their corresponding > cpu clock for various reasons: > > 1. There is a race condition when getting a timer sample that makes the sample >be smaller than it should leading to setting the timer e

Re: [PATCH] checkpatch: Warn on comparisons to true and false

2013-04-10 Thread Joe Perches
On Wed, 2013-04-10 at 10:33 +0100, Andy Whitcroft wrote: > On Tue, Apr 09, 2013 at 08:17:14PM -0700, Joe Perches wrote: > > Comparisons of A to true and false are better written > > as A and !A. [] > In a complex case such as a + b == false will this do the right thing? Very sensible question.

RE: [PATCHv3] driver: serial: prevent UART console idle on suspend while using "no_console_suspend"

2013-04-10 Thread Bedia, Vaibhav
Hi Sourav, On Wed, Apr 10, 2013 at 15:13:44, Poddar, Sourav wrote: [...] > Yes, had a look at that and found your situation similar to UART. > > But how exactly this gets used, I mean I don't see any drivers/ in mainline > making use of this compatible string "ti,am3352-ocmcram". ? OCMC clock

Re: [PATCH] HID: appleir: add support for Apple ir devices

2013-04-10 Thread Bastien Nocera
On Tue, 2013-04-09 at 22:10 +0200, Jiri Kosina wrote: > On Mon, 8 Apr 2013, Benjamin Tissoires wrote: > > > This driver was originally written by James McKenzie, updated by > > Greg Kroah-Hartman, further updated by Bastien Nocera, with suspend > > support added. > > I ported it to the HID subsyst

Re: systemtap broken by removal of register_timer_hook

2013-04-10 Thread Ingo Molnar
* Frank Ch. Eigler wrote: > Hi - > > On Wed, Apr 03, 2013 at 02:49:53PM +0200, Frederic Weisbecker wrote: > > > Sounds good, would you like to propose a version? We are also > > interested in a timer tick event tracepoint for dynticks debugging. > > How about this? > > Author: Frank Ch. Eigl

Re: [PATCH v5 4/7] CIFS: Use NT_CREATE_ANDX command for forcemand mounts

2013-04-10 Thread Jeff Layton
On Tue, 9 Apr 2013 16:40:24 +0400 Pavel Shilovsky wrote: > forcemand mount option now lets us use Windows mandatory style of > byte-range locks even if server supports posix ones - switches on > Windows locking mechanism. Share flags is another locking mehanism > provided by Windows semantic tha

Re: [PATCH 1/6] efi: move utf16 string functions to efi.h

2013-04-10 Thread David Woodhouse
On Tue, 2013-04-09 at 15:00 -0700, Mike Waychison wrote: > fwiw, I was tempted to rename these to ucs2_*() last time I was here. We should definitely do that. The functions aren't implementing UTF-16. Note that Windows *does* now implement UTF16 I think, but EFI still claims to be UCS2 only. If

Re: [PATCH v5 1/7] fcntl: Introduce new O_DENY* open flags

2013-04-10 Thread Jeff Layton
On Tue, 9 Apr 2013 16:40:21 +0400 Pavel Shilovsky wrote: > This patch adds 3 flags: > 1) O_DENYREAD that doesn't permit read access, > 2) O_DENYWRITE that doesn't permit write access, > 3) O_DENYDELETE that doesn't permit delete or rename, > > Network filesystems CIFS, SMB2.0, SMB3.0 and NFSv4

Re: [PATCH] Do not force shutdown/reboot to boot cpu.

2013-04-10 Thread Ingo Molnar
* Robin Holt wrote: > On Mon, Apr 08, 2013 at 09:11:06AM -0700, H. Peter Anvin wrote: > > On 04/08/2013 08:57 AM, Ingo Molnar wrote: > > > > > > I think the original commit: > > > > > > f96972f2dc63 kernel/sys.c: call disable_nonboot_cpus() in > > > kernel_restart() > > > > > > actually re

Re: [PATCH] gpio / ACPI: Handle ACPI events in accordance with the spec

2013-04-10 Thread Rafael J. Wysocki
On Wednesday, April 10, 2013 01:54:26 PM Mika Westerberg wrote: > On Wed, Apr 10, 2013 at 12:39:21PM +0200, Rafael J. Wysocki wrote: > > On Wednesday, April 10, 2013 12:17:47 PM Mika Westerberg wrote: > > > On Wed, Apr 10, 2013 at 11:17:57AM +0300, Mathias Nyman wrote: > > > > On 04/10/2013 10:53 A

Re: [PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-10 Thread Stephen Rothwell
Hi, On Wed, 10 Apr 2013 09:06:11 + Tang Yuantian-B29983 wrote: > > Yes, I already sent out the v2 patch. > Please see: http://patchwork.ozlabs.org/patch/235288/ Thanks. I should read all my email before replying to it :-) -- Cheers, Stephen Rothwells...@canb.auug.org.

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-10 Thread Mel Gorman
impression of the wait times from this smoothened graph showing await times from iostat http://www.csn.ul.ie/~mel/postings/interactivity-20130410/await-times-smooth.png Again, while one can see the wait times are worse, it's not generally worse enough to pinpoint it to a single change. Other observations

Re: [PATCH 2/7] sched: Update rq clock on nohz CPU before setting fair group shares

2013-04-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, 2013-04-10 at 12:06 +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > > > I think Mike once tried something along the lines of keeping a per rq > > > state that > > > got cleared at the end of schedule() but that doesn't catch things like > > > th

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-10 Thread Roger Quadros
On 04/10/2013 12:54 AM, Nishanth Menon wrote: > On 15:49-20130409, Nishanth Menon wrote: >> On 10:43-20130409, Tony Lindgren wrote: >>> * Tony Lindgren [130409 09:54]: * Roger Quadros [130409 03:00]: > On 04/05/2013 06:58 PM, Tony Lindgren wrote: >> >> Can't you just use the cloc

Re: [PATCH 2/7] sched: Update rq clock on nohz CPU before setting fair group shares

2013-04-10 Thread Peter Zijlstra
On Wed, 2013-04-10 at 12:06 +0200, Ingo Molnar wrote: > * Peter Zijlstra wrote: > > > I think Mike once tried something along the lines of keeping a per rq state > > that > > got cleared at the end of schedule() but that doesn't catch things like the > > migrate handlers I think. > > We'd nee

Re: [PATCH v5 2/3] ARM: dts: Add i2c-arbitrator bus for exynos5250-snow

2013-04-10 Thread Wolfram Sang
On Wed, Apr 10, 2013 at 07:59:17PM +0900, Kukjin Kim wrote: > Doug Anderson wrote: > > > > We need to use the i2c-arbitrator to talk to any of the devices on i2c > > bus 4 on exynos5250-snow so that we don't confuse the embedded > > controller (EC). Add the i2c-arbitrator to the device tree. As

Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

2013-04-10 Thread Geert Uytterhoeven
On Wed, Apr 10, 2013 at 12:18 PM, Michal Marek wrote: > (Added Andi to CC) > > On 10.4.2013 11:24, Geert Uytterhoeven wrote: > [...] >> E.g. gcc turned >> >> strncat(name, "%d", 2); >> >> into a call to strlen() and a 16-bit store, causing a link failure, as >> arch/m68k/include/asm/string.h p

RE: [PATCH v5 2/3] ARM: dts: Add i2c-arbitrator bus for exynos5250-snow

2013-04-10 Thread Kukjin Kim
Doug Anderson wrote: > > We need to use the i2c-arbitrator to talk to any of the devices on i2c > bus 4 on exynos5250-snow so that we don't confuse the embedded > controller (EC). Add the i2c-arbitrator to the device tree. As we > add future devices (keyboard, sbs, tps65090) we'll add them on to

Re: [PATCH] kernel: kallsyms: parameters checking, for EXPORT_SYMBOL_GPL functions

2013-04-10 Thread Chen Gang
On 2013年04月10日 14:57, Rusty Russell wrote: > Chen Gang writes: >> > for EXPORT_SYMBOL_GPL functions, necessary to check their parameters. >> > >> > Signed-off-by: Chen Gang > Why? > > If someone misuses these functions, they crash and thus indicate that > the caller shouldn't do that. > fo

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-10 Thread Roger Quadros
On 04/10/2013 11:06 AM, Mike Turquette wrote: > Quoting Nishanth Menon (2013-04-09 13:49:00) >> On 10:43-20130409, Tony Lindgren wrote: >>> * Tony Lindgren [130409 09:54]: * Roger Quadros [130409 03:00]: > On 04/05/2013 06:58 PM, Tony Lindgren wrote: >> >> Can't you just use the

[tip:sched/core] sched: Simplify can_migrate_task()

2013-04-10 Thread tip-bot for Zhang Hang
Commit-ID: 4e2dcb73aecbde9fe4e3137c9ea35cb6aa6cb286 Gitweb: http://git.kernel.org/tip/4e2dcb73aecbde9fe4e3137c9ea35cb6aa6cb286 Author: Zhang Hang AuthorDate: Wed, 10 Apr 2013 14:04:55 +0800 Committer: Ingo Molnar CommitDate: Wed, 10 Apr 2013 11:15:45 +0200 sched: Simplify can_migrate_t

Re: [PATCH] kthread: Prevent unpark race which puts threads on the wrong cpu

2013-04-10 Thread Thomas Gleixner
On Wed, 10 Apr 2013, Thomas Gleixner wrote: > On Tue, 9 Apr 2013, Dave Hansen wrote: > > > On 04/09/2013 12:30 PM, Thomas Gleixner wrote: > > > On Tue, 9 Apr 2013, Thomas Gleixner wrote: > > > Thought more about it and found, that the stupid binding only works > > > when the task is really desched

Re: [PATCH] gpio / ACPI: Handle ACPI events in accordance with the spec

2013-04-10 Thread Mika Westerberg
On Wed, Apr 10, 2013 at 12:39:21PM +0200, Rafael J. Wysocki wrote: > On Wednesday, April 10, 2013 12:17:47 PM Mika Westerberg wrote: > > On Wed, Apr 10, 2013 at 11:17:57AM +0300, Mathias Nyman wrote: > > > On 04/10/2013 10:53 AM, Mika Westerberg wrote: > > > >On Tue, Apr 09, 2013 at 03:57:25PM +020

Re: [PATCH v3] X.509: Support parse long form of length octets in Authority Key Identifier

2013-04-10 Thread joeyli
Hi David, Sorry for bother you! Will you take this patch for merge to v3.10 kernel? Thanks a lot! Joey Lee 於 五,2013-03-29 於 16:52 +0800,Lee, Chun-Yi 提到: > From: Chun-Yi Lee > > Per X.509 spec in 4.2.1.1 section, the structure of Authority Key > Identifier Extension is: > >AuthorityKeyI

Re: [RFC PATCH 0/2] cpufreq: Introduce LAB cpufreq governor.

2013-04-10 Thread Vincent Guittot
On 10 April 2013 11:38, Lukasz Majewski wrote: > Hi Vincent, > >> On 10 April 2013 10:44, Lukasz Majewski >> wrote: >> > Hi Vincent, >> > >> >> >> >> >> >> On Tuesday, 9 April 2013, Lukasz Majewski >> >> wrote: >> >> > Hi Viresh and Vincent, >> >> > >> >> >> On 9 April 2013 16:07, Lukasz Majewsk

Re: hangs on boot in 9984d7394618df9

2013-04-10 Thread Sedat Dilek
The issue is fixed with Linux-Next (next-20130410). - Sedat - [1] http://marc.info/?l=linux-next&m=136559043516192&w=2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] x86: make IDT read-only

2013-04-10 Thread Eric W. Biederman
Ingo Molnar writes: > * Eric W. Biederman wrote: > >> "H. Peter Anvin" writes: >> >> > On 04/08/2013 03:43 PM, Kees Cook wrote: >> >> This makes the IDT unconditionally read-only. This primarily removes >> >> the IDT from being a target for arbitrary memory write attacks. It has >> >> an added

Re: linux-next: Tree for Apr 10

2013-04-10 Thread Sedat Dilek
On Wed, Apr 10, 2013 at 10:48 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20130409: > > The vfs tree lost its build failure. > Beyond build-failures in vfs-next [0] and [1], it was not bootable (see [2] till [4])! This is now all fixed, thanks to all involved people! $ cat /proc/ver

[PATCH v2 1/7] i2c-designware: move to managed functions (devm_*)

2013-04-10 Thread Mika Westerberg
From: Andy Shevchenko This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller and tidier. Signed-off-by: Andy Shevchenko Signed-off-by: Mika Westerberg --- Changes to v1: - dropped redundant dev_err() after devm_iorem

RE: [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver

2013-04-10 Thread Kukjin Kim
Vivek Gautam wrote: > > This patch-set is in continuation with patch-series: > [PATCH v4 0/4] Enable ehci, ohci and dwc3 devices on exynos5250 > out of which follwowing patches have been picked up: > ARM: Exynos5250: Enabling ehci-s5p driver > ARM: Exynos5250: Enabling ohci-exynos driver > > Base

[PATCH v2 5/7] i2c-designware: enable/disable the controller properly

2013-04-10 Thread Mika Westerberg
The correct way to disable or enable the controller is to wait until the DW_IC_ENABLE_STATUS register bit matches the bit we program into DW_IC_ENABLE register. This procedure is described in the DesignWare I2C databook. By doing this we can be sure that the controller is in correct state once the

[PATCH v2 2/7] i2c-designware-pci: use dev_err() instead of printk()

2013-04-10 Thread Mika Westerberg
From: Andy Shevchenko With dev_err() we can get the device instance printed as well and is pretty much standard to use dev_* macros in the drivers anyway. In addition correct the indentation of probe() arguments. Signed-off-by: Andy Shevchenko Signed-off-by: Mika Westerberg --- drivers/i2c/bu

Re: [PATCH v2 0/3] ARM: S3C24XX: Add devicetree support for s3c2416

2013-04-10 Thread Heiko Stübner
Am Mittwoch, 10. April 2013, 12:15:48 schrieb Kukjin Kim: > Heiko Stübner wrote: > > This is the second installment of beginning devicetree support the > > Samsung S3C24xx architectures and focuses on the s3c2416 for now. > > > > Included is the devicetree support for the s3c24xx irq controller an

Re: [PATCH] kernel: auditfilter: looping issue, memory leak if has 2 or more AUDIT_FILTERKEYs

2013-04-10 Thread Chen Gang
also for function audit_list_rules: when call audit_make_reply fails (will return NULL). we also need process data->buf, not only data itself. please help check, thanks. :-) gchen. On 2013年04月10日 18:28, Chen Gang wrote: > > also for function audit_list: > when call audit_m

[PATCH v2 3/7] i2c-designware-pci: use managed functions pcim_* and devm_*

2013-04-10 Thread Mika Westerberg
From: Andy Shevchenko This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller an tidier. Signed-off-by: Andy Shevchenko Signed-off-by: Mika Westerberg --- drivers/i2c/busses/i2c-designware-pcidrv.c | 68 +++

[PATCH v2 4/7] i2c-designware: use dynamic adapter numbering on Lynxpoint

2013-04-10 Thread Mika Westerberg
It is not good idea to mix static and dynamic I2C adapter numbering. In this particular case on Lynxpoint we had graphics I2C adapter which took the first numbers preventing the designware I2C driver from using the adapter numbers it preferred. Since Lynxpoint support was just introduced and there

Re: [PATCH] module: add kset_obj_exists() and use it

2013-04-10 Thread Rusty Russell
Veaceslav Falico writes: > Add a new function, kset_obj_exists(), which is identical to > kset_find_obj() but doesn't take a reference to the kobject > found and only returns bool if found/not found. > > The main purpose would be to avoid the possible race scenario, > when we could get the referen

Re: [PATCH v3] kernel: module: using strlcpy and strcpy instead of strncpy

2013-04-10 Thread Rusty Russell
Chen Gang writes: > namebuf is NUL terminated string. better always let it ended by '\0'. > > the module_name() is always the name field of struct module (which is > a fixed array), or a literal "kernel", so strcpy is better. Thanks, applied. Cheers, Rusty. -- To unsubscribe from this lis

RE: [PATCH v2] MODSIGN: do not send garbage to stderr when enabling modules signature

2013-04-10 Thread Rusty Russell
"Gross, Mark" writes: > Reviewed-by: mark gross Not sure that's a valid email address, so I added a space. Cheers, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.or

Re: [PATCH v2] MODSIGN: do not send garbage to stderr when enabling modules signature

2013-04-10 Thread Rusty Russell
David Cohen writes: > openssl may send garbage to stderr when generating X.509 key pair for > modules signature regardless there was an error or not. It makes more > difficult to create scripts based on kernel error/warning messages. > > When compiling kernel with -jN (N > 1), all warning/error me

Re: [PATCH] kernel: kallsyms: parameters checking, for EXPORT_SYMBOL_GPL functions

2013-04-10 Thread Rusty Russell
Chen Gang writes: > for EXPORT_SYMBOL_GPL functions, necessary to check their parameters. > > Signed-off-by: Chen Gang Why? If someone misuses these functions, they crash and thus indicate that the caller shouldn't do that. Or is someone already doing this? Confused, Rusty. > --- > kernel

[PATCH] MODSIGN: do not send garbage to stderr when enabling modules signature

2013-04-10 Thread Rusty Russell
From: David Cohen When compiling kernel with -jN (N > 1), all warning/error messages printed while openssl is generating key pair may get mixed dots and other symbols openssl sends to stderr. This patch makes sure openssl logs go to default stdout. Example of the garbage on stderr: crypto/anubi

[PATCH v2 7/7] i2c-designware: switch to use runtime PM autosuspend

2013-04-10 Thread Mika Westerberg
Using autosuspend helps to reduce the resume latency in situations where another I2C message is going to be started soon. For example with HID over I2C touch panels we get several messages in a short period of time while the touch panel is in use. Signed-off-by: Mika Westerberg --- drivers/i2c/b

Re: [PATCH 1/7] x86: don't show trace beyond show_stack(NULL, NULL)

2013-04-10 Thread Ingo Molnar
* Tejun Heo wrote: > Hello, Ingo. > > On Mon, Apr 08, 2013 at 06:08:11PM +0200, Ingo Molnar wrote: > > > void show_stack(struct task_struct *task, unsigned long *sp) > > > { > > > - show_stack_log_lvl(task, NULL, sp, 0, ""); > > > + unsigned long bp = 0; > > > + unsigned long stack; > > > + >

[PATCH v2 6/7] i2c-designware: use usleep_range() in the busy-loop

2013-04-10 Thread Mika Westerberg
This is not an atomic context so there is no need to use mdelay() but instead use usleep_range(). Signed-off-by: Mika Westerberg --- drivers/i2c/busses/i2c-designware-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-designware-core.c b/drivers

Re: [PATCH 0/4] ACPI and PM patches for Euler stable from mainline v3.6

2013-04-10 Thread Hanjun Guo
I made a mistake in sending email, sorry for the bothering, please ignore it. On 2013/4/10 18:22, Hanjun Guo wrote: > Hi Zefan, > > These four patches are bugfix for ACPI and power management from mainline > v3.6, comments are welcomed! > > Thanks > Hanjun Guo > > > Colin Cross (1): > cpuid

Re: [PATCH RFC 1/3] mutex: Make more scalable by doing less atomic operations

2013-04-10 Thread Ingo Molnar
* Waiman Long wrote: > > That said, the MUTEX_SHOULD_XCHG_COUNT macro should die. Why shouldn't all > > architectures just consider negative counts to be locked? It doesn't matter > > that some might only ever see -1. > > I think so too. However, I don't have the machines to test out other >

RE: [PATCH v4 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-04-10 Thread Kukjin Kim
Vivek Gautam wrote: > > Based on 'for-next' of linux-samsung tree with following patches > from Doug on top: > usb: Document clocks in samsung, exynos4210-ehci/ohci bindings > ARM: dts: add usb 2.0 clock references to exynos5250 device tree > > Also depending upon following patch-series for Samsu

Re: [PATCH] gpio / ACPI: Handle ACPI events in accordance with the spec

2013-04-10 Thread Rafael J. Wysocki
On Wednesday, April 10, 2013 12:17:47 PM Mika Westerberg wrote: > On Wed, Apr 10, 2013 at 11:17:57AM +0300, Mathias Nyman wrote: > > On 04/10/2013 10:53 AM, Mika Westerberg wrote: > > >On Tue, Apr 09, 2013 at 03:57:25PM +0200, Rafael J. Wysocki wrote: > > >>+void acpi_gpiochip_free_interrupts(struc

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-10 Thread Daniel Vetter
On Mon, Apr 08, 2013 at 01:50:26PM +0200, Daniel Vetter wrote: > On Mon, Apr 08, 2013 at 12:39:24PM +0200, Peter Zijlstra wrote: > > On Thu, 2013-04-04 at 18:56 +0200, Daniel Vetter wrote: > > > Presuming I'm still following we should be able to fix this with the > > > new sleep state TASK_DEADLOCK

Re: [RFC GIT PULL] nohz: Full dynticks rq clock handling

2013-04-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > Another thing I just noticed; our update_curr() assumes its called at least > once > every 4 odd seconds (2^32 ns like). > > update_curr() is 'required' for things like task runtime stats and everything > that hangs off of that like cputimers etc. > > Now I'm not e

Re: [PATCH] kernel: auditfilter: looping issue, memory leak if has 2 or more AUDIT_FILTERKEYs

2013-04-10 Thread Chen Gang
also for function audit_list: when call audit_make_reply fails (will return NULL). we need free all its related variables instead of only kfree rull. (such as call autit_free_rule) please help check, thanks. :-) gchen. On 2013年04月10日 18:18, Chen Gang wrote: > > > in anoth

Re: [PATCH RFC 1/3] mutex: Make more scalable by doing less atomic operations

2013-04-10 Thread Ingo Molnar
* Waiman Long wrote: > > Furthermore, since you are seeing this effect so profoundly, have you > > considered using another approach, such as queueing all the poll-waiters in > > some fashion? > > > > That would optimize your workload additionally: removing the 'stampede' of > > trylock attem

Re: [PATCH 097/102] efivars: explicitly calculate length of VariableName

2013-04-10 Thread Lingzhu Xiang
On 04/10/2013 06:45 AM, Ben Hutchings wrote: On Mon, 2013-04-08 at 10:50 +0100, Luis Henriques wrote: 3.5.7.10 -stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit ec50bd32f1672d38ddce10fb1841cbfda89cfe9a upstream. It's not w

Re: [RFC GIT PULL] nohz: Full dynticks rq clock handling

2013-04-10 Thread Peter Zijlstra
Another thing I just noticed; our update_curr() assumes its called at least once every 4 odd seconds (2^32 ns like). update_curr() is 'required' for things like task runtime stats and everything that hangs off of that like cputimers etc. Now I'm not entirely sure how the nr_running==1 nohz case

[PATCH 3/4] ACPI: Untangle a return statement for better readability

2013-04-10 Thread Hanjun Guo
From: Thomas Renninger mainline inclusion from mainline-3.6 upstream commit f3946fb6e50b750d34f445188fa6746d14596afa category: cleanup This patch is cleanup patch, but the next bugfix patch is upon it. No functional change. Signed-off-b

[PATCH 1/4] cpuidle: fix error handling in __cpuidle_register_device

2013-04-10 Thread Hanjun Guo
From: Colin Cross mainline inclusion from mainline-3.6 upstream commit 3af272ab75c7a0c7fa5ae5507724d961f7e7718b category: bugfix Fix the error handling in __cpuidle_register_device to include the missing list_del. Move it to a label, whi

[PATCH 2/4] cpufreq: Fix sysfs deadlock with concurrent hotplug/frequency switch

2013-04-10 Thread Hanjun Guo
From: Stephen Boyd mainline inclusion from mainline-3.6 upstream commit a9144436271583115a2230db15d0b6ae2c481d3c category: bugfix As cpu offline/online and DVFS will be used in the actual production environment, this patch is worth to be backported. -

[PATCH 4/4] ACPI: Only count valid srat memory structures

2013-04-10 Thread Hanjun Guo
From: Thomas Renninger mainline inclusion from mainline-3.6 upstream commit 095adbb6441172985f5ddc3b9e88cb3191bdeac4 category: bugfix If BIOS provide OS with SRAT table which contains only one disabled memory affinity structure, this will trigger a WARN_ON. This patch is based on the former one

[PATCH 0/4] ACPI and PM patches for Euler stable from mainline v3.6

2013-04-10 Thread Hanjun Guo
Hi Zefan, These four patches are bugfix for ACPI and power management from mainline v3.6, comments are welcomed! Thanks Hanjun Guo Colin Cross (1): cpuidle: fix error handling in __cpuidle_register_device Stephen Boyd (1): cpufreq: Fix sysfs deadlock with concurrent hotplug/frequency swit

Re: [PATCH] kernel: auditfilter: looping issue, memory leak if has 2 or more AUDIT_FILTERKEYs

2013-04-10 Thread Chen Gang
in another function: audit_data_to_entry: a. has the same issue for case AUDIT_WATCH. b. has an new issue for AUDIT_DIR: after AUDIT_DIR succeed, it will set rule->tree. next, the other case fail, then will call audit_free_rule. but audit_free_rule will not free rule->t

Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

2013-04-10 Thread Michal Marek
(Added Andi to CC) On 10.4.2013 11:24, Geert Uytterhoeven wrote: [...] > E.g. gcc turned > > strncat(name, "%d", 2); > > into a call to strlen() and a 16-bit store, causing a link failure, as > arch/m68k/include/asm/string.h provides strlen() using a macro: > > ERROR: "strlen" [net/ipv4

[PATCH] staging: Enhance cpu load-balance octeon ethernet driver

2013-04-10 Thread EUNBONG SONG
Currently, CPU for RX napi handler is scheduled when backlog packet count is greater than budget * cores_in_use. If more cpus are used for RX napi handler, there is low possibility backlog packet count is greater than budget * cores_in_use. This patch makes CPU for RX napi handler is scheduled w

RE: [PATCH v2 0/3] ARM: S3C24XX: Add devicetree support for s3c2416

2013-04-10 Thread Kukjin Kim
Heiko Stübner wrote: > > This is the second installment of beginning devicetree support the > Samsung S3C24xx architectures and focuses on the s3c2416 for now. > > Included is the devicetree support for the s3c24xx irq controller and > basic support for smdk2416 boards, which can sucessfully boot

Re: [RFC PATCH 0/2] cpufreq: Introduce LAB cpufreq governor.

2013-04-10 Thread Lorenzo Pieralisi
On Wed, Apr 10, 2013 at 09:44:52AM +0100, Lukasz Majewski wrote: [...] > > Have you also looked at the power clamp driver that have similar > > target ? > > I might be wrong here, but in my opinion the power clamp driver is a bit > different: > > 1. It is dedicated to Intel SoCs, which provide

Re: [PATCH 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-10 Thread Mark Rutland
On Tue, Apr 09, 2013 at 05:42:38PM +0100, Stephen Boyd wrote: > On 04/09/13 02:08, Mark Rutland wrote: > > On Tue, Apr 09, 2013 at 03:30:20AM +0100, Stephen Boyd wrote: > >> > >> -** Timer node properties: > >> +** CP15 Timer node properties: > >> > >> - compatible : Should at least contain on

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2013-04-10 Thread Pavel Machek
Hi! > > > Thanks for the review, Pavel! Although, the patch is in > > > Linus' tree long ago. ;-) > > > > Yeah... I did a bit of history-digging ;-). Now, I should > > figure out how to put custom kernel on n900 _and_ keep it in > > working state at the same time. > > > > (I installed some kind

Re: [PATCH 2/7] sched: Update rq clock on nohz CPU before setting fair group shares

2013-04-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > I think Mike once tried something along the lines of keeping a per rq state > that > got cleared at the end of schedule() but that doesn't catch things like the > migrate handlers I think. We'd need a rq->clock.valid debug flag, which is set by a sched-clock update,

Re: scsi: ufs: add support for query requests

2013-04-10 Thread Santosh Y
> > This can be done inside the following if condition i.e. if > (hba->query.descriptor != NULL). > and change the condition to if (!hba->query.descriptor). > I meant to write if (hba->query.descriptor)...:-) -- ~Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: linux-next: manual merge of the mfd tree with the v4l-dvb tree

2013-04-10 Thread Samuel Ortiz
Hi Mauro, On Wed, Apr 10, 2013 at 06:48:28AM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 10 Apr 2013 08:42:53 +0200 > Samuel Ortiz escreveu: > > > Hi Stephen, > > > > On Wed, Apr 10, 2013 at 01:48:13PM +1000, Stephen Rothwell wrote: > > > Hi Samuel, > > > > > > Today's linux-next merge of th

Re: [PATCH] x86: make IDT read-only

2013-04-10 Thread Ingo Molnar
* Eric W. Biederman wrote: > "H. Peter Anvin" writes: > > > On 04/08/2013 03:43 PM, Kees Cook wrote: > >> This makes the IDT unconditionally read-only. This primarily removes > >> the IDT from being a target for arbitrary memory write attacks. It has > >> an added benefit of also not leaking (

Re: [PATCH] checkpatch: Warn on comparisons to true and false

2013-04-10 Thread Andy Whitcroft
On Tue, Apr 09, 2013 at 08:17:14PM -0700, Joe Perches wrote: > Comparisons of A to true and false are better written > as A and !A. > > Bleat a message on use. > > Signed-off-by: Joe Perches > --- > scripts/checkpatch.pl | 17 + > 1 file changed, 17 insertions(+) > > diff --git

Re: scsi: ufs: add support for query requests

2013-04-10 Thread Santosh Y
linux-...@vger.kernel.org is for UFS filesystem. > The API for submitting a query request is ufs_query_request() in > ufs_core.c. This function is responsible for: This can be part of ufshcd.c which is actually the core file, no need to create a new core file for the function. > + > +#define UFS

Re: [PATCH v3 09/18] reiserfs: use ->invalidatepage() length argument

2013-04-10 Thread Lukáš Czerner
On Tue, 9 Apr 2013, Jan Kara wrote: > Date: Tue, 9 Apr 2013 15:27:56 +0200 > From: Jan Kara > To: Lukas Czerner > Cc: linux...@kvack.org, linux-kernel@vger.kernel.org, > linux-fsde...@vger.kernel.org, linux-e...@vger.kernel.org, > reiserfs-de...@vger.kernel.org > Subject: Re: [PATCH v3 0

[PATCH] kernel: auditfilter: looping issue, memory leak if has 2 or more AUDIT_FILTERKEYs

2013-04-10 Thread Chen Gang
in the 'fcount' looping, if 'new->fields[*].type" has 2 or more AUDIT_FILTERKEYs need judge new->filterkey whether has value, or memory leak. Signed-off-by: Chen Gang --- kernel/auditfilter.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/auditfilter.

<    3   4   5   6   7   8   9   >