Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-06 Thread Gleb Natapov
On Fri, Sep 06, 2013 at 09:38:21AM +1000, Alexey Kardashevskiy wrote: On 09/06/2013 04:10 AM, Gleb Natapov wrote: On Wed, Sep 04, 2013 at 02:01:28AM +1000, Alexey Kardashevskiy wrote: On 09/03/2013 08:53 PM, Gleb Natapov wrote: On Mon, Sep 02, 2013 at 01:14:29PM +1000, Alexey Kardashevskiy

[PATCH] mmc: sdhci: add support for pre_req and post_req

2013-09-06 Thread Chanho Min
This patch supports non-blocking mmc request function for the sdchi driver. (commit: aa8b683a7d392271ed349c6ab9f36b8c313794b7) pre_req() runs dma_map_sg(), post_req() runs dma_unmap_sg. If not calling pre_req() before sdhci_request(), dma_map_sg will be issued before starting the transfer. It

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-06 Thread Alexey Kardashevskiy
On 09/06/2013 04:01 PM, Gleb Natapov wrote: On Fri, Sep 06, 2013 at 09:38:21AM +1000, Alexey Kardashevskiy wrote: On 09/06/2013 04:10 AM, Gleb Natapov wrote: On Wed, Sep 04, 2013 at 02:01:28AM +1000, Alexey Kardashevskiy wrote: On 09/03/2013 08:53 PM, Gleb Natapov wrote: On Mon, Sep 02, 2013

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-06 Thread Srivatsa S. Bhat
On 09/05/2013 06:24 AM, Stephen Boyd wrote: On 09/04/13 17:26, Rafael J. Wysocki wrote: On Wednesday, September 04, 2013 04:50:01 PM Stephen Boyd wrote: On 09/04/13 16:55, Rafael J. Wysocki wrote: Well, I'm not sure when Viresh is going to be back. Srivatsa, can you please resend this patch

Re: [PATCH v2 1/4] mm/zswap: bugfix: memory leak when re-swapon

2013-09-06 Thread Bob Liu
On 09/06/2013 01:16 PM, Weijie Yang wrote: zswap_tree is not freed when swapoff, and it got re-kmalloc in swapon, so memory-leak occurs. Modify: free memory of zswap_tree in zswap_frontswap_invalidate_area(). Signed-off-by: Weijie Yang weijie.y...@samsung.com Reviewed-by: Bob Liu

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-06 Thread Bob Liu
On 09/06/2013 01:16 PM, Weijie Yang wrote: add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap subsystem before. Signed-off-by: Weijie Yang weijie.y...@samsung.com

Re: [PATCH v2 2/4] mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently

2013-09-06 Thread Bob Liu
On 09/06/2013 01:16 PM, Weijie Yang wrote: Consider the following scenario: thread 0: reclaim entry x (get refcount, but not call zswap_get_swap_cache_page) thread 1: call zswap_frontswap_invalidate_page to invalidate entry x. finished, entry x and its zbud is not freed as its

[PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-06 Thread Koen Kooi
The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI added, so create a common dtsi both can use. MMC support for AM335x still isn't in, so only the LDO change has been added. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- .../{am335x-bone.dts =

Re: [PATCH 1/2] SDT markers listing by perf

2013-09-06 Thread Namhyung Kim
Hi Hemant, On Wed, 04 Sep 2013 23:07:57 +0530, Hemant wrote: On 09/04/2013 12:12 PM, Namhyung Kim wrote: On Tue, 03 Sep 2013 13:06:55 +0530, Hemant Kumar wrote: + /* +* Look for Section type = SHT_NOTE, flags = no SHF_ALLOC +* and name = .note.stapsdt +*/ + scn =

[PATCH] VMCI: fix to pass correct device identity to free_irq()

2013-09-06 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn free_irq() expects the same device identity that was passed to corresponding request_irq(), otherwise the IRQ is not freed. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/misc/vmw_vmci/vmci_guest.c | 2 +- 1 file changed, 1

Re: linux-next: problem fetching the watchdog tree

2013-09-06 Thread Wim Van Sebroeck
Hi Stephen, Fetching the wireless tree yesterday and today produced this error: fatal: unable to connect to www.linux-watchdog.org: www.linux-watchdog.org[0: 83.149.101.17]: errno=Connection refused Strange. I had a git zombie process, got rid of it i2 days ago and restarted git but

Re: [PATCH v2 4/4] mm/zswap: use GFP_NOIO instead of GFP_KERNEL

2013-09-06 Thread Bob Liu
On 09/06/2013 01:16 PM, Weijie Yang wrote: To avoid zswap store and reclaim functions called recursively, use GFP_NOIO instead of GFP_KERNEL The reason of using GFP_KERNEL in write back path is we want to try our best to move those pages from zswap to real swap device. I think it would be

[PATCH] perf kvm: fix sample_type manipulation

2013-09-06 Thread Adrian Hunter
Manipulating the sample_type of an evsel requires the use of: perf_evsel__set_sample_bit() and perf_evsel__reset_sample_bit() Manipulating the sample type of an evlist requires the id position to be recalculated. Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

[PATCH v2 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-06 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc:

[PATCH v2 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-06 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following warning: drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Lee Jones

[PATCH v2 2/4] ab8500-charger: Remove redundant break

2013-09-06 Thread Sachin Kamat
Each of the if-else blocks has a break statement. Remove the additional one which is unreachable. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- No changes since v1. --- drivers/power/ab8500_charger.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/ab8500_charger.c

[PATCH v2 4/4] pm2301-charger: Staticize pm2xxx_charger_die_therm_mngt

2013-09-06 Thread Sachin Kamat
pm2xxx_charger_die_therm_mngt is used only in this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org --- No changes since v1. --- drivers/power/pm2301_charger.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/2] fsl: set wakeup sources

2013-09-06 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Some devices can work as wakeup sources, they should be powerred on during system deep sleep, this patch adds interface for configuring devices power supply status during deep sleep. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com ---

Re: [PATCH v14 0/6] LSM: Multiple concurrent LSMs

2013-09-06 Thread Casey Schaufler
On 9/5/2013 11:48 AM, Kees Cook wrote: On Mon, Aug 26, 2013 at 7:29 PM, Casey Schaufler ca...@schaufler-ca.com wrote: On 8/6/2013 3:36 PM, Kees Cook wrote: On Tue, Aug 6, 2013 at 3:25 PM, Casey Schaufler ca...@schaufler-ca.com wrote: On 8/5/2013 11:30 PM, Kees Cook wrote: On Thu, Jul 25,

Re: [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-09-06 Thread Tero Kristo
Hi, Chirping in my thoughts below. On 09/05/2013 11:30 PM, Stephen Warren wrote: On 09/05/2013 12:29 PM, Mike Turquette wrote: On Wed, Sep 4, 2013 at 11:36 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 09/03/2013 05:22 PM, Mike Turquette wrote: Quoting Stephen Warren (2013-08-30

Re: [PATCH 2/2] fsl: set wakeup sources

2013-09-06 Thread Hongbo Zhang
Sorry linux-kernel subscribers, This is for team internal review, linux-kernel is cced due to my carelessness, omit this mail please. On 09/06/2013 02:46 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Some devices can work as wakeup sources, they should

[PATCH V3] PCI: exynos: add support for MSI

2013-09-06 Thread Jingoo Han
This patch adds support for Message Signaled Interrupt in the Exynos PCIe diver using Synopsys designware PCIe core IP. Signed-off-by: Siva Reddy Kallam siva.kal...@samsung.com Signed-off-by: Srikanth T Shivanand ts.srika...@samsung.com Signed-off-by: Jingoo Han jg1@samsung.com Cc: Pratyush

Re: [PATCH] VMCI: fix to pass correct device identity to free_irq()

2013-09-06 Thread Dmitry Torokhov
On Fri, Sep 06, 2013 at 02:39:28PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn free_irq() expects the same device identity that was passed to corresponding request_irq(), otherwise the IRQ is not freed. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn

Re: [PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()

2013-09-06 Thread Marc Kleine-Budde
On 09/06/2013 08:52 AM, Stephane Grosjean wrote: Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start(). The patch fixes error handling to deallocate all the resources. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-06 Thread Gleb Natapov
On Thu, Sep 05, 2013 at 02:05:09PM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-09-03 at 13:53 +0300, Gleb Natapov wrote: Or supporting all IOMMU links (and leaving emulated stuff as is) in on device is the last thing I have to do and then you'll ack the patch? I am concerned

Re: [PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-06 Thread George Cherian
On 9/6/2013 12:03 PM, Koen Kooi wrote: The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI added, so create a common dtsi both can use. MMC support for AM335x still isn't in, so only the LDO change has been added. Signed-off-by: Koen Kooi k...@dominion.thruhere.net ---

Re: [PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()

2013-09-06 Thread Stephane Grosjean
Le 06/09/2013 08:56, Marc Kleine-Budde a écrit : On 09/06/2013 08:52 AM, Stephane Grosjean wrote: Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start(). The patch fixes error handling to deallocate all the resources. Found by Linux Driver Verification project

Re: [PATCH v2 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-06 Thread Lee Jones
On Fri, 06 Sep 2013, Sachin Kamat wrote: Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result]

Re: [PATCH v2 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-06 Thread Lee Jones
On Fri, 06 Sep 2013, Sachin Kamat wrote: Check the return value of regulator_enable to silence the following warning: drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by:

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-06 Thread Alexey Kardashevskiy
On 09/06/2013 04:57 PM, Gleb Natapov wrote: On Thu, Sep 05, 2013 at 02:05:09PM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-09-03 at 13:53 +0300, Gleb Natapov wrote: Or supporting all IOMMU links (and leaving emulated stuff as is) in on device is the last thing I have to do and then

Re: [PATCH v2 2/4] ab8500-charger: Remove redundant break

2013-09-06 Thread Lee Jones
On Fri, 06 Sep 2013, Sachin Kamat wrote: Each of the if-else blocks has a break statement. Remove the additional one which is unreachable. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- No changes since v1. --- drivers/power/ab8500_charger.c |1 - 1 file changed, 1

[PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()

2013-09-06 Thread Stephane Grosjean
Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start(). The patch fixes error handling to deallocate all the resources. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru Acked-by: Stephane Grosjean

Re: [PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-06 Thread Koen Kooi
Op 6 sep. 2013, om 08:57 heeft George Cherian george.cher...@ti.com het volgende geschreven: On 9/6/2013 12:03 PM, Koen Kooi wrote: The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI added, so create a common dtsi both can use. MMC support for AM335x still isn't in,

[PATCHv2] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-06 Thread Koen Kooi
The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI added, so create a common dtsi both can use. MMC support for AM335x still isn't in, so only the LDO change has been added. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- Changes since v1: Added the

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-09-06 Thread Rodolfo Giometti
On Wed, Sep 04, 2013 at 10:20:38AM +0200, Paul Chavent wrote: Signed-off-by: Paul Chavent paul.chav...@onera.fr Acked: Rodolfo Giometti giome...@enneenne.com -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it

linux-next: build warning after merge of the final tree (Linus' tree related - vai vfs tree)

2013-09-06 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (arm defconfig) produced this warning: fs/direct-io.c: In function 'sb_init_dio_done_wq': fs/direct-io.c:557:2: warning: value computed is not used [-Wunused-value] This is: cmpxchg(sb-s_dio_done_wq, NULL, wq); Introduced

linux-next: Tree for Sep 6

2013-09-06 Thread Stephen Rothwell
Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130905: *crickets* I have created today's linux-next tree at

Re: [PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-06 Thread George Cherian
On 9/6/2013 12:40 PM, Koen Kooi wrote: Op 6 sep. 2013, om 08:57 heeft George Cherian george.cher...@ti.com het volgende geschreven: On 9/6/2013 12:03 PM, Koen Kooi wrote: The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI added, so create a common dtsi both can use.

Re: kobject: delayed kobject release: help find buggy drivers

2013-09-06 Thread Russell King - ARM Linux
On Thu, Sep 05, 2013 at 09:11:37PM -0400, Dave Jones wrote: As discussed on irc, with this updated patch it hangs *really* early in boot. With earlyprintk=vga I can see some of the trace.. kobject_init firmware_map_add_entry firmware_map_add_early e820_reserve_resources setup_arch

Re: [PATCH] mmc: sdhci: add support for pre_req and post_req

2013-09-06 Thread Jaehoon Chung
Hi, Chanho. I remembered Shawn Guo had posted this patch. Do you resend it? Best Regards, Jaehoon Chung On 09/06/2013 03:01 PM, Chanho Min wrote: This patch supports non-blocking mmc request function for the sdchi driver. (commit: aa8b683a7d392271ed349c6ab9f36b8c313794b7) pre_req() runs

Re: [PATCH tip/core/rcu 8/9] nohz_full: Add full-system-idle state machine

2013-09-06 Thread Geert Uytterhoeven
On Tue, Aug 20, 2013 at 4:47 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig @@ -157,6 +157,33 @@ config NO_HZ_FULL_SYSIDLE Say N if you are unsure. +config NO_HZ_FULL_SYSIDLE_SMALL + int Number of CPUs above which

[PATCHv3 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-09-06 Thread Xiubo Li
This adds the Document for Freescale FTM PWM driver under Documentation/devicetree/bindings/pwm/. Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 36 ++ 1 file changed, 36 insertions(+) create mode 100644

[PATCHv3 0/4] Add Freescale FTM PWM driver.

2013-09-06 Thread Xiubo Li
Hello, This patch series is the Freescale FTM PWM implementation. And there are 8 channels most supported by the FTM PWM. This implementation is only compatible with device tree definition. This patch series is based on linux-next and has been tested on Vybrid VF610 Tower board using device

[PATCHv3 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board.

2013-09-06 Thread Xiubo Li
Selecting system clock as the counter source clock by default. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/boot/dts/vf610-twr.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 1a58678..c742275

[PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-06 Thread Xiubo Li
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com --- drivers/pwm/Kconfig | 10 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-fsl-ftm.c | 505

[PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-06 Thread Xiubo Li
This adds devicetree node for VF610, and there are 8 channels supported by default. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 103 ++- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-06 Thread Sachin Kamat
On 6 September 2013 12:32, Lee Jones lee.jo...@linaro.org wrote: On Fri, 06 Sep 2013, Sachin Kamat wrote: Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’,

[PATCH v3 2/4] ab8500-charger: Remove redundant break

2013-09-06 Thread Sachin Kamat
Each of the if-else blocks has a break statement. Remove the additional one which is unreachable. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org --- No changes since v1. --- drivers/power/ab8500_charger.c |1 - 1 file changed, 1 deletion(-) diff

[PATCH v3 4/4] pm2301-charger: Staticize pm2xxx_charger_die_therm_mngt

2013-09-06 Thread Sachin Kamat
pm2xxx_charger_die_therm_mngt is used only in this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org --- No changes since v1. --- drivers/power/pm2301_charger.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-06 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc:

[PATCH v3 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-06 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following warning: drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Lee Jones

[PATCH] arm: dts: am33xx: Add mmc nodes for am33xx platform

2013-09-06 Thread George Cherian
Add mmc nodes for am33xx platforms Signed-off-by: George Cherian george.cher...@ti.com --- Verified after applying [1] and [2] [1] - [PATCH v4 0/6] dma: edma: Support scatter-lists of any length - https://lkml.org/lkml/2013/8/29/466 [2] - [PATCH v2] ARM: dts: add AM33XX EDMA support -

Re: [PATCH 1/3] autofs4 - fix device ioctl mount lookup

2013-09-06 Thread Ian Kent
On Wed, 2013-09-04 at 03:42 +0100, Al Viro wrote: On Wed, Sep 04, 2013 at 03:26:17AM +0100, Al Viro wrote: I've applied slightly modified variant of Jeff's vfs: allow umount to handle mountpoints without revalidating them (modified by just leaving the struct path filled with mountpoint

Re: [PATCH 2/2 v2] mm: allow to set overcommit ratio more precisely

2013-09-06 Thread Jerome Marchand
On 09/06/2013 12:11 AM, Pavel Machek wrote: hi! This patch adds the new overcommit_ratio_ppm sysctl variable that allow to set overcommit ratio with a part per million precision. The old overcommit_ratio variable can still be used to set and read the ratio with a 1% precision. That way,

Re: [PATCH 1/2] SDT markers listing by perf

2013-09-06 Thread Hemant
Hi Namhyung, On 09/06/2013 12:07 PM, Namhyung Kim wrote: Hi Hemant, On Wed, 04 Sep 2013 23:07:57 +0530, Hemant wrote: On 09/04/2013 12:12 PM, Namhyung Kim wrote: On Tue, 03 Sep 2013 13:06:55 +0530, Hemant Kumar wrote: + /* +* Look for Section type = SHT_NOTE, flags = no

Re: [PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-06 Thread Koen Kooi
Op 6 sep. 2013, om 09:10 heeft Koen Kooi k...@dominion.thruhere.net het volgende geschreven: Op 6 sep. 2013, om 08:57 heeft George Cherian george.cher...@ti.com het volgende geschreven: On 9/6/2013 12:03 PM, Koen Kooi wrote: The BeagleBone Black is basically a regular BeagleBone with

Re: linux-next: build warning after merge of the final tree (Linus' tree related - vai vfs tree)

2013-09-06 Thread Geert Uytterhoeven
On Fri, Sep 6, 2013 at 9:19 AM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the final tree, today's linux-next build (arm defconfig) produced this warning: fs/direct-io.c: In function 'sb_init_dio_done_wq': fs/direct-io.c:557:2: warning: value computed is not used

Re: [PATCH 1/3] autofs4 - fix device ioctl mount lookup

2013-09-06 Thread Ian Kent
Sorry, I should have added Jeff to the cc for this post. On Fri, 2013-09-06 at 16:38 +0800, Ian Kent wrote: On Wed, 2013-09-04 at 03:42 +0100, Al Viro wrote: On Wed, Sep 04, 2013 at 03:26:17AM +0100, Al Viro wrote: I've applied slightly modified variant of Jeff's vfs: allow umount to

[PATCH] mm/hotplug: rename the function is_memblock_offlined_cb()

2013-09-06 Thread Xishi Qiu
Function is_memblock_offlined() return 1 means memory block is offlined, but is_memblock_offlined_cb() return 1 means memory block is not offlined, this will confuse somebody, so rename the function. Another, use pfn_to_nid(pfn) instead of page_to_nid(pfn_to_page(pfn)). Signed-off-by: Xishi Qiu

Re: [PATCH 1/2] gpio: Fix crash in gpiod_set_debounce()

2013-09-06 Thread Linus Walleij
On Tue, Sep 3, 2013 at 10:25 PM, Stephen Warren swar...@wwwdotorg.org wrote: chip = desc-chip; if (!chip-set || !chip-set_debounce) { pr_warn(%s: missing set() or set_debounce() operations\n, __func__); + return -EIO; } BTW, I'm not

Re: [PATCH v5 05/13] xen/arm,arm64: move Xen initialization earlier

2013-09-06 Thread Ian Campbell
On Thu, 2013-09-05 at 17:59 +0100, Stefano Stabellini wrote: On Thu, 5 Sep 2013, Catalin Marinas wrote: On Thu, Aug 29, 2013 at 07:32:26PM +0100, Stefano Stabellini wrote: Move Xen initialization earlier, before any DMA requests can be made. Signed-off-by: Stefano Stabellini

[ANNOUNCE] ipvsadm release v1.27

2013-09-06 Thread Jesper Dangaard Brouer
We are happy to announce the release of ipvsadm v1.27. ipvsadm is a utility to administer the kernels IPVS/LVS load-balancer service It have been quite a while since the last release of ipvsadm, as v1.26 were released on February 8, 2011. Since then, the source code repository have been

Re: [PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()

2013-09-06 Thread Marc Kleine-Budde
On 09/05/2013 11:33 AM, Marc Kleine-Budde wrote: Added Stephane to Cc. On 09/04/2013 11:46 PM, Alexey Khoroshilov wrote: Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start(). The patch fixes error handling to deallocate all the resources. Found by Linux Driver

[GIT PULL] arch/microblaze changes for 3.12

2013-09-06 Thread Michal Simek
Hi Linus, please pull these Microblaze patches to your tree. Thanks, Michal The following changes since commit 6e4664525b1db28f8c4e1130957f70a94c19213e: Linux 3.11 (2013-09-02 13:46:10 -0700) are available in the git repository at: git://git.monstr.eu/linux-2.6-microblaze.git

[PATCH v2 1/2] Documentation: arm: early_ioremap/early_memremap

2013-09-06 Thread Leif Lindholm
This patch provides documentation of the early_ioremap() and early_memremap() functionality,including its implementation and usage instructions. Signed-off-by: Leif Lindholm leif.lindh...@linaro.org Acked-by: Rob Landley r...@landley.net --- Documentation/arm/00-INDEX |2 ++

[PATCH v2 0/2] Add early_ioremap()/early_memremap() support to arm

2013-09-06 Thread Leif Lindholm
x86 and ia64 have the early_ioremap()/early_memremap() functions, which are useful for supporting things like UEFI, ACPI and SMBIOS, where configuration tables need to be parsed before proper memory management is available, regardless of highmem status. This patchset implements a restricted form

[GIT PULL] GPIO changes for v3.12

2013-09-06 Thread Linus Walleij
Hi Linus, this is the bulk of GPIO changes for the v3.12 series. Details can be found in the signed tag. I have a feeling that some of the fixes need to be taken into -stable so I will attempt to ask the authors of suspected patches to indicate this to Greg in a separate mail. Please pull them

[PATCH v2 2/2] arm: add early_ioremap support

2013-09-06 Thread Leif Lindholm
This patch adds support for early_ioremap and early_memremap, based on the existing mechanism in x86. Up to 7 regions of up to 128KB each can be temporarily mapped in before paging_init, regardless of later highmem status. Signed-off-by: Leif Lindholm leif.lindh...@linaro.org ---

[BUG] trying to lock tailpage in page_fault path

2013-09-06 Thread Artem Savkov
Hi All, Since the thp-mm-locking-tail-page-is-a-bug-fix patch (c6d04b4502a07b040b9e8cce835f899913961248 in linux-next.git) from Andrew's tree I get the following trace on pulseaudio start: [ 147.191296] [ cut here ] [ 147.192017] kernel BUG at

[PATCH] x86: simplefb: avoid overflow

2013-09-06 Thread Tom Gundersen
lfb_size can easily be say 4M, which would make the bitshit overflow and the test fail. Signed-off-by: Tom Gundersen t...@jklm.no Cc: David Herrmann dh.herrm...@gmail.com Cc: H. Peter Anvin h...@zytor.com --- arch/x86/kernel/sysfb_simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present

2013-09-06 Thread Jean Pihet
Hi Jiri, On 5 September 2013 18:30, Jiri Olsa jo...@redhat.com wrote: On Wed, Sep 04, 2013 at 08:04:14PM +0200, Jean Pihet wrote: On ARM the debug info is not present in the .eh_frame sections but instead in .debug_frame. Use libunwind to load and parse the debug info. hum, cannot make

Re: [PATCH v2 1/2] Documentation: arm: early_ioremap/early_memremap

2013-09-06 Thread Russell King - ARM Linux
On Fri, Sep 06, 2013 at 10:19:17AM +0100, Leif Lindholm wrote: +Any residual mappings will be overridden by subsequent kmap() calls (but do +use early_iounmap()). + +Specify 'early_ioremap_debug' on the kernel commandline for verbose output. + +SYNOPSIS + #include asm/io.h linux/io.h

Re: [PATCH v3 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-06 Thread Lee Jones
On Fri, 06 Sep 2013, Sachin Kamat wrote: Check the return value of regulator_enable to silence the following warning: drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by:

Re: [PATCH v3 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-06 Thread Lee Jones
On Fri, 06 Sep 2013, Sachin Kamat wrote: Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result]

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-06 Thread Yann E. MORIN
Michal, All, On 2013-09-05 11:38 +0200, Michal Marek spake thusly: On 3.9.2013 23:04, Yann E. MORIN wrote: From: Yann E. MORIN yann.morin.1...@free.fr Currently, the 'MODULES' symbol is hard-coded to be the default symbol that enables/disables tristates, if no other symbol was declared

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-06 Thread Yann E. MORIN
Michal, All, On 2013-09-05 12:02 +0200, Michal Marek spake thusly: On 5.9.2013 11:38, Michal Marek wrote: On 3.9.2013 23:04, Yann E. MORIN wrote: From: Yann E. MORIN yann.morin.1...@free.fr This patch changes the way we enable/disable tristates: if a symbol was found with 'option

Re: [PATCH] PCI: add quirk for 3ware 9650SE controller

2013-09-06 Thread Jiri Kosina
On Wed, 28 Aug 2013, Bjorn Helgaas wrote: [+cc another email addr for Adam from git logs] Thanks. Adam, would you happen to have any possible explanation / background? Commit d5dea7d95 (PCI: msi: Disable msi interrupts when we initialize a pci device) makes MSIs be forcibly disabled at

Re: [PATCH] x86: simplefb: avoid overflow

2013-09-06 Thread David Herrmann
Hi On Fri, Sep 6, 2013 at 11:32 AM, Tom Gundersen t...@jklm.no wrote: lfb_size can easily be say 4M, which would make the bitshit overflow and the test fail. Signed-off-by: Tom Gundersen t...@jklm.no Cc: David Herrmann dh.herrm...@gmail.com Cc: H. Peter Anvin h...@zytor.com ---

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-06 Thread Michal Marek
On 6.9.2013 11:47, Yann E. MORIN wrote: Michal, All, On 2013-09-05 11:38 +0200, Michal Marek spake thusly: On 3.9.2013 23:04, Yann E. MORIN wrote: From: Yann E. MORIN yann.morin.1...@free.fr Currently, the 'MODULES' symbol is hard-coded to be the default symbol that enables/disables

Re: [PATCH] x86: EFI stub support for large memory maps

2013-09-06 Thread Matt Fleming
On Fri, 23 Aug, at 03:02:51PM, Linn Crosetto wrote: This patch fixes a problem with EFI memory maps larger than 128 entries when booting using the EFI stub, which results in overflowing e820_map in boot_params and an eventual halt when checking the map size in sanitize_e820_map(). If the

Re: [PATCH 1/3] autofs4 - fix device ioctl mount lookup

2013-09-06 Thread Jeff Layton
On Fri, 06 Sep 2013 16:54:19 +0800 Ian Kent ra...@themaw.net wrote: Sorry, I should have added Jeff to the cc for this post. On Fri, 2013-09-06 at 16:38 +0800, Ian Kent wrote: On Wed, 2013-09-04 at 03:42 +0100, Al Viro wrote: On Wed, Sep 04, 2013 at 03:26:17AM +0100, Al Viro wrote:

RE: [BUG] trying to lock tailpage in page_fault path

2013-09-06 Thread Kirill A. Shutemov
Artem Savkov wrote: Hi All, Since the thp-mm-locking-tail-page-is-a-bug-fix patch (c6d04b4502a07b040b9e8cce835f899913961248 in linux-next.git) from Andrew's tree I get the following trace on pulseaudio start: [ 147.191296] [ cut here ] [ 147.192017] kernel BUG

Re: [PATCH V4] regulator: palmas: add support for external control of rails

2013-09-06 Thread Mark Brown
On Thu, Sep 05, 2013 at 10:54:27PM +0100, Lee Jones wrote: Would you like to take it instead then Mark? Yes, now that it's slipped into v3.12 it seems more sensible. signature.asc Description: Digital signature

Re: [PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present

2013-09-06 Thread Jiri Olsa
On Thu, Sep 05, 2013 at 06:49:13PM +0200, Jean Pihet wrote: Hi Jiri, On 5 September 2013 18:30, Jiri Olsa jo...@redhat.com wrote: On Wed, Sep 04, 2013 at 08:04:14PM +0200, Jean Pihet wrote: On ARM the debug info is not present in the .eh_frame sections but instead in .debug_frame. Use

Re: [PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present

2013-09-06 Thread Jiri Olsa
On Fri, Sep 06, 2013 at 11:31:17AM +0200, Jean Pihet wrote: Hi Jiri, On 5 September 2013 18:30, Jiri Olsa jo...@redhat.com wrote: On Wed, Sep 04, 2013 at 08:04:14PM +0200, Jean Pihet wrote: On ARM the debug info is not present in the .eh_frame sections but instead in .debug_frame. Use

[PATCH v10 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-06 Thread Alexey Kardashevskiy
This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests targeted an IOMMU TCE table without passing them to user space which saves time on switching to user space and back. Both real and virtual modes are supported. The kernel tries to handle a TCE request in

[PATCH v3 0/8] Getting rid of get_unused_fd() / use O_CLOEXEC

2013-09-06 Thread Yann Droneaud
race, if the file descriptor is going to be inherited across exec(). Status: In linux-next tag 20130906, they're currently: - 22 calls to get_unused_fd_flags() (+3) not counting get_unused_fd() and anon_inode_getfd() - 7 calls to get_unused_fd() (-3) - 11 calls

[PATCH v3 1/8] ia64: use get_unused_fd_flags(0) instead of get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be

[PATCH v3 7/8] file: remove get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() allocates a file descriptor without O_CLOEXEC flag. This can be seen as an unsafe default: in most case O_CLOEXEC must be used to not leak file descriptor across exec(). Using O_CLOEXEC by default allows userspace to choose, without race, if the file descriptor is going to

[PATCH v3 2/8] ppc/cell: use get_unused_fd_flags(0) instead of get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be

[PATCH v3 6/8] events: use get_unused_fd_flags(0) instead of get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be

[PATCH v3 5/8] fanotify: use get_unused_fd_flags(0) instead of get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be

[PATCH v3 4/8] file: use get_unused_fd_flags(0) instead of get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be

[PATCH v3 8/8] industrialio: use anon_inode_getfd() with O_CLOEXEC flag

2013-09-06 Thread Yann Droneaud
IIO uses anon_inode_get() to allocate file descriptors as part of its ioctls. But those ioctls are lacking a flag argument allowing userspace to choose options for the newly opened file descriptor. In such case it's advised to use O_CLOEXEC by default so that userspace is allowed to choose,

[PATCH v3 3/8] binfmt_misc: use get_unused_fd_flags(0) instead of get_unused_fd()

2013-09-06 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-06 Thread Alexey Kardashevskiy
On 09/06/2013 04:57 PM, Gleb Natapov wrote: On Thu, Sep 05, 2013 at 02:05:09PM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-09-03 at 13:53 +0300, Gleb Natapov wrote: Or supporting all IOMMU links (and leaving emulated stuff as is) in on device is the last thing I have to do and then

RE: [PATCH 2/2] thp: support split page table lock

2013-09-06 Thread Kirill A. Shutemov
Naoya Horiguchi wrote: Thp related code also uses per process mm-page_table_lock now. So making it fine-grained can provide better performance. This patch makes thp support split page table lock by using page-ptl of the pages storing pmd_trans_huge pmds. Some functions like

Re: [PATCH v3 2/2] max77693: added device tree support

2013-09-06 Thread Mark Brown
On Fri, Aug 23, 2013 at 10:08:39PM +0200, Tomasz Figa wrote: On Wednesday 21 of August 2013 18:53:34 Andrzej Hajda wrote: +#ifdef CONFIG_OF +static struct of_device_id max77693_dt_match[] = { + {.compatible = maxim,max77693}, + {}, +}; +#endif As far as I'm aware of, you don't

DA9063 driver development

2013-09-06 Thread Steve Twiss
Hello, I am late into the discussion about the DA9063 driver because I missed the e-mail thread around 24th July (https://lkml.org/lkml/2013/7/24/460) so I only recently noticed that a DA9063 driver from Philipp Zabel had been submitted and accepted to linux-next. I also noted that this driver

RE: DA9063 driver development

2013-09-06 Thread David Dajun Chen
Could copy me the mfd.c file of da9063 in the lkml? -Original Message- From: Steve Twiss Sent: 06 September 2013 11:48 To: Mark Brown; Philipp Zabel Cc: Lee Jones; Samuel Ortiz; LKML Subject: DA9063 driver development Hello, I am late into the discussion about the DA9063 driver because

  1   2   3   4   5   6   7   8   9   10   >