Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-04 Thread Vlastimil Babka
On 01/04/2014 01:18 AM, Linus Torvalds wrote: On Fri, Jan 3, 2014 at 3:36 PM, Vlastimil Babka vba...@suse.cz wrote: I'm for going with the removal of BUG_ON. The TestSetPageMlocked should provide enough race protection. Maybe. But dammit, that's subtle, and I don't think you're even

[PATCH] Input: twl6040_vibra - remove unneeded check for CONFIG_OF

2014-01-04 Thread Dmitry Torokhov
Since the driver requires DT now we do not need to check if CONFIG_OF is defined. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/misc/twl6040-vibra.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/input/misc/twl6040-vibra.c

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Paolo Bonzini
Il 03/01/2014 23:46, Rafael J. Wysocki ha scritto: Well, fixing the KVM bug is surely welcome. That said, adding checks to ensure that your assumptions are valid is rarely wrong, especially if they are done once per kernel boot. And the kernel only should panic if it cannot continue to run,

Re: [PATCHv4 0/2] twl4030-keypad DT binding

2014-01-04 Thread Dmitry Torokhov
Hi Sebastian, On Sat, Jan 04, 2014 at 06:40:06AM +0100, Sebastian Reichel wrote: Dmitry, What's the status of this patch? Can you queue this for 3.14? I just queued it. Thanks. -- Dmitry -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH] Power: ab8500_charger: Fixed coding style issues.

2014-01-04 Thread ritsz
Fixed coding style issues related to braces and space after comma. Signed-off-by: Ritesh Ranjan r.ranjan...@gmail.com --- drivers/power/ab8500_charger.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c

Re: [PATCH] Input: twl6040_vibra - remove unneeded check for CONFIG_OF

2014-01-04 Thread David Herrmann
Hi On Sat, Jan 4, 2014 at 9:11 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Since the driver requires DT now we do not need to check if CONFIG_OF is defined. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/misc/twl6040-vibra.c | 5 + 1 file changed,

Re: [PATCH v3 1/2] usb: musb: add support for JZ4740 usb device controller

2014-01-04 Thread Richard Weinberger
Am Samstag, 4. Januar 2014, 12:06:22 schrieb Apelete Seketeli: On 04-Jan-14, Richard Weinberger wrote: On Thu, Dec 19, 2013 at 9:42 PM, Apelete Seketeli apel...@seketeli.net wrote: Add support for Ingenic JZ4740 USB Device Controller through a specific musb glue layer. JZ4740 UDC

Re: [PATCH v3 1/2] usb: musb: add support for JZ4740 usb device controller

2014-01-04 Thread Apelete Seketeli
On 04-Jan-14, Richard Weinberger wrote: On Thu, Dec 19, 2013 at 9:42 PM, Apelete Seketeli apel...@seketeli.net wrote: Add support for Ingenic JZ4740 USB Device Controller through a specific musb glue layer. JZ4740 UDC not being OTG compatible and missing some hardware registers, this

Re: [PATCH v3 1/2] usb: musb: add support for JZ4740 usb device controller

2014-01-04 Thread Lars-Peter Clausen
On 01/04/2014 12:11 PM, Richard Weinberger wrote: Am Samstag, 4. Januar 2014, 12:06:22 schrieb Apelete Seketeli: On 04-Jan-14, Richard Weinberger wrote: On Thu, Dec 19, 2013 at 9:42 PM, Apelete Seketeli apel...@seketeli.net wrote: Add support for Ingenic JZ4740 USB Device Controller through

Re: [usb:usb-next 50/92] drivers/usb/serial/pl2303.c:149 pl2303_vendor_read() error: doing dma on the stack (buf)

2014-01-04 Thread Johan Hovold
On Sat, Jan 04, 2014 at 05:28:35AM +0800, kbuild test robot wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: bd6383c81d5f33e01688a87c50a8d3a878aa43d5 commit: 362eb02603be7bb835c47f2cf585954a5080449d [50/92] USB: pl2303: add error handling to vendor

Re: linux-next: manual merge of the renesas tree with the arm-soc tree

2014-01-04 Thread Stephen Rothwell
Hi Olof, On Fri, 3 Jan 2014 21:11:29 -0800 Olof Johansson o...@lixom.net wrote: Now I can't resolve it properly and move the entries when I do the same merge (and get the same conflict), because that will cause a third conflict for Stephen, and he's about to return from vacation and is going

Re: [PATCH] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks

2014-01-04 Thread Pavel Machek
On Mon 2013-12-30 18:17:52, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov freemangor...@abv.bg Commit c37dd677988ca50bc8bc60ab5ab053720583c168 fixes the unbalanced unlock in acx565akm_enable but introduces another problem - if acx565akm_panel_power_on exits early, the mutex is not unlocked.

[0/3] Driver core patches for kernel 3.14

2014-01-04 Thread Bart Van Assche
This series consists of the following three patches: 0001-kobject-Fix-source-code-comment-spelling.patch 0002-firmware-loader-Add-sparse-annotation.patch 0003-driver-core-Fix-use-after-free-triggered-by-bus_unre.patch -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 1/3] kobject: Fix source code comment spelling

2014-01-04 Thread Bart Van Assche
Signed-off-by: Bart Van Assche bvanass...@acm.org --- lib/kobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kobject.c b/lib/kobject.c index 5b4b888..0061f55 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -346,7 +346,7 @@ static int kobject_add_varg(struct

[PATCH 2/3] firmware loader: Add sparse annotation

2014-01-04 Thread Bart Van Assche
Avoid that sparse reports the following warning on __fw_free_buf(): drivers/base/firmware_class.c:230:9: warning: context imbalance in '__fw_free_buf' - unexpected unlock Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: Ming Lei ming@canonical.com --- drivers/base/firmware_class.c | 1

[PATCH 3/3] driver-core: Fix use-after-free triggered by bus_unregister()

2014-01-04 Thread Bart Van Assche
Avoid that bus_unregister() triggers a use-after-free with CONFIG_DEBUG_KOBJECT_RELEASE=y. This patch avoids that the following sequence triggers a kernel crash with memory poisoning enabled: * bus_register() * driver_register() * driver_unregister() * bus_unregister() The above sequence causes

Re: [PATCH 1/1] thermal: fix cpu_cooling max_level behavior

2014-01-04 Thread Eduardo Valentin
On 02-01-2014 00:02, Zhang Rui wrote: On Fri, 2013-12-06 at 09:52 -0400, Eduardo Valentin wrote: On 13-11-2013 14:11, Eduardo Valentin wrote: As per Documentation/thermal/sysfs-api.txt, max_level is an index, not a counter. Thus, in case a CPU has 3 valid frequencies, max_level is expected to

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-04 Thread Mark Lord
On 14-01-03 10:40 AM, walt wrote: On 01/02/2014 11:15 AM, Sarah Sharp wrote: On Tue, Dec 31, 2013 at 12:40:16PM -0800, walt wrote: On 12/18/2013 01:11 PM, Greg Kroah-Hartman wrote: 3.12-stable review patch. If anyone has any objections, please let me know. -- From: David

FROM DR. WILSON ANDERSON

2014-01-04 Thread FROM DR. WILSON ANDERSON
DR. WILSON ANDERSON.docx Description: Binary data

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Rafael J. Wysocki
On Saturday, January 04, 2014 09:35:58 AM Paolo Bonzini wrote: Il 03/01/2014 23:46, Rafael J. Wysocki ha scritto: Well, fixing the KVM bug is surely welcome. That said, adding checks to ensure that your assumptions are valid is rarely wrong, especially if they are done once per kernel

Re: mm: kernel BUG at mm/huge_memory.c:1440!

2014-01-04 Thread Sasha Levin
On 12/23/2013 04:28 PM, Sasha Levin wrote: On 12/23/2013 03:02 PM, Kirill A. Shutemov wrote: [ 265.474585] kernel BUG at mm/huge_memory.c:1440! Could you dump_page() on the bug? [ 469.007946] page:ea0005bd8000 count:3 mapcount:0 mapping:8800bcd3d171 index: 0x7fca81000 [

How does a newbie find work?

2014-01-04 Thread Gideon D'souza
Hey Guys, I've been looking to hacking at the kernel for a long time now. I've managed to have a good setup, build the latest stable kernel and boot from it. I've read some of the docs, Coding Styles etc and watched GregKH's talks on youtube. I'm also reading Robert Love's Linux Kernel

[PATCH v6 6/9] phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver

2014-01-04 Thread Tomasz Figa
From: Mateusz Krawczuk mat.krawc...@gmail.com Add support for the Samsung's S5PV210 SoC to the Exynos USB 2.0 PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: cleanup and commit description] [k.deb...@samsung.com: make changes accordingly to the

Re: [PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2014-01-04 Thread Frederic Weisbecker
On Fri, Jan 03, 2014 at 03:45:36PM -0700, David Ahern wrote: On 1/3/14, 3:07 PM, Frederic Weisbecker wrote: I'm not sure I understand why we need that. Why doesn't it work by simply flushing events prior to the earliest timestamp among every CPUs last event? Here's one scenario. Consider

[PATCHv3 0/13] Staging: vt6656: Cleanup of checkpatch problems in bssdb.c

2014-01-04 Thread Sebastian Rachuj
This patch series reformats the bssdb.c file of the vt6656 driver in staging. It resolves all errors and some warnings which checkpatch.pl discovered. However some occurrences of the following warnings are not patched: - Lines over 80 characters - Too many indentation levels - printk should

[PATCH 05/13] Staging: vt6656: Correct single space mistakes

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu Adds missing spaces between an if-statement and its condition as well as between the condition and the following curly brace. At casts there is also a space added between the type and the variable. Spaces that either follow an opening parenthese or the

[PATCH 10/13] Staging: vt6656: Combined nested conditions

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu This patch reduces the level of indentation in bssdb.c of the vt6656 driver by transforming nested conditions to a series of logical conjunctions. E.g. if (cond1) { if (cond2) { block(); } } is transformed to if (cond1

[PATCH 08/13] Staging: vt6656: Combine else { if to else if

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu This patch combines single ifs within the block of an else to a single else if statement. Therefore code that looks like that else { if (cond) { statements; } else { other_statements; } } is

[PATCH 13/13] Staging: vt6656: Reduce line length of bssdb.c

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu Long lines are split into multiple ones to reduce the line length. Additionally some alignment fixes are made that previous patches missed. Unfortunately, due to the high indentation levels present in parts of bssdb.c, this patch leaves some lines which

[PATCH 11/13] Staging: vt6656: Remove bogus parentheses in conditions

2014-01-04 Thread Sebastian Rachuj
Removes unrequired parentheses around comparisons in complex conditions. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de Signed-off-by: Simon Schuster li...@rationality.eu --- drivers/staging/vt6656/bssdb.c | 138 - 1 file changed,

[PATCH 12/13] Staging: vt6656: Remove explicit comparisons against NULL

2014-01-04 Thread Sebastian Rachuj
Explicit comparisons of pointers agains NULL (like if (p != NULL) ...) are not as readable as the implicit comparison (like if (p) ...). This patch converts all these explicit comparisons to implicit ones. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de Signed-off-by:

[PATCH 09/13] Staging: vt6656: Correct usage of braces

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu Conforming to the linux coding style guidelines, a single line block of an if statement does not require curly braces unless another block of the if cascade requires them. Therefore unnecessary curly braces are removed by this patch and missing ones are

Re: [PATCHv9] dmaengine: Add support for BCM2835

2014-01-04 Thread Florian Meier
On 02.01.2014 19:03, Arnd Bergmann wrote: On Thursday 02 January 2014 18:49:23 Florian Meier wrote: Add support for DMA controller of BCM2835 as used in the Raspberry Pi. Currently it only supports cyclic DMA. Looks very nice. Just a few details I noticed: +#if defined(CONFIG_OF) +static

[PATCH 06/13] Staging: vt6656: Remove line feeds before else

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu An else belongs in the same line as the closing curly brace of the previous block. Hence, this patch removes line feeds separating a curly brace from the corresponding else. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de

[PATCH 04/13] Staging: vt6656: Correct operator coding style

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu Adds spaces around operators (like , ||, !=, +, ...) and removes spaces before postfix increment and decrement operators. Parentheses around return values are removed, too. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de

[PATCH 07/13] Staging: vt6656: Remove unnecessary spaces in format strings

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu A space in a format string is unnecessary if it is followed by a line feed. These spaces are removed by this patch. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de Signed-off-by: Simon Schuster li...@rationality.eu ---

[PATCH 02/13] Staging: vt6656: Adjust comments in bssdb.c

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu Changes C99-style comments to C89-style ones to conform to the linux coding guidelines. Additionally removes plus and minus signs from the function description comments. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de

[PATCH 03/13] Staging: vt6656: Remove unnecessary semicolons

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster li...@rationality.eu After some blocks in bssdb.c there are semicolons that are not required to be there. Therefore they are removed with this patch. Signed-off-by: Sebastian Rachuj sebastian.rac...@studium.uni-erlangen.de Signed-off-by: Simon Schuster li...@rationality.eu

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Stephen Rothwell
Hi Dave, On Thu, 02 Jan 2014 12:20:14 -0800 Dave Hansen d...@sr71.net wrote: From: Dave Hansen dave.han...@linux.intel.com There are 7 architecures with config SECCOMP. They all have virtually the same help text except for those referencing the /proc interface which was removed in 2007.

Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the error handling on probe

2014-01-04 Thread Fabio Estevam
Hi Dmitry, On Fri, Jan 3, 2014 at 10:02 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Tue, Dec 24, 2013 at 01:03:57PM +, Mark Brown wrote: On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Currently when

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Tejun Heo
Hello, On Fri, Jan 03, 2014 at 12:34:41PM -0800, Peter P Waskiewicz Jr wrote: The CPU features themselves are relatively straight-forward, but the presentation of the data is less straight-forward. Since this tracks cache usage and occupancy per process (by swapping Resource Monitor IDs, or

Re: Linux 3.2.54

2014-01-04 Thread Teck Choon Giam
Hi Ben, On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings b...@decadent.org.uk wrote: I'm announcing the release of the 3.2.54 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at:

Re: [PATCH v2 1/1] mm: fix the theoretical compound_lock() vs prep_new_page() race

2014-01-04 Thread Oleg Nesterov
On 01/03, Andrew Morton wrote: On Fri, 3 Jan 2014 20:55:47 +0100 Oleg Nesterov o...@redhat.com wrote: get/put_page(thp_tail) paths do get_page_unless_zero(page_head) + compound_lock(). In theory this page_head can be already freed and reallocated as alloc_pages(__GFP_COMP, smaller_order).

[PATCH 0/3] trace-cmd: Updates for kvm plugin

2014-01-04 Thread Jan Kiszka
Patch 1 is resent unchanged from a previous round, patches 2 and 3 improve the output of nested vmexit tracepoints. Jan Kiszka (3): trace-cmd: Report unknown VMX exit reasons with code trace-cmd: Factor out print_exit_reason in kvm plugin trace-cmd: Fix and cleanup kvm_nested_vmexit

[PATCH 1/3] trace-cmd: Report unknown VMX exit reasons with code

2014-01-04 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Allows to parse the result even if the KVM plugin does not yet understand a specific exit code. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- plugin_kvm.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugin_kvm.c

[PATCH 3/3] trace-cmd: Fix and cleanup kvm_nested_vmexit tracepoints

2014-01-04 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Fix several issues of kvm_nested_vmexit[_inject]: field width aren't supported with pevent_print, rip was printed twice/incorrectly, SVM ISA was hard-coded, we don't use ':' to separate field names. Signed-off-by: Jan Kiszka jan.kis...@siemens.com ---

[PATCH 2/3] trace-cmd: Factor out print_exit_reason in kvm plugin

2014-01-04 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com We will reuse it for nested vmexit tracepoints. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- plugin_kvm.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/plugin_kvm.c b/plugin_kvm.c index 59443e5..c407e55

Re: Linux 3.2.54

2014-01-04 Thread Greg KH
On Sun, Jan 05, 2014 at 12:43:05AM +0800, Teck Choon Giam wrote: Hi Ben, On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings b...@decadent.org.uk wrote: I'm announcing the release of the 3.2.54 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be

Re: [usb:usb-next 50/92] drivers/usb/serial/pl2303.c:149 pl2303_vendor_read() error: doing dma on the stack (buf)

2014-01-04 Thread Dan Carpenter
On Sat, Jan 04, 2014 at 12:23:41PM +0100, Johan Hovold wrote: On Sat, Jan 04, 2014 at 05:28:35AM +0800, kbuild test robot wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: bd6383c81d5f33e01688a87c50a8d3a878aa43d5 commit:

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Paolo Bonzini
Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: Well, it's just a sanity check and it makes the problem go away for the reporter. Your patch is welcome but perhaps it should have a WARN_ON too. It has been pulled in already, so the WARN_ON() can only be added via a separate patch

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-04 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 11:46 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Jan 03, 2014 at 10:49:07PM -0800, Andrey Smirnov wrote: On Fri, Jan 3, 2014 at 10:16 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Jan 03, 2014 at 09:52:25PM -0800, Andrey Smirnov wrote:

Re: [PATCH 1/2] watchdog: bcm281xx: Debugfs support

2014-01-04 Thread Guenter Roeck
On 12/31/2013 01:22 PM, Markus Mayer wrote: This change introduces debugfs support for the BCM281xx watchdog driver. Signed-off-by: Markus Mayer markus.ma...@linaro.org --- drivers/watchdog/Kconfig| 10 drivers/watchdog/bcm_kona_wdt.c | 116

[PATCH] fix crash when using XFS on loopback

2014-01-04 Thread Mikulas Patocka
The patch 8456a648cf44f14365f1f44de90a3da2526a4776 causes crash in the LVM2 testsuite on PA-RISC (the crashing test is fsadm.sh). The testsuite doesn't crash on 3.12, crashes on 3.13-rc1 and later. Bad Address (null pointer deref?): Code=15 regs=00413edd89a0 (Addr=06202224647d) CPU: 3

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Gleb Natapov
On Sat, Jan 04, 2014 at 06:38:59PM +0100, Paolo Bonzini wrote: Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: Well, it's just a sanity check and it makes the problem go away for the reporter. Your patch is welcome but perhaps it should have a WARN_ON too. It has been pulled in

[PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Mikulas Patocka
Hi I noticed that Jeff Mahoney added a new structure kobj_completion, defined in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch eee031649707db3c9920d9498f8d03819b74fc23. In the current upstream kernel, this interface is still unused. However, converting the drivers to use

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Jeff Mahoney
On 1/4/14, 1:06 PM, Mikulas Patocka wrote: Hi I noticed that Jeff Mahoney added a new structure kobj_completion, defined in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch eee031649707db3c9920d9498f8d03819b74fc23. In the current upstream kernel, this interface is

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Greg Kroah-Hartman
On Sat, Jan 04, 2014 at 01:06:01PM -0500, Mikulas Patocka wrote: Hi I noticed that Jeff Mahoney added a new structure kobj_completion, defined in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch eee031649707db3c9920d9498f8d03819b74fc23. In the current upstream kernel,

Re: [PATCH] Revert x86: Disable IST stacks for debug/int 3/stack fault for PREEMPT_RT

2014-01-04 Thread Andi Kleen
On Fri, Jan 03, 2014 at 02:55:48PM +0100, Sebastian Andrzej Siewior wrote: where do I start. Let me explain what is going on here. The code sequence Yes the IST stacks are needed for correctness, even in more cases than the example below. You cannot just disable them, just because you don't

[PATCH RFC v2 0/4] perf: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Hello, This is version 2 of RFC perf: IRQ-bound performance events. That is an introduction of IRQ-bound performance events - ones that only count in a context of a hardware interrupt handler. Ingo suggested to extend this functionality to softirq and threaded handlers as well: [quote] Looks

[PATCH RFC v2 3/4] perf/x86/Intel: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- arch/x86/kernel/cpu/perf_event.h |5 ++ arch/x86/kernel/cpu/perf_event_intel.c | 72 +++ 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event.h

[PATCH RFC v2 4/4] perf/tool: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- tools/perf/builtin-stat.c |9 + tools/perf/util/evlist.c | 38 ++ tools/perf/util/evlist.h |3 +++ tools/perf/util/evsel.c|8

[PATCH RFC v2 2/4] perf/x86: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- arch/x86/kernel/cpu/perf_event.c | 55 +++- arch/x86/kernel/cpu/perf_event.h | 10 ++ arch/x86/kernel/cpu/perf_event_amd.c |2 + arch/x86/kernel/cpu/perf_event_intel.c |4 ++

[PATCH RFC v2 1/4] perf/core: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- include/linux/irq.h | 10 + include/linux/irqdesc.h |4 + include/linux/perf_event.h | 24 +++ include/uapi/linux/perf_event.h | 15 ++- kernel/events/Makefile |2 +- kernel/events/core.c

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Al Viro
On Sat, Jan 04, 2014 at 10:16:20AM -0800, Greg Kroah-Hartman wrote: I came up with a simpler patch to achieve the same purpose - this patch makes fixing the drivers easy - the driver is fixed just by replacing kobject_put with kobject_put_wait in the unload routine. No, that's not ok

Re: Linux 3.2.54

2014-01-04 Thread Teck Choon Giam
On Sun, Jan 5, 2014 at 1:32 AM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Jan 05, 2014 at 12:43:05AM +0800, Teck Choon Giam wrote: Hi Ben, On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings b...@decadent.org.uk wrote: I'm announcing the release of the 3.2.54 kernel. All users of the

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread John David Anglin
On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: * flush_dcache_page asks for the list of userspace mappings, however that page-mapping field is reused by the slab subsystem for a different purpose. This causes the crash. I'd noticed the other day that the parisc implementation of

Re: perf-stat changes after Use hrtimers for event multiplexing

2014-01-04 Thread Peter Zijlstra
On Thu, Jan 02, 2014 at 02:12:42PM +0800, fengguang...@intel.com wrote: Greetings, We noticed many perf-stat changes between commit 9e6302056f (perf: Use hrtimers for event multiplexing) and its parent commit ab573844e. Are these expected changes? ab573844e3058ee

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Dave Hansen
On 01/04/2014 07:38 AM, Stephen Rothwell wrote: On Thu, 02 Jan 2014 12:20:14 -0800 Dave Hansen d...@sr71.net wrote: From: Dave Hansen dave.han...@linux.intel.com There is *NOTHING* architecture-specific about SECCOMP except that the syscalls have per-architecture definitions, like every other

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread Mikulas Patocka
On Sat, 4 Jan 2014, John David Anglin wrote: On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: * flush_dcache_page asks for the list of userspace mappings, however that page-mapping field is reused by the slab subsystem for a different purpose. This causes the crash. I'd noticed the

[PATCH] NFC: port100: fix leak of usb_device

2014-01-04 Thread Alexey Khoroshilov
port100_probe() calls usb_get_dev(), but there is no usb_put_dev() in port100_disconnect(). The patch adds one. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/nfc/port100.c | 1 + 1 file changed, 1 insertion(+)

Re: Linux 3.2.54

2014-01-04 Thread Gene Heskett
On Saturday 04 January 2014, Greg KH wrote: On Sun, Jan 05, 2014 at 12:43:05AM +0800, Teck Choon Giam wrote: Hi Ben, On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings b...@decadent.org.uk wrote: I'm announcing the release of the 3.2.54 kernel. All users of the 3.2 kernel series should

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread John David Anglin
On 4-Jan-14, at 2:55 PM, Mikulas Patocka wrote: On Sat, 4 Jan 2014, John David Anglin wrote: On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: * flush_dcache_page asks for the list of userspace mappings, however that page-mapping field is reused by the slab subsystem for a different

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Mikulas Patocka
On Sat, 4 Jan 2014, Greg Kroah-Hartman wrote: On Sat, Jan 04, 2014 at 01:06:01PM -0500, Mikulas Patocka wrote: Hi I noticed that Jeff Mahoney added a new structure kobj_completion, defined in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch

Re: How does a newbie find work?

2014-01-04 Thread Bruno Prémont
Hi Gideon, On Sat, 04 January 2014 Gideon D'souza gidisr...@gmail.com wrote: I've been looking to hacking at the kernel for a long time now. I've managed to have a good setup, build the latest stable kernel and boot from it. I've read some of the docs, Coding Styles etc and watched GregKH's

error when getting page from page table in KVM ept violation handler

2014-01-04 Thread Ruby Zhang
Hi, I'm trying to get a page structure at KVM ept violation handler (in tdp_page_fault). My code is invoked when tdp_page_fault calls __direct_map (where the page fault should have been handled, is it?). But I get a unable to handle kerenel paging request error occasionally when I try to access

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread Mikulas Patocka
On Sat, 4 Jan 2014, John David Anglin wrote: On 4-Jan-14, at 2:55 PM, Mikulas Patocka wrote: On Sat, 4 Jan 2014, John David Anglin wrote: On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: * flush_dcache_page asks for the list of userspace mappings, however that

Hope you are fine.

2014-01-04 Thread Gillian and Adrian Bayford's
Dear Beneficiary My Wife Gillian and I are donating £1.5 Million GBP to you.Contact us via my wife email at (gillianandadr...@qq.com) for further details. Best Regards, Gillian and Adrian Bayford• Copyright ©2014• The Bayford Foundation• All Rights Reserved• -- To unsubscribe from this list:

Re: [patch 1/2]percpu_ida: fix a live lock

2014-01-04 Thread Kent Overstreet
On Tue, Dec 31, 2013 at 11:38:27AM +0800, Shaohua Li wrote: steal_tags only happens when free tags is more than half of the total tags. This is too restrict and can cause live lock. I found one cpu has free tags, but other cpu can't steal (thread is bound to specific cpus), threads which

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Rafael J. Wysocki
On Saturday, January 04, 2014 07:48:13 PM Gleb Natapov wrote: On Sat, Jan 04, 2014 at 06:38:59PM +0100, Paolo Bonzini wrote: Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: Well, it's just a sanity check and it makes the problem go away for the reporter. Your patch is welcome

RE: [PATCH 7/7] Fix uninitialised variable warning in mei-amt-version.c

2014-01-04 Thread Winkler, Tomas
-Original Message- From: David Howells [mailto:dhowe...@redhat.com] Sent: Friday, January 03, 2014 18:34 To: Paul Bolle Cc: dhowe...@redhat.com; a...@linux-foundation.org; Greg Kroah-Hartman; Winkler, Tomas; linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/7] Fix uninitialised

[tip:x86/build] x86, boot: Use .code16 instead of .code16gcc

2014-01-04 Thread tip-bot for David Woodhouse
Commit-ID: e24df921af484e9b7095ee06d236dabdb3bd9c1c Gitweb: http://git.kernel.org/tip/e24df921af484e9b7095ee06d236dabdb3bd9c1c Author: David Woodhouse dw...@infradead.org AuthorDate: Fri, 3 Jan 2014 22:30:42 + Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sat, 4 Jan 2014

[tip:x86/build] x86, sparse: Do not force removal of __user when calling copy_to/from_user_nocheck()

2014-01-04 Thread tip-bot for Steven Rostedt
Commit-ID: df90ca969035d3f6c95044e272f75bf417b14245 Gitweb: http://git.kernel.org/tip/df90ca969035d3f6c95044e272f75bf417b14245 Author: Steven Rostedt rost...@goodmis.org AuthorDate: Fri, 3 Jan 2014 16:45:00 -0500 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sat, 4 Jan 2014

Re: [PATCH] i2c: at91: document clock properties

2014-01-04 Thread Wolfram Sang
On Tue, Dec 17, 2013 at 04:54:04PM +0100, Boris BREZILLON wrote: Document the clock properties required by the at91 i2c bus driver. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the error handling on probe

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 02:00:52PM -0200, Fabio Estevam wrote: Hi Dmitry, On Fri, Jan 3, 2014 at 10:02 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Tue, Dec 24, 2013 at 01:03:57PM +, Mark Brown wrote: On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote: From:

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 09:41:43AM -0800, Andrey Smirnov wrote: Anyway, TL;DR of the whole thing is: - Your arguments do not convince me in the slightest - I don't think that mine do you - Let's stop wasting out time - Do as you see fit, since you are the maintainer Nah, I think I'll

Re: [PATCH v5 1/3] i2c: xilinx: Fix i2c checkpatch warnings

2014-01-04 Thread Wolfram Sang
On Thu, Dec 19, 2013 at 04:05:04PM +0100, Michal Simek wrote: From: Kedareswara rao Appana appana.durga@xilinx.com Code changes to fix checkpatch warnings listed below. - WARNING: please, no space before tabs - WARNING: quoted string split across lines Signed-off-by: Kedareswara rao

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 06:34:03PM +, Al Viro wrote: On Sat, Jan 04, 2014 at 10:16:20AM -0800, Greg Kroah-Hartman wrote: I came up with a simpler patch to achieve the same purpose - this patch makes fixing the drivers easy - the driver is fixed just by replacing kobject_put with

[tip:x86/build] x86, boot: Move intcall() to the .inittext section

2014-01-04 Thread tip-bot for H. Peter Anvin
Commit-ID: 6f34152f54bcf63a49ea701643c81f5b2168fec8 Gitweb: http://git.kernel.org/tip/6f34152f54bcf63a49ea701643c81f5b2168fec8 Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Sat, 4 Jan 2014 14:29:08 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sat, 4 Jan 2014

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Waskiewicz Jr, Peter P
On Sat, 2014-01-04 at 11:10 -0500, Tejun Heo wrote: Hello, Hi Tejun, On Fri, Jan 03, 2014 at 12:34:41PM -0800, Peter P Waskiewicz Jr wrote: The CPU features themselves are relatively straight-forward, but the presentation of the data is less straight-forward. Since this tracks cache

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Tejun Heo
Hello, On Sat, Jan 04, 2014 at 10:43:00PM +, Waskiewicz Jr, Peter P wrote: Simply put, when we want to allocate an RMID for monitoring httpd traffic, we can create a new child in the subsystem hierarchy, and assign the httpd processes to it. Then the RMID can be assigned to the

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Stephen Rothwell
Hi Dave, On Sat, 04 Jan 2014 11:04:20 -0800 Dave Hansen d...@sr71.net wrote: On 01/04/2014 07:38 AM, Stephen Rothwell wrote: On Thu, 02 Jan 2014 12:20:14 -0800 Dave Hansen d...@sr71.net wrote: From: Dave Hansen dave.han...@linux.intel.com There is *NOTHING* architecture-specific about

Linux 3.13-rc7

2014-01-04 Thread Linus Torvalds
I normally do these things from the airport when I fly out, but since I had re-installed on my laptop I chickened out and decided to do it before leaving, just to make sure I had everything set up on the laptop. Wouldn't you guess, the one time I decide to be prudent, it all worked without a

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-04 Thread Ravi Patel
On Sat, Dec 21, 2013 at 11:03 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 21 December 2013 17:00:51 Loc Ho wrote: On Sat, Dec 21, 2013 at 12:11 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 21 December 2013, Ravi Patel wrote: This patch adds support for APM X-Gene SoC Queue

Re: [PATCH] NFC: port100: fix leak of usb_device

2014-01-04 Thread Samuel Ortiz
Hi Alexey, On Sun, Jan 05, 2014 at 12:08:05AM +0400, Alexey Khoroshilov wrote: port100_probe() calls usb_get_dev(), but there is no usb_put_dev() in port100_disconnect(). The patch adds one. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov

3.11.10: rtl8192cu device name, kernel crash

2014-01-04 Thread Herbert Rosmanith
hello list, this afternoon I bought a new usb/wlan adapter, which identifies itself as: # lsusb ... Bus 001 Device 017: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter the first thing I noticed is that the device name is renamed: [ .688299]

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-04 Thread Han Pingtian
On Fri, Jan 03, 2014 at 10:17:54AM -0800, Dave Hansen wrote: On 01/02/2014 07:33 PM, Han Pingtian wrote: @@ -130,8 +130,11 @@ static int set_recommended_min_free_kbytes(void) (unsigned long) nr_free_buffer_pages() / 20); recommended_min = (PAGE_SHIFT-10);

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Dave Hansen
On 01/04/2014 03:33 PM, Stephen Rothwell wrote: I _believe_ the /proc interface has gone away. I can't find any reference to /proc/pid/seccomp in any of the code. Is there some /proc dependency that I'm missing outside of the removed /proc/pid/seccomp interface? I don't know, but if it

Re: [PATCH] drm/i915: Fix refcount leak and possible NULL pointer dereference.

2014-01-04 Thread Tetsuo Handa
Chris Wilson wrote: Then, this file-pid in dev-filelist keeps at least one reference. OK. Updated patch follows. Looks good to me, and the comment is great. -Chris Please pick up this patch via your git tree. Also, please change from unknown to whatever you like. For example,

Re: perf-stat changes after Use hrtimers for event multiplexing

2014-01-04 Thread Fengguang Wu
On Sat, Jan 04, 2014 at 08:02:28PM +0100, Peter Zijlstra wrote: On Thu, Jan 02, 2014 at 02:12:42PM +0800, fengguang...@intel.com wrote: Greetings, We noticed many perf-stat changes between commit 9e6302056f (perf: Use hrtimers for event multiplexing) and its parent commit ab573844e.

[PATCH] [media] cx18: introduce a helper function to void array overrun

2014-01-04 Thread Ethan Zhao
cx18_i2c_register() is called in cx18_init_subdevs() with index greater than length of hw_bus array, that will cause array overrun, introduce a helper cx18_get_max_bus_num() to void it. Signed-off-by: Ethan Zhao ethan.ker...@gmail.com --- drivers/media/pci/cx18/cx18-driver.c | 2 +-

  1   2   3   >