[PATCH v12 1/6] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-14 Thread Krzysztof Kozlowski
Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime PM IRQ safe was set or not. Various bus drivers implementing runtime PM may use choose to suspend differently based on IRQ safeness status of child driver (e.g. do not unprepare the clock if IRQ safe is not set).

Re: [PATCH 1/5] mm, compaction: pass classzone_idx and alloc_flags to watermark checking

2014-11-14 Thread Vlastimil Babka
On 10/31/2014 08:49 AM, Joonsoo Kim wrote: > On Wed, Oct 29, 2014 at 02:51:11PM +0100, Vlastimil Babka wrote: >> On 10/28/2014 08:16 AM, Joonsoo Kim wrote:> On Mon, Oct 27, 2014 at >> 10:11:31AM +0100, Vlastimil Babka wrote: >> >> I thought that the second check in compaction_suitable() makes sure

Re: [PATCH v4 0/3] Rework "xhci: clear root port wake on bits if controller isn't wake-up capable"

2014-11-14 Thread Mathias Nyman
On 14.11.2014 05:14, Lu, Baolu wrote: > Hi Mathias, > > This patch series has been acked by Alan Stern. There seems no further > comments from others. Can you please pull in it? > > Thanks, > -baolu > Ah, yes, thanks for reminding, I'll pull them in and send them forward. -Mathias -- To

[PATCH v12 5/6] dmaengine: pl330: Add PM sleep support

2014-11-14 Thread Krzysztof Kozlowski
Add system suspend/resume capabilities to the pl330 driver so the amba bus clock could be also unprepared to conserve energy. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/pl330.c | 41 + 1 file changed, 41 insertions(+) diff --git

[PATCH v12 4/6] dmaengine: pl330: Add runtime Power Management support

2014-11-14 Thread Krzysztof Kozlowski
This patch adds runtime PM support to pl330 DMA engine driver. The runtime power management for pl330 DMA driver allows gating of AMBA clock (PDMA) in FSYS clock domain, when the device is not processing any requests. This is necessary to enter low power modes on Exynos SoCs (e.g. LPA on

[PATCH v12 6/6] amba: Use inlines instead of macros for amba_pclk_enable/disable

2014-11-14 Thread Krzysztof Kozlowski
Replace the amba_pclk_enable and amba_pclk_disable macros with static inline functions and remove checks for IS_ERR. The amba bus clock won't be ERR because probe would fail before the use of these functions. Signed-off-by: Krzysztof Kozlowski --- include/linux/amba/bus.h | 12 1

[PATCH v12 0/6] amba/dmaengine: pl330: add Power Management support

2014-11-14 Thread Krzysztof Kozlowski
Hi, Changes since v11: == 1. Patch 1/6: Add Rafael's acked-by. 2. Patch 3/6: Add Ulf's reviewed-by. 3. Patch 5/6: Add missing pm_runtime_disable(), suggested by Ulf. 4. Uploaded first 4 patches to Russell's patch system:

[PATCH v12 2/6] amba: Add helpers for (un)preparing AMBA clock

2014-11-14 Thread Krzysztof Kozlowski
Add amba_pclk_prepare() and amba_pclk_unprepare() inline functions for handling the AMBA bus clock by device drivers. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Ulf Hansson --- include/linux/amba/bus.h | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: powerpc: Fix Text randomization

2014-11-14 Thread Vineeth Vijayan
On Fri, Nov 14, 2014 at 11:50 AM, Michael Ellerman wrote: > On Fri, 2014-11-14 at 11:03 +0530, Vineeth Vijayan wrote: >> ping ! >> >> any update on this ? As i understand, only powerpc and s390 uses the >> randomize_et_dyn call; for all other architecture this is an obsolete >> function call. > >

Re: [PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-14 Thread Sebastian Andrzej Siewior
On 11/14/2014 09:24 AM, George Cherian wrote: > Disable the MUSB interrupts till MUSB is recovered fully from BABBLE > condition. There are chances that we could get multiple interrupts > till the time the babble recover work gets scheduled. Sometimes > this could even end up in an endless loop

Re: [PATCH 1/6] clk: sunxi: Add support for sun9i a80 usb clocks and resets

2014-11-14 Thread Maxime Ripard
Hi, Sorry for the belated answer. On Thu, Nov 06, 2014 at 05:19:24PM +0800, Chen-Yu Tsai wrote: > On Thu, Nov 6, 2014 at 4:54 PM, Maxime Ripard > wrote: > > On Thu, Nov 06, 2014 at 10:09:27AM +0800, Chen-Yu Tsai wrote: > >> >> >> +static void __init sun9i_a80_usb_mod_setup(struct device_node

Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix

2014-11-14 Thread Alexandre Courbot
On 11/14/2014 10:43 AM, Kuninori Morimoto wrote: From: Kuninori Morimoto Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp by ae8c4209af2cec065fef15d200a42a04130799f7 (of: Add vendor prefix for Asahi Kasei Corp.) It went through the appropriate review process. But,

Re: [RFC PATCH 1/2] pinctrl: Add output-disable

2014-11-14 Thread Linus Walleij
On Mon, Nov 3, 2014 at 10:09 PM, Doug Anderson wrote: > On Fri, Oct 31, 2014 at 1:49 AM, Linus Walleij > wrote: >> Figure out the exact electronic meaning of what happens when you do >> "output disable" in your hardware, I think it is very likely that >> PIN_CONFIG_BIAS_HIGH_IMPEDANCE is what

Dr. Erich Schubert is a liar. Refutation.

2014-11-14 Thread George Malone
Dear Mr Schubert; "He has not contributed anything to the open source community." This is a complete lie. I've contributed gigabytes of media alone. I've done years and years of programming work. I have done far more than you ever will. "His songs and "games" are not worth looking at," Your

A fork starts with a single branch.

2014-11-14 Thread George Malone
(A shout-out goes out to David Miller, boss ass mother fker, thanks for all you do) A fork starts with a single branch. As a precaution, I and others have all the debian source packages allready, and the full binary set for some architectures. (I'm sure many others have taken this precaution

Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-14 Thread Petr Tesarik
On Fri, 14 Nov 2014 10:42:35 +0900 (JST) HATAYAMA Daisuke wrote: > From: Petr Tesarik > Subject: Re: [PATCH] kdump, x86: report actual value of phys_base in > VMCOREINFO > Date: Thu, 13 Nov 2014 15:48:10 +0100 > > > On Thu, 13 Nov 2014 09:25:48 -0500 > > Vivek Goyal wrote: > > > >> On Thu,

Discussion on lennart poettering, systemd, sysv

2014-11-14 Thread George Malone
Discussion on lennart poettering, systemd, sysv http://youtu.be/2toVPMHRo8M   (Hi David Miller.) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

(Bass song) SystemD Abomination_More

2014-11-14 Thread George Malone
Sonic description of SystemD http://youtu.be/zw8Ta1A3sTQ   (Hi David Miller.) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

(SystemD) Empires only fall to an enemy within. (SystemD, Feminists)

2014-11-14 Thread George Malone
Free software worked great for a time, it was a movement on the upswing. Then it was noticed. Feminists appeared and lobbied to have those of unclean mind excluded from the free/opensource movement, only those who believed the correct thing were allowed to stay. Code nor contribution mattered

linux-next: Tree for Nov 14

2014-11-14 Thread Stephen Rothwell
Hi all, Changes since 20141113: New tree: overlayfs The idle tree gained a conflict against Linus' tree. The scsi tree gained a conflict against the usb tree. Non-merge commits (relative to Linus' tree): 6264 6509 files changed, 209171 insertions(+), 167101 deletions(-)

Re: [PATCH v5 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-11-14 Thread Weijie Yang
On Fri, Oct 31, 2014 at 3:25 PM, Joonsoo Kim wrote: > There are two paths to reach core free function of buddy allocator, > __free_one_page(), one is free_one_page()->__free_one_page() and the > other is free_hot_cold_page()->free_pcppages_bulk()->__free_one_page(). > Each paths has race

[PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-14 Thread George Cherian
Disable the MUSB interrupts till MUSB is recovered fully from BABBLE condition. There are chances that we could get multiple interrupts till the time the babble recover work gets scheduled. Sometimes this could even end up in an endless loop making MUSB itself unusable. Reported-by: Felipe Balbi

Re: [PATCH V2 2/3] perf tool: re-organize thread__resolve_callchain_sample

2014-11-14 Thread Jiri Olsa
On Thu, Nov 13, 2014 at 10:48:10AM -0800, Andi Kleen wrote: > > Any chance you guys could sync on this? ..you're touching the > > same code.. Andi, maybe you wouldn't mind having this patch > > instead of your change.. looks like the only extra part is the > > cpumode resolve. > > Please just

Re: [PATCH] mm: fix overly aggressive shmdt() when calls span multiple segments

2014-11-14 Thread Davidlohr Bueso
On Mon, 2014-11-03 at 16:06 -0800, Dave Hansen wrote: > From: Dave Hansen > > This is a highly-contrived scenario. But, a single shmdt() call > can be induced in to unmapping memory from mulitple shm segments. > Example code is here: > > http://www.sr71.net/~dave/intel/shmfun.c > > The

Re: [alsa-devel] [PATCH 2/2] ALSA: ice1712: remove unused variable

2014-11-14 Thread Sudip Mukherjee
On Thu, Nov 13, 2014 at 04:22:45PM +0100, Takashi Iwai wrote: > At Thu, 13 Nov 2014 20:44:17 +0530, > Sudip Mukherjee wrote: > > > > if (snd_pcm_format_width(runtime->format) == 16) > > tmp &= ~0x04; > > diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c > > index

[PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Kedareswara rao Appana
The drvdata in the suspend/resume is of type struct net_device, not the platform device.Enable the clocks in the suspend before accessing the registers of the CAN. Signed-off-by: Kedareswara rao Appana --- Changes for v2: - Removed the struct platform_device* from suspend/resume as suggest

Re: [PATCH v11 1/6] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-14 Thread Krzysztof Kozlowski
On czw, 2014-11-13 at 02:34 +0100, Rafael J. Wysocki wrote: > On Wednesday, November 12, 2014 03:32:23 PM Krzysztof Kozlowski wrote: > > Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime > > PM IRQ safe was set or not. > > > > Various bus drivers implementing runtime PM

Re: [PATCH 1/1] x86/iommu: fix incorrect bit operations in setting values

2014-11-14 Thread Li, ZhenHua
1st step shows we should NOT disable the iommu when it is already enabled. But current code does disable-enable. So there is still works to do. The original kernel does a disable and re-enable , Bill's patchset removed the disable operation. I think step 2 is necessary, because when the

Re: [PATCH v11 5/6] dmaengine: pl330: Add PM sleep support

2014-11-14 Thread Krzysztof Kozlowski
On czw, 2014-11-13 at 10:03 +0100, Ulf Hansson wrote: > On 13 November 2014 02:37, Rafael J. Wysocki wrote: > > On Wednesday, November 12, 2014 03:32:27 PM Krzysztof Kozlowski wrote: > >> Add system suspend/resume capabilities to the pl330 driver so the amba > >> bus clock could be also

Re: [PATCH v2 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-11-14 Thread Yingjoe Chen
On Fri, 2014-11-14 at 11:12 +0800, xudong chen wrote: > On Thu, 2014-11-13 at 19:31 +0100, Wolfram Sang wrote: > > > MT8135 and MT6589 can control I2C pins on PMIC(MT6397) by setting the i2c > > > registers in MT8135 side. > > > > I still didn't get this, even after reading the mail thread of old

Re: [PATCH v2 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-11-14 Thread Yingjoe Chen
On Fri, 2014-11-14 at 11:12 +0800, xudong chen wrote: On Thu, 2014-11-13 at 19:31 +0100, Wolfram Sang wrote: MT8135 and MT6589 can control I2C pins on PMIC(MT6397) by setting the i2c registers in MT8135 side. I still didn't get this, even after reading the mail thread of old series.

Re: [PATCH 1/1] x86/iommu: fix incorrect bit operations in setting values

2014-11-14 Thread Li, ZhenHua
1st step shows we should NOT disable the iommu when it is already enabled. But current code does disable-enable. So there is still works to do. The original kernel does a disable and re-enable , Bill's patchset removed the disable operation. I think step 2 is necessary, because when the

Re: [PATCH v11 5/6] dmaengine: pl330: Add PM sleep support

2014-11-14 Thread Krzysztof Kozlowski
On czw, 2014-11-13 at 10:03 +0100, Ulf Hansson wrote: On 13 November 2014 02:37, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, November 12, 2014 03:32:27 PM Krzysztof Kozlowski wrote: Add system suspend/resume capabilities to the pl330 driver so the amba bus clock could be also

Re: [PATCH v11 1/6] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-14 Thread Krzysztof Kozlowski
On czw, 2014-11-13 at 02:34 +0100, Rafael J. Wysocki wrote: On Wednesday, November 12, 2014 03:32:23 PM Krzysztof Kozlowski wrote: Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime PM IRQ safe was set or not. Various bus drivers implementing runtime PM may use

[PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Kedareswara rao Appana
The drvdata in the suspend/resume is of type struct net_device, not the platform device.Enable the clocks in the suspend before accessing the registers of the CAN. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com --- Changes for v2: - Removed the struct platform_device* from

Re: [alsa-devel] [PATCH 2/2] ALSA: ice1712: remove unused variable

2014-11-14 Thread Sudip Mukherjee
On Thu, Nov 13, 2014 at 04:22:45PM +0100, Takashi Iwai wrote: At Thu, 13 Nov 2014 20:44:17 +0530, Sudip Mukherjee wrote: snip if (snd_pcm_format_width(runtime-format) == 16) tmp = ~0x04; diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index

Re: [PATCH] mm: fix overly aggressive shmdt() when calls span multiple segments

2014-11-14 Thread Davidlohr Bueso
On Mon, 2014-11-03 at 16:06 -0800, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This is a highly-contrived scenario. But, a single shmdt() call can be induced in to unmapping memory from mulitple shm segments. Example code is here:

Re: [PATCH V2 2/3] perf tool: re-organize thread__resolve_callchain_sample

2014-11-14 Thread Jiri Olsa
On Thu, Nov 13, 2014 at 10:48:10AM -0800, Andi Kleen wrote: Any chance you guys could sync on this? ..you're touching the same code.. Andi, maybe you wouldn't mind having this patch instead of your change.. looks like the only extra part is the cpumode resolve. Please just merge one of

[PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-14 Thread George Cherian
Disable the MUSB interrupts till MUSB is recovered fully from BABBLE condition. There are chances that we could get multiple interrupts till the time the babble recover work gets scheduled. Sometimes this could even end up in an endless loop making MUSB itself unusable. Reported-by: Felipe Balbi

Re: [PATCH v5 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-11-14 Thread Weijie Yang
On Fri, Oct 31, 2014 at 3:25 PM, Joonsoo Kim iamjoonsoo@lge.com wrote: There are two paths to reach core free function of buddy allocator, __free_one_page(), one is free_one_page()-__free_one_page() and the other is free_hot_cold_page()-free_pcppages_bulk()-__free_one_page(). Each paths

linux-next: Tree for Nov 14

2014-11-14 Thread Stephen Rothwell
Hi all, Changes since 20141113: New tree: overlayfs The idle tree gained a conflict against Linus' tree. The scsi tree gained a conflict against the usb tree. Non-merge commits (relative to Linus' tree): 6264 6509 files changed, 209171 insertions(+), 167101 deletions(-)

(SystemD) Empires only fall to an enemy within. (SystemD, Feminists)

2014-11-14 Thread George Malone
Free software worked great for a time, it was a movement on the upswing. Then it was noticed. Feminists appeared and lobbied to have those of unclean mind excluded from the free/opensource movement, only those who believed the correct thing were allowed to stay. Code nor contribution mattered

(Bass song) SystemD Abomination_More

2014-11-14 Thread George Malone
Sonic description of SystemD http://youtu.be/zw8Ta1A3sTQ   (Hi David Miller.) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-14 Thread Petr Tesarik
On Fri, 14 Nov 2014 10:42:35 +0900 (JST) HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: From: Petr Tesarik ptesa...@suse.cz Subject: Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO Date: Thu, 13 Nov 2014 15:48:10 +0100 On Thu, 13 Nov 2014 09:25:48 -0500 Vivek

Discussion on lennart poettering, systemd, sysv

2014-11-14 Thread George Malone
Discussion on lennart poettering, systemd, sysv http://youtu.be/2toVPMHRo8M   (Hi David Miller.) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

A fork starts with a single branch.

2014-11-14 Thread George Malone
(A shout-out goes out to David Miller, boss ass mother fker, thanks for all you do) A fork starts with a single branch. As a precaution, I and others have all the debian source packages allready, and the full binary set for some architectures. (I'm sure many others have taken this precaution

Dr. Erich Schubert is a liar. Refutation.

2014-11-14 Thread George Malone
Dear Mr Schubert; He has not contributed anything to the open source community. This is a complete lie. I've contributed gigabytes of media alone. I've done years and years of programming work. I have done far more than you ever will. His songs and games are not worth looking at, Your subjective

Re: [RFC PATCH 1/2] pinctrl: Add output-disable

2014-11-14 Thread Linus Walleij
On Mon, Nov 3, 2014 at 10:09 PM, Doug Anderson diand...@chromium.org wrote: On Fri, Oct 31, 2014 at 1:49 AM, Linus Walleij linus.wall...@linaro.org wrote: Figure out the exact electronic meaning of what happens when you do output disable in your hardware, I think it is very likely that

Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix

2014-11-14 Thread Alexandre Courbot
On 11/14/2014 10:43 AM, Kuninori Morimoto wrote: From: Kuninori Morimoto kuninori.morimoto...@renesas.com Current vendor-prefixes.txt already has ak prefix for Asahi Kasei Corp by ae8c4209af2cec065fef15d200a42a04130799f7 (of: Add vendor prefix for Asahi Kasei Corp.) It went through the

Re: [PATCH 1/6] clk: sunxi: Add support for sun9i a80 usb clocks and resets

2014-11-14 Thread Maxime Ripard
Hi, Sorry for the belated answer. On Thu, Nov 06, 2014 at 05:19:24PM +0800, Chen-Yu Tsai wrote: On Thu, Nov 6, 2014 at 4:54 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Thu, Nov 06, 2014 at 10:09:27AM +0800, Chen-Yu Tsai wrote: +static void __init

Re: [PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-14 Thread Sebastian Andrzej Siewior
On 11/14/2014 09:24 AM, George Cherian wrote: Disable the MUSB interrupts till MUSB is recovered fully from BABBLE condition. There are chances that we could get multiple interrupts till the time the babble recover work gets scheduled. Sometimes this could even end up in an endless loop making

Re: powerpc: Fix Text randomization

2014-11-14 Thread Vineeth Vijayan
On Fri, Nov 14, 2014 at 11:50 AM, Michael Ellerman m...@ellerman.id.au wrote: On Fri, 2014-11-14 at 11:03 +0530, Vineeth Vijayan wrote: ping ! any update on this ? As i understand, only powerpc and s390 uses the randomize_et_dyn call; for all other architecture this is an obsolete function

[PATCH v12 2/6] amba: Add helpers for (un)preparing AMBA clock

2014-11-14 Thread Krzysztof Kozlowski
Add amba_pclk_prepare() and amba_pclk_unprepare() inline functions for handling the AMBA bus clock by device drivers. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed-by: Ulf Hansson ulf.hans...@linaro.org --- include/linux/amba/bus.h | 10 ++ 1 file changed, 10

[PATCH v12 6/6] amba: Use inlines instead of macros for amba_pclk_enable/disable

2014-11-14 Thread Krzysztof Kozlowski
Replace the amba_pclk_enable and amba_pclk_disable macros with static inline functions and remove checks for IS_ERR. The amba bus clock won't be ERR because probe would fail before the use of these functions. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- include/linux/amba/bus.h

[PATCH v12 0/6] amba/dmaengine: pl330: add Power Management support

2014-11-14 Thread Krzysztof Kozlowski
Hi, Changes since v11: == 1. Patch 1/6: Add Rafael's acked-by. 2. Patch 3/6: Add Ulf's reviewed-by. 3. Patch 5/6: Add missing pm_runtime_disable(), suggested by Ulf. 4. Uploaded first 4 patches to Russell's patch system:

Re: [PATCH v4 0/3] Rework xhci: clear root port wake on bits if controller isn't wake-up capable

2014-11-14 Thread Mathias Nyman
On 14.11.2014 05:14, Lu, Baolu wrote: Hi Mathias, This patch series has been acked by Alan Stern. There seems no further comments from others. Can you please pull in it? Thanks, -baolu Ah, yes, thanks for reminding, I'll pull them in and send them forward. -Mathias -- To unsubscribe

[PATCH v12 5/6] dmaengine: pl330: Add PM sleep support

2014-11-14 Thread Krzysztof Kozlowski
Add system suspend/resume capabilities to the pl330 driver so the amba bus clock could be also unprepared to conserve energy. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/dma/pl330.c | 41 + 1 file changed, 41 insertions(+) diff

[PATCH v12 4/6] dmaengine: pl330: Add runtime Power Management support

2014-11-14 Thread Krzysztof Kozlowski
This patch adds runtime PM support to pl330 DMA engine driver. The runtime power management for pl330 DMA driver allows gating of AMBA clock (PDMA) in FSYS clock domain, when the device is not processing any requests. This is necessary to enter low power modes on Exynos SoCs (e.g. LPA on

[PATCH v12 1/6] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-14 Thread Krzysztof Kozlowski
Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime PM IRQ safe was set or not. Various bus drivers implementing runtime PM may use choose to suspend differently based on IRQ safeness status of child driver (e.g. do not unprepare the clock if IRQ safe is not set).

Re: [PATCH 1/5] mm, compaction: pass classzone_idx and alloc_flags to watermark checking

2014-11-14 Thread Vlastimil Babka
On 10/31/2014 08:49 AM, Joonsoo Kim wrote: On Wed, Oct 29, 2014 at 02:51:11PM +0100, Vlastimil Babka wrote: On 10/28/2014 08:16 AM, Joonsoo Kim wrote: On Mon, Oct 27, 2014 at 10:11:31AM +0100, Vlastimil Babka wrote: I thought that the second check in compaction_suitable() makes sure of this,

[PATCH v12 3/6] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-11-14 Thread Krzysztof Kozlowski
The AMBA bus driver defines runtime Power Management functions which disable and unprepare AMBA bus clock. This is problematic for runtime PM because unpreparing a clock might sleep so it is not interrupt safe. However some drivers may want to implement runtime PM functions in interrupt-safe way

Re: [PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Marc Kleine-Budde
On 11/14/2014 09:16 AM, Kedareswara rao Appana wrote: The drvdata in the suspend/resume is of type struct net_device, not the platform device.Enable the clocks in the suspend before accessing the registers of the CAN. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com --- Changes for

Re: [RFC PATCH] overlayfs: support more than one read-only layer

2014-11-14 Thread Jordi Pujol Palomer
EL Mon, 10 Nov 2014 10:09:54 +0100 Miklos Szeredi mik...@szeredi.hu escrigué: Maybe it wasn't clear, but the number of lower layers isn't limited by FILESYSTEM_MAX_STACK_DEPTH, sorry, you have been clear, it's me that have not explained the purpose of that patch. This idea is also valid for

Re: kdbus: add selftests

2014-11-14 Thread Daniel Mack
On 11/14/2014 04:42 AM, Michael Ellerman wrote: On Wed, 2014-10-29 at 15:00 -0700, Greg Kroah-Hartman wrote: From: Daniel Mack dan...@zonque.org This patch adds a quite extensive test suite for kdbus that checks the most important code pathes in the driver. The idea is to extend the test

Re: [PATCH] brcmfmac: kill URB when request timed out

2014-11-14 Thread Arend van Spriel
On 13-11-14 03:33, Mathy Vanhoef wrote: Kill the submitted URB in brcmf_usb_dl_cmd if the request timed out. This assures the URB is never submitted twice. It also prevents a possible use-after-free of the URB transfer buffer if a timeout occurs. Acked-by: Arend van Spriel ar...@broadcom.com

Re: [PATCH 4/5] mm, compaction: always update cached scanner positions

2014-11-14 Thread Vlastimil Babka
On 11/04/2014 01:28 AM, Joonsoo Kim wrote: On Fri, Oct 31, 2014 at 04:53:44PM +0100, Vlastimil Babka wrote: On 10/28/2014 08:08 AM, Joonsoo Kim wrote: OK, so you don't find a problem with how this patch changes migration scanner caching, just the free scanner, right? So how about making

Re: [PATCH 0/5] clk: rockchip: add full support for HDMI clock on rk3288

2014-11-14 Thread Kever Yang
Hi On 11/14/2014 09:46 AM, Mike Turquette wrote: Looking through the clock-tree there are a lot more components possibly using (or wanting to use) the npll: of course the VOPs, the edp, hdmi, isp, hevc, gpu, tsp uart0 and gmac. So I'm slightly uncomfortable with somehow reserving the npll

Re: [PATCH] ACPI / GPIO: Driver GPIO mappings for ACPI GPIOs

2014-11-14 Thread Linus Walleij
On Mon, Nov 3, 2014 at 11:56 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, November 03, 2014 02:22:10 PM Linus Walleij wrote: With that change: Reviewed-by: Linus Walleij linus.wall...@linaro.org OK, made the changes and added your Reviewed-by. One semi-related question

Re: [RFC PATCH 2/3] mmc: omap_hsmmc: add tuning support

2014-11-14 Thread Andreas Fenkart
2014-11-13 13:56 GMT+01:00 Kishon Vijay Abraham I kis...@ti.com: From: Balaji T K balaj...@ti.com MMC tuning procedure is required to support SD card UHS1-SDR104 mode and EMMC HS200 mode. The tuning function omap_execute_tuning() will only be called by the MMC/SD core if the corresponding

Re: [PATCH RESEND 3.18-rc3 v2 1/2] trace: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Daniel Thompson
On 14/11/14 02:26, Steven Rostedt wrote: On Thu, 6 Nov 2014 12:41:55 + Daniel Thompson daniel.thomp...@linaro.org wrote: Currently kdb's ftdump command unconditionally crashes due to a null pointer de-reference whenever the command is run. This in turn causes the kernel to panic. The

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-14 Thread Oliver Neukum
On Thu, 2014-11-13 at 12:16 -0800, Benson Leung wrote: In usbhid_open, usb_autopm_get_interface is called before setting the needs_remote_wakeup flag, and usb_autopm_put_interface is called after hid_start_in. However, when the device is closed in usbhid_close, the same protection isn't

[PATCH] [powerpc] Fix Text randomization

2014-11-14 Thread Vineeth Vijayan
Now there is no way to disable TEXT randomization on a PPC32/PPC64 machine. Text randomization happens even in the case of echo 0 /proc/sys/kernel/randomize_va_space This happens due to the incorrect definition of ELF_ET_DYN_BASE at arch/powerpc/include/asm/elf.h The function randomize_et_dyn

Re: [PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-14 Thread George Cherian
On 11/14/2014 02:12 PM, Sebastian Andrzej Siewior wrote: On 11/14/2014 09:24 AM, George Cherian wrote: Disable the MUSB interrupts till MUSB is recovered fully from BABBLE condition. There are chances that we could get multiple interrupts till the time the babble recover work gets scheduled.

Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix

2014-11-14 Thread Arnd Bergmann
On Friday 14 November 2014 17:38:58 Alexandre Courbot wrote: diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index a1d4bf9..7f5cf80 100644 --- a/arch/arm/boot/dts/tegra20-seaboard.dts +++ b/arch/arm/boot/dts/tegra20-seaboard.dts @@ -405,7

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-11-14 Thread Linus Walleij
On Tue, Nov 4, 2014 at 1:38 AM, Benoit Parrot bpar...@ti.com wrote: Sorry for slow replies... Linus Walleij linus.wall...@linaro.org wrote on Mon [2014-Nov-03 10:59:53 +0100]: On Tue, Oct 21, 2014 at 10:09 PM, Benoit Parrot bpar...@ti.com wrote: qe_pio_a: gpio-controller@1400 {

Re: [Cocci] spatch for trivial pointer comparison style?

2014-11-14 Thread Julia Lawall
On Thu, 13 Nov 2014, Joe Perches wrote: On Fri, 2014-11-14 at 07:06 +0100, Julia Lawall wrote: On Thu, 13 Nov 2014, Joe Perches wrote: I added a checkpatch entry for this. Maybe some cocci test like this would be useful? @@ type t; t *p; @@ - p == NULL + !p

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-11-14 Thread Linus Walleij
On Wed, Oct 29, 2014 at 8:09 AM, Alexandre Courbot gnu...@gmail.com wrote: On Wed, Oct 22, 2014 at 5:09 AM, Benoit Parrot bpar...@ti.com wrote: + line_b: line_b { + line_b { + gpios = 6 0; +

[PATCH] ARM: zynq: Remove secondary_startup() declaration from header

2014-11-14 Thread Michal Simek
secondary_startup() in the header is not needed at all. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/mach-zynq/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-zynq/common.h b/arch/arm/mach-zynq/common.h index 2bc71273c73c..382c60e9aa16 100644 ---

Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix

2014-11-14 Thread Thierry Reding
On Fri, Nov 14, 2014 at 05:38:58PM +0900, Alexandre Courbot wrote: On 11/14/2014 10:43 AM, Kuninori Morimoto wrote: [...] diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index a1d4bf9..7f5cf80 100644 --- a/arch/arm/boot/dts/tegra20-seaboard.dts

loan offer apply now at 2%, only serious replies needed

2014-11-14 Thread Barr. Mark Lewis
Are you in need of any type of loan? of yes, kindly contact barrmarklewi...@gmail.com for more information. Thanks -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-14 Thread Linus Walleij
On Mon, Nov 3, 2014 at 7:42 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Mon, Nov 03, 2014 at 09:50:11AM -0600, Felipe Balbi wrote: that's an issue that needs solving, but forcing every x86 kernel to ship with this driver, is not a proper solution. I would rather have the

Re: [alsa-devel] [PATCH v3] of: replace Asahi Kasei Corp venter prefix

2014-11-14 Thread Thierry Reding
On Fri, Nov 14, 2014 at 01:43:03AM +, Kuninori Morimoto wrote: From: Kuninori Morimoto kuninori.morimoto...@renesas.com Current vendor-prefixes.txt already has ak prefix for Asahi Kasei Corp by ae8c4209af2cec065fef15d200a42a04130799f7 It's usually enough to show the first 12 (or so)

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-14 Thread Linus Walleij
On Tue, Nov 4, 2014 at 7:57 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Nov 04, 2014 at 10:05:26AM -0800, David Cohen wrote: It looks we have an implicit dependency to GPIO driver in Bay Trail, and having this window until load the module is not acceptable to fulfill

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-14 Thread Linus Walleij
On Tue, Nov 4, 2014 at 10:51 PM, David Cohen david.a.co...@linux.intel.com wrote: On Tue, Nov 04, 2014 at 09:34:24PM +0200, Mika Westerberg wrote: to a list of devices we depend on, we can defer this particular driver going further in probe until all the dependencies listed in _DEP are

RE: [PATCHv2 net 2/4] be2net: Implement ndo_gso_check()

2014-11-14 Thread Sathya Perla
-Original Message- From: Joe Stringer [mailto:joestrin...@nicira.com] Use vxlan_gso_check() to advertise offload support for this NIC. Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Sathya Perla spe...@emulex.com Thanks! --- v2: Refactor out vxlan helper. ---

Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-14 Thread HATAYAMA Daisuke
From: Petr Tesarik ptesa...@suse.cz Subject: Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO Date: Fri, 14 Nov 2014 09:31:45 +0100 On Fri, 14 Nov 2014 10:42:35 +0900 (JST) HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: From: Petr Tesarik ptesa...@suse.cz Subject:

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-14 Thread Russell King - ARM Linux
On Thu, Nov 13, 2014 at 05:26:34PM -0800, Joe Perches wrote: On Fri, 2014-11-14 at 01:18 +, Russell King - ARM Linux wrote: On Thu, Nov 13, 2014 at 04:45:43PM -0800, Joe Perches wrote: I think you shouldn't apply these patches or updated ones either until all the current uses are

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-14 Thread Mika Westerberg
+Rafael On Fri, Nov 14, 2014 at 10:39:07AM +0100, Linus Walleij wrote: On Tue, Nov 4, 2014 at 7:57 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Nov 04, 2014 at 10:05:26AM -0800, David Cohen wrote: It looks we have an implicit dependency to GPIO driver in Bay Trail,

Re: [PATCH v2 13/14] ARM: STi: DT: STiH410: Add usb2 picophy dt nodes

2014-11-14 Thread Peter Griffin
Hi Arnd, On Thu, 13 Nov 2014, Arnd Bergmann wrote: On Thursday 13 November 2014 14:54:19 Peter Griffin wrote: It also seems that you have put the node in the wrong place, as the reg property apparently refers to a different address space. Did you mean to put this under the

Re: [PATCH v2] kvm: memslots: replace heap sort with insertion sort

2014-11-14 Thread Paolo Bonzini
On 14/11/2014 00:00, Igor Mammedov wrote: memslots is a sorted array, when slot changes in it with current heapsort it would take O(n log n) time to update array, while using insertion sort like algorithm on array with 1 item out of order will take only O(n) time. Replace current

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-14 Thread Russell King - ARM Linux
On Fri, Nov 14, 2014 at 10:01:34AM +0800, Wang, Yalin wrote: -Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Friday, November 14, 2014 7:53 AM To: Wang, Yalin On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: This patch add

Re: [PATCH V4 7/8] powerpc, ptrace: Enable support for miscellaneous debug registers

2014-11-14 Thread Denis Kirjanov
On 11/13/14, Anshuman Khandual khand...@linux.vnet.ibm.com wrote: On 11/11/2014 10:56 AM, Anshuman Khandual wrote: This patch enables get and set of miscellaneous debug registers through ptrace PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing new powerpc specific register set

Re: [PATCH v2 1/1] ftruncate, truncate: create fanotify events

2014-11-14 Thread Jan Kara
On Tue 11-11-14 20:55:26, Heinrich Schuchardt wrote: On 11.11.2014 12:09, Jan Kara wrote: On Mon 10-11-14 23:34:15, Christoph Hellwig wrote: On Mon, Nov 10, 2014 at 09:30:29PM +0100, Jan Kara wrote: So what I somewhat dislike about this patch is that notify_change() is sometimes called

[RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12

2014-11-14 Thread Lukasz Majewski
The TMU device tree node definition for Exynos4x12 family of SoCs. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Reviewed-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/boot/dts/exynos4x12.dtsi | 10 ++ 1 file

[RESEND PATCH 2/2] ARM: dts: exynos4412-trats2: Enable TMU support at Trats2

2014-11-14 Thread Lukasz Majewski
This patch enables support for TMU at Exynos4412 based Trats2 board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Reviewed-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/boot/dts/exynos4412-trats2.dts | 5 + 1 file

[PATCH 2/6 V2] Documentation: devicetree: arizona: Add bindings for WM8280

2014-11-14 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- Documentation/devicetree/bindings/mfd/arizona.txt | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt

Re: [GIT PULL] Immutable branch between MFD, GPIO and I2C

2014-11-14 Thread Linus Walleij
On Mon, Nov 10, 2014 at 6:43 PM, Lee Jones lee.jo...@linaro.org wrote: Please don't pull this -- it is missing a patch. Will fix. Okay, dependency fixed. Sorry for the fuss. Pull when ready. Letting it just sit around unless there are conflicts coming up... Seems like this can go through

Re: [Cocci] spatch for trivial pointer comparison style?

2014-11-14 Thread SF Markus Elfring
I don't think that the change is desirable in all cases. There are functions like kmalloc where NULL means failure and !p seems like the reasonable choice. But there maybe other cases where NULL is somehow a meaningful value. How do you think about to adjust checks for null pointers not

Re: [PATCH 4/6] gpio: arizona: Add support for WM8280/WM8281

2014-11-14 Thread Linus Walleij
On Thu, Nov 13, 2014 at 6:50 PM, Richard Fitzgerald r...@opensource.wolfsonmicro.com wrote: Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com Acked-by: Linus Walleij linus.wall...@linaro.org Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Will Deacon
Hi Alex, On Thu, Nov 13, 2014 at 07:27:23PM +, Alexander Duyck wrote: It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as

<    3   4   5   6   7   8   9   10   11   12   >