execve and kernel_thread unification problem on m68knommu

2013-01-26 Thread Greg Ungerer
Hi Al, As of commit fea82210 ("m68k: switch to saner kernel_execve() semantics") I can't get non-mmu m68k targets to boot through to user space. I don't think this commit itself is the problem, but probably something in the generic execve changes. What I see is that it boots up to trying to exec

Re: [PATCHv2 00/19] ARM: common warning fixes

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Russell King - ARM Linux wrote: > On Fri, Jan 25, 2013 at 10:43:59PM +, Arnd Bergmann wrote: > > I will get to those once this series is sorted out. > > Since there are no interdepencies between the patches, > > my preference is to have them applied by the

Re: [PATCH] regulators/db8500: Fix compile failure for drivers/regulator/dbx500-prcmu.c

2013-01-26 Thread Steven Rostedt
On Sat, 2013-01-26 at 15:31 +0800, Mark Brown wrote: > Applied, thanks. Please use subject lines appropriate for the subsystem > (I see I let the original one through). Heh, when making patches for other subsystems, I look at the subject of the patch that broke to determine what to use. --

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Sedat Dilek
On Sat, Jan 26, 2013 at 2:25 PM, Rafael J. Wysocki wrote: > On Saturday, January 26, 2013 12:10:32 PM Sedat Dilek wrote: >> On Fri, Jan 25, 2013 at 6:26 AM, Stephen Rothwell >> wrote: >> > Hi all, >> > >> > Changes since 20130124: >> > >> > New trees: ipsec and ipsec-next >> > >> > The powerpc

usb storage: FATAL DATA CORRUPTION due to innocuous reboot!?

2013-01-26 Thread Andreas Mohr
Hi, after my recent tirade of very poor device support of Aspire One, I now experienced something a lot worse (bad karma? ;-P): basically my entire ext4 root partition got blewn into shreds (corruption is so pervasive that I'm afraid recovery will fail). I am (was) running 3.7.0, and decided to

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 12:10:32 PM Sedat Dilek wrote: > On Fri, Jan 25, 2013 at 6:26 AM, Stephen Rothwell > wrote: > > Hi all, > > > > Changes since 20130124: > > > > New trees: ipsec and ipsec-next > > > > The powerpc tree still had a build failure. > > > > The sound-asoc tree still had

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 12:23:37 PM Carlos R. Mafra wrote: > On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: > > On Wed, Nov 07, 2012 at 10:49:40PM +0100, Rafael J. Wysocki wrote: > > > On Tuesday, November 06, 2012 01:48:26 PM Greg KH wrote: > > > > On Tue, Nov 06, 2012 at 04:42:24PM

Re: [PATCH -v4 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-26 Thread Mike Galbraith
On Sat, 2013-01-26 at 13:05 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Fri, 2013-01-25 at 14:05 -0500, Rik van Riel wrote: > > > > > The performance issue observed with AIM7 is still a mystery. > > > > Hm. AIM7 mystery _may_ be the same crud I see on a 4 node 40 > > core

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 04:25:57AM -0800, tip-bot for Ma Ling wrote: > During the same time (269.410275674 seconds) IPC from Os is > 0.37, O2 is 0.36, Os improved performance 2.7%. > > Signed-off-by: Ma Ling > Cc: Linus Torvalds > Cc: Arjan van de Ven > Cc: Andrew Morton > Cc: Jan Beulich >

Re: [PATCH -v4 5/5] x86,smp: limit spinlock delay on virtual machines

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 01:00:43PM +0100, Ingo Molnar wrote: > > +void __init init_spinlock_delay(void) > > +{ > > + if (x86_hyper) > > + max_spinlock_delay = MAX_SPINLOCK_DELAY_GUEST; > > I realize that you took existing code and extended it, but that > chunk of code looks pretty

[tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread tip-bot for Ma Ling
Commit-ID: d94ffd677469ef729e9d6e968191872577a6119e Gitweb: http://git.kernel.org/tip/d94ffd677469ef729e9d6e968191872577a6119e Author: Ma Ling AuthorDate: Fri, 25 Jan 2013 09:11:01 -0500 Committer: Ingo Molnar CommitDate: Sat, 26 Jan 2013 13:09:15 +0100 x86/defconfig: Turn on

[PATCH V2] [x86]: Compiler Option Os is better on latest x86

2013-01-26 Thread ling . ma . program
From: Ma Ling Currently we use O2 as compiler option for better performance, although it will enlarge code size, in modern CPUs larger instructon and unified cache, sophisticated instruction prefetch weaken instruction cache miss, meanwhile flags such as -falign-functions, -falign-jumps,

[tip:x86/platform] x86: Add TS-5500 platform support

2013-01-26 Thread tip-bot for Vivien Didelot
Commit-ID: 7d0291256ca99cbb6124f63228003329e7a64b21 Gitweb: http://git.kernel.org/tip/7d0291256ca99cbb6124f63228003329e7a64b21 Author: Vivien Didelot AuthorDate: Fri, 4 Jan 2013 16:18:14 -0500 Committer: Ingo Molnar CommitDate: Fri, 25 Jan 2013 19:40:23 +0100 x86: Add TS-5500 platform

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Carlos R. Mafra
On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: > On Wed, Nov 07, 2012 at 10:49:40PM +0100, Rafael J. Wysocki wrote: > > On Tuesday, November 06, 2012 01:48:26 PM Greg KH wrote: > > > On Tue, Nov 06, 2012 at 04:42:24PM +0400, Azat Khuzhin wrote: > > > > I'v also have such errors on my

[tip:perf/x86] perf/x86: Fix type to address build warning

2013-01-26 Thread tip-bot for Borislav Petkov
Commit-ID: fc7d3e64651e4de80262e48a3fb75128fffb8ef3 Gitweb: http://git.kernel.org/tip/fc7d3e64651e4de80262e48a3fb75128fffb8ef3 Author: Borislav Petkov AuthorDate: Fri, 25 Jan 2013 18:46:07 +0100 Committer: Ingo Molnar CommitDate: Fri, 25 Jan 2013 19:32:02 +0100 perf/x86: Fix type to

[tip:sched/urgent] sched/debug: Fix format string for 32-bit platforms

2013-01-26 Thread tip-bot for Arnd Bergmann
Commit-ID: cff3c124a7e82ca0ea1d6864b27ef18c403c0773 Gitweb: http://git.kernel.org/tip/cff3c124a7e82ca0ea1d6864b27ef18c403c0773 Author: Arnd Bergmann AuthorDate: Fri, 25 Jan 2013 14:14:23 + Committer: Ingo Molnar CommitDate: Fri, 25 Jan 2013 15:23:15 +0100 sched/debug: Fix format

Re: [PATCH v2] sched: add a tuning knob to allow changing RR tmeslice

2013-01-26 Thread Ingo Molnar
Would be nice to have a patch against -tip, as we already have an interacting change: 57d2aa00dcec sched/rt: Avoid updating RT entry timeout twice within one tick period Which creates a conflict. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2] sched: add a tuning knob to allow changing RR tmeslice

2013-01-26 Thread Ingo Molnar
* Clark Williams wrote: > On Fri, 25 Jan 2013 19:36:10 +0100 > Ingo Molnar wrote: > > > > > * Clark Williams wrote: > > > > > > Shouldn't this be in kernel/sched/sched.h instead of the > > > > (already too large) linux/sched.h? > > > > > > I don't think that will work be cause

Re: [tip:x86/asm] x86/xor: Make virtualization friendly

2013-01-26 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 01/25/2013 02:11 PM, H. Peter Anvin wrote: > > On 01/25/2013 02:43 AM, tip-bot for Jan Beulich wrote: > >> Commit-ID: 05fbf4d6fc6a3c0c3e63b77979c9311596716d10 > >> Gitweb: > >> http://git.kernel.org/tip/05fbf4d6fc6a3c0c3e63b77979c9311596716d10 > >> Author:

Re: [PATCH 0/3, v2] x86: xor-block handling adjustments

2013-01-26 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 01/25/2013 12:21 AM, Jan Beulich wrote: > >> > >> I don't see anything wrong, except that I can't *find* patch 3/3 either > >> in my inbox nor on LKML... > > > > I can certainly resend the whole set, but our email system even > > got a delivery confirmation from

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Sedat Dilek
On Sat, Jan 26, 2013 at 12:10 PM, Sedat Dilek wrote: > On Fri, Jan 25, 2013 at 6:26 AM, Stephen Rothwell > wrote: >> Hi all, >> >> Changes since 20130124: >> >> New trees: ipsec and ipsec-next >> >> The powerpc tree still had a build failure. >> >> The sound-asoc tree still had its build

Re: [PATCH -v4 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-26 Thread Ingo Molnar
* Mike Galbraith wrote: > On Fri, 2013-01-25 at 14:05 -0500, Rik van Riel wrote: > > > The performance issue observed with AIM7 is still a mystery. > > Hm. AIM7 mystery _may_ be the same crud I see on a 4 node 40 > core box. Stock scheduler knobs are too preempt happy, produce > unstable

Re: [PATCH -v4 3/5] x86,smp: auto tune spinlock backoff delay factor

2013-01-26 Thread Ingo Molnar
* Rik van Riel wrote: > Many spinlocks are embedded in data structures; having many CPUs > pounce on the cache line the lock is in will slow down the lock > holder, and can cause system performance to fall off a cliff. > > The paper "Non-scalable locks are dangerous" is a good reference: > >

Re: [PATCH -v4 5/5] x86,smp: limit spinlock delay on virtual machines

2013-01-26 Thread Ingo Molnar
* Rik van Riel wrote: > static bool smp_no_nmi_ipi = false; > > /* > + * Modern Intel and AMD CPUs tell the hypervisor when a guest is > + * spinning excessively on a spinlock. The hypervisor will then > + * schedule something else, effectively taking care of the backoff > + * for us. Doing

Re: [ 00/15] 3.0.61-stable review

2013-01-26 Thread Satoru Takeuchi
At Thu, 24 Jan 2013 13:18:24 -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.0.61 release. > There are 15 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: [PATCH 04/12] perf, x86: Support the TSX intx/intx_cp qualifiers v2

2013-01-26 Thread Ingo Molnar
* Andi Kleen wrote: > From: Andi Kleen > > Implement the TSX transaction and checkpointed transaction > qualifiers for Haswell. This allows e.g. to profile the number > of cycles in transactions. The changelog should explain why this is a basic feature that is a must-have to have basic

Re: [PATCH 11/19] regmap: regmap: avoid spurious warning in regmap_read_debugfs

2013-01-26 Thread Arnd Bergmann
From: Russell King Gcc warns about the case where regmap_read_debugfs tries to walk an empty map->debugfs_off_cache list, which would results in uninitialized variable getting returned, if we hadn't checked the same condition just before that. After an originally suggested inferior patch from

Re: nouveau, linux3.8-rc5: BUG: unable to handle kernel paging request at fffffffffffffff8

2013-01-26 Thread Ben Skeggs
On Sat, 2013-01-26 at 11:53 +0100, Antonio Ospite wrote: > Hi, > > I am experiencing a bug with nouveau with linux-3.8-rc5, my video > adapter is the one integrated on the MSI M3N78-VM motherboard (hence > x86_64): > > 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200] (rev

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-26 Thread Russell King - ARM Linux
On Fri, Jan 25, 2013 at 11:45:25PM +, Arnd Bergmann wrote: > On Friday 25 January 2013, Myklebust, Trond wrote: > > > -Original Message- > > > From: Arnd Bergmann [mailto:a...@arndb.de] > > > Marking it as __maybe_unused avoids a harmless gcc warning. > > > > Alternatively, just

Re: [PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-26 Thread Jonathan Cameron
On 01/24/2013 04:58 AM, Naveen Krishna Chatradhi wrote: > This patch adds driver for ADC IP found on EXYNOS5250 and EXYNOS5410 > from Samsung. Also adds the Documentation for device tree bindings. > > Signed-off-by: Naveen Krishna Chatradhi Just a quick general comment on patch formatting. For

nouveau, linux3.8-rc5: BUG: unable to handle kernel paging request at fffffffffffffff8

2013-01-26 Thread Antonio Ospite
Hi, I am experiencing a bug with nouveau with linux-3.8-rc5, my video adapter is the one integrated on the MSI M3N78-VM motherboard (hence x86_64): 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200] (rev a2) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer

[PATCH -next] Staging: zcache: remove unnecessary braces in zcache-main.c

2013-01-26 Thread Ryo Munakata
This fixes a checkpatch.pl issue of 'braces {} are not necessary for single statement blocks' Signed-off-by: Ryo Munakata --- drivers/staging/zcache/zcache-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/zcache/zcache-main.c

Re: [PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-01-26 Thread Francois Romieu
Kirill Kapranov : > NET/PHY: Eliminate the forced speed reduction algorithm. > In case of the fixed speed set up for NIC > (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) > with ethernet cable plugged off, mentioned algorithm > slows down NIC speed, so the further "hooking up" gives >

How to find an unused TAP device with kernel 3.8 ?

2013-01-26 Thread Toralf Förster
With kernel 3.8. I just realized that all pre-defined TAP devices are RUNNING even if no virtual linux system is using it. Now I'm wondering whether this is a new feature of the upcoming kernel, a bug of the old - and how I can avoid that. Background : When I start a user mode linux instance, I

Re: linux-next: Tree for Jan 23 (mtd/ubi and iio and crypto/crc32[c])

2013-01-26 Thread Jonathan Cameron
On 01/23/2013 11:41 PM, Randy Dunlap wrote: > On 01/23/13 15:23, Herbert Xu wrote: >> On Wed, Jan 23, 2013 at 03:10:01PM -0800, Randy Dunlap wrote: >>> On 01/22/13 22:43, Stephen Rothwell wrote: Hi all, Changes since 20130122: >>> >>> >>> on i386: >>> >>> ERROR: "crc32_le"

Re: PROBLEM: Permanent kernel panic in USB hub driver - 3.5.0-22

2013-01-26 Thread Borislav Petkov
On Fri, Jan 25, 2013 at 11:54:06PM +0200, Artemy Lebedev wrote: > Hi, > I'm developing USB device with software implementation of USB > protocol stack (even link level). It is not yet fully completed so > it behaves wrong from host point of view. However now it is a good > stress testing tool for

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-26 Thread Paolo Bonzini
Il 26/01/2013 00:47, Tejun Heo ha scritto: >> > If I make a whitelist with all the commands that Linux sends, I'll have >> > many new commands in the whitelist and no old commands. The new >> > commands didn't exist when old drives were sold, so they are "dangerous" >> > in your opinion. At that

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Russell King - ARM Linux
On Sat, Jan 26, 2013 at 06:03:28PM +0800, Mark Brown wrote: > On Sat, Jan 26, 2013 at 09:59:16AM +, Russell King - ARM Linux wrote: > > > Why not code the function in a way that avoids the problem altogether? > > That'd do the trick too; feel free to submit a patch... Sorry, got other

Re: [PATCHv2 00/19] ARM: common warning fixes

2013-01-26 Thread Russell King - ARM Linux
On Fri, Jan 25, 2013 at 10:43:59PM +, Arnd Bergmann wrote: > I will get to those once this series is sorted out. > Since there are no interdepencies between the patches, > my preference is to have them applied by the individual > subsystem maintainers. Anything that has not at > least made it

Re: [PATCH] regmap: debugfs: Work around GCC flow analysis false positives

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Mark Brown wrote: > Reported-by: Vincent Stehlé > Reported-by: Arnd Bergmann > Signed-off-by: Mark Brown Thanks for fixing this properly. Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 09:59:16AM +, Russell King - ARM Linux wrote: > Why not code the function in a way that avoids the problem altogether? That'd do the trick too; feel free to submit a patch... signature.asc Description: Digital signature

Re: [patch] edac: test correct variable in ->store function

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 10:49:24AM +0300, Dan Carpenter wrote: > We're testing for ->show but calling ->store(). > > Signed-off-by: Dan Carpenter Good catch, applied. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this

Re: [PATCH] regmap: debugfs: Fix compilation warning

2013-01-26 Thread Mark Brown
On Thu, Jan 24, 2013 at 11:12:24AM +0100, Vincent Stehlé wrote: > If you mean "am I sure the loop iterates at least once", then yes, as > we have an explicit check just before the concerned list_for_each_entry(): So, I hadn't realised this was triggered by a new compiler version - Arnd just

[PATCH] regmap: debugfs: Work around GCC flow analysis false positives

2013-01-26 Thread Mark Brown
Reported-by: Vincent Stehlé Reported-by: Arnd Bergmann Signed-off-by: Mark Brown --- drivers/base/regmap/regmap-debugfs.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c index d9a6c94..c6dc2e9 100644 ---

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Russell King - ARM Linux
On Sat, Jan 26, 2013 at 05:49:29PM +0800, Mark Brown wrote: > Oh, ffs. This is a false positive from the compiler - there is no case > where it can actually do this as we will bail out before the walk if the > list is empty so we'll always take at least one trip through our >

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 09:17:27AM +, Arnd Bergmann wrote: > On Saturday 26 January 2013, Mark Brown wrote: > > On Fri, Jan 25, 2013 at 02:14:28PM +, Arnd Bergmann wrote: > > > Gcc warns about the case where regmap_read_debugfs tries > > Are you sure about that function name? > Yes,

[PATCHv3] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-26 Thread Maxime Ripard
The IP responsible for the muxing on the Allwinner SoCs are also handling the GPIOs on the system. This patch adds the needed driver that relies on the pinctrl driver for most of its operations. The number of pins available for GPIOs operations are already declared in the pinctrl driver, we only

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Mark Brown wrote: > On Fri, Jan 25, 2013 at 02:14:28PM +, Arnd Bergmann wrote: > > Gcc warns about the case where regmap_read_debugfs tries > > Are you sure about that function name? Yes, regmap_read_debugfs uses the return value from

Re: [PATCH 04/14] firewire: don't use idr_remove_all()

2013-01-26 Thread Stefan Richter
On Jan 25 Tejun Heo wrote: > idr_destroy() can destroy idr by itself and idr_remove_all() is being > deprecated. Drop its usage. > > Signed-off-by: Tejun Heo > Cc: Stefan Richter > Cc: linux1394-de...@lists.sourceforge.net > --- > This patch depends on an earlier idr patch and given the

Re: [PATCH] regulators: max8998: fix incorrect min_uV value for ldo10

2013-01-26 Thread Mark Brown
On Fri, Jan 25, 2013 at 09:25:40AM +0100, Marek Szyprowski wrote: > Correct value for minimal voltage for ldo10 output is 95 uV. This > patch fixes the typo introduced by patch adf6178ad5552a7f2f742a8c85343c50 > ("regulator: max8998: Use uV in voltage_map_desc"), what solves broken > probe of

Re: [PATCH] regulator: tps80031: Use IS_ERR to check return value of regulator_register()

2013-01-26 Thread Mark Brown
On Fri, Jan 25, 2013 at 09:29:41PM +0800, Axel Lin wrote: > regulator_register() does not return NULL, it returns ERR_PTR on error. Applied, thanks. signature.asc Description: Digital signature

Re: [Consult] Plan: personal contributes plan for 2013

2013-01-26 Thread Chen Gang F T
Hello all: Opinion: after think of again, for "10 patches per month": I think in kernel wide, it is not quite hard to perform. Finished: currently (within Jan 2013) in next-20130125 tree, can find about 11 patches of mine. patch contents: usb, staging, tty sub-systems, ...

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-26 Thread Tetsuo Handa
Tetsuo Handa wrote: > > I'm sorry if this is a bit complicated but bisection down several > > regressions is one of the more advanced forms of regression > > bug hunt... You're quite cool if you can handle it :-) > > Sorry, I'm a beginner about git. I already know that 07c9249f is the cause of >

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-26 Thread Tetsuo Handa
Tetsuo Handa wrote: I'm sorry if this is a bit complicated but bisection down several regressions is one of the more advanced forms of regression bug hunt... You're quite cool if you can handle it :-) Sorry, I'm a beginner about git. I already know that 07c9249f is the cause of no

Re: [Consult] Plan: personal contributes plan for 2013

2013-01-26 Thread Chen Gang F T
Hello all: Opinion: after think of again, for 10 patches per month: I think in kernel wide, it is not quite hard to perform. Finished: currently (within Jan 2013) in next-20130125 tree, can find about 11 patches of mine. patch contents: usb, staging, tty sub-systems, ...

Re: [PATCH] regulator: tps80031: Use IS_ERR to check return value of regulator_register()

2013-01-26 Thread Mark Brown
On Fri, Jan 25, 2013 at 09:29:41PM +0800, Axel Lin wrote: regulator_register() does not return NULL, it returns ERR_PTR on error. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulators: max8998: fix incorrect min_uV value for ldo10

2013-01-26 Thread Mark Brown
On Fri, Jan 25, 2013 at 09:25:40AM +0100, Marek Szyprowski wrote: Correct value for minimal voltage for ldo10 output is 95 uV. This patch fixes the typo introduced by patch adf6178ad5552a7f2f742a8c85343c50 (regulator: max8998: Use uV in voltage_map_desc), what solves broken probe of

Re: [PATCH 04/14] firewire: don't use idr_remove_all()

2013-01-26 Thread Stefan Richter
On Jan 25 Tejun Heo wrote: idr_destroy() can destroy idr by itself and idr_remove_all() is being deprecated. Drop its usage. Signed-off-by: Tejun Heo t...@kernel.org Cc: Stefan Richter stef...@s5r6.in-berlin.de Cc: linux1394-de...@lists.sourceforge.net --- This patch depends on an

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Mark Brown wrote: On Fri, Jan 25, 2013 at 02:14:28PM +, Arnd Bergmann wrote: Gcc warns about the case where regmap_read_debugfs tries Are you sure about that function name? Yes, regmap_read_debugfs uses the return value from regmap_debugfs_get_dump_start,

[PATCHv3] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-26 Thread Maxime Ripard
The IP responsible for the muxing on the Allwinner SoCs are also handling the GPIOs on the system. This patch adds the needed driver that relies on the pinctrl driver for most of its operations. The number of pins available for GPIOs operations are already declared in the pinctrl driver, we only

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 09:17:27AM +, Arnd Bergmann wrote: On Saturday 26 January 2013, Mark Brown wrote: On Fri, Jan 25, 2013 at 02:14:28PM +, Arnd Bergmann wrote: Gcc warns about the case where regmap_read_debugfs tries Are you sure about that function name? Yes,

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Russell King - ARM Linux
On Sat, Jan 26, 2013 at 05:49:29PM +0800, Mark Brown wrote: Oh, ffs. This is a false positive from the compiler - there is no case where it can actually do this as we will bail out before the walk if the list is empty so we'll always take at least one trip through our list_for_each_entry()

[PATCH] regmap: debugfs: Work around GCC flow analysis false positives

2013-01-26 Thread Mark Brown
Reported-by: Vincent Stehlé v-ste...@ti.com Reported-by: Arnd Bergmann a...@arndb.de Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/base/regmap/regmap-debugfs.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/base/regmap/regmap-debugfs.c

Re: [PATCH] regmap: debugfs: Fix compilation warning

2013-01-26 Thread Mark Brown
On Thu, Jan 24, 2013 at 11:12:24AM +0100, Vincent Stehlé wrote: If you mean am I sure the loop iterates at least once, then yes, as we have an explicit check just before the concerned list_for_each_entry(): So, I hadn't realised this was triggered by a new compiler version - Arnd just tried

Re: [patch] edac: test correct variable in -store function

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 10:49:24AM +0300, Dan Carpenter wrote: We're testing for -show but calling -store(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Good catch, applied. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 09:59:16AM +, Russell King - ARM Linux wrote: Why not code the function in a way that avoids the problem altogether? That'd do the trick too; feel free to submit a patch... signature.asc Description: Digital signature

Re: [PATCH] regmap: debugfs: Work around GCC flow analysis false positives

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Mark Brown wrote: Reported-by: Vincent Stehlé v-ste...@ti.com Reported-by: Arnd Bergmann a...@arndb.de Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Thanks for fixing this properly. Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this

Re: [PATCHv2 00/19] ARM: common warning fixes

2013-01-26 Thread Russell King - ARM Linux
On Fri, Jan 25, 2013 at 10:43:59PM +, Arnd Bergmann wrote: I will get to those once this series is sorted out. Since there are no interdepencies between the patches, my preference is to have them applied by the individual subsystem maintainers. Anything that has not at least made it into

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Russell King - ARM Linux
On Sat, Jan 26, 2013 at 06:03:28PM +0800, Mark Brown wrote: On Sat, Jan 26, 2013 at 09:59:16AM +, Russell King - ARM Linux wrote: Why not code the function in a way that avoids the problem altogether? That'd do the trick too; feel free to submit a patch... Sorry, got other things

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-26 Thread Paolo Bonzini
Il 26/01/2013 00:47, Tejun Heo ha scritto: If I make a whitelist with all the commands that Linux sends, I'll have many new commands in the whitelist and no old commands. The new commands didn't exist when old drives were sold, so they are dangerous in your opinion. At that point I might

Re: PROBLEM: Permanent kernel panic in USB hub driver - 3.5.0-22

2013-01-26 Thread Borislav Petkov
On Fri, Jan 25, 2013 at 11:54:06PM +0200, Artemy Lebedev wrote: Hi, I'm developing USB device with software implementation of USB protocol stack (even link level). It is not yet fully completed so it behaves wrong from host point of view. However now it is a good stress testing tool for the

Re: linux-next: Tree for Jan 23 (mtd/ubi and iio and crypto/crc32[c])

2013-01-26 Thread Jonathan Cameron
On 01/23/2013 11:41 PM, Randy Dunlap wrote: On 01/23/13 15:23, Herbert Xu wrote: On Wed, Jan 23, 2013 at 03:10:01PM -0800, Randy Dunlap wrote: On 01/22/13 22:43, Stephen Rothwell wrote: Hi all, Changes since 20130122: on i386: ERROR: crc32_le [drivers/mtd/ubi/ubi.ko] undefined! ERROR:

Re: [PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-01-26 Thread Francois Romieu
Kirill Kapranov kapran...@inbox.ru : NET/PHY: Eliminate the forced speed reduction algorithm. In case of the fixed speed set up for NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with ethernet cable plugged off, mentioned algorithm slows down NIC speed, so the further hooking

How to find an unused TAP device with kernel 3.8 ?

2013-01-26 Thread Toralf Förster
With kernel 3.8. I just realized that all pre-defined TAP devices are RUNNING even if no virtual linux system is using it. Now I'm wondering whether this is a new feature of the upcoming kernel, a bug of the old - and how I can avoid that. Background : When I start a user mode linux instance, I

[PATCH -next] Staging: zcache: remove unnecessary braces in zcache-main.c

2013-01-26 Thread Ryo Munakata
This fixes a checkpatch.pl issue of 'braces {} are not necessary for single statement blocks' Signed-off-by: Ryo Munakata ryomnk...@gmail.com --- drivers/staging/zcache/zcache-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/zcache/zcache-main.c

nouveau, linux3.8-rc5: BUG: unable to handle kernel paging request at fffffffffffffff8

2013-01-26 Thread Antonio Ospite
Hi, I am experiencing a bug with nouveau with linux-3.8-rc5, my video adapter is the one integrated on the MSI M3N78-VM motherboard (hence x86_64): 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200] (rev a2) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer

Re: [PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-26 Thread Jonathan Cameron
On 01/24/2013 04:58 AM, Naveen Krishna Chatradhi wrote: This patch adds driver for ADC IP found on EXYNOS5250 and EXYNOS5410 from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Just a quick general comment on patch

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-26 Thread Russell King - ARM Linux
On Fri, Jan 25, 2013 at 11:45:25PM +, Arnd Bergmann wrote: On Friday 25 January 2013, Myklebust, Trond wrote: -Original Message- From: Arnd Bergmann [mailto:a...@arndb.de] Marking it as __maybe_unused avoids a harmless gcc warning. Alternatively, just declare it using

Re: nouveau, linux3.8-rc5: BUG: unable to handle kernel paging request at fffffffffffffff8

2013-01-26 Thread Ben Skeggs
On Sat, 2013-01-26 at 11:53 +0100, Antonio Ospite wrote: Hi, I am experiencing a bug with nouveau with linux-3.8-rc5, my video adapter is the one integrated on the MSI M3N78-VM motherboard (hence x86_64): 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200] (rev a2)

Re: [PATCH 11/19] regmap: regmap: avoid spurious warning in regmap_read_debugfs

2013-01-26 Thread Arnd Bergmann
From: Russell King rmk+ker...@arm.linux.org.uk Gcc warns about the case where regmap_read_debugfs tries to walk an empty map-debugfs_off_cache list, which would results in uninitialized variable getting returned, if we hadn't checked the same condition just before that. After an originally

Re: [PATCH 04/12] perf, x86: Support the TSX intx/intx_cp qualifiers v2

2013-01-26 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com Implement the TSX transaction and checkpointed transaction qualifiers for Haswell. This allows e.g. to profile the number of cycles in transactions. The changelog should explain why this is a basic feature

Re: [ 00/15] 3.0.61-stable review

2013-01-26 Thread Satoru Takeuchi
At Thu, 24 Jan 2013 13:18:24 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.61 release. There are 15 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH -v4 5/5] x86,smp: limit spinlock delay on virtual machines

2013-01-26 Thread Ingo Molnar
* Rik van Riel r...@redhat.com wrote: static bool smp_no_nmi_ipi = false; /* + * Modern Intel and AMD CPUs tell the hypervisor when a guest is + * spinning excessively on a spinlock. The hypervisor will then + * schedule something else, effectively taking care of the backoff + * for

Re: [PATCH -v4 3/5] x86,smp: auto tune spinlock backoff delay factor

2013-01-26 Thread Ingo Molnar
* Rik van Riel r...@redhat.com wrote: Many spinlocks are embedded in data structures; having many CPUs pounce on the cache line the lock is in will slow down the lock holder, and can cause system performance to fall off a cliff. The paper Non-scalable locks are dangerous is a good

Re: [PATCH -v4 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-26 Thread Ingo Molnar
* Mike Galbraith bitbuc...@online.de wrote: On Fri, 2013-01-25 at 14:05 -0500, Rik van Riel wrote: The performance issue observed with AIM7 is still a mystery. Hm. AIM7 mystery _may_ be the same crud I see on a 4 node 40 core box. Stock scheduler knobs are too preempt happy, produce

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Sedat Dilek
On Sat, Jan 26, 2013 at 12:10 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Jan 25, 2013 at 6:26 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Changes since 20130124: New trees: ipsec and ipsec-next The powerpc tree still had a build failure. The sound-asoc tree

Re: [PATCH 0/3, v2] x86: xor-block handling adjustments

2013-01-26 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 01/25/2013 12:21 AM, Jan Beulich wrote: I don't see anything wrong, except that I can't *find* patch 3/3 either in my inbox nor on LKML... I can certainly resend the whole set, but our email system even got a delivery confirmation from

Re: [tip:x86/asm] x86/xor: Make virtualization friendly

2013-01-26 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 01/25/2013 02:11 PM, H. Peter Anvin wrote: On 01/25/2013 02:43 AM, tip-bot for Jan Beulich wrote: Commit-ID: 05fbf4d6fc6a3c0c3e63b77979c9311596716d10 Gitweb: http://git.kernel.org/tip/05fbf4d6fc6a3c0c3e63b77979c9311596716d10 Author:

Re: [PATCH v2] sched: add a tuning knob to allow changing RR tmeslice

2013-01-26 Thread Ingo Molnar
* Clark Williams willi...@redhat.com wrote: On Fri, 25 Jan 2013 19:36:10 +0100 Ingo Molnar mi...@kernel.org wrote: * Clark Williams willi...@redhat.com wrote: Shouldn't this be in kernel/sched/sched.h instead of the (already too large) linux/sched.h? I don't think

Re: [PATCH v2] sched: add a tuning knob to allow changing RR tmeslice

2013-01-26 Thread Ingo Molnar
Would be nice to have a patch against -tip, as we already have an interacting change: 57d2aa00dcec sched/rt: Avoid updating RT entry timeout twice within one tick period Which creates a conflict. Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[tip:sched/urgent] sched/debug: Fix format string for 32-bit platforms

2013-01-26 Thread tip-bot for Arnd Bergmann
Commit-ID: cff3c124a7e82ca0ea1d6864b27ef18c403c0773 Gitweb: http://git.kernel.org/tip/cff3c124a7e82ca0ea1d6864b27ef18c403c0773 Author: Arnd Bergmann a...@arndb.de AuthorDate: Fri, 25 Jan 2013 14:14:23 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 25 Jan 2013 15:23:15

[tip:perf/x86] perf/x86: Fix type to address build warning

2013-01-26 Thread tip-bot for Borislav Petkov
Commit-ID: fc7d3e64651e4de80262e48a3fb75128fffb8ef3 Gitweb: http://git.kernel.org/tip/fc7d3e64651e4de80262e48a3fb75128fffb8ef3 Author: Borislav Petkov b...@suse.de AuthorDate: Fri, 25 Jan 2013 18:46:07 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 25 Jan 2013 19:32:02

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Carlos R. Mafra
On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: On Wed, Nov 07, 2012 at 10:49:40PM +0100, Rafael J. Wysocki wrote: On Tuesday, November 06, 2012 01:48:26 PM Greg KH wrote: On Tue, Nov 06, 2012 at 04:42:24PM +0400, Azat Khuzhin wrote: I'v also have such errors on my macbook pro.

[tip:x86/platform] x86: Add TS-5500 platform support

2013-01-26 Thread tip-bot for Vivien Didelot
Commit-ID: 7d0291256ca99cbb6124f63228003329e7a64b21 Gitweb: http://git.kernel.org/tip/7d0291256ca99cbb6124f63228003329e7a64b21 Author: Vivien Didelot vivien.dide...@savoirfairelinux.com AuthorDate: Fri, 4 Jan 2013 16:18:14 -0500 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 25

[PATCH V2] [x86]: Compiler Option Os is better on latest x86

2013-01-26 Thread ling . ma . program
From: Ma Ling ling...@alipay.com Currently we use O2 as compiler option for better performance, although it will enlarge code size, in modern CPUs larger instructon and unified cache, sophisticated instruction prefetch weaken instruction cache miss, meanwhile flags such as -falign-functions,

[tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread tip-bot for Ma Ling
Commit-ID: d94ffd677469ef729e9d6e968191872577a6119e Gitweb: http://git.kernel.org/tip/d94ffd677469ef729e9d6e968191872577a6119e Author: Ma Ling ling...@alipay.com AuthorDate: Fri, 25 Jan 2013 09:11:01 -0500 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 26 Jan 2013 13:09:15

Re: [PATCH -v4 5/5] x86,smp: limit spinlock delay on virtual machines

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 01:00:43PM +0100, Ingo Molnar wrote: +void __init init_spinlock_delay(void) +{ + if (x86_hyper) + max_spinlock_delay = MAX_SPINLOCK_DELAY_GUEST; I realize that you took existing code and extended it, but that chunk of code looks pretty disgusting

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 04:25:57AM -0800, tip-bot for Ma Ling wrote: During the same time (269.410275674 seconds) IPC from Os is 0.37, O2 is 0.36, Os improved performance 2.7%. Signed-off-by: Ma Ling ling...@alipay.com Cc: Linus Torvalds torva...@linux-foundation.org Cc: Arjan van de Ven

Re: [PATCH -v4 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-26 Thread Mike Galbraith
On Sat, 2013-01-26 at 13:05 +0100, Ingo Molnar wrote: * Mike Galbraith bitbuc...@online.de wrote: On Fri, 2013-01-25 at 14:05 -0500, Rik van Riel wrote: The performance issue observed with AIM7 is still a mystery. Hm. AIM7 mystery _may_ be the same crud I see on a 4 node 40

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 12:23:37 PM Carlos R. Mafra wrote: On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: On Wed, Nov 07, 2012 at 10:49:40PM +0100, Rafael J. Wysocki wrote: On Tuesday, November 06, 2012 01:48:26 PM Greg KH wrote: On Tue, Nov 06, 2012 at 04:42:24PM +0400,

<    1   2   3   4   5   6   >