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

2013-08-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mvebu tree got conflicts in various files between merges and commits in the arm-soc tree and merges in the mvebu tree. These merges/commits in the mvebu tree appear to be from a previous version of the arm-soc tree that the mvebu tree has been rebased

Re: [PATCH v6 0/5] zram/zsmalloc promotion

2013-08-19 Thread Bob Liu
Hi Luigi, On 08/19/2013 01:29 PM, Luigi Semenzato wrote: We are gearing up to evaluate zswap, but we have only ported kernels up to 3.8 to our hardware, so we may be missing important patches. In our experience, and with all due respect, the linux MM is a complex beast, and it's difficult

Re: [PATCH v2] tile: support kprobes on tilegx

2013-08-19 Thread Masami Hiramatsu
(2013/08/13 23:08), Tony Lu wrote: This change includes support for Kprobes, Jprobes and Return Probes. This looks OK for me, just reviewed, not tested :). Reviewed-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Thank you! Signed-off-by: Tony Lu z...@tilera.com Signed-off-by: Chris

Re: [PATCH] acpi_i2c: set MODULE_LICENSE, MODULE_AUTHOR, and MODULE_DESCRIPTION

2013-08-19 Thread Mika Westerberg
On Fri, Aug 16, 2013 at 06:26:35PM -0700, Jerry Snitselaar wrote: Without MODULE_LICENSE set, I get the following with modprobe: acpi_i2c: module license 'unspecified' taints kernel. acpi_i2c: Unknown symbol i2c_new_device (err 0) acpi_i2c: Unknown symbol acpi_dev_get_resources (err 0)

Re: [PATCH v6 0/5] zram/zsmalloc promotion

2013-08-19 Thread Minchan Kim
Hello Luigi, On Sun, Aug 18, 2013 at 10:29:18PM -0700, Luigi Semenzato wrote: On Sun, Aug 18, 2013 at 9:37 PM, Minchan Kim minc...@kernel.org wrote: Hello Bob, Sorry for the late response. I was on holiday. On Mon, Aug 19, 2013 at 11:57:41AM +0800, Bob Liu wrote: Hi Minchan, On

Re: [PATCH v2 0/2] omap4/twl6030: typical connection to omap4 as a separate dtsi file

2013-08-19 Thread Ruslan Bilovol
Hi Benoit, On Fri, Aug 16, 2013 at 4:20 PM, Benoit Cousson bcous...@baylibre.com wrote: Hi Ruslan, On 16/08/2013 14:04, Ruslan Bilovol wrote: Hi Benoit, On Wed, Aug 14, 2013 at 4:51 PM, Benoit Cousson bcous...@baylibre.com wrote: Hi Ruslan, On 14/08/2013 10:35, Ruslan Bilovol wrote:

Re: [Xen-devel] [PATCH] xen: initialize xen panic handler for PVHVM

2013-08-19 Thread Joe Jin
On 08/16/13 20:43, Konrad Rzeszutek Wilk wrote: Could you tell me what has been happening without this patch? Without this patch, Xen would not get pvhvm crash event, any config for on_crash in guest configure file will not be triggered. Thanks, Joe -- To unsubscribe from this list: send the

[PATCH] USB: musb: Avoid null pointer dereference in debug logging

2013-08-19 Thread Maarten ter Huurne
Since commit 511f3c53 (usb: gadget: udc-core: fix a regression during gadget driver unbinding) usb_gadget_remove_driver will pass NULL for the driver argument. Signed-off-by: Maarten ter Huurne maar...@treewalker.org --- drivers/usb/musb/musb_gadget.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-08-19 Thread Mika Westerberg
Sorry for the slooow response, I've been on vacation. On Tue, Jul 16, 2013 at 01:16:18PM +0200, Christian Ruppert wrote: Second step is that if current i2c_dw_scl_hcnt and i2c_dw_scl_lcnt calculations don't suit with later DW I2C cores, then it would be nice for someone who can access to

[PATCH 1/1] ARM: tegra: configure power off for Dalmore

2013-08-19 Thread Bill Huang
Add DT property to tell the regulator to register pm_power_off to make shutdown work. Signed-off-by: Bill Huang bilhu...@nvidia.com --- arch/arm/boot/dts/tegra114-dalmore.dts |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts

Re: [PATCH v7 0/7] cpufreq:boost: CPU Boost mode support

2013-08-19 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski l.majew...@samsung.com wrote: This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB governor proposal. Boost is a LAB component: http://thread.gmane.org/gmane.linux.kernel/1484746/match=cpufreq

[PATCH] UBI: Fix PEB leak in wear_leveling_worker()

2013-08-19 Thread Richard Weinberger
get_peb_for_wl() removes the PEB from the free list. If the WL subsystem detects that no wear leveling is needed it cancels the operation and drops the gained PEB. In this case we have to put the PEB back into the free list. This issue was introduced with commit ed4b7021c (UBI: remove PEB from

Re: [PATCH] dma: cpp41: make it compile with CONFIG_BUG=n

2013-08-19 Thread Vinod Koul
On Fri, Aug 16, 2013 at 05:40:55PM +0200, Sebastian Andrzej Siewior wrote: From: Sebastian Andrzej Siewior bige...@linutronix.de Before Randy figures out that this does not compile with CONFIG_BUG=n here is a fix for it. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de

Re: [PATCH v7 0/7] cpufreq:boost: CPU Boost mode support

2013-08-19 Thread Lukasz Majewski
On Mon, 19 Aug 2013 12:08:26 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, On 13 August 2013 15:38, Lukasz Majewski l.majew...@samsung.com wrote: This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB governor proposal. Boost is a

Re: Seq File: Return error if d_path fails

2013-08-19 Thread Arun KS
Hi Andrew, On Tue, Aug 13, 2013 at 3:19 AM, Andrew Morton a...@linux-foundation.org wrote: On Thu, 8 Aug 2013 19:03:31 +0530 Arun KS arunks.li...@gmail.com wrote: From 2558382c8a030f7261e47977ac62412cd78e6d38 Mon Sep 17 00:00:00 2001 From: Arun KS arun...@broadcom.com Date: Thu, 8 Aug 2013

[PATCH] SeqFile: Fix overflow condition

2013-08-19 Thread Arun KS
From 23986a85b9efe7bc3ffc0887b8d17cdf2fbab4f2 Mon Sep 17 00:00:00 2001 From: Arun KS arun...@broadcom.com Date: Mon, 19 Aug 2013 12:06:33 +0530 Subject: SeqFile: Fix overflow condition seq_path()/seq_commit() is treating a d_path() failure as an overflow condition, but it isn't. Signed-off-by:

Re: Re: [PATCH] Staging: rtl8192e: rtllib_rx: checking NULL value afterdoing dev_alloc_skb

2013-08-19 Thread Dan Carpenter
On Mon, Aug 19, 2013 at 09:15:15AM +0800, rucsoftsec wrote: I have read that file. But the trouble is that I was not sure whether it is a bug or not. So I report it to BugZilla, and wait for further confirmation. Thank you all the same! If you send it to kernel-janitors we will be happy to

Re: linux-next: build warning after merge of the tip tree

2013-08-19 Thread Ingo Molnar
* Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced this warning: arch/x86/kernel/paravirt.c:66:0: warning: DEF_NATIVE redefined [enabled by default] #define DEF_NATIVE(ops, name, code) \ ^

Re: [PATCH] nouveau: fix reclocking on nv40

2013-08-19 Thread Pali Rohár
On Friday 16 August 2013 14:57:07 Pali Rohár wrote: In commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that reclocking on nv40 not working anymore. There is missing assigment of return value from pll_calc to ret. Signed-off-by: Pali Rohár

Re: High load which eventually leads to lockup

2013-08-19 Thread Joakim Tjernlund
-Greg KH gre...@linuxfoundation.org wrote: - On Sun, Aug 18, 2013 at 04:32:23PM +0200, Joakim Tjernlund wrote: The last week I have had 4 lockups which required power on/off. Before getting there I noticed that the machine was getting slow.top reported high load(5-10) but

linux-next: manual merge of the akpm-current tree with the ext4 tree

2013-08-19 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in fs/ext4/inode.c between commit 4958dee0e70f (ext4: simplify truncation code in ext4_setattr()) from the ext4 tree and commit fb6854ec9753 (truncate: drop 'oldsize' truncate_pagecache() parameter) from the akpm-current

Re: [PATCH RESEND 7/8] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-19 Thread Michal Simek
On 08/14/2013 05:40 AM, Libo Chen wrote: We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with of_dev-dev, it is convenient for user. Also, unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after

Re: [PATCH] x86, apic: Enable x2APIC physical when cpu 256 native

2013-08-19 Thread Ingo Molnar
* Youquan Song youquan.s...@linux.intel.com wrote: Firstly, please use the customary (multi-line) comment style: /* * Comment . * .. goes here. */ specified in Documentation/CodingStyle. Secondly, please send a patch against a vanilla (e.g.

Re: [tip:sched/core] sched: Fix the theoretical signal_wake_up() vs. schedule() race

2013-08-19 Thread Ingo Molnar
* Oleg Nesterov o...@redhat.com wrote: On 08/16, tip-bot for Oleg Nesterov wrote: Commit-ID: e4c711cfd32f3c74a699af3121a3b0ff631328a7 Gitweb: http://git.kernel.org/tip/e4c711cfd32f3c74a699af3121a3b0ff631328a7 Author: Oleg Nesterov o...@redhat.com AuthorDate: Tue, 13 Aug

Re: [PATCH RFC v2] mmc: sdhci-msm: Add support for MSM chipsets

2013-08-19 Thread Jaehoon Chung
Hi Georgi, I found the you use the vreg-is_enabled. why don't you use the regulator_is_enabled()? i think better that use this function. Is there a special reason that use the vreg-is_enabled? Best Regards, Jaehoon Chung On 08/13/2013 11:06 PM, Georgi Djakov wrote: This platform driver adds

Re: [RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-19 Thread Arnd Bergmann
On Monday 19 August 2013, Sebastian Hesselbarth wrote: Note that we should really change the common code to do both the of_clk_init() and the l2x0_of_init() automatically, but that needs to be done with some care, in order to not break any of the existing platforms. Would you be able

linux-next: Tree for Aug 19

2013-08-19 Thread Stephen Rothwell
Hi all, Changes since 20130816: Changed tree: the device-mapper tree is now a git tree (instead of a quilt series) The libata tree gained a build failure do I used the version from next-20130816. The wireless-next tree gained a conflict against the wireless tree. The tip tree gained a

Re: [PATCH v4 20/28] x86, irq: More strict checking about registering ioapic

2013-08-19 Thread Lan Tianyu
2013/8/11 Yinghai Lu ying...@kernel.org 1. check overlaping gsi range for hot-add ioapic case, BIOS may have some entries in MADT and also have setting in pci root bus with _GSB of DSDT. 2. check if entries is in right range. Signed-off-by: Yinghai Lu ying...@kernel.org Cc: Joerg Roedel

Re: [RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-19 Thread Arnd Bergmann
On Monday 19 August 2013, Sebastian Hesselbarth wrote: AFAIK, there is Armada 1500 (88de3100) used in every Google TV 2nd Gen devices, some older multimedia boxes also used Armada 1000 (88de3010), and Chromecast comprises Armada 1500-mini (88de3005). According to the chromecast kernel sources

Re: 3.11-rc6 genetlink locking fix offends lockdep

2013-08-19 Thread Johannes Berg
3.11-rc6's commit 58ad436fcf49 (genetlink: fix family dump race) gives me the lockdep trace below at startup. Hmm. Yes, I see now how this happens, not sure why I didn't run into it. The problem is that genl_family_rcv_msg() is called with the genl_lock held, and then calls

Re: [RFC v1 0/5] ARM: Initial support for Marvell Armada 1500

2013-08-19 Thread Arnd Bergmann
On Monday 19 August 2013, Sebastian Hesselbarth wrote: We either put it into mach-mvebu and pretend to consolidate Marvell SoCs in there. Pro would be that it is close to other Armadas there, con is that Armada is codename for virtually any Marvell SoC lately. If we want a new mach-

[PATCH] [BUGFIX] crash/ioapic: Prevent crash_kexec() from deadlocking of ioapic_lock

2013-08-19 Thread Yoshihiro YUNOMAE
Prevent crash_kexec() from deadlocking of ioapic_lock. When crash_kexec() is executed on a cpu, the cpu will get ioapic_lock in disable_IO_APIC(). So if the cpu gets NMI while locking ioapic_lock, a deadlock wiil happen. In this patch, ioapic_lock is initialized before disable_IO_APIC(). To

Re: dmaengine: make dma_channel_rebalance() NUMA aware

2013-08-19 Thread Dan Williams
On Wed, Jul 31, 2013 at 4:13 AM, Brice Goglin brice.gog...@inria.fr wrote: dmaengine: make dma_channel_rebalance() NUMA aware dma_channel_rebalance() currently distributes channels by processor ID. These IDs often change with the BIOS, and the order isn't related to the DMA channel list

Re: UEFI Plugfest 2013 -- New Orleans

2013-08-19 Thread David Woodhouse
On Fri, 2013-08-16 at 11:20 -0400, John W. Linville wrote: All, The Linux Foundation and The UEFI Forum are hosting a UEFI Plugfest event in New Orleans on September 19-20, 2013. This event will run concurrent with Linux Plumbers Conference, just after LinuxCon at the Hyatt Regency New

[PATCH v2] dmaengine: make dmatest less noisy

2013-08-19 Thread Linus Walleij
Commit 95019c8c5 dmatest: gather test results in the linked list started to warning whenever we add results to a test thread. A warning for something completely normal? This is just cluttering my terminal. Move to debug prints. Cc: Andy Shevchenko andriy.shevche...@linux.intel.com Signed-off-by:

Fwd: [arch/powerpc/sysdev/fsl_lbc.c] Elbc read/write driver

2013-08-19 Thread Mercier Ivan
Hi, I'm working on a freescale qoriq p3041 and trying to communicate with a device by elbc bus in gpmc mode. I 've integrated CONFIG_FSL_LBC in Linux which provide the basics functions I guess. Now I'm wondering how can I do read and write operations on the bus. Should I code .read and .write

Re: [PATCH v2] dmaengine: make dmatest less noisy

2013-08-19 Thread Joe Perches
On Mon, 2013-08-19 at 10:25 +0200, Linus Walleij wrote: Commit 95019c8c5 dmatest: gather test results in the linked list started to warning whenever we add results to a test thread. A warning for something completely normal? This is just cluttering my terminal. Move to debug prints. [] diff

Re: [PATCH 1/1] extcon: arizona: Fix a typo in a comment

2013-08-19 Thread Chanwoo Choi
On 08/05/2013 06:00 PM, Sachin Kamat wrote: Fixes an incomplete comment introduced by commit 9c2ba270 (extcon: arizona: Simplify HPDET based identification). Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/extcon/extcon-arizona.c |2 +- 1 file changed, 1 insertion(+),

Re: [PATCH v2] extcon: palmas: Modified the compatible type to *ti,palmas-usb-vid*

2013-08-19 Thread Chanwoo Choi
On 08/19/2013 02:05 PM, Kishon Vijay Abraham I wrote: Hi, On Saturday 17 August 2013 03:51 AM, Stephen Warren wrote: On 08/16/2013 04:20 AM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VID detector, so modified the compatible type to *ti,palmas-usb-vid*. diff --git

Re: [PATCH RFC v2] mmc: sdhci-msm: Add support for MSM chipsets

2013-08-19 Thread Georgi Djakov
Hi Jaehoon, Thank you for noticing this and providing feedback. I will make it use the framework function. BR, Georgi On 08/19/2013 10:27 AM, Jaehoon Chung wrote: Hi Georgi, I found the you use the vreg-is_enabled. why don't you use the regulator_is_enabled()? i think better that use this

RE: [PATCH] block: support embedded device command line partition

2013-08-19 Thread Caizhiyong
On 08/15/2013 08:54 PM, Caizhiyong wrote: +blkdevparts=blkdev-def[;blkdev-def] + blkdev-def := blkdev-id:partdef[,partdef] +partdef := size[@offset](part-name) + +blkdev-id +block device disk name, embedded device used fixed block device, +it's disk name also fixed.

Re: [PATCH v2] dmaengine: make dmatest less noisy

2013-08-19 Thread Andy Shevchenko
On Mon, 2013-08-19 at 10:25 +0200, Linus Walleij wrote: Commit 95019c8c5 dmatest: gather test results in the linked list started to warning whenever we add results to a test thread. A warning for something completely normal? This is just cluttering my terminal. Move to debug prints. Cc:

Re: [PATCH 2/4] mtd: m25p80: make CONFIG_M25PXX_USE_FAST_READ safe to enable

2013-08-19 Thread Sascha Hauer
On Sat, Aug 17, 2013 at 01:17:02PM -0700, Brian Norris wrote: On Mon, Aug 12, 2013 at 12:22:24PM +0200, Sascha Hauer wrote: This patch adds a flag to struct flash_info indicating that fast_read is not supported. This now gives the following logic when determing whether to enable fastread:

Re: [RFC v1 4/5] ARM: mvebu: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-19 Thread Arnd Bergmann
On Monday 19 August 2013, Sebastian Hesselbarth wrote: On 08/17/2013 09:28 PM, Arnd Bergmann wrote: On Friday 16 August 2013, Sebastian Hesselbarth wrote: This seems like a strange combination. I would have expected either PJ4+Aurora+apbtimer or A9+pl310+localtimer, based on what I

Re: [PATCH v2] dmaengine: make dmatest less noisy

2013-08-19 Thread Dan Williams
On Mon, Aug 19, 2013 at 1:37 AM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Mon, 2013-08-19 at 10:25 +0200, Linus Walleij wrote: Commit 95019c8c5 dmatest: gather test results in the linked list started to warning whenever we add results to a test thread. A warning for

Re: [PATCH v2] extcon: palmas: Modified the compatible type to *ti,palmas-usb-vid*

2013-08-19 Thread Kishon Vijay Abraham I
On Monday 19 August 2013 10:35 AM, Kishon Vijay Abraham I wrote: Hi, On Saturday 17 August 2013 03:51 AM, Stephen Warren wrote: On 08/16/2013 04:20 AM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VID detector, so modified the compatible type to *ti,palmas-usb-vid*.

Re: [PATCH v2] dmaengine: make dmatest less noisy

2013-08-19 Thread Andy Shevchenko
On Mon, 2013-08-19 at 01:49 -0700, Dan Williams wrote: On Mon, Aug 19, 2013 at 1:37 AM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Mon, 2013-08-19 at 10:25 +0200, Linus Walleij wrote: Commit 95019c8c5 dmatest: gather test results in the linked list started to warning

[PATCH 0/6] simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
devm_ioremap_resource often uses the result of a call to platform_get_resource_byname as its last argument. devm_ioremap_resource does appropriate error handling on this argument, so error handling can be removed from the call to platform_get_resource_byname. The semantic patch that makes this

[PATCH 4/6] usb: musb: dsps: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl

[PATCH 3/6] mtd: fsmc_nand: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl

[PATCH 5/6] regulator: ti-abb: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl

[PATCH 6/6] MIPS: ath79: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl

[PATCH 2/6] watchdog: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl

[PATCH 1/6] ASoC: omap: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. In the case of omap-dmic.c, the error-handling code of devm_ioremap_resource is also corrected to include releasing

Re: dmaengine: make dma_channel_rebalance() NUMA aware

2013-08-19 Thread Brice Goglin
Le 19/08/2013 10:19, Dan Williams a écrit : * @cap: capability to match - * @n: nth channel desired + * @cpu: cpu index which the channel should be close to * - * Defaults to returning the channel with the desired capability and the - * lowest reference count when 'n' cannot be

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread Vineet Gupta
Hi Greg, I'd posted these patches for stable backport. Do I need to do anything more to get them included. https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage in Big-Endian configuration #1https://patchwork.kernel.org/patch/2841153/]

Re: [PATCH 5/6] regulator: ti-abb: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread walter harms
Am 19.08.2013 10:51, schrieb Julia Lawall: From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change

Re: [PATCH 5/6] regulator: ti-abb: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Julia Lawall
On Mon, 19 Aug 2013, walter harms wrote: Am 19.08.2013 10:51, schrieb Julia Lawall: From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. A simplified

Re: [PATCH v1 1/2] perf: add attr-mmap2 attribute to an event

2013-08-19 Thread Stephane Eranian
On Thu, Aug 15, 2013 at 12:26 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Aug 13, 2013 at 01:55:56PM +0200, Stephane Eranian wrote: @@ -638,6 +639,25 @@ enum perf_event_type { */ PERF_RECORD_SAMPLE = 9, + /* + * The MMAP2 records are an

[PATCH 5/5] GFS2: Check for glock already held in gfs2_getxattr

2013-08-19 Thread Steven Whitehouse
Since the introduction of atomic_open, gfs2_getxattr can be called with the glock already held, so we need to allow for this. Signed-off-by: Steven Whitehouse swhit...@redhat.com Reported-by: David Teigland teigl...@redhat.com Tested-by: David Teigland teigl...@redhat.com diff --git

[PATCH 4/5] GFS2: alloc_workqueue() doesn't return an ERR_PTR

2013-08-19 Thread Steven Whitehouse
From: Dan Carpenter dan.carpen...@oracle.com alloc_workqueue() returns a NULL on error, it doesn't return an ERR_PTR. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 9435384..544a809

Re: [Help Test] kdump, x86, acpi: Reproduce CPU0 SMI corruption issue after unsetting BSP flag

2013-08-19 Thread HATAYAMA Daisuke
(2013/08/19 11:59), Eric W. Biederman wrote: Sorry Eric, I'm not clear to what you mean by ``short one core''... Which are you suggesting? Disabling BSP if crash happens on AP is reasonable? Or restricting cpus to a single one only just as the current kdump configuration is reasonable? I

[PATCH 1/5] GFS2: Fix typo in gfs2_create_inode()

2013-08-19 Thread Steven Whitehouse
PTR_RET should be PTR_ERR Reported-by: Sachin Kamat sachin.ka...@linaro.org Cc: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index bbb2715..a01b8fd 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@

[PATCH 3/5] GFS2: don't overrun reserved revokes

2013-08-19 Thread Steven Whitehouse
From: Benjamin Marzinski bmarz...@redhat.com When run during fsync, a gfs2_log_flush could happen between the time when gfs2_ail_flush checked the number of blocks to revoke, and when it actually started the transaction to do those revokes. This occassionally caused it to need more revokes than

[PATCH 2/5] GFS2: WQ_NON_REENTRANT is meaningless and going away

2013-08-19 Thread Steven Whitehouse
From: Tejun Heo t...@kernel.org dbf2576e37 (workqueue: make all workqueues non-reentrant) made WQ_NON_REENTRANT no-op and the flag is going away. Remove its usages. This patch doesn't introduce any behavior changes. Signed-off-by: Tejun Heo t...@kernel.org Signed-off-by: Steven Whitehouse

GFS2: Pre-pull patch posting (fixes)

2013-08-19 Thread Steven Whitehouse
Hi, Out of these fives patches, the one for ensuring that the number of revokes is not exceeded, and the one for checking the glock is not already held in gfs2_getxattr are the two most important. The latter can be triggered by selinux. The other three patches are very small and fix mostly

Re: [PATCH 1/2] perf x86: Make intel_pmu_enable_all to enable only active events

2013-08-19 Thread Stephane Eranian
On Thu, Aug 15, 2013 at 3:53 PM, Andi Kleen a...@firstfloor.org wrote: I think its a NOP; this is the global ctrl register but intel_pmu_disable_event() writes PERFEVTSELx.EN = 0, so even if you enable it in the global mask, the event should still be disabled. Yes the hardware ANDs the

Re: [PATCH] um: ubd: Add REQ_FLUSH suppport

2013-08-19 Thread Richard W.M. Jones
On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote: UML's block device driver does not support write barriers, to support this this patch adds REQ_FLUSH suppport. Every time the block layer sends a REQ_FLUSH we fsync() now our backing file to guarantee data consistency. This

Re: [PATCH tip/core/rcu 01/11] rcu: Expedite grace periods during suspend/resume

2013-08-19 Thread Borislav Petkov
On Sun, Aug 18, 2013 at 05:29:10PM -0700, Paul E. McKenney wrote: I would guess that once we have a few more subsystems that want RCU to temporarily expedite its grace periods, we will have enough information and experience to do something a bit more general. In the meantime, I am opting for

[PATCH] staging: dgrp: add __init/__exit macros

2013-08-19 Thread navin patidar
add __init/__exit macros to related init/cleanup functions. Signed-off-by: navin patidar nav...@cdac.in --- drivers/staging/dgrp/dgrp_driver.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/staging/dgrp/dgrp_driver.c

Re: [PATCH 05/35] i2c: use dev_get_platdata()

2013-08-19 Thread Wolfram Sang
Now it's convincing, thanks! signature.asc Description: Digital signature

GFS2: Pull request (fixes)

2013-08-19 Thread Steven Whitehouse
Hi, Please consider pulling the following changes, Steve. - Out of these five patches, the one for ensuring that the number of revokes is not exceeded, and the one for checking the glock is not

GFS2: Pull request (fixes)

2013-08-19 Thread Steven Whitehouse
Oops, forgot to sign this when I sent it first, so here is a signed copy of it. Hi, Please consider pulling the following changes, Steve. - Out of these five patches, the one for ensuring that the number of

Re: [PATCH v2] extcon: palmas: Modified the compatible type to *ti,palmas-usb-vid*

2013-08-19 Thread Chanwoo Choi
On 08/19/2013 05:47 PM, Kishon Vijay Abraham I wrote: On Monday 19 August 2013 10:35 AM, Kishon Vijay Abraham I wrote: Hi, On Saturday 17 August 2013 03:51 AM, Stephen Warren wrote: On 08/16/2013 04:20 AM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VID detector, so

Re: [PATCH v2] extcon: palmas: Modified the compatible type to *ti,palmas-usb-vid*

2013-08-19 Thread Kishon Vijay Abraham I
On Monday 19 August 2013 02:54 PM, Chanwoo Choi wrote: On 08/19/2013 05:47 PM, Kishon Vijay Abraham I wrote: On Monday 19 August 2013 10:35 AM, Kishon Vijay Abraham I wrote: Hi, On Saturday 17 August 2013 03:51 AM, Stephen Warren wrote: On 08/16/2013 04:20 AM, Kishon Vijay Abraham I wrote:

Re: dmaengine: make dma_channel_rebalance() NUMA aware

2013-08-19 Thread Dan Williams
On Mon, Aug 19, 2013 at 1:54 AM, Brice Goglin brice.gog...@inria.fr wrote: Le 19/08/2013 10:19, Dan Williams a écrit : * @cap: capability to match - * @n: nth channel desired + * @cpu: cpu index which the channel should be close to * - * Defaults to returning the channel with the desired

Re: dmaengine: make dma_channel_rebalance() NUMA aware

2013-08-19 Thread Dan Williams
+ for_each_online_cpu(cpu) + per_cpu_ptr(channel_table[cap], cpu)-chan += min_chan(cap, cpu); ...this line-wrap strikes me weird. I think we can afford a few extra lines and do: for_each_online_cpu(cpu) { chan = min_chan(cap,

[GIT PULL] timer fixes

2013-08-19 Thread Ingo Molnar
Linus, Please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus HEAD: ae920eb24277e4a174a3ca575ce42b98b18a6748 Merge branch 'fortglx/3.11/time' of git://git.linaro.org/people/jstultz/linux into

[RFC PATCH] scsi: Add failfast mode to avoid infinite retry loop

2013-08-19 Thread Eiichi Tsukata
Hello, This patch adds scsi device failfast mode to avoid infinite retry loop. Currently, scsi error handling in scsi_decide_disposition() and scsi_io_completion() unconditionally retries on some errors. This is because retryable errors are thought to be temporary and the scsi device will soon

Re: [PATCH 09/15] NTB: Use DMA Engine to Transmit and Receive

2013-08-19 Thread Dan Williams
On Fri, Aug 2, 2013 at 10:35 AM, Jon Mason jon.ma...@intel.com wrote: Allocate and use a DMA engine channel to transmit and receive data over NTB. If none is allocated, fall back to using the CPU to transfer data. Cc: Dan Williams d...@fb.com Cc: Vinod Koul vinod.k...@intel.com Cc: Dave

Re: dmaengine: make dma_channel_rebalance() NUMA aware

2013-08-19 Thread Brice Goglin
Le 19/08/2013 11:36, Dan Williams a écrit : + for_each_online_cpu(cpu) + per_cpu_ptr(channel_table[cap], cpu)-chan += min_chan(cap, cpu); ...this line-wrap strikes me weird. I think we can afford a few extra lines and do:

[RFC PATCH 04/11] [CLEANUP] trace-cmd: Split out the communication with listener from setup_network()

2013-08-19 Thread Yoshihiro YUNOMAE
Split out the communication with listener from the setup_network() for avoiding duplicate codes between listen mode and virt-server mode. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com --- trace-record.c | 119 +--- 1 file

[RFC PATCH 10/11] trace-cmd: Add virt-server mode for a virtualization environment

2013-08-19 Thread Yoshihiro YUNOMAE
Add the virt-server mode for a virtualization environment based on the listen mode for networking. This mode works like client/server mode over TCP/UDP, but it uses virtio-serial channel instead of IP network. Using networking for collecting trace data of guests is generally high overhead caused

[RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-19 Thread Yoshihiro YUNOMAE
Apply trace-msg protocol for communication between a server and clients. Currently, trace-listen(server) and trace-record -N(client) operate as follows: server client listen to socket fd connect to socket fd accept the client

[RFC PATCH 05/11] [CLEANUP] trace-cmd: Split out the connect waiting loop from do_listen()

2013-08-19 Thread Yoshihiro YUNOMAE
Split out the connect waiting loop from do_listen() for avoiding duplicate codes between listen mode and virt-server mode. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com --- trace-listen.c | 45 ++--- 1 file changed, 26 insertions(+),

[RFC PATCH 11/11] trace-cmd: Add --virt option for record mode

2013-08-19 Thread Yoshihiro YUNOMAE
Add --virt option for record mode for a virtualization environment. If we use this option on a guest, we can send trace data in low overhead. This is because guests can send trace data to a host without copying the data by using splice(2). The format is: trace-cmd record --virt -e sched*

[RFC PATCH 01/11] [TRIVIAL] trace-cmd: Delete the variable iface in trace-listen

2013-08-19 Thread Yoshihiro YUNOMAE
iface in trace-listen is not used any more, so it is deleted. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com --- trace-listen.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/trace-listen.c b/trace-listen.c index 8503b50..dec1c00 100644 ---

Re: [PATCH 04/27] drivers/dma: don't check resource with devm_ioremap_resource

2013-08-19 Thread Vinod Koul
On Tue, Jul 23, 2013 at 08:01:37PM +0200, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de Sorry looks like I missed this and instead applied a similar patch from Julia

[RFC PATCH 06/11] [CLEANUP] trace-cmd: Split out the communication with client from process_client()

2013-08-19 Thread Yoshihiro YUNOMAE
Split out the communication with client from process_client() for avoiding duplicate codes between listen mode and virt-server mode. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com --- trace-listen.c | 163 1 file

[RFC PATCH 07/11] [CLEANUP] trace-cmd: Split out binding a port and fork reader from open_udp()

2013-08-19 Thread Yoshihiro YUNOMAE
Split out binding a port and fork reader from open_udp() for avoiding duplicate codes between listen mode and virt-server mode. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com --- trace-listen.c | 34 ++ 1 file changed, 26 insertions(+), 8

[RFC PATCH 09/11] trace-cmd: Use poll(2) to wait for a message

2013-08-19 Thread Yoshihiro YUNOMAE
Use poll(2) to wait for a message. If a client/server cannot send a message for any reasons, the current server/client will wait in a blocking read operation. So, we use poll(2) for avoiding remaining in a blocking state. This modification avoids to try to connect to an old-version client. An

[RFC PATCH 03/11] [BUGFIX]trace-cmd: Quit from splice(read) if there are no data

2013-08-19 Thread Yoshihiro YUNOMAE
Quit from splice(read) for avoiding to do splice(write) if there are no data. When splice(read) returns negative or 0, that means no data. So, the recorder does not need to do splice(write). Note: This patch is related to https://lkml.org/lkml/2013/7/21/200. If the patch of the link is not

[RFC PATCH 00/11] trace-cmd: Support the feature recording trace data of guests on the host

2013-08-19 Thread Yoshihiro YUNOMAE
Hi Steven, I'm considering Integrated trace which is a trace merging system for a virtualization environment. Why do we need this system? Because we want to analyze latency problems for a virtualization environment. For example, a host OS runs two guest OSs and those OSs are sharing HW devices

[RFC PATCH 02/11] [BUGFIX] trace-cmd: Add waitpid() when recorders are destoried

2013-08-19 Thread Yoshihiro YUNOMAE
Add waitpid() when recorders are destroyed for avoiding zombie processes. When udp_port is inappropriate, a parent process will destroy all child recorder processes. Currently, the process does not wait for the termination of the children, so those recorders can become zombie processes if the

Re: [PATCH] [BUGFIX] crash/ioapic: Prevent crash_kexec() from deadlocking of ioapic_lock

2013-08-19 Thread Ingo Molnar
* Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: Prevent crash_kexec() from deadlocking of ioapic_lock. s/of/on When crash_kexec() is executed on a cpu, the cpu will get ioapic_lock in disable_IO_APIC(). So if the cpu gets NMI while locking ioapic_lock, a deadlock wiil

Re: [PATCH v2] dmaengine: make dmatest less noisy

2013-08-19 Thread Linus Walleij
On Mon, Aug 19, 2013 at 10:31 AM, Joe Perches j...@perches.com wrote: -static unsigned int threads_per_chan = 1; +static unsigned int threads_per_chan = 8; module_param(threads_per_chan, uint, S_IRUGO); MODULE_PARM_DESC(threads_per_chan, Number of threads to start per channel

[tip:core/locking] generic-ipi/locking: Fix misleading smp_call_function_any() description

2013-08-19 Thread tip-bot for Xie XiuQi
Commit-ID: 15e71911fcc655508e02f767a3d9b8b138051d2b Gitweb: http://git.kernel.org/tip/15e71911fcc655508e02f767a3d9b8b138051d2b Author: Xie XiuQi xiexi...@huawei.com AuthorDate: Mon, 29 Jul 2013 11:52:24 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 19 Aug 2013 09:03:50

[tip:x86/spinlocks] x86/kvm/guest: Fix sparse warning: symbol ' klock_waiting' was not declared as static

2013-08-19 Thread tip-bot for Raghavendra K T
Commit-ID: 36bd621337c91a1ecda588e5bbbae8dd9698bae7 Gitweb: http://git.kernel.org/tip/36bd621337c91a1ecda588e5bbbae8dd9698bae7 Author: Raghavendra K T raghavendra...@linux.vnet.ibm.com AuthorDate: Fri, 16 Aug 2013 15:08:41 +0530 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 19

Re: [PATCH 07/25] dma: of: make error message more meaningful by adding the node name

2013-08-19 Thread Vinod Koul
On Wed, Jul 31, 2013 at 04:14:35PM +0200, Lothar Waßmann wrote: Signed-off-by: Lothar Waßmann l...@karo-electronics.de Applied, thanks ~Vinod --- drivers/dma/of-dma.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c

Re: [PATCH v2] dma: mmp_pdma: fix a memory alloc error

2013-08-19 Thread Vinod Koul
On Thu, Aug 01, 2013 at 10:27:47AM +0800, Xiang Wang wrote: 2013/7/29 Vinod Koul vinod.k...@intel.com: On Thu, Jul 25, 2013 at 10:22:50AM +0800, Xiang Wang wrote: Btw its generally a good idea to remove the parts not required for further discussion Would you please explain a little

  1   2   3   4   5   6   7   >