SAVE THE DATE: ARM mini-summit co-hosted with ELC, April 28

2014-03-12 Thread Olof Johansson
People expressed interest in hosting a mini (micro?) summit together with ELC this year, and we are planning to do so. The date will be the day directly before ELC in the same venue: April 28. Seating will, as usual, be limited and invite-only based on proposed topics. More on that in a separate

Re: [patch 3/8] mm: memcg: inline mem_cgroup_charge_common()

2014-03-12 Thread Johannes Weiner
On Wed, Mar 12, 2014 at 01:52:13PM +0100, Michal Hocko wrote: On Tue 11-03-14 21:28:29, Johannes Weiner wrote: [...] @@ -3919,20 +3919,21 @@ out: return ret; } -/* - * Charge the memory controller for page usage. - * Return - * 0 if the charge was successful - * 0 if

Re: [PATCH] pinctrl: st: Fix error check for of_irq_to_resource usage

2014-03-12 Thread Linus Walleij
On Wed, Mar 12, 2014 at 2:35 PM, srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch fixes an error check while using of_irq_to_resource. of_irq_to_resource returns non-zero interrupt number on success and zero on error. The driver was using

Re: [PATCH trivial 10/16] gpio: Spelling s/than/that/

2014-03-12 Thread Linus Walleij
On Tue, Mar 11, 2014 at 11:23 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Signed-off-by: Geert Uytterhoeven geert+rene...@linux-m68k.org Cc: Linus Walleij linus.wall...@linaro.org Cc: linux-g...@vger.kernel.org Patch applied.

Re: [PATCH 2/2] pstore: correct the max_dump_cnt clearing of ramoops

2014-03-12 Thread Kees Cook
On Wed, Mar 12, 2014 at 2:48 AM, Liu ShuoX shuox@intel.com wrote: On Tue 11.Mar'14 at 13:37:23 -0700, Kees Cook wrote: On Mon, Mar 10, 2014 at 11:17 PM, Liu ShuoX shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com In case that ramoops_init_przs failed, max_dump_cnt won't be

Re: [patch 4/8] mm: memcg: push !mm handling out to page cache charge function

2014-03-12 Thread Johannes Weiner
On Wed, Mar 12, 2014 at 02:11:52PM +0100, Michal Hocko wrote: On Tue 11-03-14 21:28:30, Johannes Weiner wrote: [...] @@ -4070,6 +4061,12 @@ int mem_cgroup_cache_charge(struct page *page, struct mm_struct *mm, return 0; if (!PageSwapCache(page)) { + /* +

Re: [PATCH 1/3] dt-bindings: document gpio-charger bindings

2014-03-12 Thread Heiko Stübner
Hi Rob, Am Mittwoch, 12. März 2014, 09:28:46 schrieb Rob Herring: On Wed, Mar 12, 2014 at 8:46 AM, Heiko Stübner he...@sntech.de wrote: From: Heiko Stuebner heiko.stueb...@bq.com This documents the binding for the gpio-charger power-supply. How does this relate to what's documented in

Re: [PATCH RESEND] usb: at91-udc: fix irq and iomem resource retrieval

2014-03-12 Thread Nicolas Ferre
On 12/02/2014 14:03, Nicolas Ferre : From: Jean-Jacques Hiblot jjhib...@traphandler.com When using dt resources retrieval (interrupts and reg properties) there is no predefined order for these resources in the platform dev resource table. Also don't expect the number of resource to be always

Re: [PATCH 2/4] devfreq: exynos4: Use common ppmu driver and get ppmu address from dt data

2014-03-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 12, 2014 08:48:00 PM Chanwoo Choi wrote: This patch use common ppmu driver of exynos_ppmu.c driver instead of individual function related to PPC block and get ppmu address from dt data by using dt helper function (of_iomap). And then this patch delete duplicate

Re: [patch 4/8] mm: memcg: push !mm handling out to page cache charge function

2014-03-12 Thread Michal Hocko
On Wed 12-03-14 10:56:11, Johannes Weiner wrote: On Wed, Mar 12, 2014 at 02:11:52PM +0100, Michal Hocko wrote: On Tue 11-03-14 21:28:30, Johannes Weiner wrote: [...] @@ -4070,6 +4061,12 @@ int mem_cgroup_cache_charge(struct page *page, struct mm_struct *mm, return 0;

Re: is printk() safe within a timekeeper_seq write section?

2014-03-12 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 03:34:56PM +0100, Jan Kara wrote: On Wed 12-03-14 07:46:45, Peter Zijlstra wrote: On Tue, Mar 11, 2014 at 10:32:26PM +0100, Thomas Gleixner wrote: Peter/Thomas: Any thoughts on the deferred printk buffer? Does printk already have something like this? Any other

[tip:irq/core] genirq: Provide irq_request/ release_resources chip callbacks

2014-03-12 Thread tip-bot for Thomas Gleixner
Commit-ID: c1bacbae8192dd2a9ebadd22d793b68054f6c6e5 Gitweb: http://git.kernel.org/tip/c1bacbae8192dd2a9ebadd22d793b68054f6c6e5 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Sat, 8 Mar 2014 08:59:58 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 12 Mar 2014

Re: [PATCH] irq: Consider a negative return value of irq_startup() as an error

2014-03-12 Thread Thomas Gleixner
On Wed, 12 Mar 2014, Linus Walleij wrote: On Sat, Mar 8, 2014 at 10:15 AM, Thomas Gleixner t...@linutronix.de wrote: On Fri, 7 Mar 2014, Linus Walleij wrote: I'll see what Jean-Jacques comes up with and take it from there unless he's interested in taking it all the way. Thought more

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-12 Thread Steven Rostedt
On Wed, 12 Mar 2014 14:24:54 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Frank Ch. Eigler f...@redhat.com, linux-kernel@vger.kernel.org,

Re: [PATCH v2 3/3] mfd: max8997: move regmap handling to function drivers

2014-03-12 Thread Krzysztof Kozlowski
On Wed, 2014-03-12 at 14:37 +0100, Robert Baldyga wrote: This patch moves code creating new i2c clients and regmaps to function drivers which use them. It allows to avoid creating this instances when individual function drivers are not enabled. Signed-off-by: Robert Baldyga

Re: [PATCH v2 2/3] spi/xtensa-xtfpga: add DT binding documentation

2014-03-12 Thread Mark Rutland
On Wed, Mar 12, 2014 at 12:21:04PM +, Max Filippov wrote: Signed-off-by: Max Filippov jcmvb...@gmail.com --- Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt | 9 + 1 file changed, 9 insertions(+) create mode 100644

Re: [PATCHv4 2/2] arm: Get rid of meminfo

2014-03-12 Thread Grygorii Strashko
On 03/12/2014 03:38 PM, Russell King - ARM Linux wrote: On Wed, Mar 12, 2014 at 03:09:53PM +0200, Grygorii Strashko wrote: Hi Russell, On 03/12/2014 10:54 AM, Russell King - ARM Linux wrote: On Tue, Feb 18, 2014 at 02:15:33PM -0800, Laura Abbott wrote: memblock is now fully integrated into

Re: [PATCH 3/4] devfreq: exynos4: Add ppmu's clock control and code clean about regulator control

2014-03-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 12, 2014 08:48:01 PM Chanwoo Choi wrote: There are not the clock controller of ppmudmc0/1. This patch control the clock of ppmudmc0/1 which is used for monitoring memory bus utilization. Also, this patch code clean about regulator control and free resource when

Re: [patch 3/8] mm: memcg: inline mem_cgroup_charge_common()

2014-03-12 Thread Michal Hocko
On Wed 12-03-14 10:53:00, Johannes Weiner wrote: On Wed, Mar 12, 2014 at 01:52:13PM +0100, Michal Hocko wrote: On Tue 11-03-14 21:28:29, Johannes Weiner wrote: [...] @@ -3919,20 +3919,21 @@ out: return ret; } -/* - * Charge the memory controller for page usage. - *

[PATCH] memcg: rename high level charging functions

2014-03-12 Thread Michal Hocko
mem_cgroup_newpage_charge is used only for charging anonymous memory so it is better to rename it to mem_cgroup_charge_anon. mem_cgroup_cache_charge is used for file backed memory so rename it to mem_cgroup_charge_file. Signed-off-by: Michal Hocko mho...@suse.cz ---

Re: [PATCH] percpu_ida: Handle out-of-tags gracefully

2014-03-12 Thread Alexander Gordeev
On Wed, Mar 12, 2014 at 08:22:22AM +0100, Bart Van Assche wrote: On 03/11/14 21:48, Alexander Gordeev wrote: On Tue, Mar 11, 2014 at 07:10:18PM +0100, Bart Van Assche wrote: I assume the BUG() above hits? If so, I am failing to understand how the code gets here. Mind elaborate? You are

Re: [PATCH] KVM: SVM: fix cr8 intercept window

2014-03-12 Thread Marcelo Tosatti
On Wed, Mar 12, 2014 at 11:40:48AM +0100, Radim Krčmář wrote: 2014-03-11 22:05-0300, Marcelo Tosatti: On Tue, Mar 11, 2014 at 07:11:18PM +0100, Radim Krčmář wrote: We always disable cr8 intercept in its handler, but only re-enable it if handling KVM_REQ_EVENT, so there can be a window

Re: [PATCH 4/4] devfreq: exynos4: Use SET_SYSTEM_SLEEP_PM_OPS macro instead of legacy method

2014-03-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 12, 2014 08:48:02 PM Chanwoo Choi wrote: This patch use SET_SYSTEM_SLEEP_PM_OPS macro instead of legacy method. Also, Before entering suspend state, disable ppmu's clock to remove power-leakage in suspend state. The main thing that this patch does is adding -suspend

Re: [PATCH 6/6] arch: Remove stub cputime.h headers

2014-03-12 Thread Frederic Weisbecker
On Wed, Mar 12, 2014 at 10:44:47AM +0100, Peter Zijlstra wrote: On Wed, Mar 12, 2014 at 03:10:02AM +0100, Frederic Weisbecker wrote: diff --git a/arch/alpha/include/asm/Kbuild b/arch/alpha/include/asm/Kbuild index a73a8e2..1a81a8b 100644 --- a/arch/alpha/include/asm/Kbuild +++

Re: [PATCH 6/6] arch: Remove stub cputime.h headers

2014-03-12 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 04:23:28PM +0100, Frederic Weisbecker wrote: On Wed, Mar 12, 2014 at 10:44:47AM +0100, Peter Zijlstra wrote: On Wed, Mar 12, 2014 at 03:10:02AM +0100, Frederic Weisbecker wrote: diff --git a/arch/alpha/include/asm/Kbuild b/arch/alpha/include/asm/Kbuild index

Re: [PATCH v4 0/6] Add STiH407 SoC and reference board support

2014-03-12 Thread Maxime Coquelin
Hi Linus, On 03/12/2014 03:20 PM, Linus Walleij wrote: On Wed, Mar 12, 2014 at 9:50 AM, Maxime COQUELIN maxime.coque...@st.com wrote: This series adds basic support to the STMicroelectronics STiH407 SoC and its B2120 reference board. The STiH407 is a dual-core ARM Cortex-A9 CPU aimed at STB

Re: [PATCH RESEND] usb: at91-udc: fix irq and iomem resource retrieval

2014-03-12 Thread Greg Kroah-Hartman
On Wed, Mar 12, 2014 at 03:57:48PM +0100, Nicolas Ferre wrote: On 12/02/2014 14:03, Nicolas Ferre : From: Jean-Jacques Hiblot jjhib...@traphandler.com When using dt resources retrieval (interrupts and reg properties) there is no predefined order for these resources in the platform dev

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-12 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 07:24:36AM +0100, Peter Zijlstra wrote: On Tue, Mar 11, 2014 at 11:17:46PM -0400, Waiman Long wrote: Except that I do a single atomic short integer write to switch the bits instead of 2 byte write. D'0h why didn't I think of that. A single short write is much better

Re: [RFC/PATCH] base: platform: add generic clock handling for platform-bus

2014-03-12 Thread Laurent Pinchart
Hi Felipe, (CC'ing Geert Uytterhoeven as we happen to discuss runtime PM and clock handling for the Renesas SoCs at the moment) Thank you for the patch. This is a bit of a late reply, but that's better than no reply I suppose. Please see below for a small comment. On Friday 31 January 2014

Re: [PATCH 0/4] devfreq: exynos4: Support dt and use common ppmu driver

2014-03-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 12, 2014 08:47:58 PM Chanwoo Choi wrote: This patchset support devicetree and use common ppmu driver instead of individual code of exynos4_bus.c to remove duplicate code. Also this patchset get the resources for busfreq from dt data by using DT helper function. - PPMU

Re: [PATCH net-next v7 0/9] xen-netback: TX grant mapping with SKBTX_DEV_ZEROCOPY instead of copy

2014-03-12 Thread Ian Campbell
On Sat, 2014-03-08 at 18:57 -0500, David Miller wrote: From: Zoltan Kiss zoltan.k...@citrix.com Date: Sat, 8 Mar 2014 14:37:50 + Maybe you mixed up mine with that? But that's also not eligible to be applied yet. I can always revert the series if there are major objections. Zoltan

Re: [RESEND] Fast TSC calibration fails with v3.14-rc1 and later

2014-03-12 Thread joeyli
Hi Rafael, 於 三,2014-03-12 於 14:30 +0100,Rafael J. Wysocki 提到: But I wonder: Can we simply enable SCI later? In other words, can we split acpi_early_init() so that the part before acpi_enable_subsystem() is done before timekeeping_init() and the part including and after is done right

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-12 Thread Steven Rostedt
To sum up this thread, and get the signal vs noise ratio up. On Wed, 12 Mar 2014 11:11:00 -0400 Steven Rostedt rost...@goodmis.org wrote: The solution I like the most that I believe will work for both of us, is to to move this magic enable tracepoint in the future to your LTTng module. Have

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-12 Thread Linus Torvalds
On Wed, Mar 12, 2014 at 7:41 AM, Linus Torvalds torva...@linux-foundation.org wrote: Nobody has even explained why we want this at all, and why we want this headache. Nobody has explained why the solution is not to just don't do that then. Instead, people are piling up *more* complexity

Re: [PATCH 3/3] pinctrl: mvebu: silence WARN to dev_warn

2014-03-12 Thread Jason Cooper
On Wed, Mar 12, 2014 at 03:02:02PM +0100, Linus Walleij wrote: On Fri, Mar 7, 2014 at 2:46 PM, Jason Cooper ja...@lakedaemon.net wrote: On Fri, Mar 07, 2014 at 11:56:11AM +0800, Linus Walleij wrote: For a single patch? Well, just the doc change and WARN change. I've already taken the

Re: [PATCH 6/6] arch: Remove stub cputime.h headers

2014-03-12 Thread Frederic Weisbecker
On Wed, Mar 12, 2014 at 04:26:44PM +0100, Peter Zijlstra wrote: On Wed, Mar 12, 2014 at 04:23:28PM +0100, Frederic Weisbecker wrote: On Wed, Mar 12, 2014 at 10:44:47AM +0100, Peter Zijlstra wrote: On Wed, Mar 12, 2014 at 03:10:02AM +0100, Frederic Weisbecker wrote: diff --git

[PATCH] phy: exynos: fix building as a module

2014-03-12 Thread Arnd Bergmann
The top-level phy-samsung-usb2 driver may be configured as a loadable module, which currently causes link errors because of the dependency on the exynos{5250,4x12,4210}_usb2_phy_config symbol. Solving this could be achieved by exporting these symbols, but as the SoC-specific parts of the driver

[PATCH 1/2] mfd: tps65910: Fix possible invalid pointer dereference on regmap_add_irq_chip fail

2014-03-12 Thread Krzysztof Kozlowski
tps65910_irq_init() sets the 'tps65910-chip_irq' before calling regmap_add_irq_chip(). If this regmap_add_irq_chip() call fails in memory allocation of regmap_irq_chip_data members then: 1. The 'tps65910-chip_irq' will still hold some value; 2. 'tps65910-irq_data' will be pointing to already freed

[PATCH] arm: boot: dts: build keystone devicetree blob

2014-03-12 Thread Felipe Balbi
Currently, even when building keystone only kernel builds, DTB won't get build because we lack a Makefile rule to get it compiled. This patch adds that rule so mainline kernel users have a chance to use up-to-date DTB on keystone 2 platforms. Signed-off-by: Felipe Balbi ba...@ti.com --- note

[PATCH 2/2] mfd: tps65910: Fix regmap_irq_chip_data leak on mfd_add_devices fail

2014-03-12 Thread Krzysztof Kozlowski
The tps65910_i2c_probe() allocates regmap_irq_chip in tps65910_irq_init() but it does not clean this up in case of mfd_add_devices() failure. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/tps65910.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] Provide additional sample information to Python scripts

2014-03-12 Thread Thomas Ilsche
On 2014-03-07 15:18, Arnaldo Carvalho de Melo wrote: Em Tue, Feb 18, 2014 at 09:43:24AM +0100, Joseph Schuchart escreveu: Good morning, We have developed a patch for the perf Python scripting interface to provide additional information about the pid, tid, and cpu of generic events as well as

[PATCH] ARM: mmp: allow platform devices with modular USB

2014-03-12 Thread Arnd Bergmann
The USB host drivers need platform data to be defined on pxa168 and pxa910, but the conditionals used in the devices.c file only work if the drivers are built-in. This patch fixes the definition by changing the #ifdef to #if IS_ENABLED(), which works both for built-in and modular Kconfig symbols.

[PATCH] [trivial] doc: DocBook: Fix typo in xml and template file

2014-03-12 Thread Masanari Iida
Fix spelling typo under Documentation/DocBook/media. It is because these files are NOT generated by make htmldocs, I have to fix the files. Signed-off-by: Masanari Iida standby2...@gmail.com --- Documentation/DocBook/media/dvb/dvbproperty.xml | 2 +- Documentation/DocBook/media/v4l/compat.xml

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-12 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 06:07:30AM -0400, Steven Rostedt wrote: On Wed, 12 Mar 2014 15:26:16 +1100 Dave Chinner da...@fromorbit.com wrote: I did apply them manually - but the patchset is based on the tip/master, plus some patches from a previous patch set that aren't in tip/locking to

linux-next: manual merge of the net-next tree with the net tree

2014-03-12 Thread Mark Brown
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/usb/r8152.c between commit 10c3271712f5821 (r8152: disable the ECM mode) from the net tree and commit 4f1d4d54f99e9 (r8152: support dumping the hw counters) from the net-next tree. I fixed it up (see below)

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-12 Thread Linus Torvalds
On Wed, Mar 12, 2014 at 8:46 AM, Linus Torvalds torva...@linux-foundation.org wrote: But I think that x86, vdso: Add 32 bit VDSO time support for 32 bit kernel patch needs to die. And the helper patches building up to it (just because that patch used [io_]remap_pfn_range()) should die too.

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-12 Thread Mathieu Desnoyers
- Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Frank Ch. Eigler f...@redhat.com, linux-kernel@vger.kernel.org, Ingo Molnar mi...@kernel.org, Frederic Weisbecker fweis...@gmail.com, Andrew Morton

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-12 Thread Linus Torvalds
On Wed, Mar 12, 2014 at 8:57 AM, Peter Zijlstra pet...@infradead.org wrote: I've not managed to reproduce the hang as reported by Dave, but then I doubt building kernels has anywhere near the lock contention he generated. Building kernels has basically no lock contention at all.

Re: [PATCH v2 1/3] ata: ahci_st: Provide DT bindings for ST's SATA implementation

2014-03-12 Thread Arnd Bergmann
On Wednesday 12 March 2014 12:48:35 Lee Jones wrote: +This binding describes a SATA device. + +Required properties: + - compatible : Must be st,ahci Is there not a more specific name? This is awfully generic. There isn't one. ST only have one AHCI driver. The driver is

Re: [PATCH] dma: Add Keystone Packet DMA Engine driver

2014-03-12 Thread Vinod Koul
On Wed, Mar 12, 2014 at 03:50:32AM +0800, Santosh Shilimkar wrote: On Tuesday 11 March 2014 06:23 PM, Vinod Koul wrote: On Fri, Feb 28, 2014 at 05:56:40PM -0500, Santosh Shilimkar wrote: From: Sandeep Nair sandee...@ti.com The Packet DMA driver sets up the dma channels and flows for the

[PATCH 1/2] mtip32xx: Don't bounce IO requests

2014-03-12 Thread Felipe Franciosi
This device support 64-bit DMA and therefore no IO requests needs bouncing. On 32-bit systems, blk_queue_bounce() will bounce all IO requests with high mem pages. This makes performance really really bad. Signed-off-by: Felipe Franciosi fel...@paradoxo.org --- drivers/block/mtip32xx/mtip32xx.c |

[PATCH 2/2] mtip32xx: Unmap the DMA segments before completing the IO request

2014-03-12 Thread Felipe Franciosi
If the buffers are unmapped after completing a request, then stale data might be in the request. Signed-off-by: Felipe Franciosi fel...@paradoxo.org --- drivers/block/mtip32xx/mtip32xx.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git

[PATCH 0/2] mtip32xx: Fix arch-specific driver issues

2014-03-12 Thread Felipe Franciosi
This patch series fix a couple of issues with the Micron P320 driver. The first is an issue on 32-bit architectures where unecessary bouncing of requests causes really really bad performance. The second regards a problem on architectures where DMA unmapping has side effects. -- To unsubscribe

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-12 Thread Will Deacon
On Tue, Mar 11, 2014 at 06:25:11PM +, Jean Pihet wrote: HI Will, Steve, Hi Jean, On 6 March 2014 18:22, Jiri Olsa jo...@redhat.com wrote: On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: On 4 March 2014 12:00,

Re: [RFC PATCH] edac: zynq: Added EDAC support for zynq ddr ecc controller

2014-03-12 Thread Sören Brinkmann
On Wed, 2014-03-12 at 11:27AM +0100, Michal Simek wrote: On 03/11/2014 04:50 PM, Sören Brinkmann wrote: On Tue, 2014-03-11 at 09:32AM +0100, Michal Simek wrote: On 03/10/2014 11:32 PM, Sören Brinkmann wrote: On Mon, 2014-03-10 at 12:58PM +0100, Michal Simek wrote: On 03/10/2014 11:56 AM,

Re: [PATCH] percpu_ida: Handle out-of-tags gracefully

2014-03-12 Thread Bart Van Assche
On 03/12/14 16:21, Alexander Gordeev wrote: While 'remote-nr_free' could be dropped on another CPU it still does not explain how steal_tags() enters the loop, but fails to locate 'cpus_have_tags' count of bits. So although v2 of your patch fixes the crash it does not address the root cause

Re: [PATCH 1/2] mtip32xx: Don't bounce IO requests

2014-03-12 Thread Jens Axboe
On 03/12/2014 10:05 AM, Felipe Franciosi wrote: This device support 64-bit DMA and therefore no IO requests needs bouncing. On 32-bit systems, blk_queue_bounce() will bounce all IO requests with high mem pages. This makes performance really really bad. Signed-off-by: Felipe Franciosi

Re: [PATCH 2/2] mtip32xx: Unmap the DMA segments before completing the IO request

2014-03-12 Thread Jens Axboe
On 03/12/2014 10:05 AM, Felipe Franciosi wrote: If the buffers are unmapped after completing a request, then stale data might be in the request. This is unfortunate, and a real bug. Good catch! -- Jens Axboe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-12 Thread Steven Rostedt
On Wed, 12 Mar 2014 16:05:36 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Frank Ch. Eigler f...@redhat.com, linux-kernel@vger.kernel.org,

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-12 Thread Andy Lutomirski
On Wed, Mar 12, 2014 at 8:46 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Mar 12, 2014 at 7:41 AM, Linus Torvalds torva...@linux-foundation.org wrote: Having looked at it a bit more, I think the correct solution is: - leave the legacy compat-vdso FIXMAP entry at a single

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-12 Thread Brian Gerst
On Wed, Mar 12, 2014 at 12:04 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Mar 12, 2014 at 8:46 AM, Linus Torvalds torva...@linux-foundation.org wrote: But I think that x86, vdso: Add 32 bit VDSO time support for 32 bit kernel patch needs to die. And the helper patches

Re: [PATCH v5] can: xilinx CAN controller support.

2014-03-12 Thread Sören Brinkmann
On Wed, 2014-03-12 at 11:18AM +0100, Michal Simek wrote: Hi guys, On 03/11/2014 03:31 PM, Marc Kleine-Budde wrote: On 03/11/2014 03:08 PM, Appana Durga Kedareswara Rao wrote: + struct napi_struct napi; + u32 (*read_reg)(const struct xcan_priv *priv, enum xcan_reg reg); +

Re: [PATCH 10/11] kexec: Support for loading ELF x86_64 images

2014-03-12 Thread Borislav Petkov
On Mon, Mar 10, 2014 at 10:42:37AM -0400, Vivek Goyal wrote: When I posted V1 of patches, Eric Biederman had said that without ELF loader support this patchset should not go in. He said that ELF is very generic and if we are implementing a new system call we should support ELF loader. But

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-12 Thread Steven Rostedt
On Wed, 12 Mar 2014 16:57:54 +0100 Peter Zijlstra pet...@infradead.org wrote: I build and booted these patches against tip/master as of this morning. It build ~50 defconfig kernels on my WSM-EP. I've not managed to reproduce the hang as reported by Dave, but then I doubt building kernels

[PATCH v5 RESEND 0/3] ext4: increase mbcache scalability

2014-03-12 Thread T Makphaibulchoke
The patch consists of three parts. The first part changes the implementation of both the block and hash chains of an mb_cache from list_head to hlist_bl_head and also introduces new members, including a spinlock to mb_cache_entry, as required by the second part. The second part introduces higher

Re: [RESEND] Fast TSC calibration fails with v3.14-rc1 and later

2014-03-12 Thread Thomas Gleixner
On Wed, 12 Mar 2014, joeyli wrote: I think maybe still using ACPI_FADT_NO_CMOS_RTC to check does acpi_early_init() need run before timekeeping_init(). If there have any future machine that applied ACPI TAD but Fast TSC calibration fail, at least the alternate TSC calibration can work around

[PATCH v5 RESEND 2/3] mbcache: decoupling the locking of local from global data

2014-03-12 Thread T Makphaibulchoke
The patch increases the parallelism of mb_cache_entry utilization by replacing list_head with hlist_bl_node for the implementation of both the block and index hash tables. Each hlist_bl_node contains a built-in lock used to protect mb_cache's local block and index hash chains. The global data

[PATCH v5 RESEND 3/3] ext4: each filesystem creates and uses its own mb_cache

2014-03-12 Thread T Makphaibulchoke
This patch adds new interfaces to create and destory cache, ext4_xattr_create_cache() and ext4_xattr_destroy_cache(), and remove the cache creation and destory calls from ex4_init_xattr() and ext4_exitxattr() in fs/ext4/xattr.c. fs/ext4/super.c has been changed so that when a filesystem is

Re: [PATCH v2 0/2] x86: Relocate the compat vdso per process

2014-03-12 Thread Andy Lutomirski
On Tue, Mar 11, 2014 at 11:14 PM, H. Peter Anvin h...@zytor.com wrote: There is one sensible address: end of address space perhaps minus some small offset. Unlikely to be used by anything specific. Meh. The compat vdso logic will end up being either: 1) Try to map at the preferred address.

[PATCH v5 RESEND 1/3] fs/mbcache.c change block and index hash chain to hlist_bl_node

2014-03-12 Thread T Makphaibulchoke
This patch changes each mb_cache's both block and index hash chains from regular linked list to hlist_bl_node, which contains a built-in lock. This is the first step in decoupling of locks serializing accesses to mb_cache global data and each mb_cache_entry local data. Signed-off-by: T.

Re: [RESEND] Fast TSC calibration fails with v3.14-rc1 and later

2014-03-12 Thread Thomas Gleixner
On Wed, 12 Mar 2014, Thomas Gleixner wrote: On Wed, 12 Mar 2014, joeyli wrote: I think maybe still using ACPI_FADT_NO_CMOS_RTC to check does acpi_early_init() need run before timekeeping_init(). If there have any future machine that applied ACPI TAD but Fast TSC calibration fail, at

[PATCH v2] arch: Remove stub cputime.h headers

2014-03-12 Thread Frederic Weisbecker
Many architectures have a stub cputime.h that only include the default cputime.h Lets remove the useless headers, we only need to mention that we want the default headers on the Kbuild files. While at it, resort alphabetically the entries in arch/*/include/asm/Kbuild for those that have been

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-12 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 12:19:33PM -0400, Steven Rostedt wrote: On Wed, 12 Mar 2014 16:57:54 +0100 Peter Zijlstra pet...@infradead.org wrote: I build and booted these patches against tip/master as of this morning. It build ~50 defconfig kernels on my WSM-EP. I've not managed to

mm: slub: gpf in deactivate_slab

2014-03-12 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following spew: [ 241.916559] BUG: unable to handle kernel paging request at 880029aa5e58 [ 241.917961] IP: [812c5fa3] deactivate_slab+0x103/0x560 [ 241.919439] PGD

Re: [PATCH RESEND] usb: at91-udc: fix irq and iomem resource retrieval

2014-03-12 Thread Nicolas Ferre
On 12/03/2014 16:31, Greg Kroah-Hartman : On Wed, Mar 12, 2014 at 03:57:48PM +0100, Nicolas Ferre wrote: On 12/02/2014 14:03, Nicolas Ferre : From: Jean-Jacques Hiblot jjhib...@traphandler.com When using dt resources retrieval (interrupts and reg properties) there is no predefined order for

[PATCH RESEND] usb: at91-udc: fix irq and iomem resource retrieval

2014-03-12 Thread Nicolas Ferre
From: Jean-Jacques Hiblot jjhib...@traphandler.com When using dt resources retrieval (interrupts and reg properties) there is no predefined order for these resources in the platform dev resource table. Also don't expect the number of resource to be always 2. Signed-off-by: Jean-Jacques Hiblot

FW: Re: [PATCHv3 0/6] Crashdump Accepting Active IOMMU

2014-03-12 Thread Sumner, William
Resending as plain-text. Bill From: Sumner, William Sent: Wednesday, March 12, 2014 11:15 AM To: 'Vivek Goyal' Cc: dw...@infradead.org; indou.ta...@jp.fujitsu.com; b...@redhat.com; j...@8bytes.org; linux-...@vger.kernel.org; ke...@lists.infradead.org; alex.william...@redhat.com;

Re: [PATCH v5 1/5] mfd: add bcm590xx pmu DT binding

2014-03-12 Thread Lee Jones
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org ---

[GIT PULL v2] timers updates for 3.15

2014-03-12 Thread Frederic Weisbecker
Ingo, Thomas, Please pull the timers/cputime-fix-steal-v3 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/cputime-fix-steal-v3 Only the last patch changed to address Peterz concern on arch Kbuild layout. This got sorted out

Re: [PATCH] arm: boot: dts: build keystone devicetree blob

2014-03-12 Thread Santosh Shilimkar
On Wednesday 12 March 2014 11:48 PM, Felipe Balbi wrote: Currently, even when building keystone only kernel builds, DTB won't get build because we lack a Makefile rule to get it compiled. This patch adds that rule so mainline kernel users have a chance to use up-to-date DTB on keystone 2

Re: [PATCH v5 2/5] mfd: add bcm590xx pmu driver

2014-03-12 Thread Lee Jones
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by:

Re: [RESEND] Fast TSC calibration fails with v3.14-rc1 and later

2014-03-12 Thread Thomas Gleixner
On Wed, 12 Mar 2014, Thomas Gleixner wrote: On Wed, 12 Mar 2014, Thomas Gleixner wrote: On Wed, 12 Mar 2014, joeyli wrote: I think maybe still using ACPI_FADT_NO_CMOS_RTC to check does acpi_early_init() need run before timekeeping_init(). If there have any future machine that applied

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-12 Thread Mathieu Desnoyers
- Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Frank Ch. Eigler f...@redhat.com, linux-kernel@vger.kernel.org, Ingo Molnar mi...@kernel.org, Frederic Weisbecker fweis...@gmail.com, Andrew Morton

Re: [for-next][PATCH 08/20] tracing: Warn if a tracepoint is not set via debugfs

2014-03-12 Thread Mathieu Desnoyers
(FYI, this is the leg of the thread that can be considered lower signal/noise ratio if the underlying arguments are not interesting to you. If they are, please read on!) :-) - Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers

Re: [PATCH v4 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

2014-03-12 Thread Tanmay Inamdar
Hello Jingoo Han, On Wed, Mar 12, 2014 at 1:31 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, March 06, 2014 3:06 PM, Tanmay Inamdar wrote: This patch adds the device tree nodes for APM X-Gene PCIe controller and PCIe clock interface. Since X-Gene SOC supports maximum 5 ports, 5 dts

Re: [RFC PATCH v2 04/14] mtd: nand: define struct nand_timings

2014-03-12 Thread Boris BREZILLON
Le 11/03/2014 19:55, Jason Gunthorpe a écrit : On Mon, Mar 10, 2014 at 02:44:04PM +0100, Boris BREZILLON wrote: Some timings are missing here (see Table 55 in the ONFI spec): Right.. The 'mode' covers only the raw electrical parameters needed to exchange commands, other timings cover the

Re: [PATCH 1/2] pstore: fix buffer overflow while write offset equal to buffer size

2014-03-12 Thread Kees Cook
On Wed, Mar 12, 2014 at 6:24 AM, Liu Shuo shuox@gmail.com wrote: From: Liu ShuoX shuox@intel.com In case new offset is equal to prz-buffer_size, it won't wrap at this time and will return old(overflow) value next time. Signed-off-by: Liu ShuoX shuox@intel.com This seems correct;

Re: [RFC PATCH] edac: zynq: Added EDAC support for zynq ddr ecc controller

2014-03-12 Thread Michal Simek
On 03/12/2014 05:13 PM, Sören Brinkmann wrote: On Wed, 2014-03-12 at 11:27AM +0100, Michal Simek wrote: On 03/11/2014 04:50 PM, Sören Brinkmann wrote: On Tue, 2014-03-11 at 09:32AM +0100, Michal Simek wrote: On 03/10/2014 11:32 PM, Sören Brinkmann wrote: On Mon, 2014-03-10 at 12:58PM +0100,

Re: performance regression due to commit e82e0561(mm: vmscan: obey proportional scanning requirements for kswapd)

2014-03-12 Thread Mel Gorman
On Tue, Feb 18, 2014 at 04:01:22PM +0800, Yuanhan Liu wrote: Hi, Commit e82e0561(mm: vmscan: obey proportional scanning requirements for kswapd) caused a big performance regression(73%) for vm-scalability/ lru-file-readonce testcase on a system with 256G memory without swap. That testcase

Re: [PATCH] arm: boot: dts: build keystone devicetree blob

2014-03-12 Thread Felipe Balbi
On Thu, Mar 13, 2014 at 12:35:41AM +0800, Santosh Shilimkar wrote: On Wednesday 12 March 2014 11:48 PM, Felipe Balbi wrote: Currently, even when building keystone only kernel builds, DTB won't get build because we lack a Makefile rule to get it compiled. This patch adds that rule so

Re: [PATCH 4/7] of: configure the platform device dma_mask and dma_pfn_offset

2014-03-12 Thread Arnd Bergmann
On Wednesday 12 March 2014 15:19:48 Grygorii Strashko wrote: On 03/12/2014 02:15 AM, Rob Herring wrote: On Sun, Mar 9, 2014 at 12:39 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 08 March 2014, Rob Herring wrote: On Fri, Mar 7, 2014 at 10:02 AM, Arnd Bergmann a...@arndb.de wrote:

[PATCH net-next 0/6] net: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
Joe Perches (6): 8021q: Convert uses of __constant_foo to foo bluetooth: Convert uses of __constant_foo to foo net: Convert uses of __constant_foo to foo ieee802154: Convert uses of __constant_foo to foo netfilter: Convert uses of __constant_foo to foo tipc: Convert uses of

[PATCH net-next 1/6] 8021q: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
The use of __constant_foo has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches j...@perches.com --- net/8021q/vlan.h | 4 ++-- net/8021q/vlan_netlink.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)

[PATCH net-next 5/6] netfilter: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
The use of __constant_foo has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches j...@perches.com --- net/netfilter/ipset/pfxlen.c | 4 ++-- net/netfilter/xt_AUDIT.c | 4 ++-- 2 files changed, 4 insertions(+), 4

[PATCH net-next 2/6] bluetooth: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
The use of __constant_foo has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches j...@perches.com --- net/bluetooth/a2mp.c| 4 +- net/bluetooth/hci_conn.c| 26 ++--- net/bluetooth/hci_core.c| 2 +-

[PATCH net-next 6/6] tipc: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
The use of __constant_foo has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches j...@perches.com --- net/tipc/bearer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tipc/bearer.c

[PATCH net-next 3/6] net: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
The use of __constant_foo has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches j...@perches.com --- net/core/dev.c| 10 +- net/core/flow_dissector.c | 14 +++--- 2 files changed, 12

[PATCH net-next 4/6] ieee802154: Convert uses of __constant_foo to foo

2014-03-12 Thread Joe Perches
The use of __constant_foo has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches j...@perches.com --- net/ieee802154/6lowpan_rtnl.c | 2 +- net/ieee802154/af_ieee802154.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: [ARM]Fixmap mapping region is not enough for system of 14+ CPUs.

2014-03-12 Thread Nicolas Pitre
On Wed, 12 Mar 2014, Liu hua wrote: Hi Russell, Will or Nicolas, (In this mail, we only discuss ARM 32-bit linux.) As we know, the region (0xfff0-0xfffd) is reserved as fixmap mapping region. The function kmap_atomic maps highmem pages to this region referring to CPUID and

Re: [PATCH 1/2] mtip32xx: Don't bounce IO requests

2014-03-12 Thread Felipe Franciosi
On Wed, Mar 12, 2014 at 4:16 PM, Jens Axboe ax...@kernel.dk wrote: On 03/12/2014 10:05 AM, Felipe Franciosi wrote: This device support 64-bit DMA and therefore no IO requests needs bouncing. On 32-bit systems, blk_queue_bounce() will bounce all IO requests with high mem pages. This makes

  1   2   3   4   5   6   7   8   9   10   >