Re: The 10ms averager in fair.c

2012-10-02 Thread Uwaysi Bin Kareem
This is just too much code for me to do a quick patch on. It really needs to be evaulated with concerns to what an optimal scheduler is. That would be to operate on actual system load ofcourse, not a filtered system load that doesn`t represent what is actually happening on a computer. What

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-02 Thread Konstantin Khlebnikov
Great job! I'm glad to see that you like my proof of concept patch. I though that +/-10 logic can switch between border states smoothly. But I have no strong experience in such kind of fuzzy-logic stuff, so it's no surprise that my code fails in some cases. (one note below about numbers) Hugh

Re: [PATCH] firmware loader: cancel uncache work before caching firmware

2012-10-02 Thread Ming Lei
On Tue, Oct 2, 2012 at 4:35 PM, Ming Lei ming@canonical.com wrote: --- drivers/base/firmware_class.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) Please ignore the buggy patch, sorry for the noise. Thanks, -- Ming Lei -- To unsubscribe from

Re: [PATCH 02/10] ARM: ux500: Strip out duplicate touch screen platform information

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: We're currently carrying two 'struct bu21013_platform_device's which are identical for no apparent reason. Here we remove the extra burden and apply the same information to the two different instances of the bu21012_tp

Re: [PATCH 0/2] virtio-scsi fixes for 3.6

2012-10-02 Thread Paolo Bonzini
Il 02/10/2012 10:18, James Bottomley ha scritto: On Mon, 2012-10-01 at 15:11 +0200, Paolo Bonzini wrote: Il 26/07/2012 15:28, Paolo Bonzini ha scritto: James, patch 1 fixes scanning of LUNs whose number is greater than 255. QEMU passes a max_lun of 16383 (because it uses SAM numbering) but

Re: [PATCH v3 03/13] memcg: change defines to an enum

2012-10-02 Thread Glauber Costa
On 10/01/2012 11:06 PM, Johannes Weiner wrote: On Tue, Sep 18, 2012 at 06:04:00PM +0400, Glauber Costa wrote: This is just a cleanup patch for clarity of expression. In earlier submissions, people asked it to be in a separate patch, so here it is. [ v2: use named enum as type throughout the

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

2012-10-02 Thread Will Deacon
On Tue, Oct 02, 2012 at 01:34:28AM +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: [PATCH 03/10] Input: bu21013_ts - Request a regulator that actually exists

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: Currently the BU21013 Touch Screen driver requests a regulator by the name of 'V-TOUCH', which doesn't exist anywhere in the kernel. The correct name, as referenced in platform regulator code is 'avdd'. Here, when we

Re: [PATCH 04/10] Input: bu21013_ts - Move GPIO init and exit functions into the driver

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: These GPIO init and exit functions have no place in platform data. Instead they should be part of the driver. This patch moves them to their rightful place, which subsequently elevates platform data of yet more cruft.

Re: [RFC 1/4] memcg: provide root figures from system totals

2012-10-02 Thread Glauber Costa
On 10/01/2012 09:00 PM, Michal Hocko wrote: On Tue 25-09-12 12:52:50, Glauber Costa wrote: For the root memcg, there is no need to rely on the res_counters. This is true only if there are no children groups but once there is at least one we have to move global statistics into root res_counter

Re: [PATCH 05/10] Input: bu21013_ts - Add support for Device Tree booting

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: Now we can register the BU21013_ts touch screen when booting with Device Tree enabled. Here we parse all the necessary components previously expected to be passed from platform data. Cc: Dmitry Torokhov

Re: [PATCH 06/10] Documentation: Detail permitted DT properties for the BU21013 Touch Screen

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: Here we apply required documentation for the Rohm BU21013 Touch Screen driver which describe available properties and how to use them. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-in...@vger.kernel.org

Re: Netperf UDP_STREAM regression due to not sending IPIs in ttwu_queue()

2012-10-02 Thread Mike Galbraith
On Tue, 2012-10-02 at 09:45 +0100, Mel Gorman wrote: On Tue, Oct 02, 2012 at 09:49:36AM +0200, Mike Galbraith wrote: Hm, 518cd623 fixed up the troubles I saw. How exactly are you running this? You saw problems with TCP_RR where as this is UDP_STREAM. Yeah, but I wanted to stare at

Re: tg3 driver upgrade (Linux 2.6.32 - 3.2) breaks IBM Bladecenter SoL

2012-10-02 Thread Ferenc Wagner
Michael Chan mc...@broadcom.com writes: On Fri, 2012-09-28 at 22:45 +0200, Ferenc Wagner wrote: Upgrading the kernel on our HS20 blades resulted in their SoL (serial over LAN) connection being broken. The disconnection happens when eth0 (the interface involved in SoL) is brought up during

Re: kernel BUG at fs/buffer.c:3205 (stable 3.5.3)

2012-10-02 Thread Alexander Holler
Am 01.10.2012 11:21, schrieb Alexander Holler: Hello, Am 01.10.2012 11:10, schrieb Jan Kara: sha1sum Tainted: P O 3.5.4-9-gfa43f23-dirty #228 BTW, fglrx moodule taints the kernel because it is a proprietary driver. I know. Can you reproduce the issue without this module

Re: [RFC 1/4] memcg: provide root figures from system totals

2012-10-02 Thread Michal Hocko
On Tue 02-10-12 13:15:43, Glauber Costa wrote: On 10/01/2012 09:00 PM, Michal Hocko wrote: On Tue 25-09-12 12:52:50, Glauber Costa wrote: For the root memcg, there is no need to rely on the res_counters. This is true only if there are no children groups but once there is at least one we

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

2012-10-02 Thread Samuel Ortiz
Hi Jiri, On Tue, Oct 02, 2012 at 12:21:16AM +0200, Jiri Kosina wrote: On Wed, 12 Sep 2012, Stephen Rothwell wrote: Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in drivers/video/backlight/88pm860x_bl.c between commit a6ccdcd98c39 (mfd: 88pm860x: Use REG

Re: [PATCH 0/2] memory-hotplug : notification of memoty block's state

2012-10-02 Thread Ni zhan Chen
On 10/02/2012 04:25 PM, Yasuaki Ishimatsu wrote: We are trying to implement a physical memory hot removing function as following thread. https://lkml.org/lkml/2012/9/5/201 But there is not enough review to merge into linux kernel. I think there are following blockades. 1. no physical

Re: [PATCH v2 1/4] mfd: 88pm860x: use irqdomain

2012-10-02 Thread Samuel Ortiz
Hi Haojian, On Tue, Oct 02, 2012 at 10:25:06AM +0800, Haojian Zhuang wrote: I removed this patchset until it builds... I'm sorry for inconvenience. Now fix it. All 4 patches applied now. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from

Re: [PATCH 0/2] memory-hotplug : notification of memoty block's state

2012-10-02 Thread Yasuaki Ishimatsu
2012/10/02 18:42, Ni zhan Chen wrote: On 10/02/2012 04:25 PM, Yasuaki Ishimatsu wrote: We are trying to implement a physical memory hot removing function as following thread. https://lkml.org/lkml/2012/9/5/201 But there is not enough review to merge into linux kernel. I think there are

[PATCH v3] slab: Ignore internal flags in cache creation

2012-10-02 Thread Glauber Costa
Some flags are used internally by the allocators for management purposes. One example of that is the CFLGS_OFF_SLAB flag that slab uses to mark that the metadata for that cache is stored outside of the slab. No cache should ever pass those as a creation flags. We can just ignore this bit if it

Re: [PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-10-02 Thread Sekhar Nori
On 10/1/2012 6:02 PM, Matt Porter wrote: On Mon, Oct 01, 2012 at 05:34:02PM +0530, Sekhar Nori wrote: Hi Matt, On 9/29/2012 1:07 AM, Matt Porter wrote: L3RAM (shared SRAM) is needed for use by several drivers. This creates a genalloc pool and a hook for the platform code to provide the

Re: The 10ms averager in fair.c

2012-10-02 Thread Uwaysi Bin Kareem
On Tue, 02 Oct 2012 11:19:15 +0200, Mike Galbraith efa...@gmx.de wrote: On Tue, 2012-10-02 at 08:56 +0200, Uwaysi Bin Kareem wrote: What you can do for the time being is just set it to 1nS. If that doesn`t negatively impact anything, then you know it is bogus. I already know that there is

Re: dmatest to use synopsys dma driver (dw_dmac.c)

2012-10-02 Thread Andy Shevchenko
On Thu, 2012-06-07 at 10:03 +, Satendra Pratap wrote: We have Synopsys DMAC controller on our SoC and are trying to use open source dw_dmac.c driver. We are using linux-3.2.2 kernel but it seems dw_dmac.c does not have any support for it. Later I checked out that its been added in later

Re: [PATCH] dma-debug: Remove local BUS_NOTIFY_UNBOUND_DRIVER define

2012-10-02 Thread Joerg Roedel
On Mon, Oct 01, 2012 at 12:48:31PM -0600, Shuah Khan wrote: Remove local BUS_NOTIFY_UNBOUND_DRIVER define. This is not used since BUS_NOTIFY_UNBOUND_DRIVER is defined in include/linux/device.h Signed-off-by: Shuah Khan shuah.k...@hp.com --- lib/dma-debug.c |5 - 1 file changed, 5

Re: dmatest to use synopsys dma driver

2012-10-02 Thread Andy Shevchenko
On Fri, 2012-07-06 at 11:01 +0800, dangdang168 wrote: Hi, I have the same problems with the description of https://lkml.org/lkml/2012/6/11/322;, could you give me some help with it ? thank you ! Could you try the very recent version from the linux-next? Please, follow the

[PATCH 2/5] nfs: declare nfs_callback_tcp_port in header

2012-10-02 Thread Stanislav Kinsbursky
Sparse warning: fs/nfs/super.c:2638:16: sparse: symbol 'nfs_callback_tcpport' was not declared. Should it be static? Reported-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- fs/nfs/callback.h |1 + 1 files changed, 1 insertions(+), 0

[PATCH 4/5] nfs: include nfs4_fh.h in nfs4sysctl.c

2012-10-02 Thread Stanislav Kinsbursky
Sparse warnings: fs/nfs/nfs4sysctl.c:56:5: warning: symbol 'nfs4_register_sysctl' was not declared. Should it be static? fs/nfs/nfs4sysctl.c:64:6: warning: symbol 'nfs4_unregister_sysctl' was not declared. Should it be static? Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com ---

[PATCH 5/5] nfs: include internah.h in getroot.h

2012-10-02 Thread Stanislav Kinsbursky
Sparse warning: fs/nfs/nfs4getroot.c:11:5: warning: symbol 'nfs4_get_rootfh' was not declared. Should it be static? Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- fs/nfs/getroot.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/nfs/getroot.c

[PATCH 1/5] nfs: include NFSv4 header in netns.h

2012-10-02 Thread Stanislav Kinsbursky
Build error: fs/nfs/netns.h:27:15: error: 'NFS4_MAX_MINOR_VERSION' undeclared here (not in a function) Reported-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- fs/nfs/netns.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[PATCH 3/5] nfs: declare nfs_xdev_mount as static

2012-10-02 Thread Stanislav Kinsbursky
Sparse warning: fs/nfs/super.c:2517:15: warning: symbol 'nfs_xdev_mount' was not declared. Should it be static? Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- fs/nfs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/super.c

[PATCH 0/5] nfs: few cleanup patches inspired by sparse

2012-10-02 Thread Stanislav Kinsbursky
First two patched fixes problems reported by Fengguang Wu fengguang...@intel.com. The following series implements... --- Stanislav Kinsbursky (5): nfs: include NFSv4 header in netns.h nfs: declare nfs_callback_tcp_port in header nfs: declare nfs_xdev_mount as static nfs:

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-02 Thread Dave Martin
On Mon, Oct 01, 2012 at 12:35:43PM -0600, Jason Gunthorpe wrote: On Mon, Oct 01, 2012 at 06:56:47PM +0100, Dave Martin wrote: If the kernel is intended to be loadable at a physical address which is not statically known, no ELF loader that does not ignore the ELF phdr In this

Re: [patch] x86/cache_info: use ARRAY_SIZE() in amd_l3_attrs()

2012-10-02 Thread Srivatsa S. Bhat
On 10/02/2012 02:04 PM, Dan Carpenter wrote: Using ARRAY_SIZE() is more readable. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Reviewed-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Regards, Srivatsa S. Bhat diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c

Re: [PATCH 1/7] aoe: support more AoE addresses with dynamic block device minor numbers

2012-10-02 Thread Ed Cashin
I should have mentioned that these seven patches were made for linux-next/akpm, which contains the last 14-patch series for aoe. On Oct 1, 2012, at 9:59 PM, Ed Cashin ecas...@coraid.com wrote: The ATA over Ethernet protocol uses a major (shelf) and minor (slot) address to identify a

Re: [PATCH] perf x86_64: Fix rsp register for system call fast path

2012-10-02 Thread Peter Zijlstra
On Mon, 2012-10-01 at 19:31 +0200, Jiri Olsa wrote: @@ -696,7 +696,7 @@ struct perf_branch_stack { struct perf_regs_user { __u64 abi; - struct pt_regs *regs; + struct pt_regs regs; }; That's somewhat unfortunate but unavoidable I guess, can't go modify

Re: linux-next: manual merge of the xen-two tree with Linus' tree

2012-10-02 Thread Stefano Stabellini
On Tue, 2 Oct 2012, Stephen Rothwell wrote: Hi Konrad, Today's linux-next merge of the xen-two tree got a conflict in drivers/xen/Makefile between commit 9fa5780beea1 (USB EHCI/Xen: propagate controller reset information to hypervisor) from Linus' tree and commit 13febc84849d (xen: do not

Re: Duplicate sysfs file: microamps_requested_vmmc

2012-10-02 Thread Mark Brown
On Mon, Oct 01, 2012 at 02:22:19PM -0600, Bjorn Helgaas wrote: This is an old bug report I'd like to close out. Do you guys know anything about it? I couldn't even find the microamps_requested_vmmc string in the v3.6 kernel, so I suspect it's obsolete. You can't find the string because it's

Re: [PATCH 07/10] ARM: ux500: Create a new Device Tree include file for boards supporting STUIBs

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: This is a skeleton creation which will be populated with the devices found on one of ST-Ericsson's (UIB) User Interface Board. Signed-off-by: Lee Jones lee.jo...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org

Re: [PATCH 08/10] ARM: ux500: Stop calling the UIB init function when using Device Tree

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: As there will be a Device Tree created for the UIBs, there is no need to call the UIB initiation functions. Each device will be detailed and registered from the Device Tree instead. Signed-off-by: Lee Jones

Re: [PATCH 09/10] ARM: ux500: Add all bu21013 touch screen components to supported Device Trees

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: It is possible to connect a BU21013 Touch Screen to all version of the HREF which support the ST-UIB. This patch applies all the necessary settings to the pre-v60 and v60+ HREF Device Trees. Signed-off-by: Lee Jones

Re: [PATCH 10/10] ARM: ux500: Stop informing the regulator subsystem that we have full constraints

2012-10-02 Thread Linus Walleij
On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: The regulator_has_full_constraints() call is not required if we are booting with Device Tree as it's assumed in this case. Signed-off-by: Lee Jones lee.jo...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org

Re: [PATCH v3 -tip 1/5] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-10-02 Thread Alexander Gordeev
On Tue, Oct 02, 2012 at 06:55:18AM +0200, Ingo Molnar wrote: Thanks for the review, Ingo. @@ -584,8 +586,12 @@ int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, #define irq_alloc_desc_from(from, node)\ irq_alloc_descs(-1, from, 1, node)

Re: [PATCH 3/6] arch/powerpc/kvm/e500_tlb.c: fix error return code

2012-10-02 Thread Alexander Graf
On 05.08.2012, at 11:52, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A new label is also added to avoid freeing things that are known to not yet be allocated. A simplified version of the

Re: [PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-10-02 Thread Sekhar Nori
On 10/1/2012 7:20 PM, Ben Gardiner wrote: On Mon, Oct 1, 2012 at 8:32 AM, Matt Porter mpor...@ti.com wrote: On Mon, Oct 01, 2012 at 05:34:02PM +0530, Sekhar Nori wrote: Hi Matt, On 9/29/2012 1:07 AM, Matt Porter wrote: L3RAM (shared SRAM) is needed for use by several drivers. This creates a

[PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

2012-10-02 Thread Jiri Olsa
hi, I'm getting following warning when running basic cgroup perf stuff: (perf stat -a -e faults -G krava -- sleep 10) WARNING: at kernel/events/core.c:397 perf_cgroup_switch+0x1c6/0x1e0() Hardware name: Montevina platform Modules linked in: Pid: 1173, comm: bash Not tainted 3.6.0+ #129 Call

Re: How do I get mac80211 debugfs?

2012-10-02 Thread Johannes Berg
On Tue, 2012-10-02 at 08:38 +0200, Johannes Berg wrote: Hi Kevin, So I tried that but all I got back was: cat: /sys/kernel/debug/ieee80211/phy*/queues: No such file or directory so I'm assuming it's because I must not have mac80211 debugfs. So how do I get it? First, make

Re: [PATCH v3 -tip 1/5] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-10-02 Thread Ingo Molnar
* Alexander Gordeev agord...@redhat.com wrote: On Tue, Oct 02, 2012 at 06:55:18AM +0200, Ingo Molnar wrote: Thanks for the review, Ingo. @@ -584,8 +586,12 @@ int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, #define irq_alloc_desc_from(from, node)

Re: [PATCH v2 resend] seccomp: Make syscall skipping and nr changes more consistent

2012-10-02 Thread James Morris
On Mon, 1 Oct 2012, Andy Lutomirski wrote: This fixes two issues that could cause incompatibility between kernel versions: - If a tracer uses SECCOMP_RET_TRACE to select a syscall number higher than the largest known syscall, emulate the unknown vsyscall by returning -ENOSYS. (This

Re: [PATCH v2 RESEND 2/2] ARM: local timers: add timer support using IO mapped register

2012-10-02 Thread Dave Martin
On Fri, Sep 28, 2012 at 06:15:53PM +0100, Lorenzo Pieralisi wrote: On Fri, Sep 28, 2012 at 04:57:46PM +0100, Dave Martin wrote: [ Note: please aim to CC devicetree-disc...@lists.ozlabs.org with any patches or bindings relevant to device tree. ] [ Lorenzo, there's a question for you

Re: The 10ms averager in fair.c

2012-10-02 Thread Uwaysi Bin Kareem
On Tue, 02 Oct 2012 13:22:53 +0200, Mike Galbraith efa...@gmx.de wrote: On Tue, 2012-10-02 at 10:07 +0200, Uwaysi Bin Kareem wrote: On Tue, 02 Oct 2012 11:19:15 +0200, Mike Galbraith efa...@gmx.de wrote: On Tue, 2012-10-02 at 08:56 +0200, Uwaysi Bin Kareem wrote: What you can do for the

Re: [PATCH v2 0/2] Update sched_domains_numa_masks when new cpus are onlined.

2012-10-02 Thread Peter Zijlstra
On Tue, 2012-09-25 at 21:12 +0800, Tang Chen wrote: Tang Chen (2): Ensure sched_domains_numa_levels safe in other functions. Update sched_domains_numa_masks when new cpus are onlined. kernel/sched/core.c | 69 +++ 1 file changed, 69

3.6.0: WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0x97/0xc7()

2012-10-02 Thread Ralf Hildebrandt
Oct 2 10:49:33 mail2 kernel: [62773.643261] [ cut here ] Oct 2 10:49:33 mail2 kernel: [62773.643289] WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0x97/0xc7() Oct 2 10:49:33 mail2 kernel: [62773.643296] Hardware name: ProLiant DL360 G4 Oct 2

[GIT] Security subsystem updates for 3.7

2012-10-02 Thread James Morris
Highlights: - Integrity: add local fs integrity verification to detect offline attacks - Integrity: add digital signature verification - Simple stacking of Yama with other LSMs (per LSS discussions) - IBM vTPM support on ppc64 - Add new driver for Infineon I2C TIS TPM - Smack: add rule revocation

Re: linux-next: manual merge of the xen-two tree with Linus' tree

2012-10-02 Thread Jan Beulich
On 02.10.12 at 12:44, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: --- a/drivers/xen/Makefile +++ b/drivers/xen/Makefile @@@ -4,8 -8,11 +8,12 @@@ obj-y += xenbus nostackp := $(call cc-option, -fno-stack-protector) CFLAGS_features.o := $(nostackp)

Re: linux-next: build failure in dwarf-regs.c

2012-10-02 Thread Ben Guthro
Hi Ian, Once again - apologies for multiple copies of this email. Please reply to this (plain text) version so it will get through LKML filters. On Tue, Oct 2, 2012 at 12:24 AM, Ian Munsie imun...@au1.ibm.com wrote: CC arch/x86/util/dwarf-regs.o Is this correct? i.e. Are you building perf

checkpatch run on net/ethernet

2012-10-02 Thread matthew
This is my first patch, it's just a checkpatch run. I figured I would also clean up the code as there appears to be long-since-obsoleted comments and code in there. A fairly trivial change, but worthy of inclusion IMO all the same! Matthew Walster -- To unsubscribe from this list: send the

[PATCH 1/2] net: ethernet: clean out braces / old code (found via checkpatch)

2012-10-02 Thread matthew
From: Matthew Walster matt...@walster.org Remove an old commented out piece of code. Remove an if(true) statement. Remove a set of braces that weren't strictly necessary. All found by running checkpatch.pl against the code. Signed-off-by: Matthew Walster matt...@walster.org ---

[PATCH 4/4] dmaengine: dw_dmac: amend description and indentation

2012-10-02 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com The driver will be used as a core part for various implementations of the DesignWare DMA device. The patch adjusts description on the top and corrects paragraph indentation in few places across the code. Signed-off-by: Heikki Krogerus

[PATCH 2/4] dmaengine: dw_dmac: add module alias

2012-10-02 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com It's good to have a quasistatic name for the platform driver. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Felipe Balbi ba...@ti.com Acked-by:

[PATCH 3/4] dmaengine: dw_dmac: remove CLK dependency

2012-10-02 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver could be used on different platforms. Thus, the HAVE_CLK dependency is dropped away. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by:

[PATCH 0/4] dw_dmac: few cleanups to the driver

2012-10-02 Thread Andy Shevchenko
There are few cleanups to the driver which already acked and reviewed. I decide to split last series to two parts. This is first part. Heikki Krogerus (4): dmaengine: dw_dmac: use helper macro module_platform_driver() dmaengine: dw_dmac: add module alias dmaengine: dw_dmac: remove CLK

[PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-02 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com Since v3.2 we have nice macro to define the platform driver's init and exit calls. This patch simplifies the dw_dmac driver by using that macro. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko

[PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

2012-10-02 Thread Jiri Olsa
forgot to CC Stephane jirka --- hi, I'm getting following warning when running basic cgroup perf stuff: (perf stat -a -e faults -G krava -- sleep 10) WARNING: at kernel/events/core.c:397 perf_cgroup_switch+0x1c6/0x1e0() Hardware name: Montevina platform Modules linked in: Pid: 1173, comm:

[PATCH 2/2] net: ethernet: Remove obsolete comment

2012-10-02 Thread matthew
From: Matthew Walster matt...@walster.org The deleted comment was related to code I've just removed in the previous patch. --- net/ethernet/eth.c |8 1 file changed, 8 deletions(-) diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index a9f8531..7d72108 100644 ---

Re: [PATCH 00/10] Platform data clean-up and UIB device enablement

2012-10-02 Thread Arnd Bergmann
On Tuesday 02 October 2012, Lee Jones wrote: In this patch-set we move all Device Tree start-up code from the u8500 board file and into the more persistent db8500 cpu file. This will aid future endeavours to remove platform code completely from Mainline. We also enable some of the devices

Re: [PATCH v2] serial/arc-uart: Add new driver

2012-10-02 Thread Alan Cox
+/* Is this for UART emulation on ARC Instruction Set Simulator (ISS) */ +int __attribute__((weak)) running_on_iss; Why not pass a quirks field in your platform data instead - much cleaner than a global. +static void arc_serial_set_ldisc(struct uart_port *port, int ld) +{ +} If you don't

Re: linux-next: manual merge of the xen-two tree with Linus' tree

2012-10-02 Thread Stefano Stabellini
On Tue, 2 Oct 2012, Jan Beulich wrote: On 02.10.12 at 12:44, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: --- a/drivers/xen/Makefile +++ b/drivers/xen/Makefile @@@ -4,8 -8,11 +8,12 @@@ obj-y += xenbus nostackp := $(call cc-option, -fno-stack-protector)

Re: [PATCH 11/12] pinctrl: samsung: use __devinit section for init code

2012-10-02 Thread Arnd Bergmann
On Monday 01 October 2012, Linus Walleij wrote: On Fri, Sep 28, 2012 at 11:36 PM, Arnd Bergmann a...@arndb.de wrote: The samsung pinctrl driver has a probe function that is __devinit and that calls a lot of other functions that are marked __init, which kbuild complains about. Marking

Re: [PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

2012-10-02 Thread Peter Zijlstra
On Tue, 2012-10-02 at 13:42 +0200, Jiri Olsa wrote: +++ b/kernel/events/core.c @@ -394,7 +394,8 @@ void perf_cgroup_switch(struct task_struct *task, int mode) } if (mode PERF_CGROUP_SWIN) { -

[PATCH 1/3] Fix trailing whitespace in trace.h

2012-10-02 Thread YAMANE Toshiaki
fixed below checkpatch error. -ERROR: trailing whitespace Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com --- drivers/staging/rts_pstor/trace.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts_pstor/trace.h b/drivers/staging/rts_pstor/trace.h

Re: linux-next: manual merge of the xen-two tree with Linus' tree

2012-10-02 Thread Jan Beulich
On 02.10.12 at 13:45, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: Considering that dbgp doesn't seem to be very useful without PCI at the moment, could we just turn it into: dom0-$(CONFIG_PCI) += dbgp.o ? Better not - the code is specifically not PCI-only. And I

[PATCH 2/3] Add parenthesis to macros with complex values in trace.h

2012-10-02 Thread YAMANE Toshiaki
fixed some checkpatch below error. -ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com --- drivers/staging/rts_pstor/trace.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/3] Fix line over 80 character issue and space before tabs issue in trace.h

2012-10-02 Thread YAMANE Toshiaki
fixed some checkpatch warnings. -WARNING: line over 80 characters -WARNING: please, no space before tabs Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com --- drivers/staging/rts_pstor/trace.h | 62 - 1 file changed, 34 insertions(+), 28 deletions(-)

[PATCH RFC] MAINTAINERS: Add section for subsystem shortname

2012-10-02 Thread Peter Senna Tschudin
The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is

Re: [PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

2012-10-02 Thread Stephane Eranian
On Tue, Oct 2, 2012 at 1:53 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: On Tue, 2012-10-02 at 13:42 +0200, Jiri Olsa wrote: +++ b/kernel/events/core.c @@ -394,7 +394,8 @@ void perf_cgroup_switch(struct task_struct *task, int mode) }

Re: tg3 driver upgrade (Linux 2.6.32 - 3.2) breaks IBM Bladecenter SoL

2012-10-02 Thread Ferenc Wagner
Michael Chan mc...@broadcom.com writes: On Fri, 2012-09-28 at 22:45 +0200, Ferenc Wagner wrote: Upgrading the kernel on our HS20 blades resulted in their SoL (serial over LAN) connection being broken. The disconnection happens when eth0 (the interface involved in SoL) is brought up during

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-10-02 Thread Vinod Koul
On Mon, 2012-10-01 at 12:39 -0400, Matt Porter wrote: Anything you can show at this point? ;) I'd be happy to drop the half-hack for a real API. If not, I'm going to carry that to v2 atm. This is what I had done sometime back. Feel free to update diff --git a/include/linux/dmaengine.h

Re: [PATCH 1/3] Fix trailing whitespace in trace.h

2012-10-02 Thread Andy Shevchenko
On Tue, 2012-10-02 at 20:53 +0900, YAMANE Toshiaki wrote: fixed below checkpatch error. -ERROR: trailing whitespace Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com --- drivers/staging/rts_pstor/trace.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/3] Add parenthesis to macros with complex values in trace.h

2012-10-02 Thread Andy Shevchenko
On Tue, 2012-10-02 at 20:54 +0900, YAMANE Toshiaki wrote: fixed some checkpatch below error. -ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com --- drivers/staging/rts_pstor/trace.h |4 ++-- 1 file changed, 2

Re: [PATCH RFC] MAINTAINERS: Add section for subsystem shortname

2012-10-02 Thread Dan Carpenter
On Tue, Oct 02, 2012 at 01:57:04PM +0200, Peter Senna Tschudin wrote: The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the

Re: [PATCH 08/10] ARM: ux500: Stop calling the UIB init function when using Device Tree

2012-10-02 Thread Lee Jones
On Tue, 02 Oct 2012, Linus Walleij wrote: On Tue, Oct 2, 2012 at 10:13 AM, Lee Jones lee.jo...@linaro.org wrote: As there will be a Device Tree created for the UIBs, there is no need to call the UIB initiation functions. Each device will be detailed and registered from the Device Tree

Re: [GIT PULL] Asymmetric keys and module signing

2012-10-02 Thread Josh Boyer
On Tue, Oct 02, 2012 at 12:58:03PM +0930, Rusty Russell wrote: Josh Boyer jwbo...@redhat.com writes: On Sat, Sep 29, 2012 at 08:13:25AM +0100, David Howells wrote: Rusty Russell ru...@rustcorp.com.au wrote: [2.808075] Loading module verification certificates [2.809331]

How to schedule worker and threaded IRQ on same cpu/core

2012-10-02 Thread Pallala, Ramakrishna
Hi, How can I schedule driver's worker and threaded IRQ on the same core? For work queue we have schedule_delayed_work_on () API available. But how to schedule the threaded IRQ on the same core where my worker thread is going to run? Thanks in Advance. Thanks, Ram -- To unsubscribe from this

Re: [PATCH 2/3] Add parenthesis to macros with complex values in trace.h

2012-10-02 Thread Dan Carpenter
On Tue, Oct 02, 2012 at 08:54:28PM +0900, YAMANE Toshiaki wrote: fixed some checkpatch below error. -ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com --- drivers/staging/rts_pstor/trace.h |4 ++-- 1 file changed,

Re: [PATCH 3/3] Fix line over 80 character issue and space before tabs issue in trace.h

2012-10-02 Thread Dan Carpenter
On Tue, Oct 02, 2012 at 08:54:48PM +0900, YAMANE Toshiaki wrote: fixed some checkpatch warnings. -WARNING: line over 80 characters -WARNING: please, no space before tabs These looked nicer in the original, sorry. regards, dan carpenter -- To unsubscribe from this list: send the line

Re: [RFC v9 PATCH 13/21] memory-hotplug: check page type in get_page_bootmem

2012-10-02 Thread Ni zhan Chen
On 10/01/2012 11:03 AM, Yasuaki Ishimatsu wrote: Hi Chen, 2012/09/29 11:15, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com The function get_page_bootmem() may be called more than one time to the same page. There

Re: [ 026/180] eCryptfs: Improve statfs reporting

2012-10-02 Thread Tim Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/01/2012 11:46 PM, Tyler Hicks wrote: On 2012-10-02 00:52:23, Willy Tarreau wrote: 2.6.32-longterm review patch. If anyone has any objections, please let me know. Hi - Please drop this patch. It incorrectly calculates f_namelen and I

Re: [PATCH RFC] MAINTAINERS: Add section for subsystem shortname

2012-10-02 Thread Peter Senna Tschudin
On Tue, Oct 2, 2012 at 2:14 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, Oct 02, 2012 at 01:57:04PM +0200, Peter Senna Tschudin wrote: The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one

Re: How to schedule worker and threaded IRQ on same cpu/core

2012-10-02 Thread anish kumar
On Tue, 2012-10-02 at 12:19 +, Pallala, Ramakrishna wrote: Hi, How can I schedule driver's worker and threaded IRQ on the same core? For work queue we have schedule_delayed_work_on () API available. But how to schedule the threaded IRQ on the same core where my worker thread is going

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-02 Thread Mark Brown
On Mon, Oct 01, 2012 at 08:54:23PM +0530, ABRAHAM, KISHON VIJAY wrote: On Mon, Oct 1, 2012 at 5:39 PM, Mark Brown Why would that be helpful? Most platforms don't support DT at all, and I'm not sure how to put it correctly. All I'm trying to tell is mfd is a framework that exposes a set of

Re: [PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

2012-10-02 Thread Jiri Olsa
On Tue, Oct 02, 2012 at 01:53:01PM +0200, Peter Zijlstra wrote: On Tue, 2012-10-02 at 13:42 +0200, Jiri Olsa wrote: +++ b/kernel/events/core.c @@ -394,7 +394,8 @@ void perf_cgroup_switch(struct task_struct *task, int mode) } if (mode

Re: [PATCH RFC] MAINTAINERS: Add section for subsystem shortname

2012-10-02 Thread Ezequiel Garcia
On Tue, Oct 2, 2012 at 9:33 AM, Peter Senna Tschudin peter.se...@gmail.com wrote: On Tue, Oct 2, 2012 at 2:14 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, Oct 02, 2012 at 01:57:04PM +0200, Peter Senna Tschudin wrote: The shortname for a subsystem, that is primarly used when

Re: [PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

2012-10-02 Thread Stephane Eranian
On Tue, Oct 2, 2012 at 2:39 PM, Jiri Olsa jo...@redhat.com wrote: On Tue, Oct 02, 2012 at 01:53:01PM +0200, Peter Zijlstra wrote: On Tue, 2012-10-02 at 13:42 +0200, Jiri Olsa wrote: +++ b/kernel/events/core.c @@ -394,7 +394,8 @@ void perf_cgroup_switch(struct task_struct *task, int mode)

Re: CMA broken in next-20120926

2012-10-02 Thread Thierry Reding
On Mon, Oct 01, 2012 at 04:24:29PM +0200, Thierry Reding wrote: On Fri, Sep 28, 2012 at 01:43:32PM +0100, Mel Gorman wrote: On Fri, Sep 28, 2012 at 01:39:24PM +0200, Thierry Reding wrote: On Fri, Sep 28, 2012 at 12:07:12PM +0100, Mel Gorman wrote: On Fri, Sep 28, 2012 at 12:51:13PM

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-02 Thread Felipe Balbi
Hi, coming late to the discussion, so bear with me On Tue, Oct 02, 2012 at 01:38:56PM +0100, Mark Brown wrote: This means mfd framework does not have an API to create a device from dt data or so do I think since of_platform_populate() is used. Thats why I suggested the idea of extending

Re: [PATCH v2] tools lib traceevent: Fix missed freeing of subargs in free_arg() in filter

2012-10-02 Thread Namhyung Kim
2012-10-01 (월), 20:23 -0400, Steven Rostedt: Some of args were missed in free_args(), as well as subargs. That is args like FILTER_ARG_NUM have left and right pointers to other args that also need to be freed. Signed-off-by: Steven Rostedt rost...@goodmis.org Reviewed-by: Namhyung Kim

Re: [PATCH RFC] MAINTAINERS: Add section for subsystem shortname

2012-10-02 Thread Peter Senna Tschudin
On Tue, Oct 2, 2012 at 2:40 PM, Ezequiel Garcia elezegar...@gmail.com wrote: On Tue, Oct 2, 2012 at 9:33 AM, Peter Senna Tschudin peter.se...@gmail.com wrote: On Tue, Oct 2, 2012 at 2:14 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, Oct 02, 2012 at 01:57:04PM +0200, Peter Senna

RE: How to schedule worker and threaded IRQ on same cpu/core

2012-10-02 Thread Pallala, Ramakrishna
How can I schedule driver's worker and threaded IRQ on the same core? For work queue we have schedule_delayed_work_on () API available. But how to schedule the threaded IRQ on the same core where my worker thread is going to run? Why do you need to worry about where your worker thread is

Re: linux-next: manual merge of the xen-two tree with the arm tree

2012-10-02 Thread Konrad Rzeszutek Wilk
On Tue, Oct 02, 2012 at 02:11:41PM +1000, Stephen Rothwell wrote: Hi Konrad, Today's linux-next merge of the xen-two tree got a conflict in arch/arm/Kconfig between commit bd51e2f59558 (ARM: 7506/1: allow for ATAGS to be configured out when DT support is selected) from the arm tree and

<    3   4   5   6   7   8   9   10   11   12   >