Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online

2014-10-23 Thread Abhijeet Dev
Joonyoung Shim jy0922.shim at samsung.com writes: On 10/23/2014 10:49 AM, Joonyoung Shim wrote: Hi, On 10/23/2014 10:42 AM, Mauro Ribeiro wrote: Joonyoung, Abhilash looks to be the father of it... Also I have no idea why I'm appearing as a commiter of that.. as me or anyone

Re: [PATCH 00/21] thermal: exynos: Thermal code rework to use device tree

2014-10-23 Thread Lukasz Majewski
Hi Lukasz, 1. Introduction Following patches aim to clean up the current implementation of the thermal framework on Exynos devices. The main goal was to use a generic code for reading thermal configuration (of-thermal.c). Due to that redundant exynos_thermal_common.[h|c] files were

Re: [PATCH v3 4/5] regulator: max77802: Parse regulator operating mode properties

2014-10-23 Thread Javier Martinez Canillas
Hello Mark, On 22/10/2014, at 18:48, Mark Brown broo...@kernel.org wrote: On Mon, Oct 20, 2014 at 04:47:51PM +0200, Javier Martinez Canillas wrote: +char *states[PM_SUSPEND_MAX + 1] = { +[PM_SUSPEND_MEM] = regulator-state-mem, +[PM_SUSPEND_MAX] = regulator-state-disk,

[RFC 0/2] PM and DRM: Add runtime PM to Exynos DSI

2014-10-23 Thread Krzysztof Kozlowski
Hi, The goal of the patch 2 is to add runtime PM to the Exynos DSI driver. This allows LCD power domain to be turned off. However after adding this patch an interesing issue came in. The DSI driver could not runtime resume during sustem resume because power domain was not allowed to power on.

[RFC 1/2] PM / Domains: Power on domain early during system resume

2014-10-23 Thread Krzysztof Kozlowski
When resuming the system the power domain has to be powered on early so any runtime PM aware devices could resume. This fixes following scenario reproduced on Exynos DRM: 1. Power domain is off before suspending the system. 2. System is suspended to RAM. 3. Resuming starts. The Exynos DRM driver

[RFC 2/2] drm/exynos/dsi: Add runtime PM so LCD power domain could be turned off

2014-10-23 Thread Krzysztof Kozlowski
Add runtime Power Management to the Exynos DSI driver so the LCD power domain could be turned off. This slightly reduces the energy consumption when screen is completely turned off. On Trats2 board when the system was idle the energy consumption dropped by 1% (from 92.2 mA to 91.1 mA). Before

PROBLEM: BUG appearing when trying to allocate interrupt on Exynos MCT after CPU hotplug

2014-10-23 Thread Marcin Jabrzyk
[1.] One line summary of the problem: BUG: sleeping function called from invalid context at mm/slub.c:1250 after CPU hotplug [2.] Full description of the problem/report: This was tested on Exynos 3250 board with https://lkml.org/lkml/2014/9/24/441 applied. Board is booting to /bin/sh. After

Re: [PATCH v2 11/18] iommu: exynos: remove useless device_add/remove callbacks

2014-10-23 Thread Arnd Bergmann
On Wednesday 22 October 2014 11:54:34 Marek Szyprowski wrote: On 2014-10-22 11:26, Arnd Bergmann wrote: On Wednesday 22 October 2014 11:15:00 Alban Browaeys wrote: Le mardi 16 septembre 2014 à 13:54 +0200, Marek Szyprowski a écrit : The driver doesn't need to do anything important in device

Re: PROBLEM: BUG appearing when trying to allocate interrupt on Exynos MCT after CPU hotplug

2014-10-23 Thread Russell King - ARM Linux
On Thu, Oct 23, 2014 at 03:51:16PM +0200, Marcin Jabrzyk wrote: [1.] One line summary of the problem: BUG: sleeping function called from invalid context at mm/slub.c:1250 after CPU hotplug I'm really not surprised. When SoC have MCT_INT_SPI interrupt it is being allocated after hotplugging

Re: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: udc_stop() should clear -driver pointer unconditionally to let the UDC framework to work correctly with both registering/unregistering gadgets and enabling/disabling gadgets by writing to /sys/class/udc/*hsotg/soft_connect

Re: [PATCH v2 04/10] usb: dwc2/gadget: disable phy before turning off power regulators

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 12:45:34PM +0200, Marek Szyprowski wrote: This patch fixes probe function to match the pattern used elsewhere in the driver, where power regulators are turned off as the last element in the device shutdown procedure. Signed-off-by: Marek Szyprowski

Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online

2014-10-23 Thread Kevin Hilman
Abhilash Kesavan a.kesa...@samsung.com writes: The change was based on my reading of the platsmp file of the Odroid-xu3 3.10 kernel and issues experienced previously. From what I understand, the platsmp code in 3.10 kernel is trying to reset the A7s and my change just bypasses the check (no

Re: [RFC 1/2] PM / Domains: Power on domain early during system resume

2014-10-23 Thread Grygorii Strashko
Hi Krzysztof, On 10/23/2014 04:48 PM, Krzysztof Kozlowski wrote: When resuming the system the power domain has to be powered on early so any runtime PM aware devices could resume. This fixes following scenario reproduced on Exynos DRM: 1. Power domain is off before suspending the system.

Re: [PATCH v2 0/3] Some cleanup for samsung clock

2014-10-23 Thread Sylwester Nawrocki
Hi Pankaj, On 22/10/14 12:34, Pankaj Dubey wrote: It there are no comments will you please pick up this patch series. I've picked up these patches and I'm planning to send a pull request to Mike this week, including any other pending samsung clk patches. Tomasz is going to be busy for few days.

Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online

2014-10-23 Thread Kevin Hilman
Joonyoung Shim jy0922.s...@samsung.com writes: [...] One more problem, cpu0 doesn't boot after offline and system is halted. # echo 0 /sys/devices/system/cpu/cpu0/online [ 28.027852] IRQ152 no longer affine to CPU0 [ 28.028087] IRQ256 no longer affine to CPU0 [ 28.028344] CPU0:

RE: [PATCH v2 04/10] usb: dwc2/gadget: disable phy before turning off power regulators

2014-10-23 Thread Paul Zimmerman
From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 23, 2014 8:01 AM On Mon, Oct 20, 2014 at 12:45:34PM +0200, Marek Szyprowski wrote: This patch fixes probe function to match the pattern used elsewhere in the driver, where power regulators are turned off as the last element

RE: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Paul Zimmerman
From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 23, 2014 8:02 AM On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: udc_stop() should clear -driver pointer unconditionally to let the UDC framework to work correctly with both registering/unregistering

Re: PROBLEM: BUG appearing when trying to allocate interrupt on Exynos MCT after CPU hotplug

2014-10-23 Thread Stephen Boyd
On 10/23/2014 07:06 AM, Russell King - ARM Linux wrote: On Thu, Oct 23, 2014 at 03:51:16PM +0200, Marcin Jabrzyk wrote: [1.] One line summary of the problem: BUG: sleeping function called from invalid context at mm/slub.c:1250 after CPU hotplug I'm really not surprised. When SoC have

Re: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 06:18:51PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 23, 2014 8:02 AM On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: udc_stop() should clear -driver pointer unconditionally to let the UDC

Re: [PATCH v2 04/10] usb: dwc2/gadget: disable phy before turning off power regulators

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 06:15:57PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 23, 2014 8:01 AM On Mon, Oct 20, 2014 at 12:45:34PM +0200, Marek Szyprowski wrote: This patch fixes probe function to match the pattern used elsewhere in