Re: [PATCH 1/5] PM / Sleep: Add pm_generic functions to re-use runtime PM callbacks

2013-12-04 Thread Ulf Hansson
On 4 December 2013 00:41, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, December 04, 2013 12:15:13 AM Rafael J. Wysocki wrote: On Wednesday, November 27, 2013 04:34:56 PM Ulf Hansson wrote: To put devices into low power state during sleep, it sometimes makes sense at

Re: [PATCH 22/28] tools lib traceevent: Remove malloc_or_die from event-plugin.c

2013-12-04 Thread Jiri Olsa
On Tue, Dec 03, 2013 at 11:16:01AM -0500, Steven Rostedt wrote: On Tue, 3 Dec 2013 14:09:36 +0100 Jiri Olsa jo...@redhat.com wrote: Removing malloc_or_die calls from event-plugin.c, replacing them with standard malloc and error path. Suggested-by: Namhyung Kim namhy...@kernel.org

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Chanwoo Choi
On 12/04/2013 07:56 PM, Krzysztof Kozlowski wrote: On Wed, 2013-12-04 at 19:50 +0900, Chanwoo Choi wrote: Hi Krzysztof, On 12/04/2013 07:40 PM, Krzysztof Kozlowski wrote: Add document describing device tree bindings for MAX14577 MFD driver. Signed-off-by: Krzysztof Kozlowski

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Krzysztof Kozlowski
On Wed, 2013-12-04 at 20:01 +0900, Chanwoo Choi wrote: On 12/04/2013 07:56 PM, Krzysztof Kozlowski wrote: On Wed, 2013-12-04 at 19:50 +0900, Chanwoo Choi wrote: (...) I prefer to add dt data about max14577-muic on following: If extcon consumer driver need to use muic device, dts should

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-04 Thread Satoru Takeuchi
At Mon, 2 Dec 2013 11:13:11 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.3 release. There are 212 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [Xen-devel] [PATCH RFC] xen-block: correctly define structures in public headers

2013-12-04 Thread Stefano Stabellini
On Tue, 3 Dec 2013, Konrad Rzeszutek Wilk wrote: If Konrad and Boris agree that breaking the kernel's ABI in this way is acceptable in this specific case, I'll defer to them. My opinion as Xen on ARM hypervisor maintainer is that this is the right thing to do in this case. Heh. If

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Stefano Stabellini
On Wed, 4 Dec 2013, Ian Campbell wrote: On Wed, 2013-12-04 at 10:51 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: +bool xen_has_pv_devices(void) +{ + if (!xen_domain()) + return false; + + if (xen_hvm_domain()) { +

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Ian Campbell
On Wed, 2013-12-04 at 11:05 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: On Wed, 2013-12-04 at 10:51 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: +bool xen_has_pv_devices(void) +{ + if (!xen_domain()) +

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Chanwoo Choi
On 12/04/2013 08:03 PM, Krzysztof Kozlowski wrote: On Wed, 2013-12-04 at 20:01 +0900, Chanwoo Choi wrote: On 12/04/2013 07:56 PM, Krzysztof Kozlowski wrote: On Wed, 2013-12-04 at 19:50 +0900, Chanwoo Choi wrote: (...) I prefer to add dt data about max14577-muic on following: If extcon

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread Oleg Nesterov
On 12/03, Linus Torvalds wrote: On Tue, Dec 3, 2013 at 12:54 PM, Oleg Nesterov o...@redhat.com wrote: So do you think the patch I sent is wrong? Why? I think the TLB shootdown should guarantee that it's ok on other CPU's, since that's basically what we do on mmap. OK, thanks. I'll resend

Re: [PATCH] ARM: pxa: Remove unused variables

2013-12-04 Thread Haojian Zhuang
On Wed, Dec 4, 2013 at 6:26 PM, Daniel Mack zon...@gmail.com wrote: On 12/04/2013 11:22 AM, Thierry Reding wrote: The conf and of_id variables are assigned but never used, so they may as well just be removed. Signed-off-by: Thierry Reding thierry.red...@gmail.com Acked-by: Daniel Mack

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-12-04 Thread Michal Hocko
On Tue 03-12-13 15:50:41, David Rientjes wrote: On Tue, 3 Dec 2013, Michal Hocko wrote: OK, as it seems that the notification part is too controversial, how would you like the following? It reverts the notification part and still solves the fault on exit path. I will prepare the full

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 03:57:03AM +, Alex Elder wrote: Add code for device tree support of clocks in the BCM281xx family of SoCs. Machines in this family use peripheral clocks implemented by Kona clock control units (CCUs). (Other Broadcom SoC families use Kona style CCUs as well, but

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Haojian Zhuang
On Wed, Dec 4, 2013 at 4:21 PM, Qiao Zhou zhouq...@marvell.com wrote: V1 - V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (2): arm: mmp: build sram driver alone dma: mmp-tdma: select sram driver arch/arm/mach-mmp/Kconfig |3

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Stefano Stabellini
On Wed, 4 Dec 2013, Ian Campbell wrote: On Wed, 2013-12-04 at 11:05 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: On Wed, 2013-12-04 at 10:51 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: +bool xen_has_pv_devices(void) +{

Re: [PATCH 3/3] ARM: dts: bcm281xx: define real clocks

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 03:57:07AM +, Alex Elder wrote: Replace the fake clocks defined in the bcm11351.dtsi device tree file with real definitions backed by the new BCM281xx clock driver.. Signed-off-by: Alex Elder el...@linaro.org Reviewed-by: Matt Porter matt.por...@linaro.org

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Lee Jones
Add document describing device tree bindings for MAX14577 MFD driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/devicetree/bindings/mfd/max14577.txt | 48 1 file changed, 48

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Ian Campbell
On Wed, 2013-12-04 at 11:18 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: On Wed, 2013-12-04 at 11:05 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013, Ian Campbell wrote: On Wed, 2013-12-04 at 10:51 +, Stefano Stabellini wrote: On Wed, 4 Dec 2013,

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 07:17 PM, Haojian Zhuang wrote: Dan indicated that you could pack these two patches into one. Whatever it's also OK to use two patches. Misunderstood it... Thanks for correcting. -- Best Regards Qiao -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 4/4] sched: bias to target cpu load to reduce task moving

2013-12-04 Thread Alex Shi
We obsevered 150% performance gain with vm-scalability/300s-mmap-pread-seq testcase with this patch applied. Here is a list of changes we got so far: testbox : brickland got some explain of brickland on wiki: High-end server platform based on the Ivy Bridge-EX processor testcase:

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread Oleg Nesterov
On 12/03, H. Peter Anvin wrote: On 12/03/2013 02:01 PM, Linus Torvalds wrote: On Tue, Dec 3, 2013 at 12:54 PM, Oleg Nesterov o...@redhat.com wrote: So do you think the patch I sent is wrong? Why? I think the TLB shootdown should guarantee that it's ok on other CPU's, since that's

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Stefan Agner
Am 2013-12-04 11:07, schrieb Lee Jones: On Wed, 04 Dec 2013, Stefan Agner wrote: Am 2013-12-04 09:10, schrieb Lee Jones: +int tps6586x_get_version(struct device *dev) +{ + struct tps6586x *tps6586x = dev_get_drvdata(dev); + + return tps6586x-version; +}

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-04 Thread Nishanth Menon
On 12/04/2013 02:08 AM, Joel Fernandes wrote: On 12/04/2013 07:09 AM, Nishanth Menon wrote: Due to the cross dependencies between hwmod for automanaged device information for OMAP and dts node definitions, we can run into scenarios where the dts node is defined, however it's hwmod entry is yet

Re: [Xen-devel] [PATCH RFC] xen-block: correctly define structures in public headers

2013-12-04 Thread Stefano Stabellini
On Wed, 4 Dec 2013, Stefano Stabellini wrote: On Tue, 3 Dec 2013, Konrad Rzeszutek Wilk wrote: If Konrad and Boris agree that breaking the kernel's ABI in this way is acceptable in this specific case, I'll defer to them. My opinion as Xen on ARM hypervisor maintainer is that this

[PATCH 0/1] gpio: twl4030: gpio LED regression fix for 3.13 rc

2013-12-04 Thread Roger Quadros
Hi, Commit 0b2aa8be that went into 3.13-rc2 introduced a regression that causes failure in setting LED GPO direction to OUT. This causes USB Host to fail probe on Beagleboard. The following patch fixes this issue. I've tried to higlight the issue in the original patch here

[PATCH 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-04 Thread Roger Quadros
Commit 0b2aa8be introduced a regression that causes failure in setting LED GPO direction to OUT. This causes USB host probe failures for Beagleboard C4. [2.075469] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [2.090454] hsusb2_vcc: Failed to request

Re: Spurious timeouts in mvmdio

2013-12-04 Thread Nicolas Schichan
On 12/04/2013 12:42 AM, Russell King - ARM Linux wrote: This will make it correct when using interrupts but it will make the loop wait one jiffie longer than it should when polling. Alternatively, code it like this instead. drivers/net/ethernet/marvell/mvmdio.c | 32

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Lee Jones
On Wed, 04 Dec 2013, Stefan Agner wrote: Am 2013-12-04 11:07, schrieb Lee Jones: On Wed, 04 Dec 2013, Stefan Agner wrote: Am 2013-12-04 09:10, schrieb Lee Jones: +int tps6586x_get_version(struct device *dev) +{ + struct tps6586x *tps6586x = dev_get_drvdata(dev); + +

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Mark Brown
On Wed, Dec 04, 2013 at 10:07:28AM +, Lee Jones wrote: On Wed, 04 Dec 2013, Stefan Agner wrote: As I pointed out in the comment above, the struct tps6586x is in the C file, so I would need to move that too. That's why I did not made that change in the end. What do you think, should I

Re: [PATCH 1/3] Introduce FW_INFO* functions and messages

2013-12-04 Thread Prarit Bhargava
On 12/03/2013 04:21 PM, Andrew Morton wrote: On Mon, 2 Dec 2013 10:19:37 -0500 Prarit Bhargava pra...@redhat.com wrote: A slight simplification: +static inline char *dump_hadware_arch_desc(void) +{ +return NULL; +} return unavailable; +void warn_slowpath_fmt_dev(const

btrfs deadlocks under stress up until 3.12

2013-12-04 Thread Mel Gorman
Hi, I queued up a number of tests including IO stress tests a few weeks ago and had noticed that some of the btrfs tests failed to complete but only looked today. Specfically, stress tests with reaims alltests configuration on btrfs failed up until 3.12 with a console log that looked like [

Re: [PATCH v8] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-12-04 Thread Mark Rutland
On Tue, Dec 03, 2013 at 04:41:16PM +, Alan Tull wrote: From: Jamie Iles ja...@jamieiles.com The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Alan Tull at...@altera.com Reviewed-by:

Re: [PATCH] memcg: remove KMEM_ACCOUNTED_ACTIVATED

2013-12-04 Thread Vladimir Davydov
On 12/04/2013 02:08 PM, Glauber Costa wrote: Could you do something clever with just one flag? Probably yes. But I doubt it would be that much cleaner, this is just the way that patching sites work. Thank you for spending your time to listen to me. Don't worry! I thank you for carrying this

Re: [PATCH v4 3/3] ARM: tegra: correct Colibri T20 regulator settings

2013-12-04 Thread Lucas Stach
Am Dienstag, den 03.12.2013, 23:18 +0100 schrieb Stefan Agner: Set the parent of the regulators LDO2 to LDO9 according to the schematic. Set the base voltage to 3.3V, there is only 3.3V on the module itself. Set the Core and CPU voltage to the specified voltages of 1.2V and 1.0V

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Lee Jones
As I pointed out in the comment above, the struct tps6586x is in the C file, so I would need to move that too. That's why I did not made that change in the end. What do you think, should I still move (and move the struct too?) Why would the struct have to be moved if the function

Re: [PATCH 1/1] ipmi: setting mod_timer for read_event_msg buffer cmd

2013-12-04 Thread Srinivas_G_Gowda
On 12/03/2013 10:40 PM, Corey Minyard wrote: On 12/03/2013 12:18 AM, srinivas_g_go...@dell.com wrote: Dell - Internal Use - Confidential Hi Corey, Unfortunately, that would start the timer unnecessarily. You don't want to start timers unnecessarily in the kernel or the power management

[PATCH 02/02] irqchip: renesas-irqc: Enable mask on suspend

2013-12-04 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Now when lazy interrupt disable has been enabled in the driver then extend the code to set IRQCHIP_MASK_ON_SUSPEND which tells the core that only IRQs marked as wakeups need to stay enabled during Suspend-to-RAM. Signed-off-by: Magnus Damm d...@opensource.se

[PATCH 00/02] irqchip: renesas-irqc: Lazy disable and mask-on-suspend

2013-12-04 Thread Magnus Damm
irqchip: renesas-irqc: Lazy disable and mask-on-suspend [PATCH 01/02] irqchip: renesas-irqc: Use lazy disable [PATCH 02/02] irqchip: renesas-irqc: Enable mask on suspend Update the IRQC driver to use lazy disable and mask on suspend. This fixes the Suspend-to-RAM behavior to make sure wakeup

[PATCH 01/02] irqchip: renesas-irqc: Use lazy disable

2013-12-04 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Set the -irq_enable() and -irq_disable() methods to NULL to enable lazy disable of interrupts. This by itself provides some level of optimization, but is mainly enabled as ground work for future Suspend-to-RAM wake up support. Signed-off-by: Magnus Damm

Re: [Xen-devel] [PATCH RFC] xen-block: correctly define structures in public headers

2013-12-04 Thread Ian Campbell
On Wed, 2013-12-04 at 09:28 +, Ian Campbell wrote: This could probably even be semi automated by producing a script to feed to gdb which run through all of the options and diffing the result. If I could have the moon on a stick I would have a tool such as this running against the

[PATCH v3] irqchip: mmp: add dt support for wakeup

2013-12-04 Thread Neil Zhang
Some of the Marvell SoCs use GIC as its interrupt controller,and ICU only used as wakeup logic. When AP subsystem is powered off, GIC will lose its context, the PMU will need ICU to wakeup the AP subsystem. So add wakeup entry for such kind of usage. Signed-off-by: Neil Zhang zhan...@marvell.com

Re: [PATCH v4 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-04 Thread Mark Brown
On Tue, Dec 03, 2013 at 11:18:47PM +0100, Stefan Agner wrote: Depending on the regulator version, the voltage table might be different. Use version specific regulator tables in order to select correct voltage table. For the following regulator versions different voltage tables are now used:

[PATCH 3/3] ARM: sunxi: dts: Add ahci support to a few A10 and A20 boards

2013-12-04 Thread oliver
From: Oliver Schinagl oli...@schinagl.nl This patch adds sunxi sata support to A10 and A20 boards that have such a connector. Some boards also feature a regulator via a GPIO and support for this is also added. Signed-off-by: Olliver Schinagl oli...@schinagl.nl ---

[PATCH 0/3] AHCI: sunxi: Add sunxi AHCI driver

2013-12-04 Thread oliver
From: Olliver Schinagl oli...@schinagl.nl This patch series adds Allwinner sunxi support to platform_ahci. There are a few quirks here however that will need discussing. Allwinner added something to setup the DMA engine prior to enabling DMA in libahci.c. I'm not familiar at all with the AHCI

[PATCH 1/3] RFC: AHCI: libahci is missing DMA

2013-12-04 Thread oliver
From: Oliver Schinagl oli...@schinagl.nl The Allwinner sunxi platforms have patched in the following to enable DMA. This patch enables DMA controllers for the SUNXI Architecture. Signed-off-by: Olliver Schinagl oli...@schinagl.nl --- drivers/ata/ahci.h| 6 ++ drivers/ata/libahci.c | 8

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 09:20:07AM +, dt.ta...@gmail.com wrote: From: Daniel Tang dt.ta...@gmail.com The SoC name was mistakenly used instead of the vendor name in the device tree binding for nspire-usb. This patch fixes this before the driver becomes widely adopted. How widely

[PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread oliver
From: Oliver Schinagl oli...@schinagl.nl This patch adds support for the sunxi series of SoC's by allwinner. It plugs into the ahci-platform framework. Note: Currently it uses a somewhat hackish approach that probably needs a lot more work, but does the same as the IMX SoC's. Signed-off-by:

Re: [PATCH 0/3] AHCI: sunxi: Add sunxi AHCI driver

2013-12-04 Thread Olliver Schinagl
And I've spotted my first mistake (one of many I'm sure) I typo'ed Rob's e-mail address. Sorry Rob. Oliver On 04-12-13 13:10, oli...@schinagl.nl wrote: From: Olliver Schinagl oli...@schinagl.nl This patch series adds Allwinner sunxi support to platform_ahci. There are a few quirks here

Re: 3.13-rc2 phy-twl4030-usb.c - Timeout setting T2 HSUSB PHY DPLL

2013-12-04 Thread Roger Quadros
+Kishon On 12/03/2013 11:33 PM, Belisko Marek wrote: Hi, current 3.13-rcX break usb support on gta04 board (similar to beagleboard) when booting via board file. In console we can see messages: [ 5227.287841] twl4030_usb twl4030_usb: Timeout setting T2 HSUSB PHY DPLL clock [

[PATCH] Documentation: start documenting driver design patterns

2013-12-04 Thread Linus Walleij
After realizing that we tend to tell developers the same thing over and over, let's attempt to document some commin design patterns used in the device drivers. The idea is that this can be extended so I just start out with two well-known design patterns. Cc: Rob Landley r...@landley.net Cc: Greg

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 12:10:54PM +, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl This patch adds support for the sunxi series of SoC's by allwinner. It plugs into the ahci-platform framework. Note: Currently it uses a somewhat hackish approach that probably

Re: [PATCH] gpio: MOXA ART: rename moxart_gpio_base to base

2013-12-04 Thread Linus Walleij
On Mon, Dec 2, 2013 at 11:27 AM, Jonas Jensen jonas.jen...@gmail.com wrote: Renaming moxart_gpio_base to base allows better fit, remove line breaks in moxart_gpio_get(). While doing trivial cleanup, also remove fields initialized with zero in moxart_template_chip. Signed-off-by: Jonas

Re: [PATCH 1/3] RFC: AHCI: libahci is missing DMA

2013-12-04 Thread Tejun Heo
On Wed, Dec 04, 2013 at 01:10:53PM +0100, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl The Allwinner sunxi platforms have patched in the following to enable DMA. This patch enables DMA controllers for the SUNXI Architecture. Signed-off-by: Olliver Schinagl

Re: [PATCH 1/3] RFC: AHCI: libahci is missing DMA

2013-12-04 Thread Oliver Schinagl
Hey Tejun Heo, On 04-12-13 13:32, Tejun Heo wrote: On Wed, Dec 04, 2013 at 01:10:53PM +0100, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl The Allwinner sunxi platforms have patched in the following to enable DMA. This patch enables DMA controllers for the SUNXI

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Tejun Heo
On Wed, Dec 04, 2013 at 01:10:54PM +0100, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl This patch adds support for the sunxi series of SoC's by allwinner. It plugs into the ahci-platform framework. Note: Currently it uses a somewhat hackish approach that probably

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-04 Thread Joel Fernandes
On 12/04/2013 05:03 PM, Nishanth Menon wrote: On 12/04/2013 02:08 AM, Joel Fernandes wrote: On 12/04/2013 07:09 AM, Nishanth Menon wrote: Due to the cross dependencies between hwmod for automanaged device information for OMAP and dts node definitions, we can run into scenarios where the dts

Re: [PATCH 1/3] clk: bcm281xx: define kona clock binding

2013-12-04 Thread Alex Elder
On 12/04/2013 03:39 AM, Mark Rutland wrote: On Wed, Dec 04, 2013 at 03:56:58AM +, Alex Elder wrote: Document the device tree binding for Broadcom Kona architecture clock control units and clocks. Kona device nodes are represented with compatible strings having bcm11351 in their name.

Re: [PATCH] gpio: rewrite gpiochip_offset_to_desc()

2013-12-04 Thread Linus Walleij
On Tue, Dec 3, 2013 at 4:31 AM, Alexandre Courbot acour...@nvidia.com wrote: gpiochip_offset_to_desc() was using gpio_to_desc(), which directly addresses the global GPIO array we are hoping to get rid of someday. Reimplement it using the descriptor array of the chip itself, after checking the

Re: [BUG] ftrace: support for SOFT_DISABLE to syscall events caused huge slowdown of ftrace startup test

2013-12-04 Thread Petr Mladek
Steven Rostedt píše v Út 03. 12. 2013 v 12:41 -0500: On Tue, 03 Dec 2013 18:16:09 +0100 Petr Mladek pmla...@suse.cz wrote: Hi, I tested my ftrace-related patches and enabled also the startup test: CONFIG_FTRACE_SELFTEST=y CONFIG_FTRACE_STARTUP_TEST=y On today's

Re: [PATCH 1/3] RFC: AHCI: libahci is missing DMA

2013-12-04 Thread Sergei Shtylyov
Hello. On 04-12-2013 16:10, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl The Allwinner sunxi platforms have patched in the following to enable DMA. This patch enables DMA controllers for the SUNXI Architecture. Signed-off-by: Olliver Schinagl oli...@schinagl.nl ---

Re: [PATCH 06/39] dma: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-04 Thread Andy Shevchenko
On Wed, 2013-12-04 at 09:19 +0900, Jingoo Han wrote: On Tuesday, December 03, 2013 9:11 PM, Shevchenko, Andriy wrote: On Tue, 2013-12-03 at 08:05 +0900, Jingoo Han wrote: Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. I'm sorry, but

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Mark Brown
On Wed, Dec 04, 2013 at 11:20:39AM +, Lee Jones wrote: + regulators { + compatible = maxim,max14577-regulator; + + safeout_reg: safeout@1 { The name of the node (not the label:safeout_reg) usually depicts the type of device, so

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Oliver Schinagl
On 04-12-13 13:26, Mark Rutland wrote: On Wed, Dec 04, 2013 at 12:10:54PM +, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl This patch adds support for the sunxi series of SoC's by allwinner. It plugs into the ahci-platform framework. Note: Currently it uses a

Re: [PATCH v2 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-12-04 Thread Bartlomiej Zolnierkiewicz
Hi, Does the old phy-samsung-usb3 driver currently work on Exynos5250? If yes, then this patch should be merged with patch #1 to preserve bisectability. Best regards, -- Bartlomiej Zolnierkiewicz Samsung RD Institute Poland Samsung Electronics On Wednesday, December 04, 2013 03:39:05 PM Vivek

Re: [PATCH 2/2] oom_kill: change oom_kill.c to use for_each_thread()

2013-12-04 Thread Oleg Nesterov
Sameer, I didn't notice this part yesterday. On 12/03, Sameer Nanda wrote: @@ -406,7 +409,7 @@ void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, { struct task_struct *victim = p; struct task_struct *child; - struct task_struct *t = p; +

Re: [PATCH 3/3] perf report: Add --show-time-info option

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 11:11:17AM +0100, Ingo Molnar escreveu: * Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Mon, Dec 02, 2013 at 12:58:35PM -0700, David Ahern escreveu: On 12/2/13, 12:38 PM, Arnaldo Carvalho de Melo wrote: Why not just --event-time? Really should have

Re: [PATCH] Staging: bcm: DDRInit: Fixed non_standard kernel style.

2013-12-04 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 04:53:09AM -0500, Gary Rookard wrote: Fixed non_standard kernel style. You're doing too many things at once, it needs to be broken into a patch series which do one type of change at a time. The changelog is useless. Signed off by: Gary Alan Rookard

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Oliver Schinagl
On 04-12-13 13:37, Tejun Heo wrote: On Wed, Dec 04, 2013 at 01:10:54PM +0100, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl This patch adds support for the sunxi series of SoC's by allwinner. It plugs into the ahci-platform framework. Note: Currently it uses a somewhat

Re: [PATCH v4 2/3] perf diff: color the Ratio column

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 03:40:25PM +0530, Ramkumar Ramachandra escreveu: Arnaldo Carvalho de Melo wrote: static inline percent_color_snprintf(...) { return value_color_snprintf(...); } The issue with this suggestion is that the prototype of percent_color_snprintf() is:

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread David Vrabel
On 03/12/13 21:14, Konrad Rzeszutek Wilk wrote: Ian Campbell suggested getting rid of 'xen_platform_pci_unplug' but unfortunatly the xen-blkfront driver is using it, so we cannot do it. I had a look at what blkfront was using this for and it seems dumb. How did we end up with the frontend

Re: high kswapd CPU usage when executing binaries from NFS w/ CMA and COMPACTION

2013-12-04 Thread Mel Gorman
On Tue, Dec 03, 2013 at 06:30:28PM -0800, Florian Fainelli wrote: Hi all, I am experiencing high kswapd CPU usage on an ARMv7 system running 3.8.13 when executing relatively large binaries from NFS. When this happens kswapd consumes around 55-60% CPU usage and the applications takes a huge

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

2013-12-04 Thread Ezequiel Garcia
On Thu, Nov 28, 2013 at 04:53:37PM -0300, Ezequiel Garcia wrote: On Thu, Nov 28, 2013 at 04:47:20PM -0300, Ezequiel Garcia wrote: Hi Thomas, Tim: On Thu, Nov 28, 2013 at 09:30:34AM +0100, Thomas Petazzoni wrote: Dear Ezequiel Garcia, On Wed, 27 Nov 2013 15:54:49 -0300, Ezequiel

[PATCH v2 0/4] initial while_each_thread() fixes

2013-12-04 Thread Oleg Nesterov
Hello. Changes: split the change in mm/oom_kill.c + update the comment above has_intersects_mems_allowed(). Sergey, Sameer, the resulting code is the same after 1-3, I preserved your acks. 4/4 is new. Andrew, just in case, 3/4 and 4/4 try to fix the unrelated bugs, this has nothing to do with

[PATCH v2 2/4] oom_kill: change oom_kill.c to use for_each_thread()

2013-12-04 Thread Oleg Nesterov
Change oom_kill.c to use for_each_thread() rather than the racy while_each_thread() which can loop forever if we race with exit. Note also that most users were buggy even if while_each_thread() was fine, the task can exit even _before_ rcu_read_lock(). Fortunately the new for_each_thread() only

[PATCH v2 3/4] oom_kill: has_intersects_mems_allowed() needs rcu_read_lock()

2013-12-04 Thread Oleg Nesterov
At least out_of_memory() calls has_intersects_mems_allowed() without even rcu_read_lock(), this is obviously buggy. Add the necessary rcu_read_lock(). This means that we can not simply return from the loop, we need bool ret and break. While at it, swap the names of task_struct's (the argument

[PATCH v2 4/4] oom_kill: add rcu_read_lock() into find_lock_task_mm()

2013-12-04 Thread Oleg Nesterov
find_lock_task_mm() expects it is called under rcu or tasklist lock, but it seems that at least oom_unkillable_task()-task_in_mem_cgroup() and mem_cgroup_out_of_memory()-oom_badness() can call it lockless. Perhaps we could fix the callers, but this patch simply adds rcu lock into

[PATCH v2 1/4] introduce for_each_thread() to replace the buggy while_each_thread()

2013-12-04 Thread Oleg Nesterov
while_each_thread() and next_thread() should die, almost every lockless usage is wrong. 1. Unless g == current, the lockless while_each_thread() is not safe. while_each_thread(g, t) can loop forever if g exits, next_thread() can't reach the unhashed thread in this case. Note that this can

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Ian Campbell
On Wed, 2013-12-04 at 13:00 +, David Vrabel wrote: On 03/12/13 21:14, Konrad Rzeszutek Wilk wrote: Ian Campbell suggested getting rid of 'xen_platform_pci_unplug' but unfortunatly the xen-blkfront driver is using it, so we cannot do it. I had a look at what blkfront was using this

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Alex Elder
On 12/04/2013 05:14 AM, Mark Rutland wrote: On Wed, Dec 04, 2013 at 03:57:03AM +, Alex Elder wrote: Add code for device tree support of clocks in the BCM281xx family of SoCs. Machines in this family use peripheral clocks implemented by Kona clock control units (CCUs). (Other Broadcom SoC

Re: [PATCH v2] OF: base: match each node compatible against all given matches first

2013-12-04 Thread Meelis Roos
I added Meelis on Cc because he found a regression with my original proposal (107a84e61cdd of: match by compatible property first). That got later reverted in commit bc51b0c22ceb (Revert of: match by compatible property first). Here's the commit message for reference: commit bc51b0c22ceb

Re: [PATCH 1/3] RFC: AHCI: libahci is missing DMA

2013-12-04 Thread Oliver Schinagl
On 04-12-13 13:47, Sergei Shtylyov wrote: Hello. On 04-12-2013 16:10, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl The Allwinner sunxi platforms have patched in the following to enable DMA. This patch enables DMA controllers for the SUNXI Architecture.

Re: [PATCH v4 2/3] perf diff: color the Ratio column

2013-12-04 Thread Ramkumar Ramachandra
Arnaldo Carvalho de Melo wrote: The issue with this suggestion is that the prototype of percent_color_snprintf() is: int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) So, I can only pass value_color_snprintf() a va_list, making its prototype: int

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Tejun Heo
Hello, On Wed, Dec 04, 2013 at 01:56:23PM +0100, Oliver Schinagl wrote: I took the imx driver as example, as I wasn't sure on where to start. But I don't think it's possible yet without improving ahci_platform as I suggested in the cover letter. So if ahci_platform needs to be improved, I

[PATCH] ARM: multi_v7_defconfig: Fix STi support

2013-12-04 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds ST serial driver (st-asc) and ICPLUS ethernet PHY to multi_v7_defconfig. All STi based SOCs use ST-ASC as default serial console, and most of the STi SOC based boards have ICPLUS external ethernet PHY. These two options makes

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Olliver Schinagl
On 04-12-13 14:14, Tejun Heo wrote: Hello, On Wed, Dec 04, 2013 at 01:56:23PM +0100, Oliver Schinagl wrote: I took the imx driver as example, as I wasn't sure on where to start. But I don't think it's possible yet without improving ahci_platform as I suggested in the cover letter. So if

Re: [PATCH 3/3] ARM: dts: bcm281xx: define real clocks

2013-12-04 Thread Alex Elder
On 12/04/2013 05:19 AM, Mark Rutland wrote: On Wed, Dec 04, 2013 at 03:57:07AM +, Alex Elder wrote: Replace the fake clocks defined in the bcm11351.dtsi device tree file with real definitions backed by the new BCM281xx clock driver.. Signed-off-by: Alex Elder el...@linaro.org

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Tejun Heo
Hello, (cc'ing Richard and Shawn, hi!) On Wed, Dec 04, 2013 at 02:16:49PM +0100, Olliver Schinagl wrote: On 04-12-13 14:14, Tejun Heo wrote: Hello, On Wed, Dec 04, 2013 at 01:56:23PM +0100, Oliver Schinagl wrote: I took the imx driver as example, as I wasn't sure on where to start. But I

pull request: bluetooth-next 2013-12-04

2013-12-04 Thread Gustavo Padovan
Hi John, This is the first batch of patches intended for 3.14. There is nothing big here. Most of the code are refactors, clean up, small fixes, plus some new device id support. Please pull or let me know of any problems! Thanks. Gustavo --- The following changes since commit

[PATCH] Tools: hv: remove inclusion of linux/types.h

2013-12-04 Thread Olaf Hering
With very old libc headers the inclusion of sys/types.h causes conflicts with linux/types.h. Since the latter is not required anyway, remove it from the source files. If any of the headers really needs linux/types.h it has to include it itself. Signed-off-by: Olaf Hering o...@aepfle.de ---

Re: [PATCH v2] pinctrl: baytrail: lock IRQs when starting them

2013-12-04 Thread Gerhard Sittig
On Tue, Dec 03, 2013 at 16:00 +0100, Linus Walleij wrote: --- a/drivers/pinctrl/pinctrl-baytrail.c +++ b/drivers/pinctrl/pinctrl-baytrail.c @@ -372,11 +372,33 @@ static void byt_irq_mask(struct irq_data *d) { } +static unsigned int byt_irq_startup(struct irq_data *d) +{ + struct

Re: [PATCH v2 1/4] introduce for_each_thread() to replace the buggy while_each_thread()

2013-12-04 Thread Frederic Weisbecker
On Wed, Dec 04, 2013 at 02:04:09PM +0100, Oleg Nesterov wrote: while_each_thread() and next_thread() should die, almost every lockless usage is wrong. 1. Unless g == current, the lockless while_each_thread() is not safe. while_each_thread(g, t) can loop forever if g exits, next_thread()

Re: [PATCH 22/28] tools lib traceevent: Remove malloc_or_die from event-plugin.c

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 10:29:34AM +0100, Jiri Olsa escreveu: On Tue, Dec 03, 2013 at 11:16:01AM -0500, Steven Rostedt wrote: On Tue, 3 Dec 2013 14:09:36 +0100 Jiri Olsa jo...@redhat.com wrote: Removing malloc_or_die calls from event-plugin.c, replacing them with standard malloc and

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-04 Thread Magnus Damm
On Tue, Dec 3, 2013 at 12:08 AM, John Stultz john.stu...@linaro.org wrote: On 11/27/2013 09:42 PM, Magnus Damm wrote: Hi John, everyone, Let me get back to you all in a little while together with some code, but before that let me just clarify this: On Wed, Nov 13, 2013 at 5:47 AM, John

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-04 Thread Nishanth Menon
On 18:14-20131204, Joel Fernandes wrote: On 12/04/2013 05:03 PM, Nishanth Menon wrote: On 12/04/2013 02:08 AM, Joel Fernandes wrote: On 12/04/2013 07:09 AM, Nishanth Menon wrote: Due to the cross dependencies between hwmod for automanaged device information for OMAP and dts node

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Krzysztof Kozlowski
On Wed, 2013-12-04 at 11:20 +, Lee Jones wrote: Add document describing device tree bindings for MAX14577 MFD driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH 1/4] usb: chipidea: msm: Add device tree binding information

2013-12-04 Thread Peter Chen
On Wed, Dec 04, 2013 at 10:33:57AM +0200, Ivan T. Ivanov wrote: Hi Peter, Thank you for reviewing this patch. On Wed, 2013-12-04 at 13:40 +0800, Peter Chen wrote: On Mon, Nov 11, 2013 at 03:35:34PM +0200, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Please

Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

2013-12-04 Thread Lee Jones
+MAXIM MAX14577 multi-function device Why is Maxim capitalised in such a way? If you're going to use the term Multi-Function Device, please capitalise it. +MAX14577 is a Multi-function device with Micro-USB Interface Circuit, Li+ Same here. I'll fix this. The MAXIM

[PATCH -next] checkpatch: Warn only on space before semicolon at end of line

2013-12-04 Thread Joe Perches
The space before a non-naked semicolon test has unwanted output when used in for ( ;; ) loops. Make the test work only on end-of-line statement termination semicolons. Signed-off-by: Joe Perches j...@perches.com --- On Wed, 2013-12-04 at 11:21 +0300, Dan Carpenter wrote: You and I generally

Re: [PATCH v2 1/4] introduce for_each_thread() to replace the buggy while_each_thread()

2013-12-04 Thread Oleg Nesterov
On 12/04, Frederic Weisbecker wrote: On Wed, Dec 04, 2013 at 02:04:09PM +0100, Oleg Nesterov wrote: For example, do/while_each_thread() always sees at least one task, while for_each_thread() can do nothing if the whole thread group has died. Would it be safe to have

Re: [PATCH 22/28] tools lib traceevent: Remove malloc_or_die from event-plugin.c

2013-12-04 Thread Steven Rostedt
On Wed, 4 Dec 2013 10:29:32 -0300 Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Yeah, I also have some reservations about adding more globals (the trace_event stuff just to associate a plugins list with pevent, probably pevent should have that list, haven't looked 100% at the code),

<    5   6   7   8   9   10   11   12   13   14   >