Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-12 Thread Borislav Petkov
On Thu, Oct 11, 2012 at 10:42:26PM -0400, Steven Rostedt wrote: On Thu, 2012-10-11 at 19:31 -0700, David Sharp wrote: On Thu, Oct 11, 2012 at 6:56 PM, Steven Rostedt rost...@goodmis.org wrote: Sorry, I know this is late, but it was pushed down in my todo list (never off, but something I

Re: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-12 Thread Borislav Petkov
On Fri, Oct 12, 2012 at 03:37:50AM +, Ma, Ling wrote: Load and write operation occupy about 35% and 10% respectively for most industry benchmarks. Fetched 16-aligned bytes code include about 4 instructions, implying 1.34(0.35 * 4) load, 0.4 write. Modern CPU support 2 load and 1

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2012-10-12 Thread Christian Gmeiner
2012/10/1 Greg KH g...@kroah.com: On Mon, Oct 01, 2012 at 02:50:40PM +0200, Christian Gmeiner wrote: During the development of this driver an in-house register documentation was used. The last weeks some integration tests were done and this problem was found. It turned out that the released

Re: [PATCH] regmap : make lock/unlock functions customizable.

2012-10-12 Thread Mark Brown
On Mon, Oct 01, 2012 at 11:31:04PM +0200, cimina...@gnudd.com wrote: From: Davide Ciminaghi cimina...@gnudd.com It is sometimes convenient for a regmap user to override the standard regmap lock/unlock functions with custom functions. This looks good overall but... -static void

Re: [PATCH v2] regmap: silence GCC warning

2012-10-12 Thread Mark Brown
On Mon, Oct 08, 2012 at 10:06:30PM +0200, Paul Bolle wrote: Long story short: Jakub Jelinek pointed out that there is a type mismatch between 'num' in regmap_volatile_range() and 'val_count' in regmap_raw_read(). And indeed, converting 'num' to the type of 'val_count' (ie, size_t) makes this

Re: [Patch v3 7/7] Onkey: DA9055 Onkey driver

2012-10-12 Thread Ashish Jangam
On Thu, 2012-10-11 at 09:28 -0700, Dmitry Torokhov wrote: Hi Ashish, On Thu, Oct 11, 2012 at 04:15:16PM +0530, Ashish Jangam wrote: This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver. This patch is functionally tested on SMDK6410 board.

Re: Linux 2.6.32.60

2012-10-12 Thread Willy Tarreau
On Fri, Oct 12, 2012 at 07:11:12AM +0800, H. Peter Anvin wrote: On 10/11/2012 07:31 PM, Willy Tarreau wrote: On Thu, Oct 11, 2012 at 07:58:04PM +0900, Greg KH wrote: On Thu, Oct 11, 2012 at 08:29:16AM +0200, Willy Tarreau wrote: If you think these patches constitute a regression, I can

[PATCH 0/3] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-12 Thread Zhang Yanfei
Currently, kdump just makes all the logical processors leave VMX operation by executing VMXOFF instruction, so any VMCSs active on the logical processors may be corrupted. But, sometimes, we need the VMCSs to debug guest images contained in the host vmcore. To prevent the corruption, we should

Re: Linux 2.6.32.60

2012-10-12 Thread Greg KH
On Fri, Oct 12, 2012 at 08:38:48AM +0200, Willy Tarreau wrote: On Fri, Oct 12, 2012 at 07:11:12AM +0800, H. Peter Anvin wrote: On 10/11/2012 07:31 PM, Willy Tarreau wrote: On Thu, Oct 11, 2012 at 07:58:04PM +0900, Greg KH wrote: On Thu, Oct 11, 2012 at 08:29:16AM +0200, Willy Tarreau

[PATCH 1/3] x86/kexec: clear vmcss on all cpus if necessary

2012-10-12 Thread Zhang Yanfei
This patch provides an alternative way to clear vmcss related to guests on all cpus when doing kdump. Signed-off-by: zhangyanfei zhangyan...@cn.fujitsu.com --- arch/x86/include/asm/kexec.h |3 +++ arch/x86/kernel/crash.c | 23 +++ 2 files changed, 26 insertions(+),

[PATCH 2/3] KVM: make crash_clear_loaded_vmcss valid when kvm_intel is loaded

2012-10-12 Thread Zhang Yanfei
Signed-off-by: zhangyanfei zhangyan...@cn.fujitsu.com --- arch/x86/kvm/vmx.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4ff0ab9..f6a16b2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -41,6 +41,7 @@

[PATCH 3/3] sysctl: introduce a new interface to control kdump-vmcs-clear behaviour

2012-10-12 Thread Zhang Yanfei
This patch exports the variable clear_loaded_vmcs_enabled to userspace. Signed-off-by: zhangyanfei zhangyan...@cn.fujitsu.com --- Documentation/sysctl/kernel.txt |8 kernel/sysctl.c | 10 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git

[PATCH] openrisc: avoid using function parameter regs in reset vector

2012-10-12 Thread Stefan Kristiansson
The kernel might be invoked through the reset vector, so to preserve parameters passed to it, temp regs that are not in the function parameter range needs to be used. Signed-off-by: Stefan Kristiansson stefan.kristians...@saunalahti.fi --- arch/openrisc/kernel/head.S |6 +++--- 1 file

[PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-12 Thread Tang Chen
ACPI0004,PNP0A05 and PNP0A06 are all defined in array container_device_ids[], so use it, but not the hard coding style. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/container.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git

Re: [GIT PULL] Disintegrate UAPI for cris [ver #2]

2012-10-12 Thread Jesper Nilsson
On Tue, Oct 09, 2012 at 10:15:22AM +0100, David Howells wrote: Can you merge the following branch into the cris tree please. This is to complete part of the UAPI disintegration for which the preparatory patches were pulled recently. Now that the fixups and the asm-generic chunk have been

Re: Using ps to display process information never exit, and can't be killed

2012-10-12 Thread devendra.aaru
On Fri, Oct 12, 2012 at 1:56 AM, Cyberman Wu cyphe...@gmail.com wrote: Sorry to use that big mail list account since I don't know any specific mail list account should be used for that problem. We're running Linux box on Gx platform from Tilera. The kernel use some vendor specific patches,

Re: linux-next: manual merge of the pinctrl tree with the tree

2012-10-12 Thread Linus Walleij
On Fri, Oct 12, 2012 at 5:04 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9n12.c between commit f7d19b906556 (ARM: at91: add clocks for I2C DT entries) from the tree and commit

linux-next: Tree for Oct 12

2012-10-12 Thread Stephen Rothwell
Hi all, Do not add stuff destined for v3.8 to your linux-next included branches until after v3.7-rc1 is released. Changes since 201201011: Conflicts are migrating as trees are merged by Linus. Linus' tree lost its build failure. The l2-mtd tree gained a build failure so I used the version

Re: [PATCH] cris: use kbuild.h instead of defining macros in asm-offset.c

2012-10-12 Thread Jesper Nilsson
On Thu, Oct 11, 2012 at 10:00:58AM +0100, James Hogan wrote: This is modelled on commits such as the one below: Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e (sh: use kbuild.h instead of defining macros in asm-offsets.c) introduced in v2.6.26. Looks good here, I'll take it into the CRIS

Re: [PATCH v4 04/14] kmem accounting basic infrastructure

2012-10-12 Thread Glauber Costa
On 10/11/2012 02:11 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:10, Glauber Costa wrote: This patch adds the basic infrastructure for the accounting of the slab caches. To control that, the following files are created: * memory.kmem.usage_in_bytes * memory.kmem.limit_in_bytes *

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-12 Thread Paolo Bonzini
Il 12/10/2012 00:37, Rusty Russell ha scritto: Michael S. Tsirkin m...@redhat.com writes: On Thu, Oct 11, 2012 at 10:33:31AM +1030, Rusty Russell wrote: OK. Well, Anthony wants qemu to be robust in this regard, so I am tempted to rework all the qemu drivers to handle arbitrary layouts. They

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-12 Thread Glauber Costa
On 10/11/2012 04:42 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:12, Glauber Costa wrote: This patch introduces infrastructure for tracking kernel memory pages to a given memcg. This will happen whenever the caller includes the flag __GFP_KMEMCG flag, and the task belong to a memcg other than

Re: [PATCH v4 09/14] memcg: kmem accounting lifecycle management

2012-10-12 Thread Glauber Costa
On 10/11/2012 05:11 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:15, Glauber Costa wrote: Because kmem charges can outlive the cgroup, we need to make sure that we won't free the memcg structure while charges are still in flight. For reviewing simplicity, the charge functions will issue

Re: [PATCH v4 10/14] memcg: use static branches when code not in use

2012-10-12 Thread Glauber Costa
On 10/11/2012 05:40 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:16, Glauber Costa wrote: We can use static branches to patch the code in or out when not used. Because the _ACTIVE bit on kmem_accounted is only set after the increment is done, we guarantee that the root memcg will always be

Re: [PATCH v4 14/14] Add documentation about the kmem controller

2012-10-12 Thread Glauber Costa
On 10/11/2012 06:35 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:20, Glauber Costa wrote: Signed-off-by: Glauber Costa glom...@parallels.com --- Documentation/cgroups/memory.txt | 55 +++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git

Re: [GIT PULL rcu/urgent] Fixes for RCU regressions

2012-10-12 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, This series fixes some RCU regressions in 3.7. Kirill A. Shutemov found a case where synchronize_rcu() is invoked from a CPU-hotplug notifier, which, with RCU's shiny new kthread-based grace-period implementation, results

Re: [git pull] signal.git, pile 2 (was Re: [RFC][CFT][CFReview] execve and kernel_thread unification work)

2012-10-12 Thread Benjamin Herrenschmidt
On Fri, 2012-10-12 at 02:09 +0100, Al Viro wrote: Anyway, if ppc folks can live with that stuff in its current form for now, here's the second signal.git pull request. Stuff in there: kernel_thread/ kernel_execve/sys_execve conversions for several more architectures plus assorted signal fixes

[PATCH] mm: cleanup register_node()

2012-10-12 Thread Yasuaki Ishimatsu
register_node() is defined as extern in include/linux/node.h. But the function is only called from register_one_node() in driver/base/node.c. So the patch defines register_node() as static. CC: David Rientjes rient...@google.com CC: Andrew Morton a...@linux-foundation.org Signed-off-by: Yasuaki

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: dw_dmac driver already supports device tree but it used to have its platform data passed the non-DT way. My few comments are below. This patch does following changes: - pass platform data via DT, non-DT way still takes precedence if

Re: [PATCH] regmap : make lock/unlock functions customizable.

2012-10-12 Thread Davide Ciminaghi
On Fri, Oct 12, 2012 at 03:26:09PM +0900, Mark Brown wrote: On Mon, Oct 01, 2012 at 11:31:04PM +0200, cimina...@gnudd.com wrote: From: Davide Ciminaghi cimina...@gnudd.com It is sometimes convenient for a regmap user to override the standard regmap lock/unlock functions with custom

Re: [PATCH v4 04/14] kmem accounting basic infrastructure

2012-10-12 Thread Michal Hocko
On Fri 12-10-12 11:36:38, Glauber Costa wrote: On 10/11/2012 02:11 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:10, Glauber Costa wrote: [...] + if (!memcg-kmem_accounted val != RESOURCE_MAX) { Just a nit but wouldn't memcg_kmem_is_accounted(memcg) be better than directly checking

Re: [PATCH 10/33] autonuma: CPU follows memory algorithm

2012-10-12 Thread Mel Gorman
On Fri, Oct 12, 2012 at 02:25:13AM +0200, Andrea Arcangeli wrote: On Thu, Oct 11, 2012 at 03:58:05PM +0100, Mel Gorman wrote: On Thu, Oct 04, 2012 at 01:50:52AM +0200, Andrea Arcangeli wrote: This algorithm takes as input the statistical information filled by the knuma_scand

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Viresh Kumar
On 12 October 2012 13:53, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: My few comments are below. Most welcome :) diff --git a/Documentation/devicetree/bindings/dma/snps-dma.txt

Re: [GIT PULL] perf updates/fixes

2012-10-12 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD: 95cf59ea72331d0093010543b8951bb43f262cac perf: Fix perf_cgroup_switch for sw-events

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-12 Thread Michal Hocko
On Fri 12-10-12 11:45:46, Glauber Costa wrote: On 10/11/2012 04:42 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:12, Glauber Costa wrote: [...] + /* + * Conditions under which we can wait for the oom_killer. + * __GFP_NORETRY should be masked by __mem_cgroup_try_charge, + * but

[PATCH] pinctrl/nomadik: update other alternate-C functions on DB8500

2012-10-12 Thread Linus Walleij
From: Jean-Nicolas Graux jean-nicolas.gr...@stericsson.com In pinctrl-nomadik-db8500.c, add missing definitions that deal with other alternate-C functions. Signed-off-by: Jean-Nicolas Graux jean-nicolas.gr...@stericsson.com Signed-off-by: Linus Walleij linus.wall...@linaro.org ---

Re: [PATCH v4 09/14] memcg: kmem accounting lifecycle management

2012-10-12 Thread Michal Hocko
On Fri 12-10-12 11:47:17, Glauber Costa wrote: On 10/11/2012 05:11 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:15, Glauber Costa wrote: Because kmem charges can outlive the cgroup, we need to make sure that we won't free the memcg structure while charges are still in flight. For

Re: [PATCH v4 14/14] Add documentation about the kmem controller

2012-10-12 Thread Michal Hocko
On Fri 12-10-12 11:53:23, Glauber Costa wrote: On 10/11/2012 06:35 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:20, Glauber Costa wrote: [...] Kernel memory limits are not imposed for the root cgroup. Usage for the root -cgroup may or may not be accounted. +cgroup may or may not be

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-12 Thread Glauber Costa
On 10/12/2012 12:39 PM, Michal Hocko wrote: On Fri 12-10-12 11:45:46, Glauber Costa wrote: On 10/11/2012 04:42 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:12, Glauber Costa wrote: [...] + /* + * Conditions under which we can wait for the oom_killer. + * __GFP_NORETRY should be masked

Re: [PATCH 00/33] AutoNUMA27

2012-10-12 Thread Mel Gorman
On Fri, Oct 12, 2012 at 03:45:53AM +0200, Andrea Arcangeli wrote: Hi Mel, On Thu, Oct 11, 2012 at 10:34:32PM +0100, Mel Gorman wrote: So after getting through the full review of it, there wasn't anything I could not stand. I think it's *very* heavy on some of the paths like the idle

Re: [Request for review] Revised delete_module(2) manual page

2012-10-12 Thread Michael Kerrisk (man-pages)
Hi Rusty, Thanks for taking a look at this page. In the light of your comments, I've substantially reworked the page, and further review would not go amiss, in case I made a misstep along the way. On Thu, Oct 11, 2012 at 5:02 AM, Rusty Russell ru...@rustcorp.com.au wrote: Michael Kerrisk

Re: [Xen-devel] [PATCH V2 1/7]: PVH: basic and header changes, elfnote changes, ...

2012-10-12 Thread Ian Campbell
On Thu, 2012-10-11 at 22:53 +0100, Mukesh Rathor wrote: PVH: is a PV linux guest that has extended capabilities. This patch allows it to be configured and enabled. Also, basic header file changes to add new subcalls to physmap hypercall. Lastly, mfn_to_local_pfn must return mfn for paging

[PATCH] Coccicheck: Improvement for online checking with 'make C=[12]'

2012-10-12 Thread Nicolas Palix
This patch replaces an old workaround by a new spatch option, and adds support for online checking of external modules. The ignore_unknown_options is present in coccinelle since the version 0.2.3 of spatch. Most of the distribution (if not all) already provide a RC of the 1.0.0 version. This new

[PATCH v2] mcs7830: Fix link state detection

2012-10-12 Thread Ondrej Zary
The device had an undocumented feature: it can provide a sequence of spurious link-down status data even if the link is up all the time. A sequence of 10 was seen so update the link state only after the device reports the same link state 20 times. Signed-off-by: Ondrej Zary

Re: [Xen-devel] [PATCH V2 2/7]: PVH: use native irq, enable callback, use HVM ring ops, ...

2012-10-12 Thread Ian Campbell
On Thu, 2012-10-11 at 22:57 +0100, Mukesh Rathor wrote: PVH: make gdt_frames[]/gdt_ents into a union with {gdtaddr, gdtsz}, PVH only needs to send down gdtaddr and gdtsz. irq.c: PVH uses native_irq_ops. vcpu hotplug is currently not available for PVH. events.c: setup callback vector for PVH.

[GIT PULL] RCU fixes

2012-10-12 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus HEAD: c1f8d901d828da1df6d384780829952e7912aeba Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-12 Thread Michal Hocko
On Fri 12-10-12 12:44:57, Glauber Costa wrote: On 10/12/2012 12:39 PM, Michal Hocko wrote: On Fri 12-10-12 11:45:46, Glauber Costa wrote: On 10/11/2012 04:42 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:12, Glauber Costa wrote: [...] +/* + * Conditions under which we

Re: [Xen-devel] [PATCH V2 3/7]: PVH: mmu related changes.

2012-10-12 Thread Ian Campbell
On Thu, 2012-10-11 at 22:58 +0100, Mukesh Rathor wrote: @@ -2177,8 +2210,19 @@ static const struct pv_mmu_ops xen_mmu_ops __initconst = { void __init xen_init_mmu_ops(void) { - x86_init.mapping.pagetable_reserve = xen_mapping_pagetable_reserve;

Re: Using ps to display process information never exit, and can't be killed

2012-10-12 Thread Cyberman Wu
Thanks, since strace is not in default root fs on that platform, I've forgot it. I tried two time: read(4, 36864\n, 24) = 6 close(4)= 0 mmap2(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xcf

[PATCH 2/5] arcmsr: Support Hibernation

2012-10-12 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Support hibernation for whole series of RAID controllers Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- diff -uprN a//drivers/scsi/arcmsr/arcmsr.h b//drivers/scsi/arcmsr/arcmsr.h --- a//drivers/scsi/arcmsr/arcmsr.h 2012-10-12 16:28:42.175958900

Re: [Xen-devel] [PATCH V2 6/7]: PVH: balloon and grant changes

2012-10-12 Thread Ian Campbell
On Thu, 2012-10-11 at 23:01 +0100, Mukesh Rathor wrote: PVH: balloon and grant changes. For balloon changes we skip setting of local p2m as it's updated in xen. For grant, the shared grant frame is the pfn and not mfn, hence its mapped via the same code path as HVM Signed-off-by: Mukesh R

[PATCH 3/5] arcmsr: Support MSI and MSI-X

2012-10-12 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Support MSI or MSI-X for whole series of RAID controllers. Meanwhile correct the register access as iowrite32/ioread32 Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- diff -uprN a//drivers/scsi/arcmsr/arcmsr_hba.c

Re: [GIT PULL] perf updates/fixes

2012-10-12 Thread Borislav Petkov
On Fri, Oct 12, 2012 at 10:39:26AM +0200, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD:

RE: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-12 Thread Ma, Ling
So is that also true for AMD CPUs? Although Bulldozer put 32byte instruction into decoupled 16byte entry buffers, it still decode 4 instructions per cycle, so 4 instructions will be fed into execution unit and 2 loads ,1 write will be issued per cycle. I'd be very interested with

Re: [PATCH 1/4] usb: phy: add a new driver for usb3 phy

2012-10-12 Thread kishon
Hi Tony, On Thursday 11 October 2012 06:29 AM, Tony Lindgren wrote: Hi, * Kishon Vijay Abraham I kis...@ti.com [120919 04:32]: Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. This also includes device tree support for usb3 phy driver and

Re: [GIT PULL] perf updates/fixes

2012-10-12 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: On Fri, Oct 12, 2012 at 10:39:26AM +0200, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [Xen-devel] [PATCH V2 7/7]: PVH: privcmd changes.

2012-10-12 Thread Ian Campbell
@@ -260,15 +268,24 @@ struct mmap_batch_state { xen_pfn_t __user *user_mfn; }; +/* auto translated dom0 note: if domU being created is PV, then mfn is + * mfn(addr on bus). If it's auto xlated, then mfn is pfn (input to HAP). + */ static int mmap_batch_fn(void *data, void *state)

[GIT PULL] scheduler fixes

2012-10-12 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus HEAD: 301a5cba2887d1f640e6d5184b05a6d7132017d5 sched: Update sched_domains_numa_masks[][] when new cpus are onlined A CPU hotplug related

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-12 Thread Glauber Costa
On 10/12/2012 12:57 PM, Michal Hocko wrote: On Fri 12-10-12 12:44:57, Glauber Costa wrote: On 10/12/2012 12:39 PM, Michal Hocko wrote: On Fri 12-10-12 11:45:46, Glauber Costa wrote: On 10/11/2012 04:42 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:12, Glauber Costa wrote: [...] +/*

Re: [PATCH v2 5/8] clk: don't mark clkdev_add_table as init

2012-10-12 Thread Russell King - ARM Linux
On Tue, Oct 09, 2012 at 10:13:55PM +0200, Arnd Bergmann wrote: s3c2440_clk_add is a subsys_interface method and calls clkdev_add_table, which means we might be calling it after the __init section is discarded. Without this patch, building mini2440_defconfig results in: WARNING:

RE: [RFC PATCH v2 08/16] ARM: omap: add hsmmc am33xx specific init

2012-10-12 Thread Hebbar, Gururaja
Matt On Fri, Oct 12, 2012 at 00:34:33, Porter, Matt wrote: AM33xx requires special handling in hsmmc initialization platform glue. Since AM335x boots mainly through DT, do we still need this patch. This function will be called in case of initializing hsmmc with Platform data.

Re: [Xen-devel] [PATCH V2 0/7]: PVH: PV guest with extensions

2012-10-12 Thread Ian Campbell
On Thu, 2012-10-11 at 22:49 +0100, Mukesh Rathor wrote: Hi guys, Ok, I've made all the changes from prev RFC patch submissions. Tested all the combinations. The patches are organized slightly differently from prev version because of the nature of changes after last review. I am building xen

Re: [GIT PULL] perf updates/fixes

2012-10-12 Thread Markus Trippelsdorf
On 2012.10.12 at 11:08 +0200, Borislav Petkov wrote: On Fri, Oct 12, 2012 at 10:39:26AM +0200, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: Linus, Please pull the latest perf-urgent-for-linus git tree from:

[Patch v2 6/7] Watchdog: DA9055 Watchdog driver

2012-10-12 Thread Ashish Jangam
This is the Watchdog patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on SMDK6410 Signed-off-by: David Dajun Chen dc...@diasemi.com Signed-off-by: Ashish Jangam ashish.jan...@kpitcummins.com --- changes since version v2: - remove

[Patch v4 7/7] Onkey: DA9055 Onkey driver

2012-10-12 Thread Ashish Jangam
This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver. This patch is functionally tested on SMDK6410 board. Signed-off-by: David Dajun Chen dc...@diasemi.com Signed-off-by: Ashish Jangam ashish.jan...@kpitcummins.com --- changes since v4: - remove of

[PATCH] perf: Handle new rbtree implementation

2012-10-12 Thread Ingo Molnar
From 6c4d077c467d689b5dd2f89cc69713f1bf4e31d7 Mon Sep 17 00:00:00 2001 From: Markus Trippelsdorf mar...@trippelsdorf.de Date: Tue, 9 Oct 2012 20:01:56 +0200 Subject: [PATCH] perf: Handle new rbtree implementation Perf build fails with the new rbtree implementation: ../../lib/rbtree.c:24:36:

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, Oct 12, 2012 at 11:34 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 12 October 2012 13:53, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: diff --git a/Documentation/devicetree/bindings/dma/snps-dma.txt

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Viresh Kumar
On 12 October 2012 14:55, Andy Shevchenko andy.shevche...@gmail.com wrote: I understand your way of allocating memory, but what about using linked list instead of array? I gave it a thought. Overhead was 4 bytes more per slave structure + more cycles in filter routine (arrays are more faster

Re: [PATCH v2] Fix AMD Northbridge-ID contiguity assumptions

2012-10-12 Thread Borislav Petkov
On Thu, Oct 04, 2012 at 03:18:02PM +0200, Borislav Petkov wrote: On Wed, Oct 03, 2012 at 09:21:14PM +0800, Daniel J Blueman wrote: The AMD Northbridge initialisation code and EDAC assume the Northbridge IDs are contiguous, which no longer holds on federated systems with multiple

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-12 Thread Lee Jones
On Thu, 11 Oct 2012, Nishanth Menon wrote: On 15:42-20121011, Lee Jones wrote: From: Jonas Aaberg jonas.ab...@stericsson.com The overhead is very low and the results will be found under sysfs/bootime, as well as detailed results in debugfs under boottime/. The bootgraph* files are

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-12 Thread Michal Hocko
On Fri 12-10-12 13:13:04, Glauber Costa wrote: [...] Just so we don't ping-pong in another submission: I changed memcontrol.h's memcg_kmem_newpage_charge to include: /* If the test is dying, just let it go. */ if (unlikely(test_thread_flag(TIF_MEMDIE)

Re: [PATCH v4 1/5] KVM: MMU: fix release noslot pfn

2012-10-12 Thread Xiao Guangrong
On 10/11/2012 10:31 PM, Marcelo Tosatti wrote: On Thu, Oct 11, 2012 at 09:06:12PM +0800, Xiao Guangrong wrote: On 10/10/2012 11:11 PM, Marcelo Tosatti wrote: Why does is_error_pfn() return true for mmio spte? Its not an error, after all. Please kill is_invalid_pfn and use - is_error_pfn

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-12 Thread Lee Jones
Okay, please disgard the last patch. Lots of fixups since. Author: Lee Jones lee.jo...@linaro.org Date: Wed Jun 30 14:00:40 2010 +0200 Boottime: A tool for automatic measurement of kernel/bootloader boot time The overhead is very low and the results will be found under

Re: [PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-12 Thread Yasuaki Ishimatsu
Hi Tang, 2012/10/12 15:55, Tang Chen wrote: ACPI0004,PNP0A05 and PNP0A06 are all defined in array container_device_ids[], so use it, but not the hard coding style. The idea is good. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/container.c | 10 +++--- 1

[RFC 0/3] mm: vmevent: Stats accuracy improvements

2012-10-12 Thread Anton Vorontsov
Hi all, Some time ago KOSAKI Motohiro noticed[1] that vmevent might be very inaccurate (up to 2GB inaccuracy on a very large machines) since per CPU stats synchronization happens either on time basis or when we hit stat thresholds. KOSAKI also told that perf API might be a good inspirations for

[PATCH 1/3] mm: vmstat: Implement set_zone_stat_thresholds() helper

2012-10-12 Thread Anton Vorontsov
There are two things that affect vmstat accuracy: - Per CPU pageset stats to global stats synchronization time; - Per CPU pageset stats thresholds; Currently user can only change vmstat update time (via stat_interval sysctl, which is 1 second by default). As for thresholds, the max threshold is

[PATCH 3/3] mm: vmevent: Sum per cpu pagesets stats asynchronously

2012-10-12 Thread Anton Vorontsov
Currently vmevent relies on the global page state stats, which is updated once per stat_interval (1 second) or when the per CPU pageset stats hit their threshold. We can sum the vm_stat_diff values asynchronously: they will be possibly a bit inconsistent, but overall this should improve accuracy,

[PATCH 2/3] mm: vmevent: Use value2 for setting vmstat thresholds

2012-10-12 Thread Anton Vorontsov
Attributes that use vmstat can now use attr-value2 to specify an optional accuracy. Based on the provided value, we will setup appropriate vmstat thresholds. Signed-off-by: Anton Vorontsov anton.voront...@linaro.org --- include/linux/vmevent.h | 5 + mm/vmevent.c| 56

[PATCH] mm: vmevent: Report number of used swap pages, not total amount of swap

2012-10-12 Thread Anton Vorontsov
I think the actual intent was to report the number of used swap pages, not just total swap size. This patch fixes the issue. Signed-off-by: Anton Vorontsov anton.voront...@linaro.org --- mm/vmevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmevent.c b/mm/vmevent.c

Re: [PATCH v2] Fix AMD Northbridge-ID contiguity assumptions

2012-10-12 Thread Borislav Petkov
On Fri, Oct 12, 2012 at 11:57:00AM +0200, Steffen Persvold wrote: This patch looks very clean and should serve our purpose as well (I'll double check with Daniel). Thanks. I'll run it today or next week to check whether it works as expected - will let you know if there are issues. Regarding

[PATCH 0/3] Find pci root bridges by comparing HID from acpi_device_info, not acpi_device.

2012-10-12 Thread Tang Chen
Hi Yinghai, I found a little problem in your following patches. :) [PATCH 00/40] PCI, ACPI, x86: pci root bus hotplug support. In acpi_is_root_bridge(), it gets device's HID from acpi_device struct. If the device is not added when the system boots, there will be no acpi_device for it. And as a

[PATCH 2/3] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Tang Chen
When the kernel is being initialized, and some hardwares are not added to system, there won't be acpi_device structs for these devices. But acpi_is_root_bridge() depends on acpi_device struct. As a result, all the not-added root bridge will not be judged as a root bridge in find_root_bridges().

[PATCH 3/3] Check exit status of acpi_install_notify_handler() in find_root_bridges().

2012-10-12 Thread Tang Chen
acpi_install_notify_handler() could fail. So check the exit status and give a better debug info. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/pci_root_hp.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/pci_root_hp.c

[PATCH 1/3] Introduce a new acpi to determine HID match.

2012-10-12 Thread Tang Chen
This introduce a new api to determine if a HID matches a list of IDs. Different from acpi_match_device_ids(), the new api gets HID from acpi_device_info struct. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/scan.c | 24 include/acpi/acpi_bus.h |

[PATCH] x86, boot: Explicitly include autoconf.h for hostprogs

2012-10-12 Thread Matt Fleming
From: Matt Fleming matt.flem...@intel.com The hostprogs need access to the CONFIG_* symbols found in include/generated/autoconf.h. commit abbf1590 (UAPI: Partition the header include path sets and add uapi/ header directories) replaced $(LINUXINCLUDE) with $(USERINCLUDE) which doesn't contain the

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread viresh kumar
On Fri, Oct 12, 2012 at 1:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: + while (++i dw-sd_count) { + if (!strcmp(dw-sd[i].bus_id, param)) { + found = 1; + break;

Re: [PATCH 2/3] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Jiang Liu
On 2012-10-12 18:31, Tang Chen wrote: When the kernel is being initialized, and some hardwares are not added to system, there won't be acpi_device structs for these devices. But acpi_is_root_bridge() depends on acpi_device struct. As a result, all the not-added root bridge will not be judged

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, Oct 12, 2012 at 1:36 PM, viresh kumar viresh.ku...@linaro.org wrote: On Fri, Oct 12, 2012 at 1:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: + while (++i dw-sd_count) { + if

[GIT PULL] timers for 3.7

2012-10-12 Thread Thomas Gleixner
Linus, please pull the latest timers-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-for-linus Thanks, tglx -- Arnd Bergmann (1): time/jiffies: bring back unconditional LATCH definition Dan Carpenter (1):

Re: [PATCH 22/40] PCI, acpiphp: Separate out hot-add support of pci host bridge

2012-10-12 Thread Tang Chen
Hi Yinghai, When I was reviewing this patch, I found a little problem. Please refer to email: [PATCH 0/3] Find pci root bridges by comparing HID from acpi_device_info, not acpi_device. I could be wrong. :) If I didn't consider your idea correct, or you have a better solution, please let me

Re: [PATCH 2/3] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Tang Chen
On 10/12/2012 06:36 PM, Jiang Liu wrote: On 2012-10-12 18:31, Tang Chen wrote: When the kernel is being initialized, and some hardwares are not added to system, there won't be acpi_device structs for these devices. But acpi_is_root_bridge() depends on acpi_device struct. As a result, all the

Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to use common clk drivers

2012-10-12 Thread Sekhar Nori
Hi Murali, On 10/11/2012 8:28 PM, Karicheri, Muralidharan wrote: -Original Message- From: Nori, Sekhar Sent: Thursday, October 11, 2012 8:25 AM To: Karicheri, Muralidharan Cc: mturque...@linaro.org; a...@arndb.de; a...@linux-foundation.org; shawn@linaro.org;

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Viresh Kumar
On 12 October 2012 16:10, Andy Shevchenko andy.shevche...@gmail.com wrote: On Fri, Oct 12, 2012 at 1:36 PM, viresh kumar viresh.ku...@linaro.org wrote: On Fri, Oct 12, 2012 at 1:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar

Re: [RFC PATCH 3/3] Convert mce_disabled

2012-10-12 Thread Naveen N. Rao
On 10/10/2012 07:50 PM, Borislav Petkov wrote: From: Borislav Petkov borislav.pet...@amd.com Not-Signed-off-by: Borislav Petkov borislav.pet...@amd.com --- arch/x86/include/asm/mce.h | 9 + arch/x86/kernel/cpu/mcheck/mce.c | 12 +--- arch/x86/lguest/boot.c |

Re: [PATCH 2/3] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Jiang Liu
On 2012-10-12 18:42, Tang Chen wrote: On 10/12/2012 06:36 PM, Jiang Liu wrote: On 2012-10-12 18:31, Tang Chen wrote: When the kernel is being initialized, and some hardwares are not added to system, there won't be acpi_device structs for these devices. But acpi_is_root_bridge() depends on

Re: [PATCH 2/3] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Tang Chen
On 10/12/2012 06:54 PM, Jiang Liu wrote: I have sent a similar patch to Yinghai before. For simplicity, we could use acpi_match_object_info_ids() instead of acpi_match_device_ids() directly. Hum, I must have missed it. :) Using acpi_match_object_info_ids() directly seems good. I'm just worry

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Viresh Kumar
On 12 October 2012 16:10, Andy Shevchenko andy.shevche...@gmail.com wrote: + if (!found) { + last_dw = dw; + last_bus_id = param; + return false; Because of return here you could eliminate 'found' flag at all. Here is the stuff copied from you ;)

pull request: bluetooth 2012-10-12

2012-10-12 Thread Gustavo Padovan
Hi John, Johan found a critical issue while at Bluetooth UnPlug Fest this week. The patch fixes a failure to pair with devices that support the LE Secure Connections feature. This is also marked for stable. Please pull! Thanks! Gustavo --- The following changes since commit

Re: [PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-12 Thread Tang Chen
On 10/12/2012 06:10 PM, Yasuaki Ishimatsu wrote: Hi Tang, 2012/10/12 15:55, Tang Chen wrote: ACPI0004,PNP0A05 and PNP0A06 are all defined in array container_device_ids[], so use it, but not the hard coding style. The idea is good. Signed-off-by: Tang Chentangc...@cn.fujitsu.com ---

Re: [PATCH v2] Fix AMD Northbridge-ID contiguity assumptions

2012-10-12 Thread Steffen Persvold
On 10/12/2012 11:33, Borislav Petkov wrote: On Thu, Oct 04, 2012 at 03:18:02PM +0200, Borislav Petkov wrote: On Wed, Oct 03, 2012 at 09:21:14PM +0800, Daniel J Blueman wrote: The AMD Northbridge initialisation code and EDAC assume the Northbridge IDs are contiguous, which no longer holds on

  1   2   3   4   5   6   7   8   9   >