Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Linus Torvalds
On Mon, Sep 24, 2012 at 9:12 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: So we're looking for an idle cpu around @target. We prefer a cpu of an idle core, since SMT-siblings share L[12] cache. The way we do this is by iterating the topology tree downwards starting at the LLC (L3) cache

Re: [PATCH v3 RESEND 05/17] ARM: LPAE: support 64-bit virt_to_phys patching

2012-09-24 Thread Dave Martin
On Fri, Sep 21, 2012 at 11:56:03AM -0400, Cyril Chemparathy wrote: This patch adds support for 64-bit physical addresses in virt_to_phys() patching. This does not do real 64-bit add/sub, but instead patches in the upper 32-bits of the phys_offset directly into the output of virt_to_phys.

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Linus Torvalds
On Mon, Sep 24, 2012 at 9:07 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: On Mon, 2012-09-24 at 08:52 -0700, Linus Torvalds wrote: Your patch looks odd, though. Why do you use some complex initial value for 'candidate' (nr_cpu_ids) instead of a simple and readable one (-1)? nr_cpu_ids is

Re: linux-next: Tree for Sept 24 (irqchip)

2012-09-24 Thread Stephen Warren
as an empty file (I have the empty file in my tree). Nothing adds anything to it. That's odd. I just checked out next-20120924, and that (empty) file does appear on my disk as expected. Do some versions of git not handle creating empty files? Note that IIRC the Kconfig file is required, because otherwise

Re: linux-next: Tree for Sept 24 (irqchip)

2012-09-24 Thread Olof Johansson
On Mon, Sep 24, 2012 at 9:07 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Randy, On Mon, 24 Sep 2012 08:39:05 -0700 Randy Dunlap rdun...@xenotime.net wrote: On 09/24/2012 07:53 AM, Stephen Rothwell wrote: Today was a train wreck, with lots of new conflicts across several trees

Re: [PATCH] mfd: viperboard driver added

2012-09-24 Thread Lars Poeschel
Hi Samuel, Thanks for your review. Am 19.09.2012 17:29, schrieb Samuel Ortiz: Hi Lars, On Mon, Aug 27, 2012 at 03:08:38PM +0200, la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de First version of the driver for Nano River Tech's viperboard added. It supports i2c, adc,

[GIT PULL] Time/alarmtimer changes for 3.7

2012-09-24 Thread John Stultz
Hey Thomas, Ingo, Here's my queue for 3.7 for tip/timers/core. Unfortunately tip/timers/core is still 3.5 based, and this depends on items that landed in 3.6 (and that are waiting in tip/timers/urgent), so its based off of tip/timers/urgent, but merges cleanly with tip/timers/core. Let

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-24 Thread Cyrill Gorcunov
On Mon, Sep 24, 2012 at 12:21:46PM -0400, Mark Salter wrote: diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index 991ef01..3748ec9 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h @@ -691,9 +691,11 @@ __SC_COMP(__NR_process_vm_readv,

Re: [PATCH v3 RESEND 05/17] ARM: LPAE: support 64-bit virt_to_phys patching

2012-09-24 Thread Nicolas Pitre
On Mon, 24 Sep 2012, Dave Martin wrote: On Fri, Sep 21, 2012 at 11:56:03AM -0400, Cyril Chemparathy wrote: This patch adds support for 64-bit physical addresses in virt_to_phys() patching. This does not do real 64-bit add/sub, but instead patches in the upper 32-bits of the phys_offset

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Borislav Petkov
On Mon, Sep 24, 2012 at 09:30:05AM -0700, Linus Torvalds wrote: On Mon, Sep 24, 2012 at 9:12 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: So we're looking for an idle cpu around @target. We prefer a cpu of an idle core, since SMT-siblings share L[12] cache. The way we do this is by

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Peter Zijlstra
On Mon, 2012-09-24 at 09:30 -0700, Linus Torvalds wrote: On Mon, Sep 24, 2012 at 9:12 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: So we're looking for an idle cpu around @target. We prefer a cpu of an idle core, since SMT-siblings share L[12] cache. The way we do this is by

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Peter Zijlstra
On Mon, 2012-09-24 at 09:33 -0700, Linus Torvalds wrote: Sure, the scan bits bitops will return = nr_cpu_ids for the I couldn't find a bit thing, but that doesn't mean that everything else should. Fair enough.. --- kernel/sched/fair.c | 42 +- 1 file

Re: [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-09-24 Thread Salman Qazi
On Mon, Sep 24, 2012 at 6:27 AM, Steven Rostedt rost...@goodmis.org wrote: On Tue, Sep 18, 2012 at 06:29:35PM -0700, Salman Qazi wrote: The nested NMI modifies the place (instruction, flags and stack) that the first NMI will iret to. However, the copy of registers modified is exactly the one

Re: Work queue questions

2012-09-24 Thread Deepawali Verma
Hi, This is sample code snippet as I cannot post my project code. In reality here, this work handler is copying the big chunks of data that code is here in my driver. This is running on quad core cortex A9 Thats why I asked. If there are 4 cpu cores, then there must be parallelism. Now Tajun,

[PATCH 0/1] thinkpad-acpi: enable loading module with new B-series Lenovo BIOS

2012-09-24 Thread manoj . iyer
From: Manoj Iyer manoj.i...@canonical.com The new B series BIOS has version string 43CN46WW. The driver requires that 2nd and 3rd characters be 'E' and 'T' respectively, where as the newer BIOS has 'C' and 'N' respectively. Failing to load the module causes some of the hotkeys to not work. This

[PATCH 1/1] thinkpad-acpi: enable loading module with new B-series Lenovo BIOS

2012-09-24 Thread manoj . iyer
From: Manoj Iyer manoj.i...@canonical.com The new B series BIOS has version string 43CN46WW. The driver requires that 2nd and 3rd characters be 'E' and 'T' respectively, where as the newer BIOS has 'C' and 'N' respectively. Failing to load the module causes some of the hotkeys to not work.

Re: [RFC/PATCH] Input: release MT fingers on device reset/disconnect

2012-09-24 Thread Henrik Rydberg
Hi Yufeng, We are already releasing all pressed keys on device reset and disconnect. This patch adds the finger release for multi-touch device. Different than the key release logic that only the pressed keys are released, here all the possible fingers are released even it is not recorded

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

2012-09-24 Thread Olof Johansson
Hi, On Mon, Sep 24, 2012 at 2:21 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/include/mach/common.h between commit 35f2b0bd5911 (ARM: shmobile: Move definition of shmobile_init_late() to

[PATCH] irqchip: fill in empty Kconfig

2012-09-24 Thread Stephen Warren
Commit 89214f0 ARM: bcm2835: add interrupt controller driver added an empty drivers/irqchip/Kconfig. Empty files apparently don't work well with git (sometimes, with some versions?) so add some dummy content to resolve this issue. Signed-off-by: Stephen Warren swar...@wwwdotorg.org ---

Re: Work queue questions

2012-09-24 Thread Chinmay V S
Hi, Looking at the timestamps in your previous logs(copied below for reference), kworker/u:1-21[000] 110.964895: task_event: MYTASKJOB2381 XStarted kworker/u:1-21[000] 110.964909: task_event: MYTASKJOB2381 Xstopped kworker/u:1-21[000] 110.965137: task_event:

Re: [RFC/PATCH v2] ia64, SR870, EFI bug breaks ata_piix, uninitialized ICH4 IDE EXBAR mem resource

2012-09-24 Thread Stephan Schreiber
Mpfff, there aren't many replies; seems I didn't satisfy what you want to have... At first I want to mention that I just want to help the Debian project and started testing Debian Wheezy my old ia64 box. Since these are my first messages on the kernel lists, I really don't feel me in a

Re: [PATCH] irqchip: fill in empty Kconfig

2012-09-24 Thread Olof Johansson
Hi, On Mon, Sep 24, 2012 at 10:02 AM, Stephen Warren swar...@wwwdotorg.org wrote: Commit 89214f0 ARM: bcm2835: add interrupt controller driver added an empty drivers/irqchip/Kconfig. Empty files apparently don't work well with git (sometimes, with some versions?) so add some dummy content to

Re: [PATCH 02/10] mm, slob: Use NUMA_NO_NODE instead of -1

2012-09-24 Thread Ezequiel Garcia
Pekka, On Sun, Sep 9, 2012 at 6:27 PM, David Rientjes rient...@google.com wrote: On Sat, 8 Sep 2012, Ezequiel Garcia wrote: Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Ezequiel Garcia elezegar...@gmail.com Acked-by: David Rientjes rient...@google.com Will you pick this (and the

Re: [patch 00/16] sched: per-entity load-tracking

2012-09-24 Thread Benjamin Segall
Jan H. Schönherr schn...@cs.tu-berlin.de writes: Hi Paul. Am 23.08.2012 16:14, schrieb p...@google.com: Please find attached the latest version for CFS load-tracking. Originally, I thought, this series also takes care of the leaf-cfs-runqueue ordering issue described here:

Re: [PATCH] ARM: hw_breakpoint: Clear breakpoints before enabling monitor mode

2012-09-24 Thread Will Deacon
On Thu, Sep 20, 2012 at 06:35:56PM +0100, Will Deacon wrote: On Thu, Sep 20, 2012 at 05:57:40PM +0100, Stephen Boyd wrote: +/* Determine if halting mode is enabled */ +static int halting_mode_enabled(void) +{ + u32 dscr; + + ARM_DBG_READ(c1, 0, dscr); + + if (WARN_ONCE(dscr

Re: [2.6.38-3.x] [BUG] soft lockup - CPU#X stuck for 23s! (vfs, autofs, vserver)

2012-09-24 Thread Linus Torvalds
On Mon, Sep 24, 2012 at 4:23 AM, Herbert Poetzl herb...@13thfloor.at wrote: currently we do: br_read_lock(vfsmount_lock); root = current-fs-root; root_mnt = real_mount(root.mnt); point = root.dentry; while ((mnt != mnt-mnt_parent) (mnt !=

Re: [PATCH v4] trace: Move trace event enable from fs_initcall to core_initcall

2012-09-24 Thread Ezequiel Garcia
Steven, On Wed, Sep 12, 2012 at 11:47 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This patch splits trace event initialization in two stages: * ftrace enable * sysfs event entry creation This allows to capture trace events from an earlier point by using 'trace_event' kernel parameter

Re: [PATCH] rtc: tps65910: Use platform_get_irq to get RTC irq details

2012-09-24 Thread Stephen Warren
On 09/24/2012 12:18 AM, Venu Byravarasu wrote: -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, September 21, 2012 9:21 PM To: Venu Byravarasu Cc: a...@linux-foundation.org; a.zu...@towertech.it; linux- ker...@vger.kernel.org;

Re: [RFC] mm: add support for zsmalloc and zcache

2012-09-24 Thread Seth Jennings
On 09/21/2012 03:35 PM, Dan Magenheimer wrote: From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] Subject: Re: [RFC] mm: add support for zsmalloc and zcache On 09/21/2012 01:02 PM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 21, 2012 at 05:12:52PM +0100, Mel Gorman wrote: On Tue, Sep 04,

Re: [3.5.4] rcu_sched self-detected stall on CPU { 1} (t=54862991 jiffies)

2012-09-24 Thread Greg KH
On Mon, Sep 24, 2012 at 10:05:23AM +0200, Paweł Sikora wrote: Hi, with the new stable line i'm observing strange locks on my old amd-phenom-II mini-server. here's a dmesg: Did this show up in 3.5.3? If not, can you run 'git bisect' to find the problem patch? thanks, greg k-h -- To

Re: [PATCH v3 05/16] consider a memcg parameter in kmem_create_cache

2012-09-24 Thread Christoph Lameter
On Mon, 24 Sep 2012, Glauber Costa wrote: So Christoph is proposing that the new caches appear somewhere under the cgroups directory and /proc/slabinfo includes aggregated counts, right? I'm certainly OK with that. Just for clarification, I am not sure about the aggregate counts -

Re: [PATCH v3 05/16] consider a memcg parameter in kmem_create_cache

2012-09-24 Thread Christoph Lameter
On Mon, 24 Sep 2012, Pekka Enberg wrote: So Christoph is proposing that the new caches appear somewhere under the cgroups directory and /proc/slabinfo includes aggregated counts, right? I'm certainly OK with that. Caches would appear either in cgroup/slabinfo (which would have the same format

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-24 Thread Cyrill Gorcunov
On Mon, Sep 24, 2012 at 08:49:42PM +0400, Cyrill Gorcunov wrote: I got past that with: diff --git a/include/linux/security.h b/include/linux/security.h index 01ef030..14e394d 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -118,6 +118,7 @@ void

Re: [PATCH v3 15/16] memcg/sl[au]b: shrink dead caches

2012-09-24 Thread Tejun Heo
Hello, On Mon, Sep 24, 2012 at 12:25:00PM +0400, Glauber Costa wrote: This is kinda nasty. Do we really need to do this? How long would a dead cache stick around? Without targeted shrinking, until all objects are manually freed, which may need to wait global reclaim to kick in. In

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Peter Zijlstra
On Mon, 2012-09-24 at 18:54 +0200, Peter Zijlstra wrote: But let me try and come up with the list thing, I think we've actually got that someplace as well. OK, I'm sure the below can be written better, but my brain is gone for the day... --- include/linux/sched.h | 1 + kernel/sched/core.c

[PATCH] Revert __d_unalias() should refuse to move mountpoints

2012-09-24 Thread Maarten Lankhorst
This reverts commit ee3efa91e240f513898050ef305a49a653c8ed90. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com My thread about the regression seemed to have been ignored, so I can only conclude nobody objects against a full revert of this patch. My testcase is simply booting

Re: [PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-24 Thread Amit Shah
Hi Sjur, I'm sorry for not being able to look at this earlier. A general comment is to base this patchset on linux-next; we've been seeing more than usual activity for virtio_console this time around. I don't expect the conflicts to be big, though. On (Mon) 24 Sep 2012 [14:33:07],

Re: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

2012-09-24 Thread David Miller
Please post all networking patches to net...@vger.kernel.org Thank you. -- 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.org/majordomo-info.html Please read the FAQ at

Re: [PATCH v3 07/16] memcg: skip memcg kmem allocations in specified code regions

2012-09-24 Thread Tejun Heo
Hello, On Mon, Sep 24, 2012 at 01:09:23PM +0400, Glauber Costa wrote: I can't say I'm a big fan of this approach. If there are enough users, maybe but can't we just annotate the affected allocations explicitly? Is this gonna have many more users? What exactly do you mean by annotating

Re: [PATCH v2 5/5] ARM: tegra: enable brcmfmac in defconfig

2012-09-24 Thread Stephen Warren
On 09/21/2012 01:05 PM, Arend van Spriel wrote: On 09/21/2012 06:19 PM, Stephen Warren wrote: On 09/21/2012 08:39 AM, Arend van Spriel wrote: On 09/21/2012 10:55 AM, Wei Ni wrote: New options enabled: * CFG80211_WEXT: (dependency) * BRCMFMAC: wlan driver, enable as module. Signed-off-by:

RE: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-24 Thread Meadows, Lawrence F
There was a hack in my patch to workaround the event code 0 problem-- did you not get that? Anyway I'll compare this one to mine. I just got back from vacation so bear with me. -Original Message- From: Vince Weaver [mailto:vincent.wea...@maine.edu] Sent: Thursday, September 20, 2012

Re: [PATCH v3 06/16] memcg: infrastructure to match an allocation to the right cache

2012-09-24 Thread Tejun Heo
Hello, Glauber. On Mon, Sep 24, 2012 at 12:46:35PM +0400, Glauber Costa wrote: +#ifdef CONFIG_MEMCG_KMEM + /* Slab accounting */ + struct kmem_cache *slabs[MAX_KMEM_CACHE_TYPES]; +#endif Bah, 400 entry array in struct mem_cgroup. Can't we do something a bit more flexible?

[RFC] regulator: core: Support for continuous voltage range

2012-09-24 Thread Pawel Moll
Some regulators can set any voltage within the constraints range, not being limited to specified operating points. This patch makes it possible to describe such regulator and makes the regulator_is_supported_voltage() function behave correctly. Signed-off-by: Pawel Moll pawel.m...@arm.com ---

[PATCH v3] regulator: Versatile Express regulator driver

2012-09-24 Thread Pawel Moll
Implementation of the regulator framework driver for the Versatile Express voltage control. Devices without voltage constraints (ie. regulator-[min|max]-microvolt properties in the DT node) are treated as fixed (or rather read-only) regulators. Signed-off-by: Pawel Moll pawel.m...@arm.com ---

Re: [PATCH v3 06/16] memcg: infrastructure to match an allocation to the right cache

2012-09-24 Thread Tejun Heo
On Mon, Sep 24, 2012 at 12:17:37PM +0400, Glauber Costa wrote: On 09/22/2012 12:52 AM, Tejun Heo wrote: Missed some stuff. On Tue, Sep 18, 2012 at 06:12:00PM +0400, Glauber Costa wrote: +static struct kmem_cache *memcg_create_kmem_cache(struct mem_cgroup *memcg, +

Re: [PATCH] ARM: hw_breakpoint: Clear breakpoints before enabling monitor mode

2012-09-24 Thread Stephen Boyd
On 09/24/12 10:19, Will Deacon wrote: On Thu, Sep 20, 2012 at 06:35:56PM +0100, Will Deacon wrote: On Thu, Sep 20, 2012 at 05:57:40PM +0100, Stephen Boyd wrote: +/* Determine if halting mode is enabled */ +static int halting_mode_enabled(void) +{ + u32 dscr; + + ARM_DBG_READ(c1, 0,

Re: [PATCH] memstick: add support for legacy memorysticks

2012-09-24 Thread Tejun Heo
Hello, On Mon, Sep 24, 2012 at 05:09:23PM +0200, Maxim Levitsky wrote: Now that my exams done Can you spare me from using a workqueue? I'd much prefer if you convert to workqueue. The point is that using current model I wake the worker thread as much as I want to, and I know that it

Re: [PATCH 0/2] dmaengine: Fix compillation issues in device_prep_dma_cyclic()

2012-09-24 Thread Takashi Iwai
At Mon, 24 Sep 2012 10:17:15 +0200, Takashi Iwai wrote: At Mon, 24 Sep 2012 10:58:03 +0300, Peter Ujfalusi wrote: Hello, The reason for the breakage is the patch 1 got lost somewhere in the process. I also greped the whole tree for device_prep_dma_cyclic() and the second

Re: Work queue questions

2012-09-24 Thread Tejun Heo
On Mon, Sep 24, 2012 at 05:56:10PM +0100, Deepawali Verma wrote: Hi, This is sample code snippet as I cannot post my project code. In reality here, this work handler is copying the big chunks of data that code is here in my driver. This is running on quad core cortex A9 Thats why I asked.

Re: divide error: bdi_dirty_limit+0x5a/0x9e

2012-09-24 Thread Conny Seidel
Hi, On Mon, 24 Sep 2012 16:36:09 +0200 Borislav Petkov b...@amd64.org wrote: [ … ] Conny, would you test pls? Sure thing. Out of ~25 runs I only triggered it once, without the patch the trigger-rate is higher. [ 55.098249] Broke affinity for irq 81 [ 55.105108] smpboot: CPU 1 is now

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-24 Thread Mark Salter
On Mon, 2012-09-24 at 21:42 +0400, Cyrill Gorcunov wrote: On Mon, Sep 24, 2012 at 08:49:42PM +0400, Cyrill Gorcunov wrote: I got past that with: diff --git a/include/linux/security.h b/include/linux/security.h index 01ef030..14e394d 100644 --- a/include/linux/security.h +++

Re: [2.6.38-3.x] [BUG] soft lockup - CPU#X stuck for 23s! (vfs, autofs, vserver)

2012-09-24 Thread Eric W. Biederman
Herbert Poetzl herb...@13thfloor.at writes: On Mon, Sep 24, 2012 at 07:23:55AM +0200, Paweł Sikora wrote: On Sunday 23 of September 2012 18:10:30 Linus Torvalds wrote: On Sat, Sep 22, 2012 at 11:09 PM, Paweł Sikora pl...@pld-linux.org wrote: br_read_lock(vfsmount_lock); The

Re: [PATCH] memstick: add support for legacy memorysticks

2012-09-24 Thread Maxim Levitsky
On Mon, 2012-09-24 at 11:05 -0700, Tejun Heo wrote: Hello, On Mon, Sep 24, 2012 at 05:09:23PM +0200, Maxim Levitsky wrote: Now that my exams done Can you spare me from using a workqueue? I'd much prefer if you convert to workqueue. The point is that using current model I

Re: divide error: bdi_dirty_limit+0x5a/0x9e

2012-09-24 Thread Borislav Petkov
On Mon, Sep 24, 2012 at 08:16:50PM +0200, Conny Seidel wrote: Hi, On Mon, 24 Sep 2012 16:36:09 +0200 Borislav Petkov b...@amd64.org wrote: [ … ] Conny, would you test pls? Sure thing. Out of ~25 runs I only triggered it once, without the patch the trigger-rate is higher. [

Re: [PATCH] memstick: add support for legacy memorysticks

2012-09-24 Thread Maxim Levitsky
On Mon, 2012-09-24 at 20:19 +0200, Maxim Levitsky wrote: On Mon, 2012-09-24 at 11:05 -0700, Tejun Heo wrote: Hello, On Mon, Sep 24, 2012 at 05:09:23PM +0200, Maxim Levitsky wrote: Now that my exams done Can you spare me from using a workqueue? I'd much prefer if you

Re: [PATCH] memstick: add support for legacy memorysticks

2012-09-24 Thread Tejun Heo
Hello, On Mon, Sep 24, 2012 at 08:19:28PM +0200, Maxim Levitsky wrote: Except that if I schedule a same work item few times, these work items will be 'processed' in parallel, although there is just one work to do, work of pulling the requests from block queue until it has them, and

Re: [PATCH 2/2] ACPI: Override arbitrary ACPI tables via initrd for debugging

2012-09-24 Thread Matthew Garrett
On Sun, Sep 23, 2012 at 12:25:40AM -0400, Len Brown wrote: +config ACPI_INITRD_TABLE_OVERRIDE + bool + default y Do distros in addition to SuSE concur they want to ship this way? We certainly don't. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list:

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Mike Galbraith
On Mon, 2012-09-24 at 18:54 +0200, Peter Zijlstra wrote: On Mon, 2012-09-24 at 09:30 -0700, Linus Torvalds wrote: Also, do we really want to spread things out that aggressively? How/why do we know that we don't want to share L2 caches, for example? It sounds like a bad idea from a power

Re: [PATCH] memstick: add support for legacy memorysticks

2012-09-24 Thread Tejun Heo
Hello, On Mon, Sep 24, 2012 at 08:24:37PM +0200, Maxim Levitsky wrote: Should have looked through the source. Understand now. Just one quick question, should I create my own workqueue or use schedule_work? if I use the later and my work function sleeps, will it harmfully affect other users of

Re: sys_kcmp

2012-09-24 Thread Eric W. Biederman
Cyrill Gorcunov gorcu...@openvz.org writes: On Mon, Sep 24, 2012 at 08:49:42PM +0400, Cyrill Gorcunov wrote: I got past that with: diff --git a/include/linux/security.h b/include/linux/security.h index 01ef030..14e394d 100644 --- a/include/linux/security.h +++

Re: [PATCH v4] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-24 Thread Richard Cochran
On Mon, Sep 24, 2012 at 04:00:58PM +0200, Christophe Leroy wrote: diff -u a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c --- a/drivers/net/phy/lxt.c 2012-09-23 03:08:48.0 +0200 +++ b/drivers/net/phy/lxt.c 2012-09-23 03:18:00.0 +0200 ... @@ -175,6 +292,16 @@

[PATCH 06/10] UBI: Wire-up -fm_sem

2012-09-24 Thread Richard Weinberger
Fastmap uses -fm_sem to stop EBA changes while writing a new fastmap. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/eba.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index

[PATCH 05/10] UBI: Add fastmap bits to build.c

2012-09-24 Thread Richard Weinberger
Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/build.c | 71 -- 1 files changed, 67 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 3497703..cc7c03c 100644 ---

[PATCH 01/10] UBI: Add fastmap on-flash data structures

2012-09-24 Thread Richard Weinberger
Add the on-flash data structures neeed by fastmap to ubi-media.h Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/ubi-media.h | 137 +++ 1 files changed, 137 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ubi/ubi-media.h

[PATCH 09/10] UBI: Add fastmap core

2012-09-24 Thread Richard Weinberger
Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/fastmap.c | 1560 + 1 files changed, 1560 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/ubi/fastmap.c diff --git a/drivers/mtd/ubi/fastmap.c

[PATCH 10/10] UBI: Wire-up fastmap

2012-09-24 Thread Richard Weinberger
Make fastmap known to Kconfig, UBI Makefile and MAINTAINERS. Signed-off-by: Richard Weinberger rich...@nod.at --- MAINTAINERS |6 ++ drivers/mtd/ubi/Kconfig | 20 drivers/mtd/ubi/Makefile |1 + 3 files changed, 27 insertions(+), 0 deletions(-)

[PATCH 08/10] UBI: Add fastmap support to the WL sub-system

2012-09-24 Thread Richard Weinberger
To make fastmap possible the WL sub-system needs some changes. Mostly to support fastmaps pools. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/wl.c | 576 ++ 1 files changed, 531 insertions(+), 45 deletions(-) diff --git

[PATCH 07/10] UBI: Add fastmap stuff to attach.c

2012-09-24 Thread Richard Weinberger
- Export compare_lebs() as fastmap needs this function. - Implement fastmap scan logic. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/attach.c | 387 +++--- 1 files changed, 259 insertions(+), 128 deletions(-) diff --git

UBI: Fastmap request for inclusion (v18)

2012-09-24 Thread Richard Weinberger
UBI Fastmap is an optional feature which stores the physical to logical eraseblock relations in a checkpoint (called fastmap) to reduce the initialization time of UBI. The current init time of UBI is proportional to the number of physical erase blocks on the FLASH device. With fastmap enabled the

[PATCH 04/10] UBI: Add self_check_eba()

2012-09-24 Thread Richard Weinberger
self_check_eba() compares two ubi_attach_info objects. Fastmap uses this function for self checks. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/eba.c | 96 + 1 files changed, 96 insertions(+), 0 deletions(-) diff --git

[PATCH 02/10] UBI: Add fastmap stuff to ubi.h

2012-09-24 Thread Richard Weinberger
This patch adds fastmap specific data structures to ubi.h. It moves also struct ubi_work to ubi.h as it is now needed for more than one c file. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/ubi.h | 119 +++- drivers/mtd/ubi/wl.c

[PATCH 03/10] UBI: Export next_sqnum()

2012-09-24 Thread Richard Weinberger
Fastmap needs next_sqnum(), rename it to ubi_next_sqnum() and make it non-static. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/eba.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c

Re: pull request: bluetooth-next 2012-09-18

2012-09-24 Thread Gustavo Padovan
* Luis R. Rodriguez mcg...@do-not-panic.com [2012-09-21 18:06:42 -0700]: On Tue, Sep 18, 2012 at 6:31 PM, Gustavo Padovan gust...@padovan.org wrote: Johan Hedberg (2): Bluetooth: mgmt: Implement support for passkey notification Too late now... but why did we allow this a stable

Re: divide error: bdi_dirty_limit+0x5a/0x9e

2012-09-24 Thread Srivatsa S. Bhat
On 09/24/2012 11:49 PM, Borislav Petkov wrote: On Mon, Sep 24, 2012 at 08:16:50PM +0200, Conny Seidel wrote: Hi, On Mon, 24 Sep 2012 16:36:09 +0200 Borislav Petkov b...@amd64.org wrote: [ … ] Conny, would you test pls? Sure thing. Out of ~25 runs I only triggered it once, without the

Re: sys_kcmp

2012-09-24 Thread Cyrill Gorcunov
On Mon, Sep 24, 2012 at 11:29:09AM -0700, Eric W. Biederman wrote: +#ifdef CONFIG_MMU if (addr = TASK_SIZE || addr mmap_min_addr) +#else + if (addr = TASK_SIZE) +#endif I expect what you want is a call to access_ok, rather than hard coding details about task layout here.

Re: divide error: bdi_dirty_limit+0x5a/0x9e

2012-09-24 Thread Srivatsa S. Bhat
On 09/24/2012 06:26 PM, Borislav Petkov wrote: On Mon, Sep 24, 2012 at 08:29:00PM +0800, Fengguang Wu wrote: On Mon, Sep 24, 2012 at 02:20:53PM +0200, Borislav Petkov wrote: On Mon, Sep 24, 2012 at 07:34:47PM +0800, Fengguang Wu wrote: Will you test such a line? At least the generic do_div()

[PATCH 1/2] The tidspbridge driver does not compile anymore (Some OMAP34XX CPU definitions are missing). I Added a header file for these definitions.

2012-09-24 Thread selso
From: sli sli@SLI-V420.(none) Signed-off-by: sli sli@SLI-V420.(none) --- drivers/staging/tidspbridge/core/dsp-clock.c |3 ++ drivers/staging/tidspbridge/core/tiomap3430.c |4 ++ drivers/staging/tidspbridge/core/wdt.c |2 +-

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-24 Thread Cyrill Gorcunov
On Mon, Sep 24, 2012 at 02:16:09PM -0400, Mark Salter wrote: #else +#define mmap_min_addr 0UL #define dac_mmap_min_addr 0UL #endif I think better to add CONFIG_MMU test here. Well, my patch was just something quick to get the kernel to build, but

Re: [PATCH 3/6] dyndbg: add more info to -E2BIG log warning

2012-09-24 Thread Jason Baron
On Tue, Sep 18, 2012 at 05:36:44PM -0600, Jim Cromie wrote: Tell user how big the attempted write was, in case its not obvious. This helped identify a missing flush in my stress-test script. Signed-off-by: Jim Cromie jim.cro...@gmail.com --- lib/dynamic_debug.c | 3 ++- 1 file changed, 2

Re: [PATCH 5/6] dyndbg: in dynamic_emit_prefix, change inter-field separator

2012-09-24 Thread Jason Baron
On Tue, Sep 18, 2012 at 07:56:42PM -0700, Joe Perches wrote: On Tue, 2012-09-18 at 17:36 -0600, Jim Cromie wrote: dynamic_emit_prefix() currently separates modname, funcname, lineno with ':'. This is confounds use of cut -d: logfile, since the field positions can change per callsite with

Re: [PATCH 3/6] dyndbg: add more info to -E2BIG log warning

2012-09-24 Thread Geert Uytterhoeven
On Mon, Sep 24, 2012 at 9:00 PM, Jason Baron jba...@redhat.com wrote: - pr_warn(expected %d bytes into control\n, USER_BUF_PAGE); %u? + pr_warn(expected %d bytes into control, you wrote %d\n, + USER_BUF_PAGE, (int) len); The style here, I think,

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Linus Torvalds
On Mon, Sep 24, 2012 at 11:26 AM, Mike Galbraith efa...@gmx.de wrote: Aside from the cache pollution I recall having been mentioned, on my E5620, cross core is a tbench win over affine, cross thread is not. Oh, I agree with trying to avoid HT threads, the resource contention easily gets too

[PATCH] tile: gxio iorpc numbering change for TRIO interface

2012-09-24 Thread Chris Metcalf
An ABI numbering change was made in the hypervisor for Tilera's 4.1 MDE release (just shipped). It's incompatible with the previous 4.0 release ABI numbering, so we track the new numbering going forward. We plan to avoid modifying ABI numbering for these interfaces again. Signed-off-by: Chris

RE: [RFC] mm: add support for zsmalloc and zcache

2012-09-24 Thread Dan Magenheimer
From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] Subject: Re: [RFC] mm: add support for zsmalloc and zcache Once again, you have completely ignored a reasonable compromise proposal. Why? According to Greg's staging-next, ramster adds 6000 lines of new code to zcache. :

Re: [PATCH] ARM: hw_breakpoint: Clear breakpoints before enabling monitor mode

2012-09-24 Thread Will Deacon
On Mon, Sep 24, 2012 at 07:04:56PM +0100, Stephen Boyd wrote: On 09/24/12 10:19, Will Deacon wrote: Ok, I've pushed a bunch of patches to my hw-breakpoint branch (head commit 55cb726797c7). I'll post them to the list after the merge window, but please do take them for a spin if you get a

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-24 Thread Borislav Petkov
On Mon, Sep 24, 2012 at 12:12:18PM -0700, Linus Torvalds wrote: On Mon, Sep 24, 2012 at 11:26 AM, Mike Galbraith efa...@gmx.de wrote: Aside from the cache pollution I recall having been mentioned, on my E5620, cross core is a tbench win over affine, cross thread is not. Oh, I agree with

[PATCH 3/4] regulator: tps6586x: remove regulator-compatible from DT docs

2012-09-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Commit regulator: deprecate regulator-compatible DT property deprecated the use of the regulator-compatible DT property. Update the DT example in the TPS6586x binding documentation to reflect this. Signed-off-by: Stephen Warren swar...@nvidia.com --- This

[PATCH 0/4] deprecate regulator-compatible DT property

2012-09-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com As explained in patch 1, this series deprecates the regulator-compatible DT property, and updates various binding documentation and examples for this change. I expect patches 1-3 to go into various regulator topic trees, and patch 4 to go into the MFD

[PATCH 2/4] regulator: tps65217.txt: remove regulator-compatible from DT docs

2012-09-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Commit regulator: deprecate regulator-compatible DT property deprecated the use of the regulator-compatible DT property. Update the DT example in the TPS65217 binding documentation to reflect this. Signed-off-by: Stephen Warren swar...@nvidia.com --- This

[PATCH 4/4] mfd: max8907: remove regulator-compatible from DT docs

2012-09-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Commit regulator: deprecate regulator-compatible DT property deprecated the use of the regulator-compatible DT property. Update the DT example in the MAX8907 binding documentation to reflect this. Signed-off-by: Stephen Warren swar...@nvidia.com --- This

[PATCH 1/4] regulator: deprecate regulator-compatible DT property

2012-09-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com When the bindings for the TPS6586x regulator were being proposed, I asserted that DT node naming rules for bus child nodes should also be applied to nodes inside the TPS6586x regulator node itself. In other words, that each node providing regulator init

Re: [PATCH 1/4] task_work: make task_work_add() lockless

2012-09-24 Thread Geert Uytterhoeven
On Sun, Aug 26, 2012 at 9:12 PM, Oleg Nesterov o...@redhat.com wrote: Change task_works to use llist-like code to avoid pi_lock in task_work_add(), this makes it useable under rq-lock. task_work_cancel() and task_work_run() still use pi_lock to synchronize with each other. Suggested-by:

Re: divide error: bdi_dirty_limit+0x5a/0x9e

2012-09-24 Thread Borislav Petkov
On Tue, Sep 25, 2012 at 12:18:46AM +0530, Srivatsa S. Bhat wrote: Sure thing. Out of ~25 runs I only triggered it once, without the patch the trigger-rate is higher. [ 55.098249] Broke affinity for irq 81 [ 55.105108] smpboot: CPU 1 is now offline [ 55.311216] smpboot: Booting

Re: [PATCH] rtlwifi/rtl8712u Revert firmware

2012-09-24 Thread Ben Hutchings
On Fri, Sep 21, 2012 at 11:14:12AM -0500, Larry Finger wrote: On 09/20/2012 05:31 PM, Ben Hutchings wrote: On Mon, 2012-09-10 at 11:26 -0500, Larry Finger wrote: Although the newest firmware for the RTL8192SU, which is found in vendor driver rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404,

Re: linux-next: build failure after merge of the akpm tree

2012-09-24 Thread Roland Dreier
On Mon, Sep 24, 2012 at 7:02 AM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/infiniband/hw/mlx4/cm.c: In function 'id_map_alloc': drivers/infiniband/hw/mlx4/cm.c:228:36: error:

Re: [PATCH 2/5] drivers/scsi/bnx2fc/bnx2fc_io.c: Remove potential NULL dereference

2012-09-24 Thread Bhanu Prakash Gollapudi
On 09/07/2012 11:23 AM, Bhanu Prakash Gollapudi wrote: On 8/14/2012 8:49 AM, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that

[GIT PULL] tile gxio ABI fix for 3.6

2012-09-24 Thread Chris Metcalf
Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master This fixes a last-minute change in the Tilera hypervisor ABI for TRIO (PCI root complex) support. We've locked in this ABI going forward and will make sure no further ABI changes like this

Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-09-24 Thread Jan H. Schönherr
Am 23.08.2012 16:14, schrieb p...@google.com: From: Paul Turner p...@google.com Now that the machinery in place is in place to compute contributed load in a bottom up fashion; replace the shares distribution code within update_shares() accordingly. [snip] static int

Re: linux-next: build failure after merge of the akpm tree

2012-09-24 Thread Andrew Morton
On Mon, 24 Sep 2012 12:36:43 -0700 Roland Dreier rol...@purestorage.com wrote: On Mon, Sep 24, 2012 at 7:02 AM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

[PATCH] syscalls: add __NR_kcmp syscall to generic unistd.h

2012-09-24 Thread Mark Salter
Commit d97b46a64 added a new syscall (__NR_kcmp) to support checkpoint restore. It is currently x86-only, but that restriction will be removed in a subsequent patch. Unfortunately, the kernel checksyscalls script had a bug which suppressed any warning to other architectures that the kcmp syscall

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