[PATCH] perf/x86: fix SNB-EP CBO and PCU uncore PMU filter management

2012-10-22 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The existing code assumes all Cbox and PCU events are using filter, but actually the filter is event specific. Furthermore the filter is sub-divided into multiple fields which are used by different events. Signed-off-by: Yan, Zheng zheng.z@intel.com

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

2012-10-22 Thread Shiraz Hashim
Hi Viresh, On Mon, Oct 22, 2012 at 09:39:21AM +0530, viresh kumar wrote: Every time you read a code, you figure out new things about it. Sorry for these comments Now :( No problem, it is important to fix now than catch them later. On Mon, Oct 22, 2012 at 9:21 AM, Shiraz Hashim

[PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The new HSW call stack feature provides a facility such that unfiltered call data will be collected as normal, but as return instructions are executed the last captured branch record is popped from the LBR stack. Thus, branch information relative to leaf

[PATCH 3/6] perf, x86: Save/resotre LBR stack during context switch

2012-10-22 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 4/6] perf, core: Pass perf_sample_data to perf_callchain()

2012-10-22 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 5/6] perf, x86: Use LBR call stack to get user callchain

2012-10-22 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 6/6] perf, x86: Discard zero length call entries in LBR call stack

2012-10-22 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Zero length calls may confuse the hardware and make the recorded call stack incorrect. Try fixing the call stack by discarding zero length call entries. Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 13

[PATCH 2/6] perf, x86: Introduce x86 special perf event context

2012-10-22 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 0/6] perf, x86: Haswell LBR call stack support

2012-10-22 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

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

2012-10-22 Thread Viresh Kumar
On 22 October 2012 11:36, Shiraz Hashim shiraz.has...@st.com wrote: On Mon, Oct 22, 2012 at 09:39:21AM +0530, viresh kumar wrote: On Mon, Oct 22, 2012 at 9:21 AM, Shiraz Hashim shiraz.has...@st.com wrote: +static int spear_pwm_remove(struct platform_device *pdev) +{ + struct

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-22 Thread HATAYAMA Daisuke
From: Vivek Goyal vgo...@redhat.com Subject: Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Fri, 19 Oct 2012 11:17:53 -0400 On Fri, Oct 19, 2012 at 12:20:54PM +0900, HATAYAMA Daisuke wrote: [..] Instead of capturing the dump of whole memory, isn't it more efficient to

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Fri, Oct 19, 2012 at 11:38:54PM +1300, Tony Prisk wrote: This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/pwm/pwm-vt8500.c | 79

Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-22 Thread Thierry Reding
On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote: Add a binding document describing the PWM controller found on arch-vt8500 supported SoCs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/pwm/vt8500-pwm.txt | 17 + 1 file

Re: Major performance regressions in 3.7rc1/2

2012-10-22 Thread Jimster480
Well have you tried building the kernel yourself? It might be the options that they are using in the kernel, since the Ubuntu team builds the kernel with almost everything on, including debugging and sometimes experimental features. You could copy your current conf and then take a look at it. On

[GIT PULL] unicore32 fixes for v3.7-rc1

2012-10-22 Thread gxt
are available in the git repository at: git://github.com/gxt/linux.git unicore32 Al Viro (2): unicore32: switch to generic kernel_thread()/kernel_execve() unicore32: switch to generic sys_execve() David Howells (1): UAPI: (Scripted) Disintegrate arch/unicore32/include/asm

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
Replies to your comments inline: On Mon, 2012-10-22 at 08:34 +0200, Thierry Reding wrote: ... -static int __devinit pwm_probe(struct platform_device *pdev) +static const struct of_device_id vt8500_pwm_dt_ids[] = { + { .compatible = via,vt8500-pwm, }, + { /* Sentinel */ } +}; +

Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 08:35 +0200, Thierry Reding wrote: On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote: Add a binding document describing the PWM controller found on arch-vt8500 supported SoCs. Signed-off-by: Tony Prisk li...@prisktech.co.nz ---

Re: [PATCH 2/2 v2] drivers: power: jz4740_battery: Use devm_request_and_ioremap

2012-10-22 Thread Lars-Peter Clausen
On 10/22/2012 03:13 AM, Marcos Paulo de Souza wrote: And remove all checks abvout request_mem_region and ioremap. This is just a cleanup. Not functional changes here. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com Thanks, looks almost good. But you could also have removed

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: chip = devm_kzalloc(pdev-dev, sizeof(*chip), GFP_KERNEL); if (chip == NULL) { dev_err(pdev-dev, failed to allocate memory\n); @@ -123,26 +144,32 @@ static int __devinit pwm_probe(struct platform_device *pdev)

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 07:51:52PM +1300, Tony Prisk wrote: Replies to your comments inline: On Mon, 2012-10-22 at 08:34 +0200, Thierry Reding wrote: ... -static int __devinit pwm_probe(struct platform_device *pdev) +static const struct of_device_id vt8500_pwm_dt_ids[] = { + {

Re: [BUG] perf list: --help option not implemented

2012-10-22 Thread Namhyung Kim
Hi, On Fri, 19 Oct 2012 10:46:36 +0200, Jiri Olsa wrote: On Fri, Oct 19, 2012 at 10:27:35AM +0200, Stephane Eranian wrote: Jiri, When I run perf list, I see: $ perf list .. rNNN [Raw hardware event descriptor] cpu/t1=v1[,t2=v2,t3

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: chip = devm_kzalloc(pdev-dev, sizeof(*chip), GFP_KERNEL); if (chip == NULL) { dev_err(pdev-dev, failed to allocate memory\n); @@

Re: [PATCH] perf: Build install-man target when installing

2012-10-22 Thread Namhyung Kim
Hi, On Sat, 20 Oct 2012 13:16:25 +0200, Borislav Petkov wrote: On Fri, Sep 28, 2012 at 07:47:07PM +0200, Borislav Petkov wrote: From: Borislav Petkov borislav.pet...@amd.com There's a portion in the perf list output refering to the exact specification of raw hardware events. Since this

[PATCH] Input: omap4-keypad: Add pinctrl support

2012-10-22 Thread Sourav Poddar
Adapt keypad to use pinctrl framework. Tested on omap4430 sdp with 3.7-rc1 kernel. Cc: Felipe Balbi ba...@ti.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/input/keyboard/omap4-keypad.c |8 1 files changed, 8

[PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Sourav Poddar
Currently, omap4 keypad mux settings are done in the board file. Populate the mux settings in the dts file for the keypad to work via dt. Cc: Felipe Balbi ba...@ti.com Tested on omap4430 sdp with 3.7-rc1. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts |

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Namhyung Kim
Hi Jiri, It'd be better if you provide a git branch for this series. Thanks, Namhyung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [RESEND][PATCH] prctl: update seccomp sections for mode 2 (BPF)

2012-10-22 Thread Michael Kerrisk (man-pages)
Kees, A couple of questions about SECCOMP_MODE_FILTER. I added some words that the arg3 is a pointer to 'struct fprog'. Can you confirmn that's correct? If the CONFIG_SECCOMP_FILTER permits fork(), is the seccomp setting inherited across fork()? Similar question for execve(). Thanks, Michael

[PATCH] Staging: ipack/carriers: fix missing include linux/slab.h

2012-10-22 Thread Samuel Iglesias Gonsalvez
Kernel build failed for parisc architecture: drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_free_irq': drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration] drivers/staging/ipack/carriers/tpci200.c:

Re: [PATCH] ARM: dt: tegra: ventana: define pinmux for ddc

2012-10-22 Thread Mark Zhang
On 10/19/2012 11:48 PM, Stephen Warren wrote: On 10/18/2012 11:58 PM, Mark Zhang wrote: Define pinmux for DDC. The DDC pinmux in Ventana is 2 pins in I2C2. +++ b/arch/arm/boot/dts/tegra20-ventana.dts - ddc { - nvidia,pins = ddc, owc,

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 09:24 +0200, Thierry Reding wrote: On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: chip = devm_kzalloc(pdev-dev, sizeof(*chip), GFP_KERNEL); if (chip == NULL) {

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

2012-10-22 Thread Shaohua Li
On Tue, Oct 16, 2012 at 08:50:49AM +0800, Shaohua Li wrote: On Mon, Oct 08, 2012 at 03:09:58PM -0700, Hugh Dickins wrote: On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote: Here results of my test. Workload isn't very realistic, but at least it threaded: compiling linux-3.6 with

Re: [PATCH v5 14/18] memcg/sl[au]b: shrink dead caches

2012-10-22 Thread Glauber Costa
On 10/19/2012 11:47 PM, Christoph Lameter wrote: On Fri, 19 Oct 2012, Glauber Costa wrote: An unlikely branch is used to make sure this case does not affect performance in the usual slab_free path. The slab allocator has a time based reaper that would eventually get rid of the objects, but

Re: [PATCH v4 1/6] perf tools: configure tmp path at build time

2012-10-22 Thread Irina Tirdea
On Tue, Oct 16, 2012 at 6:18 PM, Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Tue, Oct 16, 2012 at 02:33:35AM +0300, Irina Tirdea escreveu: From: Irina Tirdea irina.tir...@intel.com Temporary perf files are hardcoded to point to /tmp. Android does not have a /tmp directory so it

Re: [PATCH] prctl: document PR_SET_NO_NEW_PRIVS, PR_GET_NO_NEW_PRIVS

2012-10-22 Thread Michael Kerrisk (man-pages)
On Fri, Sep 21, 2012 at 1:54 AM, Kees Cook keesc...@chromium.org wrote: This adds a short description of the no_new_privs bit, as described in Documentation/prctl/no_new_privs.txt. Thanks Kees. Applied. Cheers, Michael Signed-off-by: Kees Cook keesc...@chromium.org --- man2/prctl.2 |

Re: [PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Benoit Cousson
Hi Sourav, On 10/22/2012 09:29 AM, Sourav Poddar wrote: Currently, omap4 keypad mux settings are done in the board file. Populate the mux settings in the dts file for the keypad to work via dt. Have you changed the driver to handle properly the dependency with the pinctrl and thus return

[PATCH] perf/x86: fix SNB-EP CBO and PCU uncore PMU filter management

2012-10-22 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The existing code assumes all Cbox and PCU events are using filter, but actually the filter is event specific. Furthermore the filter is sub-divided into multiple fields which are used by different events. Signed-off-by: Yan, Zheng zheng.z@intel.com

Re: [PATCH] i2c: omap: adopt pinctrl support

2012-10-22 Thread Felipe Balbi
Hi, On Tue, Oct 16, 2012 at 05:23:20PM +0200, Sebastien Guiriec wrote: Some GPIO expanders need some early pin control muxing. Due to legacy boards sometimes the driver uses subsys_initcall instead of module_init. This patch takes advantage of defer probe feature and pin control in order to

Re: [PATCH v5 16/18] slab: propagate tunables values

2012-10-22 Thread Glauber Costa
On 10/19/2012 11:51 PM, Christoph Lameter wrote: On Fri, 19 Oct 2012, Glauber Costa wrote: SLAB allows us to tune a particular cache behavior with tunables. When creating a new memcg cache copy, we'd like to preserve any tunables the parent cache already had. SLAB and SLUB allow tuning.

Re: [PATCH 8/10] memory-hotplug : remove page table of x86_64 architecture

2012-10-22 Thread Wen Congyang
Hi, Wu Sorry for late reply. At 10/09/2012 04:26 PM, wujianguo Wrote: Hi Congyang, I think we should also free pages which are used by page tables after removing page tables of the memory. It is OK to do it. From: Jianguo Wu wujian...@huawei.com Signed-off-by: Jianguo Wu

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 04:32:11PM +0900, Namhyung Kim wrote: Hi Jiri, It'd be better if you provide a git branch for this series. aaah right, I forgot to mention that.. ;) git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git perf/group2 thanks, jirka -- To unsubscribe from this

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

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 11:51:11AM +0530, Viresh Kumar wrote: On 22 October 2012 11:36, Shiraz Hashim shiraz.has...@st.com wrote: On Mon, Oct 22, 2012 at 09:39:21AM +0530, viresh kumar wrote: On Mon, Oct 22, 2012 at 9:21 AM, Shiraz Hashim shiraz.has...@st.com wrote: +static int

[PATCH] iio: hid-sensors: convert HID_SENSOR_ENUM_BASE_QUIRKS to bool

2012-10-22 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com It's non-sense to use tristate for the option, it's bool. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- drivers/iio/common/hid-sensors/Kconfig |2 +-

Re: [PATCH 03/11] perf tool: Use PERF_EVENT_IOC_ID perf ioctl to read event id

2012-10-22 Thread Namhyung Kim
Hi, Just a minor nitpicking.. On Sat, 20 Oct 2012 16:33:11 +0200, Jiri Olsa wrote: Changing the way we retrieve the event ID. Instead of parsing out the ID out of the read data, using the PERF_EVENT_IOC_ID ioctl. Keeping the old way in place to support kernels without PERF_EVENT_IOC_ID

Re: [PATCH 1/1] usb: gadget: Don't attempt to dequeue requests for a disabled USB endpoint on Freescale hardware

2012-10-22 Thread Felipe Balbi
On Mon, Oct 22, 2012 at 03:33:19AM +, Li Yang-R58472 wrote: -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Saturday, October 20, 2012 1:37 AM To: Simon Haggett Cc: Li Yang-R58472; Felipe Balbi; Greg Kroah-Hartman; linux- u...@vger.kernel.org;

[PATCH net-next 1/2] r8169: enable ALDPS for power saving

2012-10-22 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. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 46

Re: [PATCH v3 resend] USB: PHY: Re-organize Tegra USB PHY driver

2012-10-22 Thread Felipe Balbi
Hi, On Fri, Oct 19, 2012 at 10:29:35AM -0600, Stephen Warren wrote: On 10/19/2012 09:35 AM, Felipe Balbi wrote: Hi, On Fri, Oct 19, 2012 at 04:08:05PM +0530, Venu Byravarasu wrote: NVIDIA produces several Tegra SoCs viz Tegra20, Tegra30 etc. In order to support USB PHY drivers on

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 08:36:22PM +1300, Tony Prisk wrote: On Mon, 2012-10-22 at 09:24 +0200, Thierry Reding wrote: On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: chip = devm_kzalloc(pdev-dev, sizeof(*chip),

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-22 Thread Mel Gorman
On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra a.p.zijls...@chello.nl AuthorDate: Fri, 12 Oct 2012

[RFC PATCH 0/5] vmstats for compaction, migration and autonuma

2012-10-22 Thread Mel Gorman
I'm travelling for a conference at the moment so these patches are not tested but with the ongoing NUMA migration work I figured it was best to post these sooner rather than later. This series adds vmstat counters and tracepoints for migration, compaction and autonuma. Using them it's possible to

[PATCH 2/5] mm: migrate: Add a tracepoint for migrate_pages

2012-10-22 Thread Mel Gorman
The pgmigrate_success and pgmigrate_fail vmstat counters tells the user about migration activity but not the type or the reason. This patch adds a tracepoint to identify the type of page migration and why the page is being migrated. Signed-off-by: Mel Gorman mgor...@suse.de ---

[PATCH 1/5] mm: compaction: Move migration fail/success stats to migrate.c

2012-10-22 Thread Mel Gorman
The compact_pages_moved and compact_pagemigrate_failed events are convenient for determining if compaction is active and to what degree migration is succeeding but it's at the wrong level. Other users of migration may also want to know if migration is working properly and this will be particularly

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Jiri Olsa
On Sun, Oct 21, 2012 at 06:38:49PM +0200, Ingo Molnar wrote: * Jiri Olsa jo...@redhat.com wrote: hi, adding support to read sample values through the PERF_SAMPLE_READ sample type. It's now possible to specify 'S' modifier for an event and get its sample value by PERF_SAMPLE_READ.

[PATCH 3/5] mm: compaction: Add scanned and isolated counters for compaction

2012-10-22 Thread Mel Gorman
Compaction already has tracepoints to count scanned and isolated pages but it requires that ftrace be enabled and if that information has to be written to disk then it can be disruptive. This patch adds vmstat counters for compaction called compact_migrate_scanned, compact_free_scanned and

[PATCH v2] pwm: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. A binding document describing the PWM controller found on arch-vt8500 is also included. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- v2 changes: Merged binding doc patch with main

[PATCH 4/5] mm: autonuma: Add pte updates, hinting and migration stats for AutoNUMA

2012-10-22 Thread Mel Gorman
The system CPU cost of AutoNUMA is known to be high but it is tricky to quantify the cost in a meaningful manner. This patch adds some vmstats that can be used as part of a basic costing model. u= basic unit = sizeof(void *) Ca = cost of struct page access = sizeof(struct page) / u Cpte =

Re: [PATCH] pinctrl/nomadik: use irq_create_mapping()

2012-10-22 Thread Linus Walleij
On Fri, Oct 19, 2012 at 6:22 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/19/2012 09:09 AM, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org @@ -931,7 +931,7 @@ static void __nmk_gpio_irq_handler(unsigned int irq, struct irq_desc *desc, while (status) {

[PATCH 5/5] mm: autonuma: Specify the migration reason for the tracepoint

2012-10-22 Thread Mel Gorman
Record in the migrate_pages tracepoint that the migration is for AutoNUMA. Signed-off-by: Mel Gorman mgor...@suse.de --- include/linux/migrate.h|1 + include/trace/events/migrate.h |1 + mm/autonuma.c |3 ++- 3 files changed, 4 insertions(+), 1 deletions(-)

[PATCH] pinctrl: reserve pins when states are activated

2012-10-22 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want to

Re: [PATCH 1/6] mmc: core: sdio_io.c: Fixed lines with 80 chars

2012-10-22 Thread Ulf Hansson
Hi Sangho, If you really must do this kind of clean up patches; from my point of view I would suggest you to collect them in one mmc: core: Code cleanup patch instead. Kind regards Ulf Hansson On 18 October 2012 18:58, Sangho Yi antir...@gmail.com wrote: I fixed lines over 80 characters per

Re: [PATCH v2] pinctrl: reserve pins when states are activated

2012-10-22 Thread Linus Walleij
On Fri, Oct 19, 2012 at 8:10 PM, Tony Lindgren t...@atomide.com wrote: [Me] Instead: let use reserve the pins when the state is activated and drop them when the state is disabled, i.e. when we move to another state. This way different devices/functions can use the same pins at different

Re: [PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Sourav
Hi Benoit, On Monday 22 October 2012 01:15 PM, Benoit Cousson wrote: Hi Sourav, On 10/22/2012 09:29 AM, Sourav Poddar wrote: Currently, omap4 keypad mux settings are done in the board file. Populate the mux settings in the dts file for the keypad to work via dt. Have you changed the driver to

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

2012-10-22 Thread Viresh Kumar
On 22 October 2012 13:25, Thierry Reding thierry.red...@avionic-design.de wrote: We could probably do that in the core. I've had some discussions about this with Lars-Peter (Cc'ed) who also had doubts about how this is currently handled. What you're proposing is different, however. If we put

Re: [PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Benoit Cousson
On 10/22/2012 10:23 AM, Sourav wrote: Hi Benoit, On Monday 22 October 2012 01:15 PM, Benoit Cousson wrote: Hi Sourav, On 10/22/2012 09:29 AM, Sourav Poddar wrote: Currently, omap4 keypad mux settings are done in the board file. Populate the mux settings in the dts file for the keypad to

RE: [PATCH v3 resend] USB: PHY: Re-organize Tegra USB PHY driver

2012-10-22 Thread Venu Byravarasu
-Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Friday, October 19, 2012 9:06 PM To: Venu Byravarasu Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 resend]

[PATCH] ALSA: hda - remove unused variable in azx_position_ok()

2012-10-22 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn The variable stream is initialized but never used otherwise, so remove the unused variable. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH 1/2] ASoC: Ux500: Fixup complile errors due to merge

2012-10-22 Thread Lee Jones
On Fri, 19 Oct 2012, Ulf Hansson wrote: From: Ulf Hansson ulf.hans...@linaro.org Likely during merge of the below commits ended up breaking compilation: ASoC: Ux500: Enable ux500 MSP driver for Device Tree ASoC: ux500_msp_i2s: better use devm functions and fix error return code This is

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

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 01:55:29PM +0530, Viresh Kumar wrote: On 22 October 2012 13:25, Thierry Reding thierry.red...@avionic-design.de wrote: We could probably do that in the core. I've had some discussions about this with Lars-Peter (Cc'ed) who also had doubts about how this is currently

Re: [PATCH 3/6] perf, x86: Save/resotre LBR stack during context switch

2012-10-22 Thread Stephane Eranian
On Mon, Oct 22, 2012 at 7:57 AM, Yan, Zheng zheng.z@intel.com wrote: 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

Re: [BUG] perf list: --help option not implemented

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 04:12:23PM +0900, Namhyung Kim wrote: Hi, On Fri, 19 Oct 2012 10:46:36 +0200, Jiri Olsa wrote: On Fri, Oct 19, 2012 at 10:27:35AM +0200, Stephane Eranian wrote: Jiri, When I run perf list, I see: $ perf list .. rNNN

Re: [PATCH 2/2] ASoC: Ux500: Fixup compile error

2012-10-22 Thread Lee Jones
On Fri, 19 Oct 2012, Ulf Hansson wrote: From: Ulf Hansson ulf.hans...@linaro.org The below commit introduced a compile error for a missing include file. ASoC: ux500_msp_i2s: better use devm functions and fix error return code Already fixed: https://patchwork.kernel.org/patch/1593881/ --

[RFC PATCH v2 0/6] solve deadlock caused by memory allocation with I/O

2012-10-22 Thread Ming Lei
Hi, This patchset try to solve one deadlock problem which might be caused by memory allocation with block I/O during runtime resume and block device error handling path. Traditionly, the problem is addressed by passing GFP_NOIO statically to mm, but that is not a effective solution, see detailed

[RFC PATCH v2 1/6] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-22 Thread Ming Lei
This patch introduces PF_MEMALLOC_NOIO on process flag('flags' field of 'struct task_struct'), so that the flag can be set by one task to avoid doing I/O inside memory allocation in the task's context. The patch trys to solve one deadlock problem caused by block device, and the problem may happen

[RFC PATCH v2 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-10-22 Thread Ming Lei
The patch introduces the flag of memalloc_noio_resume in 'struct dev_pm_info' to help PM core to teach mm not allocating memory with GFP_KERNEL flag for avoiding probable deadlock problem. As explained in the comment, any GFP_KERNEL allocation inside runtime_resume on any one of device in the

[RFC PATCH v2 3/6] block/genhd.c: apply pm_runtime_set_memalloc_noio on block devices

2012-10-22 Thread Ming Lei
This patch applyes the introduced pm_runtime_set_memalloc_noio on block device so that PM core will teach mm to not allocate memory with GFP_IOFS when calling the runtime_resume callback for block devices. Cc: Jens Axboe ax...@kernel.dk Signed-off-by: Ming Lei ming@canonical.com ---

[RFC PATCH v2 4/6] net/core: apply pm_runtime_set_memalloc_noio on network devices

2012-10-22 Thread Ming Lei
Deadlock might be caused by allocating memory with GFP_KERNEL in runtime_resume callback of network devices in iSCSI situation, so mark network devices and its ancestor as 'memalloc_noio_resume' with the introduced pm_runtime_set_memalloc_noio(). Cc: David S. Miller da...@davemloft.net Cc: Eric

[RFC PATCH v2 5/6] PM / Runtime: force memory allocation with no I/O during runtime_resume callbcack

2012-10-22 Thread Ming Lei
This patch applies the introduced memalloc_noio_save() and memalloc_noio_restore() to force memory allocation with no I/O during runtime_resume callback on device which is marked as memalloc_noio_resume. Cc: Alan Stern st...@rowland.harvard.edu Cc: Oliver Neukum oneu...@suse.de Cc: Rafael J.

[RFC PATCH v2 6/6] USB: forbid memory allocation with I/O during bus reset

2012-10-22 Thread Ming Lei
If one storage interface or usb network interface(iSCSI case) exists in current configuration, memory allocation with GFP_KERNEL during usb_device_reset() might trigger I/O transfer on the storage interface itself and cause deadlock because the 'us-dev_mutex' is held in .pre_reset() and the

Re: [PATCH] pstore/ram: fix undefined usage of rounddown_pow_of_two.

2012-10-22 Thread Florian Fainelli
On Friday 19 October 2012 09:03:12 Kees Cook wrote: On Fri, Oct 19, 2012 at 4:59 AM, Florian Fainelli ffaine...@freebox.fr wrote: From: Maxime Bizon mbi...@freebox.fr record_size / console_size / ftrace_size can be 0 (this is how you disable the feature), but rounddown_pow_of_two(0) is

Re: [PATCH v2] pwm: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 09:13:35PM +1300, Tony Prisk wrote: This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. A binding document describing the PWM controller found on arch-vt8500 is also included. Signed-off-by: Tony Prisk

Re: [PATCH 03/11] perf tool: Use PERF_EVENT_IOC_ID perf ioctl to read event id

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 04:57:24PM +0900, Namhyung Kim wrote: Hi, Just a minor nitpicking.. On Sat, 20 Oct 2012 16:33:11 +0200, Jiri Olsa wrote: Changing the way we retrieve the event ID. Instead of parsing out the ID out of the read data, using the PERF_EVENT_IOC_ID ioctl.

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

2012-10-22 Thread Glauber Costa
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 true before). I propose a simplification in which we delete it only when

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

2012-10-22 Thread Viresh Kumar
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 of code was created instead of using the same routines from both

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Namhyung Kim
On Mon, 22 Oct 2012 10:09:31 +0200, Jiri Olsa wrote: On Sun, Oct 21, 2012 at 06:38:49PM +0200, Ingo Molnar wrote: # # Samples: 86 of event 'anon group { cycles, cache-misses }' # Event count (approx.): 34863674 # # OverheadPeriod Command

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Namhyung Kim
On Mon, 22 Oct 2012 09:53:05 +0200, Jiri Olsa wrote: On Mon, Oct 22, 2012 at 04:32:11PM +0900, Namhyung Kim wrote: It'd be better if you provide a git branch for this series. aaah right, I forgot to mention that.. ;) git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git perf/group2

Re: [PATCH RFC 02/15 v5] gpio: Add sysfs support to block GPIO API

2012-10-22 Thread Linus Walleij
On Fri, Oct 19, 2012 at 8:02 PM, Greg KH gre...@linuxfoundation.org wrote: We used to have problems with attributes removing/adding devices or attributes from their callbacks, but that has been fixed up now, and the fact that the other gpio code works this way is good enough precedence to

Re: [PATCH RFC 02/15 v5] gpio: Add sysfs support to block GPIO API

2012-10-22 Thread Linus Walleij
On Fri, Oct 19, 2012 at 1:51 PM, Roland Stigge sti...@antcom.de wrote: [Me] The block GPIO stuff is just following that design pattern. So what do you think about my just proposed idea of always having the value argument present, but only useable when exported is 1? Now only talking about

Re: [PATCH 04/11] perf tool: Add support for parsing PERF_SAMPLE_READ sample type

2012-10-22 Thread Namhyung Kim
On Sat, 20 Oct 2012 16:33:12 +0200, Jiri Olsa wrote: Adding support to parse out the PERF_SAMPLE_READ sample bits. The code contains both single and group format specification. This code parse out and prepare prepare PERF_SAMPLE_READ data Doubly prepare? :) Thanks, Namhyung -- To unsubscribe

Re: [PATCH 09/11] perf test: Add parse events tests for leader sampling

2012-10-22 Thread Namhyung Kim
On Sat, 20 Oct 2012 16:33:17 +0200, Jiri Olsa wrote: Adding 2 more tests to the automated parse events suite for following event config: '{cycles,cache-misses,branch-misses}:S' '{instructions,branch-misses}:Su' [snip] +static int test__leader_sample2(struct perf_evlist *evlist

Compilation options

2012-10-22 Thread Uwaysi Bin Kareem
Hiya, I compiled the kernel with V=1 and noticed -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx. Is there a way to turn this on? Alt, in what file is this string, so I can try without it. Peace Be With You. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] ALSA: hda - remove unused variable in azx_position_ok()

2012-10-22 Thread Takashi Iwai
At Mon, 22 Oct 2012 16:30:10 +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn The variable stream is initialized but never used otherwise, so remove the unused variable. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch)

Re: [PATCH 1/1] HID: microsoft, fix invalid rdesc for 3k kbd

2012-10-22 Thread Jiri Kosina
On Fri, 19 Oct 2012, Jiri Slaby wrote: Microsoft Digital Media Keyboard 3000 has two interfaces, and the second one has a report descriptor with a bug. The second collection says: 05 01 -- global; usage page -- 01 -- Generic Desktop Controls 09 80 -- local; usage -- 80 -- System Control a1

Re: [PATCH] pinctrl: fix missing unlock on error in pinctrl_groups_show()

2012-10-22 Thread Linus Walleij
On Mon, Oct 22, 2012 at 6:58 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock on the error handle path in function pinctrl_groups_show(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Thanks Wei, add to my fixes

Re: [PATCH RFC 02/15 v5] gpio: Add sysfs support to block GPIO API

2012-10-22 Thread Roland Stigge
On 10/22/2012 10:55 AM, Linus Walleij wrote: On Fri, Oct 19, 2012 at 1:51 PM, Roland Stigge sti...@antcom.de wrote: So what do you think about my just proposed idea of always having the value argument present, but only useable when exported is 1? Now only talking about the block gpios, but

Re: [PATCH v4 3/6] perf tools: add --addr2line command line option

2012-10-22 Thread Irina Tirdea
On Tue, Oct 16, 2012 at 6:21 PM, Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Tue, Oct 16, 2012 at 02:33:37AM +0300, Irina Tirdea escreveu: From: Irina Tirdea irina.tir...@intel.com When analyzing data recorded on a target with a different architecture than the host, we must use

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 05:53:32PM +0900, Namhyung Kim wrote: On Mon, 22 Oct 2012 09:53:05 +0200, Jiri Olsa wrote: On Mon, Oct 22, 2012 at 04:32:11PM +0900, Namhyung Kim wrote: It'd be better if you provide a git branch for this series. aaah right, I forgot to mention that.. ;)

Re: [PATCH 09/11] perf test: Add parse events tests for leader sampling

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 05:58:22PM +0900, Namhyung Kim wrote: On Sat, 20 Oct 2012 16:33:17 +0200, Jiri Olsa wrote: Adding 2 more tests to the automated parse events suite for following event config: '{cycles,cache-misses,branch-misses}:S' '{instructions,branch-misses}:Su' [snip]

[PATCH] aoe: remove unused variable in resend()

2012-10-22 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn The variable ah is initialized but never used otherwise, so remove the unused variable. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH 1/2] regulator: gpio-regulator: Allow use of GPIO controlled regulators though DT

2012-10-22 Thread Lee Jones
On Wed, 17 Oct 2012, Mark Brown wrote: On Tue, Oct 16, 2012 at 09:01:09AM +0100, Lee Jones wrote: I'm assuming it's just the documentation patch you're missing. Let me resend it as a single patch. This should really be part of the patch adding the bindings... Would you like me to

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 05:51:01PM +0900, Namhyung Kim wrote: On Mon, 22 Oct 2012 10:09:31 +0200, Jiri Olsa wrote: On Sun, Oct 21, 2012 at 06:38:49PM +0200, Ingo Molnar wrote: # # Samples: 86 of event 'anon group { cycles, cache-misses }' # Event count (approx.): 34863674 #

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

2012-10-22 Thread Gleb Natapov
On Fri, Oct 19, 2012 at 03:37:32PM +0800, Xiao Guangrong wrote: 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

  1   2   3   4   5   6   7   8   9   10   >