[PATCH V2 4/7] perf, x86: Save/resotre LBR stack during context switch

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com When the LBR call stack is enabled, it is necessary to save/restore the stack on context switch. The solution is saving/restoring the stack to/from task's perf event context. If task has no perf event context, just flush the stack on context switch.

[PATCH V2 6/7] perf, x86: Use LBR call stack to get user callchain

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Try enabling the LBR call stack feature if event request recording callchain. Try utilizing the LBR call stack to get user callchain in case of there is no frame pointer. Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event.c

[PATCH V2 5/7] perf, core: Pass perf_sample_data to perf_callchain()

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com New Intel CPU can record call chains by using existing last branch record facility. perf_callchain_user() can make use of the call chains recorded by hardware in case of there is no frame pointer. Signed-off-by: Yan, Zheng zheng.z@intel.com ---

[PATCH V2 3/7] perf, x86: Introduce x86 special perf event context

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The x86 special perf event context is named x86_perf_event_context, We can enlarge it later to store PMU special data. Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event.c | 12 arch/x86/kernel/cpu/perf_event.h

[PATCH V2 0/7] perf, x86: Haswell LBR call stack support

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Haswell has a new feature that utilizes the existing Last Branch Record facility to record call chains. When the feature is enabled, function call will be collected as normal, but as return instructions are executed the last captured branch record is popped

[PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The index of lbr_sel_map is bit value of perf branch_sample_type. By using bit shift as index, we can reduce lbr_sel_map size. Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event.h | 4 +++

Re: [PATCH 1/2] lp855x_bl: use generic PWM functions

2012-10-24 Thread Thierry Reding
On Mon, Oct 22, 2012 at 03:30:12PM -0700, Andrew Morton wrote: On Fri, 19 Oct 2012 08:45:14 + Kim, Milo milo@ti.com wrote: Generally this looks good. Obviously you'll need to update any users of this driver as well. It might make sense to include those changes in this patch to

Re: [PATCH] tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE

2012-10-24 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Oct 24, 2012 at 12:25 AM, Thomas Gleixner t...@linutronix.de wrote: It is spelled: git notes add -m comment SHA1 Cool! Don't use them for anything global. Use them for local codeflow, but don't expect them to be

[tip:perf/urgent] perf trace: Validate syscall id before growing syscall table

2012-10-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3a531260a14631ae8d231279b8738884bf808e7b Gitweb: http://git.kernel.org/tip/3a531260a14631ae8d231279b8738884bf808e7b Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Sat, 20 Oct 2012 12:39:03 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Sun,

Re: [PATCH 031/193] arch/x86: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Ingo Molnar
* Kees Cook keesc...@chromium.org wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Thomas Gleixner t...@linutronix.de CC: Ingo Molnar mi...@redhat.com CC: H. Peter Anvin

[tip:perf/urgent] perf trace: Check if sample raw_data field is set

2012-10-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fc551f8d4427150da1ee7cbb0f53525c49ef4bca Gitweb: http://git.kernel.org/tip/fc551f8d4427150da1ee7cbb0f53525c49ef4bca Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Sat, 20 Oct 2012 13:08:46 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Sun,

[tip:perf/urgent] perf help: Fix --help for builtins

2012-10-24 Thread tip-bot for Namhyung Kim
Commit-ID: 670ab5d21c7e168c89a36fdd2c69fb7af63d35a1 Gitweb: http://git.kernel.org/tip/670ab5d21c7e168c89a36fdd2c69fb7af63d35a1 Author: Namhyung Kim namhy...@kernel.org AuthorDate: Mon, 22 Oct 2012 16:12:23 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 22 Oct

[tip:perf/urgent] perf tools: do not flush maps on COMM for perf report

2012-10-24 Thread tip-bot for Luigi Semenzato
Commit-ID: 9fdbf671ba7e8adb2cbb93d716232ebcab55f6bd Gitweb: http://git.kernel.org/tip/9fdbf671ba7e8adb2cbb93d716232ebcab55f6bd Author: Luigi Semenzato semenz...@chromium.org AuthorDate: Tue, 21 Aug 2012 14:52:20 -0700 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon,

[PATCH v2 2/2] Improve container_notify_cb() to support container hot-remove.

2012-10-24 Thread Tang Chen
This patch introduces a new function container_device_remove() to do the container hot-remove job. It works like the following: 1. call acpi_bus_trim(device, 0) to stop the container device. 2. generate the KOBJ_OFFLINE uevent. (Did I do this correct ?) 3. call acpi_bus_hot_remove_device(), which

Re: [PATCH 2/2] cpufreq: governors: remove redundant code

2012-10-24 Thread Viresh Kumar
On 22 October 2012 14:16, Viresh Kumar viresh.ku...@linaro.org wrote: On 20 October 2012 01:42, Viresh Kumar viresh.ku...@linaro.org wrote: Initially ondemand governor was written and then using its code conservative governor is written. It used a lot of code from ondemand governor, but copy

[PATCH v2 1/2] Use kacpi_hotplug_wq to handle container hotplug event.

2012-10-24 Thread Tang Chen
As the comments in __acpi_os_execute() said: We can't run hotplug code in keventd_wq/kacpid_wq/kacpid_notify_wq because the hotplug code may call driver .remove() functions, which invoke flush_scheduled_work/acpi_os_wait_events_complete to flush these workqueues.

[PATCH v2 0/2] ACPI: container hot remove support.

2012-10-24 Thread Tang Chen
Hi, The container hotplug handler container_notify_cb() didn't implement the hot-remove functionality. So, these 2 patches implement it like the following way: patch 1. Do not use kacpid_wq/kacpid_notify_wq to handle container hotplug event, use kacpi_hotplug_wq instead to avoid

[PATCH v2] KVM: x86: fix vcpu-mmio_fragments overflow

2012-10-24 Thread Xiao Guangrong
After commit b3356bf0dbb349 (KVM: emulator: optimize rep ins handling), the pieces of io data can be collected and write them to the guest memory or MMIO together Unfortunately, kvm splits the mmio access into 8 bytes and store them to vcpu-mmio_fragments. If the guest uses rep ins to move large

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

2012-10-24 Thread Tang Chen
ACPI0004,PNP0A05 and PNP0A06 are all defined in array container_device_ids[], so use it, but not the hard coding style. Also, introduce a new api is_container_device() to determine if a device is a container device. change log v2 - v3: 1. change the is_container_device()'s return value type

Re: [PATCH] mtd: gpmi: remove unneccessary header

2012-10-24 Thread Huang Shijie
ping. On Sun, Oct 14, 2012 at 1:03 AM, Huang Shijie shij...@gmail.com wrote: The whole gpmi-nand driver has turned to pure devicetree supported. So the linux/mtd/gpmi-nand.h is not neccessary now. Just remove it, and move some macros to the gpmi-nand driver itself. Signed-off-by: Huang

Re: [PATCH] mtd: use the NAND_STATUS_FAIL to replace the hardcode

2012-10-24 Thread Huang Shijie
ping On Mon, Oct 15, 2012 at 11:47 AM, Huang Shijie shij...@gmail.com wrote: Use the NAND_STATUS_FAIL to replace the hardcode 0x01, which make the code more readable. Signed-off-by: Huang Shijie shij...@gmail.com --- drivers/mtd/nand/nand_base.c |4 ++-- 1 files changed, 2

[PATCH v2] staging/comedi: Use pr_ or dev_ printks in drivers/usbduxfast.c

2012-10-24 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... and added pr_fmt. Signed-off-by: YAMANE Toshiaki

Re: [PATCH 116/193] drivers/ptp: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Richard Cochran
On Tue, Oct 23, 2012 at 01:03:09PM -0700, Kees Cook wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Richard Cochran richardcoch...@gmail.com Signed-off-by: Kees Cook

Re: [PATCH] tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE

2012-10-24 Thread Johannes Sixt
Am 10/24/2012 0:23, schrieb Jeff King: For the fold-on-rebase idea, I'd think you would want something similar, like setting rebase.foldNotes to foo to say refs/notes/foo contains pseudo-headers that should be folded in like a signed-off-by. If you are rebasing anyway, you can already use

[PATCH v3 net-next] r8169: enable ALDPS for power saving

2012-10-24 Thread Hayes Wang
Enable ALDPS function to save power when link down. Note that the feature should be set after the other PHY settings. And the firmware is necessary. Don't enable it without loading the firmware. None of the firmware-free chipsets support ALDPS. Neither do the RTL8168d/8111d. For 8136 series,

Re: [m68k,powerpc,dma,ethernet,freescale RFA] Coldfire m54xx FEC ethernet driver

2012-10-24 Thread Greg Ungerer
Hi Philippe, On 16/10/12 18:03, Philippe De Muyter wrote: On Tue, Oct 16, 2012 at 04:39:05PM +1000, Greg Ungerer wrote: On 09/10/12 19:07, Philippe De Muyter wrote: [CCing lkml, linux-ppc, netdev, linux-m68k] Hello kernel sources architects I have a working driver for the m54xx FEC ethernet

[PATCH v2] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-24 Thread Olof Johansson
When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off efi_enabled once setup is done. Beyond setup, it is normally used to determine if runtime services are available and we will have none. This will resolve issues stemming from efivars modprobe panicking on a 32/64-bit setup, as

Re: [PATCH] add some drop_caches documentation and info messsge

2012-10-24 Thread Michal Hocko
On Tue 23-10-12 16:45:46, Andrew Morton wrote: On Fri, 12 Oct 2012 14:57:08 +0200 Michal Hocko mho...@suse.cz wrote: Hi, I would like to resurrect the following Dave's patch. The last time it has been posted was here https://lkml.org/lkml/2010/9/16/250 and there didn't seem to be any

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-24 Thread Cyrill Gorcunov
On Wed, Oct 24, 2012 at 12:32:54AM +0200, Peter Zijlstra wrote: On Wed, 2012-10-24 at 01:59 +0400, Cyrill Gorcunov wrote: [ilog2(VM_WRITE)] = { {'w', 'r'} }, since we're being awfully positive about crazy late night ideas, how about something like: #define MNEM(_VM,

Re: [PATCHv4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-24 Thread Dmitry Torokhov
Hi Sourav, On Fri, Oct 05, 2012 at 12:56:26PM +0530, Sourav Poddar wrote: From: G, Manjunath Kondaiah manj...@ti.com SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device supports a keypad scan matrix of 23*8.This driver uses this device as a keypad driver. Tested on

Re: [PATCH V4] PWM: Add SPEAr PWM chip driver support

2012-10-24 Thread Viresh Kumar
On 24 October 2012 11:21, Thierry Reding thierry.red...@avionic-design.de wrote: On Mon, Oct 22, 2012 at 04:36:41PM +0530, Shiraz Hashim wrote: + ret = pwmchip_add(pc-chip); + if (ret 0) { + dev_err(pdev-dev, pwmchip_add() failed: %d\n, ret); + return ret; +

Re: 3.7 RC1

2012-10-24 Thread Dan Carpenter
On Tue, Oct 23, 2012 at 02:24:58PM +, KY Srinivasan wrote: -Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Tuesday, October 23, 2012 1:47 AM To: KY Srinivasan Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org;

Re: [PATCH v5 01/18] move slabinfo processing to slab_common.c

2012-10-24 Thread Pekka Enberg
On Fri, Oct 19, 2012 at 5:20 PM, Glauber Costa glom...@parallels.com wrote: This patch moves all the common machinery to slabinfo processing to slab_common.c. We can do better by noticing that the output is heavily common, and having the allocators to just provide finished information about

[PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-24 Thread Ondrej Zary
Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable A20 line but resume code assumes that KBC was used. The laptop will not resume from S3 otherwise but powers off after a while and then powers on again stuck with a blank screen. Fix it by enabling A20 using KBC. Affected

Re: + memory-hotplug-allocate-zones-pcp-before-onlining-pages.patch added to -mm tree

2012-10-24 Thread Wen Congyang
Hi, Andrew Morton At 10/19/2012 06:31 AM, a...@linux-foundation.org Wrote: The patch titled Subject: memory-hotplug: allocate zone's pcp before onlining pages has been added to the -mm tree. Its filename is memory-hotplug-allocate-zones-pcp-before-onlining-pages.patch I find a

Re: [PATCH 2/2] firmware loader: introduce kernel parameter to customize fw search path

2012-10-24 Thread Ming Lei
On Wed, Oct 24, 2012 at 1:42 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Yes, but why? Let's not overdesign this, get the basics working and then, if someone really needs it, we can add it. OK, I will remove the kernel parameter and related documentation, and just keep it as

[PATCH] nfs: fix wrong object type in lockowner_slab

2012-10-24 Thread ycnian
From: Yanchuan Nian ycn...@gmail.com The object type in the cache of lockowner_slab is wrong, and it is better to fix it. Signed-off-by: Yanchuan Nian ycn...@gmail.com --- fs/nfsd/nfs4state.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/nfs4state.c

Re: [PATCH v5 04/18] slab: don't preemptively remove element from list in cache destroy

2012-10-24 Thread Pekka Enberg
On Mon, Oct 22, 2012 at 11:40 AM, Glauber Costa glom...@parallels.com wrote: On 10/19/2012 11:34 PM, Christoph Lameter wrote: On Fri, 19 Oct 2012, Glauber Costa wrote: I, however, see no reason why we need to do so, since we are now locked during the whole deletion (which wasn't necessarily

[BUGFIX 2/2] PCI/PM: Resume device before shutdown

2012-10-24 Thread Huang Ying
Some actions during shutdown need device to be in D0 state, such as MSI shutdown etc, so resume device before shutdown. Signed-off-by: Huang Ying ying.hu...@intel.com --- drivers/pci/pci-driver.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) ---

Re: [RFC] perf: proposed perf_event_open() manpage

2012-10-24 Thread Namhyung Kim
Hi Vince, Great work! On Tue, 23 Oct 2012 11:35:13 -0400 (EDT), Vince Weaver wrote: Hello attached is a proposed manpage for the perf_event_open() system call. I'd appreciate any review or comments, especially for the parts marked as FIXME or [To be documented] This system call has a

Re: [PATCH v2 1/2] Use kacpi_hotplug_wq to handle container hotplug event.

2012-10-24 Thread Yasuaki Ishimatsu
Hi Tang, 2012/10/24 15:05, Tang Chen wrote: As the comments in __acpi_os_execute() said: We can't run hotplug code in keventd_wq/kacpid_wq/kacpid_notify_wq because the hotplug code may call driver .remove() functions, which invoke

Re: [PATCH 1/2] perf header: Fix numa topology printing

2012-10-24 Thread Namhyung Kim
Hi Andrew, On Tue, 23 Oct 2012 16:12:19 +0200, Andrew Jones wrote: On Tue, Oct 23, 2012 at 10:44:49PM +0900, Namhyung Kim wrote: Andrew reported that the commit 7e94cfcc9d20 (perf header: Use pre- processed session env when printing) regresses the header output. It was because of a missed

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-24 Thread Hugh Dickins
On Wed, 24 Oct 2012, Theodore Ts'o wrote: Journal flushes outside of an unmount does happen as part of online resizing, the FIBMAP ioctl, or when the file system is frozen. But it didn't sound like Toralf or Nix was using any of those features. (Toralf, Nix, please correct me if my

Re: [PATCH 2/3] slub, hotplug: ignore unrelated node's hot-adding and hot-removing

2012-10-24 Thread Lai Jiangshan
On 09/29/2012 06:26 AM, KOSAKI Motohiro wrote: On Fri, Sep 28, 2012 at 3:19 AM, Lai Jiangshan la...@cn.fujitsu.com wrote: HI, Christoph, KOSAKI SLAB always allocates kmem_list3 for all nodes(N_HIGH_MEMORY), also node bug/bad things happens. SLUB always requires kmem_cache_node on the

[PATCH v3 0/4] ARM: dts: Update OMAP5 with address space and interrupts

2012-10-24 Thread Sebastien Guiriec
Since kernel 3.7 the DTS data are not overwriten by hwmod data we can add the address space and interrupt line description inside dtsi file for OMAP5. This serie is updating the current OMAP5 IP with missing entry. It has been tested on OMAP5 with 3.7-audio-display feature tree. - MMC is

[PATCH v3 3/4] ARM: dts: omap5: Update UART with address space and interrupts

2012-10-24 Thread Sebastien Guiriec
Add base address and interrupt line inside Device Tree data for OMAP5. Signed-off-by: Sebastien Guiriec s-guir...@ti.com Reviewed-by: Shubhrajyoti D shubhrajy...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git

[PATCH v3 4/4] ARM: dts: omap5: Update MMC with address space and interrupts

2012-10-24 Thread Sebastien Guiriec
Add base address and interrupt line inside Device Tree data for OMAP5. Signed-off-by: Sebastien Guiriec s-guir...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

[PATCH v3 2/4] ARM: dts: omap5: Update I2C with address space and interrupts

2012-10-24 Thread Sebastien Guiriec
Add base address and interrupt line inside Device Tree data for OMAP5 Signed-off-by: Sebastien Guiriec s-guir...@ti.com Reviewed-by: Shubhrajyoti D shubhrajy...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git

[PATCH v3 1/4] ARM: dts: omap5: Update GPIO with address space and interrupts

2012-10-24 Thread Sebastien Guiriec
Add base address and interrupt line inside Device Tree data for OMAP5 Signed-off-by: Sebastien Guiriec s-guir...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi

Re: [Xen-devel] [PATCH V5] PVH patches for v3.8.

2012-10-24 Thread Jan Beulich
On 23.10.12 at 20:12, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: Do you really want to target 3.8 for these, without any hypervisor side review having happened? In particular, Changelog [since v4] - Mukesh addressed the reviewer's concerns. - Took Mukesh's patches and redid the

[BUGFIX 1/2] PCI/PM: Fix deadlock when unbind device if its parent in D3cold

2012-10-24 Thread Huang Ying
If a PCI device and its parents are put into D3cold, unbinding the device will trigger deadlock as follow: - driver_unbind - device_release_driver - device_lock(dev) --- previous lock here - __device_release_driver - pm_runtime_get_sync ...

Re: [PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Stephane Eranian
On Wed, Oct 24, 2012 at 7:59 AM, Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com The index of lbr_sel_map is bit value of perf branch_sample_type. By using bit shift as index, we can reduce lbr_sel_map size. Signed-off-by: Yan, Zheng zheng.z@intel.com ---

[bug] perf_event_intel_uncore.c build warnings on allnoconfig

2012-10-24 Thread Ingo Molnar
FYI, on a 'make allnoconfig' x86_64 kernel I get a stream of warnings: arch/x86/kernel/cpu/perf_event_intel_uncore.c: In function ‘snbep_uncore_pci_disable_box’: arch/x86/kernel/cpu/perf_event_intel_uncore.c:124:9: warning: ‘config’ is used uninitialized in this function [-Wuninitialized]

Re: [PATCH] Replace the type check code with typecheck() in kfifo_in

2012-10-24 Thread richard -rw- weinberger
On Wed, Oct 24, 2012 at 5:41 AM, Wei Yang weiy...@linux.vnet.ibm.com wrote: Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Reviewed-by: Andrew Morton a...@linux-foundation.org Reviewed-by: richard -rw- weinberger richard.weinber...@gmail.com I did *not* review this patch, nor did Andrew.

Re: [PATCH 010/193] arch/cris/arch-v32/drivers: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Jesper Nilsson
On Tue, Oct 23, 2012 at 10:01:23PM +0200, Kees Cook wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Mikael Starvik star...@axis.com CC: David S. Miller da...@davemloft.net

Re: [Xen-devel] [PATCH RFC] Persistent grant maps for xen blk drivers

2012-10-24 Thread Jan Beulich
On 23.10.12 at 20:50, Konrad Rzeszutek Wilk kon...@kernel.org wrote: On Tue, Oct 23, 2012 at 08:09:27PM +0200, Roger Pau Monné wrote: On 23/10/12 19:20, Konrad Rzeszutek Wilk wrote: diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c index

Re: [PATCH V3] gpio: samsung: use pr_* instead of printk

2012-10-24 Thread Linus Walleij
On Tue, Oct 23, 2012 at 4:10 PM, Kukjin Kim kgene@samsung.com wrote: Linus Walleij wrote: On Mon, Oct 22, 2012 at 3:02 AM, Jingoo Han jg1@samsung.com wrote: On Friday, October 19, 2012 7:09 PM Linus Walleij wrote On Wed, Oct 17, 2012 at 3:52 AM, Jingoo Han jg1@samsung.com

Re: [PATCH v2 1/2] Use kacpi_hotplug_wq to handle container hotplug event.

2012-10-24 Thread Tang Chen
Hi Ishimatsu-san: By the way, if you want to reproduce this problem, just modify my patch1 to call __container_notify_cb() directly in container_notify_cb(). And apply my patch2. Then, you add a container, and remove it. The deadlock will be triggered. And this patch is based on Lu Yinghai's

Re: [PATCH v2 1/4] ARM: dts: omap5: Update GPIO with address space and interrupts

2012-10-24 Thread Benoit Cousson
On 10/23/2012 06:15 PM, Sebastien Guiriec wrote: Hi Benoit and John, On 10/23/2012 06:07 PM, Benoit Cousson wrote: On 10/23/2012 05:59 PM, Jon Hunter wrote: On 10/23/2012 10:09 AM, Benoit Cousson wrote: On 10/23/2012 04:49 PM, Jon Hunter wrote: Hi Seb, On 10/23/2012 03:37 AM, Sebastien

Re: [PATCH] rbtree: include linux/compiler.h for definition of __always_inline

2012-10-24 Thread Ingo Molnar
* Will Deacon will.dea...@arm.com wrote: On Mon, Oct 22, 2012 at 10:56:21PM +0100, Michel Lespinasse wrote: On Mon, Oct 22, 2012 at 10:01 AM, Will Deacon will.dea...@arm.com wrote: rb_erase_augmented is a static function annotated with __always_inline. This causes a compile failure when

Re: [PATCH v2 1/2] Use kacpi_hotplug_wq to handle container hotplug event.

2012-10-24 Thread Tang Chen
On 10/24/2012 02:54 PM, Yasuaki Ishimatsu wrote: Hi Tang, 2012/10/24 15:05, Tang Chen wrote: As the comments in __acpi_os_execute() said: We can't run hotplug code in keventd_wq/kacpid_wq/kacpid_notify_wq because the hotplug code may call driver .remove() functions, which

Re: [PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Yan, Zheng
On 10/24/2012 03:28 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 7:59 AM, Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com The index of lbr_sel_map is bit value of perf branch_sample_type. By using bit shift as index, we can reduce lbr_sel_map size.

Re: [PATCH 1/2] perf header: Fix numa topology printing

2012-10-24 Thread Andrew Jones
On Wed, Oct 24, 2012 at 04:00:08PM +0900, Namhyung Kim wrote: Hi Andrew, On Tue, 23 Oct 2012 16:12:19 +0200, Andrew Jones wrote: On Tue, Oct 23, 2012 at 10:44:49PM +0900, Namhyung Kim wrote: Andrew reported that the commit 7e94cfcc9d20 (perf header: Use pre- processed session env when

Re: [PATCH 2/2] perf tools: Fix strbuf_addf() when the buffer needs to grow

2012-10-24 Thread Andrew Jones
On Tue, Oct 23, 2012 at 10:44:50PM +0900, Namhyung Kim wrote: This was found during chasing down the header output regression. The strbuf_addf() was checking buffer length with a result of vscnprintf() which cannot be greater than that of strbuf_avail(). Since numa topology and pmu mapping

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-24 Thread Ingo Molnar
* Peter Zijlstra a.p.zijls...@chello.nl wrote: I never can seem to figure out how to use the scripts mess :/ acme, is there anything we could do to make that stuff usable? There's a ton of crap under scripts/ but I don't even know how to get that stuff to run. What's more, all that

[PATCH] x86/amd: disable way access filter on affected CPUs

2012-10-24 Thread Andre Przywara
The WAF may hurt the performance of some workloads, caused by aliasing issues in the L1 cache. Disable it on the affected CPUs. Signed-off-by: Andre Przywara andre.przyw...@amd.com --- arch/x86/kernel/cpu/amd.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

Re: [PATCH v2 2/4] gpio: add viperboard gpio driver

2012-10-24 Thread Linus Walleij
On Tue, Oct 23, 2012 at 5:24 PM, Lars Poeschel poesc...@lemonage.de wrote: On Tuesday 16 October 2012 at 19:11:10, Linus Walleij wrote: On Tue, Oct 16, 2012 at 3:38 PM, Lars Poeschel poesc...@lemonage.de wrote: I had a look at regmap. This is interesting. But there is no regmap_bus

[patch] ds2782_battery: signedness bug in ds278x_read_reg16()

2012-10-24 Thread Dan Carpenter
We need to check for negative values before doing the swab16() for the error handling to work. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/power/ds2782_battery.c b/drivers/power/ds2782_battery.c index 6bb6e2f..2fa9b6b 100644 --- a/drivers/power/ds2782_battery.c +++

Re: [PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-24 Thread Anmol Sarma
From abe5f2d4a7424c446f5e41cf57b4783eb9a04ab9 Mon Sep 17 00:00:00 2001 From: Anmol Sarma unmole...@gmail.com Date: Wed, 24 Oct 2012 12:57:35 +0530 Subject: [PATCH] Staging: android: binder: Strings cleanup Changed all user visible multi-line strings to single line. Removed 'binder:' prefix on

Re: [PATCH 043/193] drivers/gpio: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Linus Walleij
On Tue, Oct 23, 2012 at 10:01 PM, Kees Cook keesc...@chromium.org wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Grant Likely grant.lik...@secretlab.ca CC: Linus Walleij

[PATCH 1/2] arm: plat-orion: Add coherency attribute when setup mbus target

2012-10-24 Thread Gregory CLEMENT
Recent SoC such as Armada 370/XP came with the possibility to deal with the I/O coherency by hardware. In this case the transaction attribute of the window must be flagged as Shared transaction. Once this flag is set, then the transactions will be forced to be sent through the coherency block, in

[PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Gregory CLEMENT
Armada 370 and XP come with an unit called coherency fabric. This unit allows to use the Armada XP as a nearly coherent architecture. The coherency mechanism uses snoop filters to ensure the coherency between caches, DRAM and devices. This mechanism needs a synchronization barrier which guarantees

Re: [PATCH for-v3.7 1/2] slub: optimize poorly inlined kmalloc* functions

2012-10-24 Thread Pekka Enberg
On Sat, Oct 20, 2012 at 6:48 PM, Joonsoo Kim js1...@gmail.com wrote: kmalloc() and kmalloc_node() is always inlined into generic code. However, there is a mistake in implemention of the SLUB. In kmalloc() and kmalloc_node() of the SLUB, we try to compare kmalloc_caches[index] with NULL. As

[PATCH 0/2] Add hardware I/O coherency support for Armada 370/XP

2012-10-24 Thread Gregory CLEMENT
Hello, The purpose of this patch set is to add hardware I/O Coherency support for Armada 370 and Armada XP. Theses SoCs come with an unit called coherency fabric. A beginning of the support for this unit have been introduced with the SMP patch set. This series extend this support: the coherency

Re: [PATCH] UAPI: Fix up empty files in arch/cris/

2012-10-24 Thread Jesper Nilsson
On Mon, Oct 22, 2012 at 01:18:44PM +0100, David Howells wrote: Fix up three empty files in arch/cris/ by sticking placeholder comments in there to prevent the patch program from deleting them. I decided not to delete the arch-v*/Kbuild files as it's possibly someone might want to use them

sched: correct the comments for tick_sched_timer()

2012-10-24 Thread Chuansheng Liu
In the comments of function tick_sched_timer(), the sentence timer-base-cpu_base-lock held is not right. In function __run_hrtimer(), before call timer-function(), the cpu_base-lock has been unlocked. Signed-off-by: liu chuansheng chuansheng@intel.com --- kernel/time/tick-sched.c |2 +-

Re: [REGRESSION] uml: signal.c build errors

2012-10-24 Thread Richard Weinberger
On 24.10.2012 01:18, Matthew Leach wrote: Hi, When building UML against 3.7-rc2 I encounter the following build error: # make ARCH=uml scripts/kconfig/conf --silentoldconfig arch/x86/um/Kconfig CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h

Re: [PATCH v2 1/2] Use kacpi_hotplug_wq to handle container hotplug event.

2012-10-24 Thread Yasuaki Ishimatsu
Hi Tang, 2012/10/24 16:24, Tang Chen wrote: On 10/24/2012 02:54 PM, Yasuaki Ishimatsu wrote: Hi Tang, 2012/10/24 15:05, Tang Chen wrote: As the comments in __acpi_os_execute() said: We can't run hotplug code in keventd_wq/kacpid_wq/kacpid_notify_wq because the hotplug code may

Re: [REGRESSION] uml: signal.c build errors

2012-10-24 Thread Richard Weinberger
On 24.10.2012 10:08, Richard Weinberger wrote: On 24.10.2012 01:18, Matthew Leach wrote: Hi, When building UML against 3.7-rc2 I encounter the following build error: # make ARCH=uml scripts/kconfig/conf --silentoldconfig arch/x86/um/Kconfig CHK include/generated/uapi/linux/version.h

Re: [PATCH 2/2] perf: SNB exclusive PMU access for INST_RETIRED:PREC_DIST

2012-10-24 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: On Sun, Oct 21, 2012 at 8:03 PM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: On Sun, Oct 21, 2012 at 6:55 PM, Ingo Molnar mi...@kernel.org wrote: * Andi Kleen a...@linux.intel.com wrote:

Re: [PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Stephane Eranian
On Wed, Oct 24, 2012 at 9:49 AM, Yan, Zheng zheng.z@intel.com wrote: On 10/24/2012 03:28 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 7:59 AM, Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com The index of lbr_sel_map is bit value of perf

RE: [PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Yehuda Yitschak
-Original Message- From: Gregory CLEMENT [mailto:gregory.clem...@free-electrons.com] Sent: Wednesday, October 24, 2012 10:04 AM To: Jason Cooper; Andrew Lunn; Gregory Clement Cc: linux-arm-ker...@lists.infradead.org; Arnd Bergmann; Olof Johansson; Russell King; Rob Herring; Ben

Re: [PATCH v5 04/18] slab: don't preemptively remove element from list in cache destroy

2012-10-24 Thread Glauber Costa
On 10/24/2012 10:54 AM, Pekka Enberg wrote: On Mon, Oct 22, 2012 at 11:40 AM, Glauber Costa glom...@parallels.com wrote: On 10/19/2012 11:34 PM, Christoph Lameter wrote: On Fri, 19 Oct 2012, Glauber Costa wrote: I, however, see no reason why we need to do so, since we are now locked during

Re: drm i915 hangs on heavy io load

2012-10-24 Thread Chris Wilson
On Wed, 24 Oct 2012 09:36:59 +0900, Norbert Preining prein...@logic.at wrote: Hi Dave, hi Chris, thanks for your answers. On Di, 23 Okt 2012, Dave Airlie wrote: Does booting with i915.i915_enable_rc6=0 help? No,booted with that, it happened again on a completely idle system (well, I

Re: [PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Yan, Zheng
On 10/24/2012 04:15 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 9:49 AM, Yan, Zheng zheng.z@intel.com wrote: On 10/24/2012 03:28 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 7:59 AM, Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com The index

BUG: using smp_processor_id() in preemptible

2012-10-24 Thread Paul Thompson
Hi; Just saw this after invoking cpufreq-set -g performance in an attempt to enhance a stuttering mpeg transcode for ps3mediaserver. This repeats in the logs about 10 times. If anyone cares, I will be responsive. Paul 2012 Oct 24 01:39:14: BUG: using smp_processor_id()

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-24 Thread Glauber Costa
On 10/23/2012 07:43 PM, JoonSoo Kim wrote: 2012/10/23 Glauber Costa glom...@parallels.com: On 10/23/2012 12:07 PM, Glauber Costa wrote: On 10/23/2012 04:48 AM, JoonSoo Kim wrote: Hello, Glauber. 2012/10/23 Glauber Costa glom...@parallels.com: On 10/22/2012 06:45 PM, Christoph Lameter wrote:

Re: [PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Yan, Zheng
On 10/24/2012 04:23 PM, Yan, Zheng wrote: On 10/24/2012 04:15 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 9:49 AM, Yan, Zheng zheng.z@intel.com wrote: On 10/24/2012 03:28 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 7:59 AM, Yan, Zheng zheng.z@intel.com wrote: From:

Re: [patch for-3.7] mm, numa: avoid setting zone_reclaim_mode unless a node is sufficiently distant

2012-10-24 Thread Julian Wollrath
This patch fixes the problem for me, thank you. Feal free to add a Tested-by: Julian Wollrath jwollr...@web.de With best regards, Julian Wollrath -- 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

Re: [PATCH v2] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-24 Thread Maarten Lankhorst
Op 24-10-12 08:24, Olof Johansson schreef: When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off efi_enabled once setup is done. Beyond setup, it is normally used to determine if runtime services are available and we will have none. This will resolve issues stemming from

Re: [PATCH v5 06/18] consider a memcg parameter in kmem_create_cache

2012-10-24 Thread Glauber Costa
On 10/23/2012 09:50 PM, JoonSoo Kim wrote: 2012/10/19 Glauber Costa glom...@parallels.com: diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 6a1e096..59f6d54 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -339,6 +339,12 @@ struct mem_cgroup { #if defined(CONFIG_MEMCG_KMEM)

Re: [PATCH v5 05/18] slab/slub: struct memcg_params

2012-10-24 Thread Glauber Costa
On 10/23/2012 09:25 PM, JoonSoo Kim wrote: Hi, Glauber. 2012/10/19 Glauber Costa glom...@parallels.com: For the kmem slab controller, we need to record some extra information in the kmem_cache structure. Signed-off-by: Glauber Costa glom...@parallels.com Signed-off-by: Suleiman Souhlal

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-24 Thread Felipe Balbi
Hi, On Tue, Oct 23, 2012 at 01:02:49PM -0700, Dmitry Torokhov wrote: On Tue, Oct 23, 2012 at 11:18:12AM +0200, Benoit Cousson wrote: Hi Dimitry, On 10/22/2012 05:50 PM, Dmitry Torokhov wrote: Hi Sourav, On Mon, Oct 22, 2012 at 06:43:00PM +0530, Sourav Poddar wrote: Adapt

Re: + procfs-add-vmflags-field-in-smaps-output-v3-fix-2.patch added to -mm tree

2012-10-24 Thread Cyrill Gorcunov
On Tue, Oct 23, 2012 at 03:02:59PM -0700, a...@linux-foundation.org wrote: The patch titled Subject: procfs-add-vmflags-field-in-smaps-output-v3-fix-2 has been added to the -mm tree. Its filename is procfs-add-vmflags-field-in-smaps-output-v3-fix-2.patch

Re: [PATCH V2 0/7] perf, x86: Haswell LBR call stack support

2012-10-24 Thread Stephane Eranian
On Wed, Oct 24, 2012 at 7:59 AM, Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com Haswell has a new feature that utilizes the existing Last Branch Record facility to record call chains. When the feature is enabled, function call will be collected as normal, but

[PATCH] perf/x86/uncore: Handle pci_read_config_dword() error.

2012-10-24 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 43 +-- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c

Re: [PATCH V2 1/7] perf, x86: Reduce lbr_sel_map size

2012-10-24 Thread Stephane Eranian
On Wed, Oct 24, 2012 at 10:37 AM, Yan, Zheng zheng.z@intel.com wrote: On 10/24/2012 04:23 PM, Yan, Zheng wrote: On 10/24/2012 04:15 PM, Stephane Eranian wrote: On Wed, Oct 24, 2012 at 9:49 AM, Yan, Zheng zheng.z@intel.com wrote: On 10/24/2012 03:28 PM, Stephane Eranian wrote: On Wed,

[PATCH] Documentation: fixed Documentation/security/00-INDEX

2012-10-24 Thread Jarkko Sakkinen
keys-ecryptfs.txt was missing from 00-INDEX. Signed-off-by: Jarkko Sakkinen jarkko.sakki...@intel.com --- Documentation/security/00-INDEX |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/security/00-INDEX b/Documentation/security/00-INDEX index eeed1de..414235c 100644 ---

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-24 Thread Pekka Enberg
On Mon, Oct 22, 2012 at 5:05 PM, Glauber Costa glom...@parallels.com wrote: +/** + * kmem_cache_free - Deallocate an object + * @cachep: The cache the allocation was from. + * @objp: The previously allocated object. + * + * Free an object which was previously allocated from this + * cache.

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-24 Thread Pekka Enberg
On Mon, Oct 22, 2012 at 5:05 PM, Glauber Costa glom...@parallels.com wrote: +/** + * kmem_cache_free - Deallocate an object + * @cachep: The cache the allocation was from. + * @objp: The previously allocated object. + * + * Free an object which was previously allocated from this + * cache.

  1   2   3   4   5   6   7   8   9   10   >