[PATCH] MIPS: Fix forgotten preempt_enable() when CPU has inclusive pcaches

2013-10-02 Thread Yoichi Yuasa
[1.904000] BUG: scheduling while atomic: swapper/1/0x0002 [1.908000] Modules linked in: [1.916000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.0-rc2-lemote-los.git-5318619-dirty #1 [1.92] Stack : 31aac000 810d 0052 802730a4

Re: x86: sort reboot DMI quirks by vendor.

2013-10-02 Thread Ingo Molnar
* Dave Jones da...@redhat.com wrote: Grouping them by vendor should make it easier to spot duplicates. Signed-off-by: Dave Jones da...@fedoraproject.org Thanks Dave! Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel

2013-10-02 Thread Namhyung Kim
Hi Ingo, On Mon, 30 Sep 2013 18:42:10 +0200, Ingo Molnar wrote: This series (with combo patch attached) implements (much) faster perf-tools feature-auto-detection. I used 3 tricks to implement feature auto-dependencies and to speed up feature detection: - standalone Makefile in

[PATCH] netif_set_xps_queue: make cpu mask const

2013-10-02 Thread Michael S. Tsirkin
virtio wants to pass in cpumask_of(cpu), make parameter const to avoid build warnings. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/linux/netdevice.h | 5 +++-- net/core/dev.c| 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] perf: Support for Openembedded/Yocto -dbg packages

2013-10-02 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: Hi Ingo and Arnaldo, On Wed, 18 Sep 2013 15:29:03 +0200, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Wed, Sep 18, 2013 at 12:18:01PM +0200, Peter Zijlstra escreveu: On Wed, Sep 18, 2013 at 12:02:12PM

Re: [net-next PATCH V2] virtio-net: switch to use XPS to choose txq

2013-10-02 Thread Michael S. Tsirkin
On Mon, Sep 30, 2013 at 10:10:40PM -0700, David Miller wrote: From: Jason Wang jasow...@redhat.com Date: Mon, 30 Sep 2013 15:37:17 +0800 We used to use a percpu structure vq_index to record the cpu to queue mapping, this is suboptimal since it duplicates the work of XPS and loses all

Re: [PATCH 2/4] kconfig: trivial: fix typos

2013-10-02 Thread Jean Delvare
Hi Martin, On Wed, 02 Oct 2013 07:24:27 +0200, Martin Walch wrote: From: Martin Walch walch.mar...@web.de Date: Wed, 2 Oct 2013 06:56:45 +0200 Subject: [PATCH 2/4] kconfig: trivial: fix typos inser() - insert(), tell - tells, peoperty - property Signed-off-by: Martin Walch

Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel

2013-10-02 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: Hi Ingo, On Mon, 30 Sep 2013 18:42:10 +0200, Ingo Molnar wrote: This series (with combo patch attached) implements (much) faster perf-tools feature-auto-detection. I used 3 tricks to implement feature auto-dependencies and to speed up

Re: [PATCH v3] Staging : android: binder.c: Prefer seq_puts to seq_printf

2013-10-02 Thread Joe Perches
On Wed, 2013-10-02 at 01:02 -0400, Mathieu Rhéaume wrote: Changes since v2: * Fixed the indent in the method calls that had too many tab. 8--8 This patch changes seq_printf for seq_puts in binder.c. It fixes the warnings emitted by

Re: [PATCH] Staging : android: binder.c: Prefer seq_puts to seq_printf

2013-10-02 Thread Joe Perches
On Wed, 2013-10-02 at 15:15 +1000, Ryan Mallon wrote: On 02/10/13 11:57, Mathieu Rhéaume wrote: This patch changes seq_printf for seq_puts in binder.c. It fixes the warnings emitted by checkpatch.pl. [] Umm, this won't compile. seq_puts() is defined as: int seq_puts(struct seq_file *m,

Re: [PATCH] perf tools: Speed up git-version test on re-make

2013-10-02 Thread Namhyung Kim
On Tue, 1 Oct 2013 16:46:18 +0200, Ingo Molnar wrote: [SNIP] -$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE +$(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT) + @touch $(OUTPUT)PERF-VERSION-FILE CC = $(CROSS_COMPILE)gcc AR =

Re: [PATCH] perf tools: Speed up git-version test on re-make

2013-10-02 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 1 Oct 2013 16:46:18 +0200, Ingo Molnar wrote: [SNIP] -$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE +$(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT) + @touch

Re: AMP linux and GPU/HDMI controller sharing

2013-10-02 Thread Mj Embd
Hello All, Please help me out. No comments so far ... On 9/29/13, Mj Embd mj.e...@gmail.com wrote: Hi, I have got a client request to support on their board 2 instances of linux(Ubuntu) running as an AMP. The board has 2 ARM cores and a GPU. The LED monitor which connects to the board is

[PATCH 1/1] hso: fix problem with wrong status code sent by OPTION GTM601 during RING indication

2013-10-02 Thread Dr. H. Nikolaus Schaller
Hi Jan, we are using a GTM601 modem (Firmware 1.7) for a while and have spotted an issue that under some conditions the modem sends a packed wIndex over USB that is rejected by the hso driver making troubles afterwards. Not rejecting makes it work fine. BR, Nikolaus Schaller --- From

Re: [PATCH 4/4] kconfig: remove unused definition from scanner

2013-10-02 Thread Yann E. MORIN
Martin, All, On Wednesday 02 October 2013 08:42:59 Dirk Gouders wrote: Martin Walch walch.mar...@web.de writes: From: Martin Walch walch.mar...@web.de Date: Wed, 2 Oct 2013 06:58:46 +0200 Subject: [PATCH 4/4] kconfig: remove unused definition from scanner The definition ws [ \n\t] is

Re: kthread: Make kthread_create() killable.

2013-10-02 Thread David Rientjes
On Tue, 1 Oct 2013, Tetsuo Handa wrote: Or, when the system doesn't respond for a long period of time you do sysrq+T and you find the TIF_MEMDIE bit set on a process that makes no progress exiting. In enterprise systems, an operator is not always sitting in front of the server for

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-10-02 Thread Alexander Gordeev
On Wed, Oct 02, 2013 at 12:43:24PM +1000, Michael Ellerman wrote: On Tue, Oct 01, 2013 at 12:35:27PM +0200, Alexander Gordeev wrote: On Tue, Oct 01, 2013 at 05:51:33PM +1000, Michael Ellerman wrote: The disadvantage is that any restriction imposed on us above the quota can only be

Re: [PATCH 4/4] kconfig: remove unused definition from scanner

2013-10-02 Thread Dirk Gouders
Martin Walch walch.mar...@web.de writes: From: Martin Walch walch.mar...@web.de Date: Wed, 2 Oct 2013 06:58:46 +0200 Subject: [PATCH 4/4] kconfig: remove unused definition from scanner The definition ws [ \n\t] is not used anywhere. Drop it to avoid confusion. Hi Martin, I think you should

[PATCH RFC] fs/binfmt_elf: fix memory map for PIE applications

2013-10-02 Thread Timo Teräs
arch/*/include/asm/elf.h comments say: ELF_ET_DYN_BASE is the location that an ET_DYN program is loaded if exec'ed. Typical use of this is to invoke ./ld.so someprog to test out a new version of the loader. We need to make sure that it is out of the way of the program that it will exec,

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-10-02 Thread Alexander Gordeev
On Tue, Oct 01, 2013 at 10:46:32PM -0400, Mark Lord wrote: The last pattern makes most of sense to me and could be updated with a more clear sequence - a call to (bit modified) pci_msix_table_size() followed by a call to pci_enable_msix(). I think this pattern can effectively supersede

Re: [PATCH net-next] net:drivers/net: Miscellaneous conversions to ETH_ALEN

2013-10-02 Thread Arend van Spriel
On 10/02/2013 04:04 AM, Joe Perches wrote: Convert the memset/memcpy uses of 6 to ETH_ALEN where appropriate. Also convert some struct definitions and u8 array declarations of [6] to ETH_ALEN. For brcmsmac Acked-by: Arend van Spriel ar...@broadcom.com Signed-off-by: Joe Perches

[PATCH] tools/perf: Fix double/triple-build of the feature detection logic during 'make install' et al

2013-10-02 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: [...] Another annoyance during that make was that make install seems to want to re-make the thing I just built. That's absolutely horrible, even if I've seen too many broken projects do that. Now, for perf it's not as horrible as

Re: [PATCH 6/7] x86, kaslr: report kernel offset on panic

2013-10-02 Thread Kees Cook
On Tue, Oct 1, 2013 at 5:38 PM, HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: (2013/10/02 4:37), Kees Cook wrote: When the system panics, include the kernel offset in the report to assist in debugging. Signed-off-by: Kees Cook keesc...@chromium.org --- arch/x86/kernel/setup.c | 26

Re: [PATCH 6/7] x86, kaslr: report kernel offset on panic

2013-10-02 Thread Kees Cook
On Tue, Oct 1, 2013 at 6:06 PM, HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: (2013/10/02 9:38), HATAYAMA Daisuke wrote: (2013/10/02 4:37), Kees Cook wrote: cut @@ -1242,3 +1256,15 @@ void __init i386_reserve_resources(void) } #endif /* CONFIG_X86_32 */ + +static struct

Re: [PATCH] Staging: android: binder.c: Fixed 80 characters warnings from checkpatch.pl

2013-10-02 Thread Dan Carpenter
On Tue, Oct 01, 2013 at 09:39:48PM -0400, Mathieu Rhéaume wrote: Fixed a lot of warnings from checkpatch.pl about the 80 characters per line limitation. The code was better in the original, sorry. Also this doesn't apply to linux-next from Friday. regards, dan carpenter -- To unsubscribe

Re: [PATCH] Staging : android: binder.c: Prefer seq_puts to seq_printf

2013-10-02 Thread Dan Carpenter
On Tue, Oct 01, 2013 at 09:57:36PM -0400, Mathieu Rhéaume wrote: This patch changes seq_printf for seq_puts in binder.c. It fixes the warnings emitted by checkpatch.pl. Which warnings? Seems like a false positive somehow because seq_puts() is totally wrong here. This doesn't compile.

Re: [PATCH v3] Staging : android: binder.c: Prefer seq_puts to seq_printf

2013-10-02 Thread Dan Carpenter
On Wed, Oct 02, 2013 at 01:02:39AM -0400, Mathieu Rhéaume wrote: Changes since v2: * Fixed the indent in the method calls that had too many tab. 8--8 This patch changes seq_printf for seq_puts in binder.c. It fixes the warnings emitted

Re: [PATCH] perf tools: Speed up git-version test on re-make

2013-10-02 Thread Namhyung Kim
On Wed, 2 Oct 2013 08:50:42 +0200, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: On Tue, 1 Oct 2013 16:46:18 +0200, Ingo Molnar wrote: [SNIP] -$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE +$(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD @$(SHELL_PATH)

Re: [PATCH 1/3] perf tools: Separate lbfd check out of NO_DEMANGLE condition

2013-10-02 Thread Jiri Olsa
On Wed, Oct 02, 2013 at 10:18:32AM +0900, Namhyung Kim wrote: Hi Jiri, On Sun, 29 Sep 2013 15:52:06 +0900, Namhyung Kim wrote: Hi Jiri, 2013-09-27 (금), 16:32 +0200, Jiri Olsa: We fail build with NO_DEMANGLE with missing -lbfd externals error. The reason is that we now use bfd code in

Re: [PATCH] [workqueue] check values of pwq and wq in print_worker_info() before use

2013-10-02 Thread Helge Deller
On 10/02/2013 12:50 AM, James Bottomley wrote: On Wed, 2013-10-02 at 00:07 +0200, Helge Deller wrote: On 10/01/2013 11:40 PM, James Bottomley wrote: On Tue, 2013-10-01 at 16:43 -0400, Tejun Heo wrote: Hello, On Tue, Oct 01, 2013 at 10:35:20PM +0200, Helge Deller wrote: print_worker_info()

[PATCH] acpi/mem_hotplug: Use defined marco METHOD_NAME__STA

2013-10-02 Thread Zhang Yanfei
From: Zhang Yanfei zhangyan...@cn.fujitsu.com We already have predefined marco for method name _STA', so using the marco instead of directly using the string. Signed-off-by: Zhang Yanfei zhangyan...@cn.fujitsu.com --- drivers/acpi/acpi_memhotplug.c |5 +++-- 1 files changed, 3

Re: [Add SMP support for Allwinner A20: PATCH V4 0/3]

2013-10-02 Thread Daniel Lezcano
On 10/01/2013 05:42 PM, Fan Rong wrote: This is the version 4 patch. It use smp_prepare_cpus replacing early_init as cpuconfigure map init funcation caller and use sun7i replacing sunxi7i as funcation name and variable name. Hi Fan, your patchset does not have a changelog neither a

[PATCH] perf tool: simplify a git command in PERF-VERSION-GEN

2013-10-02 Thread Ramkumar Ramachandra
Replace a complex git log invocation with a simpler git rev-parse invocation. Cc: Ingo Molnar mi...@kernel.org Cc: Namhyung Kim namhy...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- tools/perf/util/PERF-VERSION-GEN | 2

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Paolo Bonzini
Il 01/10/2013 23:44, Benjamin Herrenschmidt ha scritto: On Tue, 2013-10-01 at 13:19 +0200, Paolo Bonzini wrote: Il 01/10/2013 11:38, Benjamin Herrenschmidt ha scritto: So for the sake of that dogma you are going to make us do something that is about 100 times slower ? (and possibly involves

Re: [PATCH 1/3] perf tools: Separate lbfd check out of NO_DEMANGLE condition

2013-10-02 Thread Namhyung Kim
Hi Jiri, On Wed, 2 Oct 2013 10:17:57 +0200, Jiri Olsa wrote: On Wed, Oct 02, 2013 at 10:18:32AM +0900, Namhyung Kim wrote: It seems that it needs libdl for loading plugins. Adding -ldl makes above build successfully. So we need to add -ldl for EXTLIBS IMHO. Without it, make NO_GTK2=1

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-02 Thread Maxime COQUELIN
On 10/01/2013 10:45 PM, Stephen Warren wrote: On 10/01/2013 04:39 AM, Maxime COQUELIN wrote: This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top

[PATCH] backlight: lm3630: fix sparse warning.

2013-10-02 Thread Daniel Jeong
This patch is to fix sparse warning due to mixing different enum type. Signed-off-by: Daniel Jeong gshark.je...@gmail.com --- drivers/video/backlight/lm3630a_bl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/lm3630a_bl.c

[GIT PULL] pinctrl fixes for v3.12

2013-10-02 Thread Linus Walleij
Hi Linus, here is a smallish batch of fixes for the pin control stuff in v3.12. All but the topmost commit were tested in Linux-next prior to Stephens leave. Please pull them in! Yours, Linus Walleij The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux

Re: [PATCH 2/2] cpufreq: make return type of lock_policy_rwsem_{read|write}() as void

2013-10-02 Thread Viresh Kumar
On 30 September 2013 23:58, Rafael J. Wysocki r...@sisk.pl wrote: On Monday, September 16, 2013 08:40:17 PM Viresh Kumar wrote: lock_policy_rwsem_{read|write}() currently has return type of int but it always return zero and hence its return type must be void instead. This patch makes its

Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-10-02 Thread Borislav Petkov
On Sat, Jun 15, 2013 at 10:27:19AM -0600, Alex Williamson wrote: At best the current code only seems to free the leaf pagetables and the root. If you're unlucky enough to have a large gap (like any QEMU guest with more than 3G of memory), only the first chunk of leaf pagetables are freed

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Paolo Bonzini
Il 02/10/2013 07:09, Paul Mackerras ha scritto: On Tue, Oct 01, 2013 at 01:19:06PM +0200, Paolo Bonzini wrote: Anyhow, I would like to know more about this hwrng and hypercall. Does the hwrng return random numbers (like rdrand) or real entropy (like rdseed that Intel will add in Broadwell)?

Re: [PATCH] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-10-02 Thread Andreas Larsson
On 2013-10-01 16:19, Felipe Balbi wrote: Hi, On Tue, Oct 01, 2013 at 10:34:47AM +0200, Andreas Larsson wrote: +/* #define VERBOSE_DEBUG */ we don't want this, we want verbose debug to be selectable on Kconfig, which already is ;-) I was only aware of CONFIG_USB_GADGET_DEBUG leading to

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

2013-10-02 Thread Frederic Weisbecker
On Wed, Sep 25, 2013 at 02:43:28PM -0700, Andrew Morton wrote: On Wed, 25 Sep 2013 14:32:14 -0700 (PDT) Hugh Dickins hu...@google.com wrote: On Wed, 25 Sep 2013, Andrew Morton wrote: On Wed, 25 Sep 2013 11:06:43 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew,

Re: [PATCH 11/11] perf: Avoid uninitialized sample type reference in __perf_event__output_id_sample

2013-10-02 Thread Peter Zijlstra
On Mon, Sep 30, 2013 at 01:29:12PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com __perf_event__output_id_sample looks at data-type to decide what to output. A lot of of the custom output functions, for example perf_log_throttle start with perf_event_header__init_id, which

[PATCH] perf tool: add example to perf-trace documentation

2013-10-02 Thread Ramkumar Ramachandra
It's not clear that perf trace must be run as a privileged user, so include an example demonstrating its usage with sudo. While at it, update the synopsis to include options. Cc: Ingo Molnar mi...@kernel.org Cc: Namhyung Kim namhy...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-02 Thread Wolfram Sang
+Optional properties : +- i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width that is allowed + through the deglitch circuit. In units of us. +- i2c-min-sda-pulse-width-us : The minimum valid SDA pulse width that is allowed + through the deglitch circuit. In units of

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-02 Thread Arend van Spriel
On 10/01/2013 03:19 PM, Balaji T K wrote: Hi Roger, It has been a while, but I would like to pickup this thread. We have a couple of pandaboards used as test setup. These have an SDIO adapter hooked up to expansion connector A using MMC2. I have attached the patch file (just ignore

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Benjamin Herrenschmidt
On Wed, 2013-10-02 at 10:46 +0200, Paolo Bonzini wrote: Thanks. Any chance you can give some numbers of a kernel hypercall and a userspace hypercall on Power, so we have actual data? For example a hypercall that returns H_PARAMETER as soon as possible. I don't have (yet) numbers at hand

Re: [PATCH] hotplug: Optimize {get,put}_online_cpus()

2013-10-02 Thread Peter Zijlstra
On Tue, Oct 01, 2013 at 08:07:50PM +0200, Oleg Nesterov wrote: But note that you do not strictly need this change. Just kill cpuhp_waitcount, then we can change cpu_hotplug_begin/end to use xxx_enter/exit we discuss in another thread, this should likely join all

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Alexander Graf
On 02.10.2013, at 11:06, Benjamin Herrenschmidt wrote: On Wed, 2013-10-02 at 10:46 +0200, Paolo Bonzini wrote: Thanks. Any chance you can give some numbers of a kernel hypercall and a userspace hypercall on Power, so we have actual data? For example a hypercall that returns H_PARAMETER

Re: [PATCH 6/7] x86, kaslr: report kernel offset on panic

2013-10-02 Thread HATAYAMA Daisuke
(2013/10/02 16:48), Kees Cook wrote: On Tue, Oct 1, 2013 at 5:38 PM, HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: (2013/10/02 4:37), Kees Cook wrote: When the system panics, include the kernel offset in the report to assist in debugging. Signed-off-by: Kees Cook keesc...@chromium.org ---

[PATCH v2] USB: gadget: s3c-hsotg: fix maxpacket size

2013-10-02 Thread Robert Baldyga
This patch changes ep maxpacket value from 512 to 1024, because it's needed to handle interupt and isochronous endpoints in high-speed mode. This change doesn't affect on driver functioning, because fifo size (3072) is still enough for the maximum transaction payload (3*1024 for high-speed

[PATCH] HID: multitouch: Fix GeneralTouch products and add more PIDs

2013-10-02 Thread Benjamin Tissoires
From: Luosong andr...@generaltouch.com GeneralTouch products should use the quirk SLOT_IS_CONTACTID instead of SLOT_IS_CONTACTNUMBER. Adding PIDs 0101,e100,0102,0106,010a from the new products. Tested on new and older products by GeneralTouch engineers. Signed-off-by: Luosong

[QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread Ramkumar Ramachandra
Hi, All the other perf tooling can be used as a normal user. At one point, I had to touch /proc/sys/kernel/perf_event_paranoid to get me numbers on a PMU event without a symbolic name, but that's about it. perf-trace seems to be the exception though: artagnon|perf-core=:~/src/linux/tools/perf$

[PATCH] of/of_reserved_mem.c: fix typo

2013-10-02 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/of/of_reserved_mem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c index 0fe40c7..c7a1ea3

Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel

2013-10-02 Thread Jiri Olsa
On Mon, Sep 30, 2013 at 06:42:10PM +0200, Ingo Molnar wrote: This series (with combo patch attached) implements (much) faster perf-tools feature-auto-detection. I used 3 tricks to implement feature auto-dependencies and to speed up feature detection: - standalone Makefile in

[PATCH] tools/perf/build: Automatically build in parallel, based on number of CPUs in the system

2013-10-02 Thread Ingo Molnar
This patch below fixes another tools/perf build system annoyance: that it does not build in parallel by default. The effect is that for example 'make install' will build in parallel (dependent on number of CPUs in the system) and then install the result. Thanks, Ingo

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-02 Thread Maxime COQUELIN
On 10/02/2013 11:02 AM, Wolfram Sang wrote: +Optional properties : +- i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width that is allowed + through the deglitch circuit. In units of us. +- i2c-min-sda-pulse-width-us : The minimum valid SDA pulse width that is allowed +

Re: [PATCH] perf tool: simplify a git command in PERF-VERSION-GEN

2013-10-02 Thread Ingo Molnar
* Ramkumar Ramachandra artag...@gmail.com wrote: Replace a complex git log invocation with a simpler git rev-parse invocation. Cc: Ingo Molnar mi...@kernel.org Cc: Namhyung Kim namhy...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Signed-off-by: Ramkumar Ramachandra

Re: [PATCH v2] serial: 8250_dw: Improve unwritable LCR workaround

2013-10-02 Thread Heikki Krogerus
Hi, On Tue, Oct 01, 2013 at 10:18:08AM -0700, Tim Kryger wrote: When configured with UART_16550_COMPATIBLE=NO or in versions prior to the introduction of this option, the Designware UART will ignore writes to the LCR if the UART is busy. The current workaround saves a copy of the last

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Alexander Graf
On 02.10.2013, at 11:11, Alexander Graf wrote: On 02.10.2013, at 11:06, Benjamin Herrenschmidt wrote: On Wed, 2013-10-02 at 10:46 +0200, Paolo Bonzini wrote: Thanks. Any chance you can give some numbers of a kernel hypercall and a userspace hypercall on Power, so we have actual

[PATCH 09/16] sched/wait: Collapse __wait_event_interruptible_exclusive()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 04/16] sched/wait: Introduce ___wait_event()

2013-10-02 Thread Peter Zijlstra
There's far too much duplication in the __wait_event macros; in order to fix this introduce ___wait_event() a macro with the capability to replace most other macros. With the previous patches changing the various __wait_event*() implementations to be more uniform; we can now collapse the lot

[PATCH 03/16] sched/wait: Change the wait_exclusive control flow

2013-10-02 Thread Peter Zijlstra
Purely a preparatory patch; it changes the control flow to match what will soon be generated by generic code so that that patch can be a unity transform. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/wait.h |9 + 1

Re: applesmc oops in 3.10/3.11

2013-10-02 Thread Henrik Rydberg
Patch added on top of 3.12.0-0.rc3.git0.1.fc20.x86_64 and built. But after ~dozen reboots, I'm not triggering the problem. The only items in dmesg with smc in it: [ 13.799819] applesmc: key=261 fan=2 temp=14 index=14 acc=1 lux=2 kbd=1 [ 13.833402] input: applesmc as

[PATCH 16/16] sched/wait: Make the __wait_event*() interface more friendly

2013-10-02 Thread Peter Zijlstra
Change all __wait_event*() implementations to match the corresponding wait_event*() signature for convenience. In particular this does away with the weird 'ret' logic. Since there are __wait_event*() users this requires we update them too. Reviewed-by: Oleg Nesterov o...@redhat.com

[PATCH 01/16] sched/wait: Make the signal_pending() checks consistent

2013-10-02 Thread Peter Zijlstra
There's two patterns to check signals in the __wait_event*() macros: if (!signal_pending(current)) { schedule(); continue; } ret = -ERESTARTSYS; break; And the more natural: if (signal_pending(current)) { ret = -ERESTARTSYS; break; } schedule();

[PATCH 13/16] sched/wait: Collapse __wait_event_interruptible_tty()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 02/16] sched/wait: Change timeout logic

2013-10-02 Thread Peter Zijlstra
Commit 4c663cf (wait: fix false timeouts when using wait_event_timeout()) introduced an additional condition check after a timeout but there's a few issues; - it forgot one site - it put the check after the main loop; not at the actual timeout check. Cure both; by wrapping the condition (as

[PATCH 08/16] sched/wait: Collapse __wait_event_interruptible_timeout()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 00/16] sched/wait: Collapse __wait_event macros -v5

2013-10-02 Thread Peter Zijlstra
While poking at the cpu hotplug implementation I had a desire to use wait_event() with schedule_preempt_disabled() and found the ridiculous amount of duplication in linux/wait.h. These patches cure all the bloat and inconsistencies of these macros that me and others noticed, while also making it

[PATCH 07/16] sched/wait: Collapse __wait_event_interruptible()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 14/16] sched/wait: Collapse __wait_event_killable()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -582,22 +582,7 @@ do {

[PATCH 06/16] sched/wait: Collapse __wait_event_timeout()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 05/16] sched/wait: Collapse __wait_event()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/wait.h | 13 ++--- 1 file changed, 2 insertions(+), 11

[PATCH 12/16] sched/wait: Collapse __wait_event_interruptible_lock_irq_timeout()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 11/16] sched/wait: Collapse __wait_event_interruptible_lock_irq()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 10/16] sched/wait: Collapse __wait_event_lock_irq()

2013-10-02 Thread Peter Zijlstra
Reduce macro complexity by using the new ___wait_event() helper. No change in behaviour, identical generated code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- include/linux/tty.h | 21 + include/linux/wait.h | 192

[PATCH 15/16] sched/wait: Collapse __wait_event_hrtimeout()

2013-10-02 Thread Peter Zijlstra
While not a whole-sale replacement like the others we can still reduce the size of __wait_event_hrtimeout() considerably by noting that the actual core of __wait_event_hrtimeout() is identical to what ___wait_event() generates. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Peter

Re: [PATCH] tick: make sleep length calculation more accurate

2013-10-02 Thread Daniel Lezcano
On 10/01/2013 11:31 PM, Stephen Boyd wrote: On 09/27/13 03:52, Daniel Lezcano wrote: The sleep_length is computed in the tick_nohz_stop_sched_tick function but it is used later in the code with in between the local irq enabled. cpu_idle_loop tick_nohz_idle_enter [ exits with local

Re: [PATCH 8/8] perf tools: Get current comm instead of last one

2013-10-02 Thread Frederic Weisbecker
On Thu, Sep 26, 2013 at 05:58:10PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com At insert time, a hist entry should reference comm at the time otherwise it'll get the last comm anyway. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Frederic Weisbecker

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Gleb Natapov
On Wed, Oct 02, 2013 at 11:50:50AM +0200, Alexander Graf wrote: On 02.10.2013, at 11:11, Alexander Graf wrote: On 02.10.2013, at 11:06, Benjamin Herrenschmidt wrote: On Wed, 2013-10-02 at 10:46 +0200, Paolo Bonzini wrote: Thanks. Any chance you can give some numbers of a

Re: PERF_EVENT_IOC_SET_OUTPUT

2013-10-02 Thread Peter Zijlstra
On Tue, Oct 01, 2013 at 10:11:56PM +0300, Adrian Hunter wrote: Hi It does not seem possible to use set-output between task contexts of different types (e.g. a software event to a hardware event) If you look at perf_event_set_output(): /* * If its not a per-cpu rb,

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-10-02 Thread Borislav Petkov
On Mon, Sep 23, 2013 at 08:06:38PM -0700, H. Peter Anvin wrote: Okay... I see two problems. 1. It looks like we subtract the region size after, rather than before, assigning an address. Ok, so I'm looking at this agan and, actually, we really do subtract the region size *before* we assign

Re: [PATCH 1/3] perf tools: Separate lbfd check out of NO_DEMANGLE condition

2013-10-02 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: Hi Jiri, On Wed, 2 Oct 2013 10:17:57 +0200, Jiri Olsa wrote: On Wed, Oct 02, 2013 at 10:18:32AM +0900, Namhyung Kim wrote: It seems that it needs libdl for loading plugins. Adding -ldl makes above build successfully. So we need to add -ldl

[PATCH v4] USB: gadget: epautoconf: fix ep maxpacket check

2013-10-02 Thread Robert Baldyga
This patch fix validation of maxpacket value given in endpoint descriptor. Add check of maxpacket for bulk endpoints. If maxpacket is not set in descriptor, it's set to maximum value for given type on endpoint in used speed. Correct maxpacket value is: FULL-SPEEDHIGH-SPEED

Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel

2013-10-02 Thread Ingo Molnar
* Jiri Olsa jo...@redhat.com wrote: @@ -388,7 +410,7 @@ else has_cplus_demangle := $(call try-cc,$(SOURCE_CPLUS_DEMANGLE),$(FLAGS_CPLUS_DEMANGLE),demangle) ifeq ($(has_cplus_demangle),y) EXTLIBS += -liberty -CFLAGS +=

Re: [PATCH 3/4] regulator: da9052: Use apply_[reg|bit] with regmap based voltage_sel operations

2013-10-02 Thread Michael Grzeschik
Hi Axel, Mark, we should not play to much with generous functions for this pmics. With this patch we loose the fix_io code path from da9052_reg_update. include/linux/mfd/da9052.h ... if (da9052-fix_io) { ret = da9052-fix_io(da9052, reg); if (ret 0)

Re: [PATCH 1/8] perf callchain: Convert children list to rbtree

2013-10-02 Thread Frederic Weisbecker
On Thu, Sep 26, 2013 at 05:58:03PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Current collapse stage has a scalability problem which can be reproduced easily with parallel kernel build. This is because it needs to traverse every children of callchain linearly during

Re: [PATCH] hotplug: Optimize {get,put}_online_cpus()

2013-10-02 Thread Srivatsa S. Bhat
On 10/01/2013 11:44 PM, Srivatsa S. Bhat wrote: On 10/01/2013 11:06 PM, Peter Zijlstra wrote: On Tue, Oct 01, 2013 at 10:41:15PM +0530, Srivatsa S. Bhat wrote: However, as Oleg said, its definitely worth considering whether this proposed change in semantics is going to hurt us in the future.

Re: [PATCH v3 03/10] ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct usbhs_phy_data

2013-10-02 Thread Roger Quadros
Hi Tony, On 09/24/2013 11:53 AM, Roger Quadros wrote: The platform data bits can be inferred from the other members of struct usbhs_phy_data. So get rid of the platform_data member. Build the platform data for the PHY device in usbhs_init_phys() instead. Signed-off-by: Roger Quadros

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-02 Thread Arend van Spriel
On 10/01/2013 01:29 PM, Luca Coelho wrote: Hi, On Tue, 2013-10-01 at 12:53 +0200, Arend van Spriel wrote: On 10/01/2013 11:53 AM, Roger Quadros wrote: On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van

Re: [PATCH v3 04/10] ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes

2013-10-02 Thread Roger Quadros
Hi Tony, On 09/24/2013 11:53 AM, Roger Quadros wrote: The USB phy-nop nop driver expects the RESET line information to be sent as a GPIO number via platform data. Adapt to that. Signed-off-by: Roger Quadros rog...@ti.com Need your Ack on this one as well. cheers, -roger ---

Re: spinlock contention of files-file_lock

2013-10-02 Thread Al Viro
On Wed, Oct 02, 2013 at 07:13:19AM +0200, Ingo Molnar wrote: * Al Viro v...@zeniv.linux.org.uk wrote: On Tue, Oct 01, 2013 at 02:41:58PM -0700, Eric Dumazet wrote: Maybe I am missing something obvious ? Yes. do_execve_common() starts with unshare_files(); there can be no other

Re: [PATCH] clocksource: arm_arch_timer: Use clocksource for suspend timekeeping

2013-10-02 Thread Daniel Lezcano
On 09/27/2013 10:13 PM, Stephen Boyd wrote: The ARM architected timers keep counting during suspend so we can mark this clocksource with the CLOCK_SOURCE_SUSPEND_NONSTOP flag. This flag will indicate that this clocksource can be used for calculating suspend time and injecting sleep time into the

[PATCH 1/1] virt/kvm/iommu.c: Add leading zeros to device's BDF notation in debug messages

2013-10-02 Thread Andre Richter
When KVM (de)assigns PCI(e) devices to VMs, a debug message is printed including the BDF notation of the respective device. Currently, the BDF notation does not have the commonly used leading zeros. This produces messages like assign device 0:1:8.0, which look strange at first sight. The patch

[PATCH] bq2415x_charger: fix max battery regulation voltage

2013-10-02 Thread Alexandre Belloni
As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value is: (4440 - 3500) / 20 = 47 Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/power/bq2415x_charger.c | 2 +- 1 file changed, 1

[PATCH V2] tick: Make sleep length calculation more accurate

2013-10-02 Thread Daniel Lezcano
The sleep_length is computed in the tick_nohz_stop_sched_tick function but it is used later in the code with in between the local irq enabled. cpu_idle_loop tick_nohz_idle_enter [ exits with local irq enabled ] __tick_nohz_idle_enter tick_nohz_stop_sched_tick ...

Re: PERF_EVENT_IOC_SET_OUTPUT

2013-10-02 Thread Frederic Weisbecker
On Wed, Oct 02, 2013 at 12:03:50PM +0200, Peter Zijlstra wrote: On Tue, Oct 01, 2013 at 10:11:56PM +0300, Adrian Hunter wrote: Hi It does not seem possible to use set-output between task contexts of different types (e.g. a software event to a hardware event) If you look at

Re: [PATCH 0/3] New descriptor-based GPIO interface

2013-10-02 Thread Linus Walleij
On Sat, Sep 28, 2013 at 12:33 PM, Alexandre Courbot gnu...@gmail.com wrote: On Fri, Sep 27, 2013 at 9:06 PM, Linus Walleij linus.wall...@linaro.org wrote: I've applied it now, but no idea whether it will hit the last -next tree in time, hopefully at the very last second ... Crap, looks

  1   2   3   4   5   6   7   8   9   >