Re: [GIT PULL 00/19] perf/core improvements and fixes

2016-04-12 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Thu, Apr 07, 2016 at 05:58:21PM -0300, Arnaldo Carvalho de Melo escreveu: > > Hi Ingo, > > > > Please consider pulling, build tested on: > > Ingo, if you haven't pulled this one, please pull instead > perf-core-for-mingo-20160408, which has the same t

Re: [PATCH] tpm: fix crash in tpm_tis deinitialization

2016-04-12 Thread Jarkko Sakkinen
On Wed, Apr 13, 2016 at 09:16:51AM +0300, Jarkko Sakkinen wrote: > On Tue, Apr 12, 2016 at 11:26:55AM -0600, Jason Gunthorpe wrote: > > On Tue, Apr 12, 2016 at 07:26:27AM +0300, Jarkko Sakkinen wrote: > > > > This needs to be after ops is fenced, something like this. > > > > > > I would appreciate

Re: checkpatch false positon on EXPORT_SYMBOL

2016-04-12 Thread Andy Whitcroft
On Tue, Apr 12, 2016 at 10:49:17AM -0700, Joe Perches wrote: > > On Tue, 2016-04-12 at 13:59 +0100, Andy Whitcroft wrote: > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > [] > > @@ -3000,7 +3000,7 @@ sub process { > > > >   $realline_next = $line_nr_next; > >  

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-04-12 Thread Mark Brown
On Tue, Apr 12, 2016 at 06:59:06PM +0530, Laxman Dewangan wrote: > I have put my understanding based on datasheet and observation but it seems > I am missing some important information which is making difficult to > understand further here. > We are not crossing the maximum limit of the load on th

[patch] misc: mic: silence uninitialized variable warning

2016-04-12 Thread Dan Carpenter
My static checker complains that we still use "mark" even when the _scif_fence_mark() call fails so it can be uninitialized. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/mic/scif/scif_fence.c b/drivers/misc/mic/scif/scif_fence.c index 7f2c96f..cac3bcc 100644 --- a/drivers/misc/mic/sci

[patch] md/raid0: check for create_strip_zones() errors

2016-04-12 Thread Dan Carpenter
My static checker complains that if create_strip_zones() fails then we use "priv_conf" without initializing it. Fix this by checking for failure. Signed-off-by: Dan Carpenter diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index 2ea12c6..1d80e3c 100644 --- a/drivers/md/raid0.c +++ b/driver

[patch] ARM: qcom: silence an uninitialized variable warning

2016-04-12 Thread Dan Carpenter
It's harmless but, if "enable" isn't set, then we pass uninitialized values to qcom_coincell_chgr_config(). The values aren't used, but let's silence the warning anyway. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/qcom-coincell.c b/drivers/misc/qcom-coincell.c index 7b4a2da..829a61d

[patch] tty: hvc_console: silence unintialized variable warning

2016-04-12 Thread Dan Carpenter
If ->get_char() returns a negative error code and that can mean that "ch" is uninitialized. The callers of this function expect NO_POLL_CHAR on error so let's return that. Signed-off-by: Dan Carpenter diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index e46d628..3257

[PATCH] mmc/sdio: utilize runtime PM to speed up SDIO card's resume process

2016-04-12 Thread Fu, Zhonghui
Leave some work of SDIO card's resume process into it's runtime resume process to shorten system resume latency. Signed-off-by: Zhonghui Fu --- drivers/mmc/core/sdio.c | 21 ++--- include/linux/mmc/host.h |9 ++--- 2 files changed, 16 insertions(+), 14 deletions(-) di

Re: [PATCH] regulator: reorder initialization steps in regulator_register()

2016-04-12 Thread Mark Brown
On Tue, Apr 12, 2016 at 12:31:00PM +0200, Boris Brezillon wrote: > device_register() is calling ->get_voltage() as part of is sysfs attribute > initialization process, and this functions might need to know the regulator > constraints to return a valid value. I've pushed this as a signed tag: The

Applied "regulator: reorder initialization steps in regulator_register()" to the regulator tree

2016-04-12 Thread Mark Brown
The patch regulator: reorder initialization steps in regulator_register() has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Re: [PATCH memory-barriers.txt 6/7] documentation: Add Korean translation

2016-04-12 Thread Ingo Molnar
* Paul E. McKenney wrote: > From: SeongJae Park > > This commit adds Korean version of memory-barriers.txt document. The > header is refered to HOWTO Korean version. > > Signed-off-by: SeongJae Park > Acked-by: David Howells > Signed-off-by: Paul E. McKenney > Acked-by: Minchan Kim > ---

Re: [PATCH v3] Create pci slot files for SMBIOS Type 9 entries

2016-04-12 Thread Bjorn Helgaas
On Tue, Apr 12, 2016 at 06:36:14PM -0500, Jordan Hargrave wrote: > On Sun, Apr 10, 2016 at 5:17 PM, Bjorn Helgaas wrote: > > Hi Jordan, > > > > On Thu, Feb 18, 2016 at 08:40:32PM +, jordan_hargr...@dell.com wrote: > >> The following diff builds on the "[PATCHv3] Save SMBIOS Type 9 System > >>

[PATCH] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-04-12 Thread Vinay Simha BN
Add support for the JDI lt070me05000 WUXGA DSI panel used in Nexus 7 2013 devices. Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from: https://android.googlesource.com/kernel/msm.git And video mode setting is from dsi-panel-jdi-d

Re: [PATCH] clk: samsung: exynos7: Enable clocks for CMU_CCORE and CMU_FSYS0 blocks

2016-04-12 Thread Tomasz Figa
2016-04-12 14:07 GMT+03:00 Alim Akhtar : > This patch enables clocks for CMU_CCORE and CMU_FSYS0 blocks. This is > required before accessing registers of these blocks. > > Signed-off-by: Alim Akhtar > --- > drivers/clk/samsung/clk-exynos7.c |9 + > 1 file changed, 9 insertions(+) > >

Re: [PATCH 5/7] clk: samsung: exynos542x: Add the clock id for ACLK

2016-04-12 Thread Tomasz Figa
2016-04-12 14:25 GMT+03:00 Krzysztof Kozlowski : > On 04/08/2016 07:00 AM, Chanwoo Choi wrote: >> This patch adds the clock id for ACLK clock which is source clock of AMBA AXI >> Bus. This clock should be handled in Bus frequency scaling driver. >> >> Signed-off-by: Chanwoo Choi >> --- >> drivers

Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention

2016-04-12 Thread Ingo Molnar
* Waiman Long wrote: > On a large system with many CPUs, using HPET as the clock source can > have a significant impact on the overall system performance because > of the following reasons: > 1) There is a single HPET counter shared by all the CPUs. > 2) HPET counter reading is a very slow ope

Re: [PATCH] tpm: fix crash in tpm_tis deinitialization

2016-04-12 Thread Jarkko Sakkinen
On Tue, Apr 12, 2016 at 11:26:55AM -0600, Jason Gunthorpe wrote: > On Tue, Apr 12, 2016 at 07:26:27AM +0300, Jarkko Sakkinen wrote: > > > This needs to be after ops is fenced, something like this. > > > > I would appreciate a supporting argument. > > > > I guess the argument here is that this wil

Re: [PATCH 2/5] regulator: st-flashss: Add a regulator driver for flashss vsense.

2016-04-12 Thread Mark Brown
On Tue, Apr 12, 2016 at 04:16:41PM +0100, Peter Griffin wrote: > diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile > index 61bfbb9..10be29b 100644 > --- a/drivers/regulator/Makefile > +++ b/drivers/regulator/Makefile > @@ -108,6 +108,6 @@ obj-$(CONFIG_REGULATOR_WM831X) += wm831x

Re: [PATCH v3 7/9] ARM: dts: vf610: add display nodes

2016-04-12 Thread Shawn Guo
On Mon, Apr 04, 2016 at 10:28:39PM -0700, Stefan Agner wrote: > Add the dcu and tcon nodes to enable the Display Controller Unit > and Timing Controller in Vybrid's SoC level device-tree file. > > Signed-off-by: Stefan Agner Applied 7 ~ 9, thanks.

RE: [PATCH v5 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-04-12 Thread Appana Durga Kedareswara Rao
; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > dmaeng...@vger.kernel.org > Subject: Re: [PATCH v5 2/2] dmaengine: Add Xilinx zynqmp dma engine driver > support > > Hi Kedareswara, > > [auto build test ERROR on robh/for-n

Re: Possible race in copy of fpu->state in copy_process against the exeve'ing parent?

2016-04-12 Thread Ingo Molnar
* Jianyu Zhan wrote: > Hi, > > I encountered a panic on a Linux-3.2 kernel on a x86_64 machine, and > suspect it is a race condition. And I checked the current mainline > and found it was fixed unintendedly. > > So I hope x86/fpu maintainer help verify this. Thanks verfy much. > > > The pa

Re: [PATCH v5 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-04-12 Thread kbuild test robot
Hi Kedareswara, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.6-rc3 next-20160412] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Kedareswara-rao-Appana/Documentation

[PATCH 3/3] Revert "PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()"

2016-04-12 Thread Bjorn Helgaas
This reverts commit 991de2e59090e55c65a7f59a049142e3c480f7bd. Revert "PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()" 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") appeared in v4.3 and helps support IOAPIC hotplug. Олег reported that the Elcus-15

[PATCH 2/3] Revert "PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed"

2016-04-12 Thread Bjorn Helgaas
This reverts commit 811a4e6fce09bc9239c664c6a1a53645a678c303. Revert 811a4e6fce09 ("PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed"). This is part of reverting 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") to fix regressions it introduced. Link

[PATCH 1/3] Revert "x86/PCI: Don't alloc pcibios-irq when MSI is enabled"

2016-04-12 Thread Bjorn Helgaas
This reverts commit 8affb487d4a4e223d961d7034cb41cd31982b618. Revert 8affb487d4a4 ("x86/PCI: Don't alloc pcibios-irq when MSI is enabled"). This is part of reverting 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") to fix regressions it introduced. Link: https://bu

[PATCH 0/3] v4.4: Revert "PCI: Implement pcibios_alloc_irq() and

2016-04-12 Thread Bjorn Helgaas
pcibios_free_irq()" Please apply these reverts to the v4.4 stable kernel. We reverted the following changes from v4.5 to fix a regression: 8affb487d4a4 ("x86/PCI: Don't alloc pcibios-irq when MSI is enabled") 811a4e6fce09 ("PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed")

[PATCH 0/2] v4.3: Revert "PCI: Implement pcibios_alloc_irq() and pcibios_free_irq()"

2016-04-12 Thread Bjorn Helgaas
Please apply these reverts to the v4.3 stable kernel. We reverted the following changes from v4.6 to fix a regression: 811a4e6fce09 ("PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed") 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") but I for

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Tomi Valkeinen
On 12/04/16 19:30, Tony Lindgren wrote: > With LCD enabled, both LEDs are on contantly. I think we should > be able to hit retention in that state, at least n950 is doing it > with the Nokia kernel. N900's display needs constant updating, where N950's display has internal framebuffer, allowing O

[PATCH 1/2] Revert "PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed"

2016-04-12 Thread Bjorn Helgaas
This reverts commit 811a4e6fce09bc9239c664c6a1a53645a678c303. Revert 811a4e6fce09 ("PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed"). This is part of reverting 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") to fix regressions it introduced. Link

[PATCH 2/2] Revert "PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()"

2016-04-12 Thread Bjorn Helgaas
This reverts commit 991de2e59090e55c65a7f59a049142e3c480f7bd. 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") appeared in v4.3 and helps support IOAPIC hotplug. Олег reported that the Elcus-1553 TA1-PCI driver worked in v4.2 but not v4.3 and bisected it to 991de2e5

Re: [PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-04-12 Thread Jingoo Han
On Tuesday, April 12, 2016 6:44 PM, Gabriele Paoloni wrote: > > Hi Bjorn > > [...] > > > > > > > > > What's the hisi plan for resuming after suspend-to-RAM? How does > > the > > > > RC get reprogrammed after it loses all its state? > > > > > > PM is not part of the driver yet. This is planned f

Re: [PATCH 2/2] arm64: dts: ls2080a: fsl-mc dt node updates

2016-04-12 Thread Shawn Guo
On Fri, Apr 01, 2016 at 03:54:40PM -0500, Stuart Yoder wrote: > From: Stuart Yoder > > updates to the fsl-mc node for full functionality: >-msi-parent is needed for interrupt support >-ranges is needed to enable the bus driver to translate bus addresses >-dpmac nodes provide a basis f

Re: [PATCH v2 3/3] mfd: mt6397: check the EPROBE_DEFER from platform_get_irq.

2016-04-12 Thread Henry Chen
On Mon, 2016-04-11 at 09:50 +0100, Lee Jones wrote: > On Fri, 08 Apr 2016, Henry Chen wrote: > > > If get the -EPROBE_DEFER from platform_get_irq, it should return back > > directly. > > > > Signed-off-by: Henry Chen > > --- > > drivers/mfd/mt6397-core.c | 2 ++ > > 1 file changed, 2 insertion

[PATCH] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-04-12 Thread Vinay Simha BN
Add support for the JDI lt070me05000 WUXGA DSI panel used in Nexus 7 2013 devices. Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from: https://android.googlesource.com/kernel/msm.git And video mode setting is from dsi-panel-jdi-d

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes

2016-04-12 Thread Michael Ellerman
On Mon, 2016-04-11 at 03:32 -0300, Edjunior Barbosa Machado wrote: > Hi Michael, Anshuman, > > I've managed to implement the GDB support for the new regsets and test > on Power8 (BE and LE). Great work thanks! > The following is an example of GDB 'info > registers all' partial output showing the

Re: [lkp] [huge tmpfs] d7c7d56ca6: vm-scalability.throughput -5.5% regression

2016-04-12 Thread Hugh Dickins
On Wed, 13 Apr 2016, kernel test robot wrote: > FYI, we noticed that vm-scalability.throughput -5.5% regression on > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit d7c7d56ca61aec18e5e0cb3a64e50073c42195f7 ("huge tmpfs: avoid premature > exposure of new page

Re: [PATCH 04/15] task_diag: add a new interface to get information about tasks (v4)

2016-04-12 Thread Cyrill Gorcunov
On Tue, Apr 12, 2016 at 05:39:14PM -0700, Andrew Vagin wrote: > > > > task = NULL always here? > > No, it isn't if the loop is interrupted by break. Yeah, managed to miss break, thanks!

Re: [PATCH v3 1/9] ARM: imx: clk-vf610: fix DCU clock tree

2016-04-12 Thread Stefan Agner
On 2016-04-11 18:38, Shawn Guo wrote: > On Mon, Apr 04, 2016 at 10:28:33PM -0700, Stefan Agner wrote: >> Similar to an earlier fix for the SAI clocks, the DCU clock hierarchy >> mixes the bus clock with the display controllers pixel clock. Tests >> have shown that the gates in CCM_CCGR3/9 registers

Re: [PATCH] pmem: fix BUG() error in pmem.h:48 on X86_32

2016-04-12 Thread Dan Williams
On Tue, Apr 12, 2016 at 5:10 PM, Toshi Kani wrote: > After 'commit fc0c2028135c ("x86, pmem: use memcpy_mcsafe() > for memcpy_from_pmem()")', probing a PMEM device hits the BUG() > error below on X86_32 kernel. > > kernel BUG at include/linux/pmem.h:48! > > memcpy_from_pmem() calls arch_memcpy_fr

RE: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-12 Thread Lakshmi Sai Krishna Potthuri
Hi Cyrille and Mark, >-Original Message- >From: Cyrille Pitchen [mailto:cyrille.pitc...@atmel.com] >Sent: Thursday, April 07, 2016 8:33 PM >To: Lakshmi Sai Krishna Potthuri ; Michal Simek >; Soren Brinkmann ; David >Woodhouse ; Brian Norris >; Mark Brown ; >Javier Martinez Canillas ; Boris

[PATCH v5 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-04-12 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. The dma controller supports memory to memory and memory to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v5: - Removed in_interrupt check from the tasklet

[PATCH v5 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-12 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v5: - Use dma-coherent flag for coherent transfers as suggested by rob. - Removed unnecessary properties fr

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes

2016-04-12 Thread Michael Ellerman
On Mon, 2016-04-11 at 09:40 +0200, Laurent Dufour wrote: > On 07/04/2016 23:49, Michael Ellerman wrote: > > On 7 April 2016 7:23:46 pm AEST, Laurent Dufour > > wrote: > > > This series is required to handle TM state in CRIU. > > > Is there a chance to get it upstream soon ? > > > > We were waiti

[PATCH] drm/nouveau/nvbios/iccsense: fix semicolon.cocci warnings

2016-04-12 Thread kbuild test robot
drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c:96:3-4: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Martin Peres Signed-off-by: Fengguang Wu --- iccsense.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/driver

drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c:96:3-4: Unneeded semicolon

2016-04-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c74a7f812b135d3df41d7c3671b647aed6467bf commit: 39b7e6e547ffca0b42a29df5a213f5bf3a19af0b drm/nouveau/nvbios/iccsense: add parsing of the SENSE table date: 4 weeks ago coccinelle warnings: (new ones pref

Re: [RFC PATCH 0/4] Add ACPI support for pinctrl configuration

2016-04-12 Thread Rafael J. Wysocki
On Tue, Apr 12, 2016 at 2:15 PM, Mark Brown wrote: > On Thu, Apr 07, 2016 at 11:24:00PM +0200, Rafael J. Wysocki wrote: >> On Wednesday, April 06, 2016 11:39:27 AM Mark Rutland wrote: > >> > The ACPI model implies FW-driven pinctrl management, so if we're going to >> > put >> > the OS in direct c

Re: [PATCH 2/6] cifs: merge the hash calculation helpers

2016-04-12 Thread Shirish Pargaonkar
Looks correct. Tested with -o vers=1.0, -o vers=2.0, and -o vers=2.1. Will test using mount option vers=3.0 as soon as I find a server. Reviewed-by: Shirish Pargaonkar Tested-by: Shirish Pargaonkar On Sat, Apr 9, 2016 at 3:50 PM, Al Viro wrote: > three practically identical copies... > > Signe

linux-next: Tree for Apr 13

2016-04-12 Thread Stephen Rothwell
Hi all, Changes since 20160412: The keys tree gained a conflict against the crypto tree. The akpm-current tree still had its build failure for which I applied a patch. Non-merge commits (relative to Linus' tree): 3274 3208 files changed, 125941 insertions(+), 78193 dele

Не увидел ни вывески, ни штендера на доме

2016-04-12 Thread Михаил Ермаков
Добрый день! Я не так давно проходил мимо здания где вы находитесь, и обратил внимание, что на здании нет вывески Вашей организации. Я профессионально занимаюсь изготовлением и установкой вывесок (у нас собственная мастерская). Размещение рекламных вывесок в Вашем здании возможно! Поток клиент

Re: [RESEND][PATCH 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-04-12 Thread Rafael J. Wysocki
On Tue, Apr 12, 2016 at 7:38 AM, Viresh Kumar wrote: > Hi Rafael, > > On 15-03-16, 16:10, Dawei Chien wrote: >> MT8173 cpufreq driver select of_cpufreq_power_cooling_register registering >> cooling devices with dynamic power coefficient. >> >> Signed-off-by: Dawei Chien >> Acked-by: Viresh Kumar

Re: [PATCH 2/4] sched/fair: Drop out incomplete current period when sched averages accrue

2016-04-12 Thread Yuyang Du
Hi Vincent, On Tue, Apr 12, 2016 at 01:56:45PM +0200, Vincent Guittot wrote: > Le Tuesday 12 Apr 2016 à 03:41:41 (+0800), Yuyang Du a écrit : > > Hi Vincent, > > > > On Mon, Apr 11, 2016 at 11:08:04AM +0200, Vincent Guittot wrote: > > > > @@ -2704,11 +2694,14 @@ static __always_inline int > > > >

Re: [PATCH 1/2] sched/fair: move cpufreq hook to update_cfs_rq_load_avg()

2016-04-12 Thread Rafael J. Wysocki
On Wed, Apr 13, 2016 at 2:08 AM, Steve Muckle wrote: > On Tue, Apr 12, 2016 at 04:29:06PM +0200, Rafael J. Wysocki wrote: >> This is rather fundamental. >> >> For example, if you look at cpufreq_update_util(), it does this: >> >> data = rcu_dereference_sched(*this_cpu_ptr(&cpufreq_update_util_data

Re: Is there any race between flush_to_ldisc() and release_one_tty()?

2016-04-12 Thread Peter Hurley
Hi Prasad, Thanks for the report. On 04/12/2016 08:22 AM, Sodagudi Prasad wrote: > > Hi All, > > It looks like there is race between flush_to_ldisc() and release_one_tty(). Not necessarily. Driver could have destroyed the port prematurely. Or the driver could have rescheduled the input kwork

[PATCH v2] arm64: dts: Add nodes for pdma0 and pdam1 for exynos7

2016-04-12 Thread Alim Akhtar
This patch adds device tree nodes for pdma0 and pdma1 controllers found on exynos7 SoCs. Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/d

Re: [PATCH] arm64: dts: Add nodes for pdma0 and pdam1 for exynos7

2016-04-12 Thread Alim Akhtar
Hi Krzysztof, On 04/12/2016 07:35 PM, Krzysztof Kozlowski wrote: On 04/12/2016 02:49 PM, Alim Akhtar wrote: This patch adds device tree nodes for pdma0 and pdma1 controllers found on exynos7 SoCs. Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 29

Re: [PATCH v3] device property: don't bother the drivers with struct property_set

2016-04-12 Thread Rafael J. Wysocki
On Tue, Apr 12, 2016 at 9:24 AM, Lee Jones wrote: > On Mon, 11 Apr 2016, Rafael J. Wysocki wrote: > >> On Mon, Apr 11, 2016 at 6:20 PM, Lee Jones wrote: >> > On Mon, 11 Apr 2016, Rafael J. Wysocki wrote: >> > >> >> On Mon, Apr 11, 2016 at 4:05 PM, Lee Jones wrote: >> >> > On Mon, 11 Apr 2016, Ra

Re: [PATCH 1/3] ACPI / tables: Move table override mechanisms to tables.c

2016-04-12 Thread Rafael J. Wysocki
On Tue, Apr 12, 2016 at 1:27 AM, Zheng, Lv wrote: > Hi, > >> From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of >> Rafael J. Wysocki >> Sent: Monday, April 11, 2016 9:31 PM >> Subject: Re: [PATCH 1/3] ACPI / tables: Move table override mechanisms to >> tables.c >> >> On Mon, Apr 1

Re: [PATCH V2 2/2] scripts: dtc: fix memory leak after realloc

2016-04-12 Thread David Gibson
On Tue, Apr 12, 2016 at 04:11:17PM -0500, Rob Herring wrote: > On Tue, Apr 12, 2016 at 3:55 PM, Maxim Zhukov > wrote: > > This commit fixed memory leak after errors realloc. > > > > Signed-off-by: Maxim Zhukov > > --- > > scripts/dtc/fdtput.c | 10 +++--- > > Again, your patch is against the

Re: [PATCH 2/4] sched/fair: Drop out incomplete current period when sched averages accrue

2016-04-12 Thread Joe Perches
On Wed, 2016-04-13 at 04:14 +0800, Yuyang Du wrote: > On Tue, Apr 12, 2016 at 01:02:58PM +0100, Dietmar Eggemann wrote: > > On 10/04/16 23:36, Yuyang Du wrote: > > [...] > > > @@ -2704,11 +2694,14 @@ static __always_inline int > > >  __update_load_avg(u64 now, int cpu, struct sched_avg *sa, > > >  

[PATCH] i2c: cpm: Fix build break due to incompatible pointer types

2016-04-12 Thread Michael Ellerman
Since commit ea8daa7b9784 ("kbuild: Add option to turn incompatible pointer check into error"), assignments from an incompatible pointer types have become a hard error, eg: drivers/i2c/busses/i2c-cpm.c:545:91: error: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type Fi

Re: [PATCH 4.4 159/210] drm/radeon: disable runtime pm on PX laptops without dGPU power control

2016-04-12 Thread Michel Dänzer
On 12.04.2016 23:16, Greg Kroah-Hartman wrote: > On Mon, Apr 11, 2016 at 11:26:00AM +0900, Michel Dänzer wrote: >> On 11.04.2016 03:36, Greg Kroah-Hartman wrote: >>> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> A regression was bisected to this commit: >> >> htt

Re: [PATCH 2/4] sched/fair: Drop out incomplete current period when sched averages accrue

2016-04-12 Thread Yuyang Du
On Tue, Apr 12, 2016 at 01:02:58PM +0100, Dietmar Eggemann wrote: > On 10/04/16 23:36, Yuyang Du wrote: > > [...] > > > @@ -2704,11 +2694,14 @@ static __always_inline int > > __update_load_avg(u64 now, int cpu, struct sched_avg *sa, > > unsigned long weight, int running, struct cfs

[PATCH 0/2] checkpatch: Document --fix capabilities a bit more

2016-04-12 Thread Joe Perches
The --fix option isn't well known so try to make it a bit more obvious. Joe Perches (2): checkpatch: Advertise the --fix and --fix-inplace options more checkpatch: Add --list-types to show message types to show or ignore scripts/checkpatch.pl | 46

[PATCH 2/2] checkpatch: Add --list-types to show message types to show or ignore

2016-04-12 Thread Joe Perches
The message types are not currently knowable without reading the code. Add a mechanism to see what they are. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scr

[PATCH 1/2] checkpatch: Advertise the --fix and --fix-inplace options more

2016-04-12 Thread Joe Perches
The --fix option is relatively unknown and underutilized. Add some text to show that it's available when style defects are found. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 8 1 file changed, 8 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [PATCH RFC] select_idle_sibling experiments

2016-04-12 Thread Mike Galbraith
On Tue, 2016-04-12 at 22:45 +0100, Matt Fleming wrote: > On Sat, 09 Apr, at 01:30:34PM, Chris Mason wrote: > > > > [ nohz throttling patch ] > > > > I tested the nohz throttle two different ways, first with schbench's > > pipe simulation, it's easily 8% faster with messages bouncing between > > c

This patch triggers a bad gcc bug (was Re: [PATCH] force inlining of some byteswap operations)

2016-04-12 Thread Josh Poimboeuf
On Thu, Feb 04, 2016 at 08:45:35PM +0100, Denys Vlasenko wrote: > Sometimes gcc mysteriously doesn't inline > very small functions we expect to be inlined. See > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122 > > With this .config: > http://busybox.net/~vda/kernel_config_OPTIMIZE_INLINING_

Re: TCP reaching to maximum throughput after a long time

2016-04-12 Thread Eric Dumazet
On Tue, 2016-04-12 at 20:08 -0700, Yuchung Cheng wrote: > based on the prev thread I propose we disable hystart ack-train. It is > brittle under various circumstances. We've disabled that at Google for > years. Right, but because we also use sch_fq packet scheduler and pacing ;)

Re: [PATCH 04/15] task_diag: add a new interface to get information about tasks (v4)

2016-04-12 Thread Andrew Vagin
; > url: > https://github.com/0day-ci/linux/commits/Andrey-Vagin/task_diag-add-a-new-interface-to-get-information-about-processes-v3/20160412-074109 > config: microblaze-allmodconfig (attached as .config) > reproduce: > wget > https://git.kernel.org/cgit/linux/kernel/git/

Re: Possible race in copy of fpu->state in copy_process against the exeve'ing parent?

2016-04-12 Thread Jianyu Zhan
On Wed, Apr 13, 2016 at 11:11 AM, Jianyu Zhan wrote: > > So I suspect there is a possible race: > > >Parent: > >sys_execve > do_execve >do_execve_common > search_binary_handler > load_elf_binary > start_thread >

Re: sched: tweak select_idle_sibling to look for idle threads

2016-04-12 Thread Mike Galbraith
On Tue, 2016-04-12 at 16:07 -0400, Chris Mason wrote: > I think that if we're worried about the cost of the idle scan for this > workload, find_idlest_group() is either going to hurt much more, or not > search enough CPUs to find the idle one. find_idlest_group()? No no no, that's not what I mea

Re: [PATCH v2 1/5] dax: add dax_get_unmapped_area for pmd mappings

2016-04-12 Thread Matthew Wilcox
On Tue, Apr 12, 2016 at 02:39:15PM -0600, Toshi Kani wrote: > + * When the target file is not a DAX file, @addr is specified, the > + * request is not suitable for pmd mappings, or mm->get_unmapped_area() > + * failed with extended @len, it simply calls the default handler, > + * mm->get_unmapped_a

Possible race in copy of fpu->state in copy_process against the exeve'ing parent?

2016-04-12 Thread Jianyu Zhan
Hi, I encountered a panic on a Linux-3.2 kernel on a x86_64 machine, and suspect it is a race condition. And I checked the current mainline and found it was fixed unintendedly. So I hope x86/fpu maintainer help verify this. Thanks verfy much. The panic stack trace : #0 [88529d33f990] tr

Re: [PATCH 2/2] ARM: dts: rockchip: add i2c nodes RK3228 SoCs

2016-04-12 Thread Yakir Yang
On 04/13/2016 10:37 AM, Wolfram Sang wrote: Could you pick up this patch, it's helpful to add rk3228 HDMI support :-) I undestand that it is needed, but why not via arm-soc? dts files are their realm. Yep, for previous email, I'm replying to Heiko, but forget to add him to the "TO" list ;

Re: TCP reaching to maximum throughput after a long time

2016-04-12 Thread Yuchung Cheng
On Tue, Apr 12, 2016 at 2:40 PM, Ben Greear wrote: > On 04/12/2016 01:29 PM, Eric Dumazet wrote: >> >> On Tue, 2016-04-12 at 13:23 -0700, Ben Greear wrote: >> >>> It worked well enough for years that I didn't even know other algorithms >>> were >>> available. It was broken around 4.0 time, and I

[PATCH v2] MCS spinlock: Use smp_cond_load_acquire()

2016-04-12 Thread Jason Low
For qspinlocks on ARM64, we would like to use WFE instead of purely spinning. Qspinlocks internally have lock contenders spin on an MCS lock. Update arch_mcs_spin_lock_contended() such that it uses the new smp_cond_load_acquire() so that ARM64 can also override this spin loop with its own implemen

Re: [PATCH v2 2/5] ext4: call dax_get_unmapped_area() for DAX pmd mappings

2016-04-12 Thread Matthew Wilcox
On Tue, Apr 12, 2016 at 02:39:29PM -0600, Toshi Kani wrote: > To support DAX pmd mappings with unmodified applications, > filesystems need to align an mmap address by the pmd size. > @@ -708,6 +708,9 @@ const struct file_operations ext4_file_operations = { > .open = ext4_file_open,

RE: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-04-12 Thread Yao Yuan
Thanks for your review and work. Best Regards, Yuan Yao > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Wednesday, April 13, 2016 10:30 AM > To: Yuan Yao > Cc: robh...@kernel.org; mark.rutl...@arm.com; pawel.m...@arm.com; Han > Xu ; Yang-Leo Li ; > devicet...

RE: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

2016-04-12 Thread Yunhui Cui
Hi Shawn, Many thanks ! Thanks Yunhui -Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Wednesday, April 13, 2016 9:53 AM To: Yunhui Cui Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; Yao Yuan;

Re: [PATCH V3 0/8] net: mediatek: make the driver pass stress tests

2016-04-12 Thread David Miller
From: John Crispin Date: Fri, 8 Apr 2016 00:54:03 +0200 > While testing the driver we managed to get the TX path to stall and fail > to recover. When dual MAC support was added to the driver, the whole queue > stop/wake code was not properly adapted. There was also a regression in the > locking

RE: [PATCH 2/2] dts/ls1043a: add the DTS node for QSPI support

2016-04-12 Thread Yao Yuan
On Thu, Apr 12, 2016 at 10:50:01AM +0800, Shawn Guo wrote: > On Thu, Mar 31, 2016 at 02:45:01PM +0800, Yuan Yao wrote: > > From: Yuan Yao > > > > Signed-off-by: Yuan Yao > > Please style of 'arm64: dts: ls1043a: ' for subject prefix. > > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.

Re: [lkp] [scatterlist] c38ecfb12e: kernel BUG at crypto/scatterwalk.c:37!

2016-04-12 Thread Shawn Guo
On Wed, Apr 13, 2016 at 09:42:02AM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://github.com/0day-ci/linux > Shawn-Guo/scatterlist-use-sg_dma_len-in-sg_set_page/20160411-105225 > commit c38ecfb12e9a4c0c17d0879090741d6ce2a200de ("scatterlist: use > sg_dma_len()

Re: [PATCH 2/2] ARM: dts: rockchip: add i2c nodes RK3228 SoCs

2016-04-12 Thread Wolfram Sang
> Could you pick up this patch, it's helpful to add rk3228 HDMI support :-) I undestand that it is needed, but why not via arm-soc? dts files are their realm. signature.asc Description: PGP signature

Re: [PATCH v6 2/6] GCC plugin infrastructure

2016-04-12 Thread Masahiro Yamada
Hi Emese, 2016-04-08 6:13 GMT+09:00 Emese Revfy : > diff --git a/Makefile b/Makefile > index 173437d..3af7b9e 100644 > --- a/Makefile > +++ b/Makefile > @@ -418,6 +418,8 @@ export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE > KBUILD_LDFLAGS_MODULE > export KBUILD_AFLAGS_KERNEL KBUILD_CFLAGS_KERN

Re: [PATCH tip] perf core: Add backward attribute to perf event

2016-04-12 Thread Wangnan (F)
Hi Peter, When would you consider collection this patch? You have collected all dependencies, this is the last patch to enable the backward attribute. I have already posted a 'perf test' testcase for it so there will be some usable user space code. I will start posting my perf side code again

Re: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-04-12 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:22:06PM +0800, Yuan Yao wrote: > Signed-off-by: Yuan Yao > Acked-by: Han xu Changed subject prefix to 'arm64: dts: ls2080a: ', and then applied the patch. Shawn > --- > Changed in v6: > No changes. > > Changed in v5: > Resend base on arm-soc. > > Changed in v4: > N

[lkp] [thp] 5f155ea5ab: No primary change, vm-scalability.time.system_time -51.0% improvement

2016-04-12 Thread kernel test robot
FYI, we noticed that vm-scalability.time.system_time -51.0% improvement on https://github.com/0day-ci/linux Kirill-A-Shutemov/thp-keep-huge-zero-page-pinned-until-tlb-flush/20160405-181706 commit 5f155ea5ab62b5321aa7315de62d21da59aa8c65 ("thp: keep huge zero page pinned until tlb flush") =

Re: [PATCH v6 1/2] Documentation: fsl: dspi: Add fsl, ls2080a-dspi compatible string

2016-04-12 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:22:05PM +0800, Yuan Yao wrote: > new compatible string: "fsl,ls2080a-dspi". > > Signed-off-by: Yuan Yao > Acked-by: Rob Herring Drop the space after 'fsl,' and applied the patch. Shawn

Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks

2016-04-12 Thread Xunlei Pang
On 2016/04/12 at 23:51, Peter Zijlstra wrote: > On Tue, Apr 12, 2016 at 11:08:04AM +0800, Xunlei Pang wrote: >> I spotted another issue, we access pi_task without any lock in >> enqueue_task_dl(), > OK, so I'm on the road and entirely jetlagged, but how can > enqueue_task_dl() not have rq->lock he

Re: [PATCH v7 1/4] lib/percpu-list: Per-cpu list with associated per-cpu locks

2016-04-12 Thread Boqun Feng
Hi Waiman, On Tue, Apr 12, 2016 at 06:54:43PM -0400, Waiman Long wrote: [...] > + > +/* > + * Initialize the per-cpu list head > + */ > +int init_pcpu_list_head(struct pcpu_list_head **ppcpu_head) > +{ > + struct pcpu_list_head *pcpu_head = alloc_percpu(struct pcpu_list_head); > + int cpu;

linux-next: manual merge of the keys tree with the crypto tree

2016-04-12 Thread Stephen Rothwell
Hi David, Today's linux-next merge of the keys tree got a conflict in: crypto/asymmetric_keys/pkcs7_parser.c between commit: 06af9b0f4949 ("PKCS#7: fix missing break on OID_sha224 case") from the crypto tree and commit: 566a117a8b24 ("PKCS#7: Make the signature a pointer rather than emb

[lkp] [huge tmpfs] d7c7d56ca6: vm-scalability.throughput -5.5% regression

2016-04-12 Thread kernel test robot
FYI, we noticed that vm-scalability.throughput -5.5% regression on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit d7c7d56ca61aec18e5e0cb3a64e50073c42195f7 ("huge tmpfs: avoid premature exposure of new pagetable") ===

Re: [PATCH 0/2] iio: adc: Small fixes

2016-04-12 Thread Fabio Estevam
On Sun, Apr 10, 2016 at 4:20 PM, Ksenija Stanojevic wrote: > Fix indenting in code and set INPUT_PROP_DIRECT. > > Ksenija Stanojevic (2): > iio: adc: Indent if statement > iio: adc: set INPUT_PROP_DIRECT It would be nice to have 'mxs-lradc' as part of the Subject of these patches.

Re: [PATCH 1/4] sched/fair: Optimize sum computation with a lookup table

2016-04-12 Thread Yuyang Du
On Tue, Apr 12, 2016 at 04:19:52PM +0200, Peter Zijlstra wrote: > On Tue, Apr 12, 2016 at 03:17:12AM +0800, Yuyang Du wrote: > > On Mon, Apr 11, 2016 at 05:59:11PM +0100, Dietmar Eggemann wrote: > > > On 10/04/16 23:36, Yuyang Du wrote: > > > > __compute_runnable_contrib() uses a loop to compute su

Re: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

2016-04-12 Thread Shawn Guo
On Wed, Mar 02, 2016 at 01:52:15PM +0800, Yunhui Cui wrote: > This patch adds dts nodes for DSPI on LS1043A-RDB. > > Signed-off-by: Yunhui Cui > Signed-off-by: Yuan Yao The patch subject prefix should be like 'arm64: dts: ls1043a-rdb: '. I fixed it up and applied the patch. Shawn > --- > ar

Re: [PATCH 1/4] sched/fair: Optimize sum computation with a lookup table

2016-04-12 Thread Yuyang Du
On Tue, Apr 12, 2016 at 11:14:13AM +0100, Juri Lelli wrote: > On 12/04/16 03:12, Yuyang Du wrote: > > On Mon, Apr 11, 2016 at 11:41:28AM +0100, Juri Lelli wrote: > > > Hi, > > > > > > On 11/04/16 06:36, Yuyang Du wrote: > > > > __compute_runnable_contrib() uses a loop to compute sum, whereas a > >

[GIT PULL] arch/sh fixes for regressions in 4.6-rc1

2016-04-12 Thread Rich Felker
Linus, Please pull these changes (regression fixes only) for arch/sh. They're based on 4.6-rc1 when I did them, but apply cleanly to 4.6-rc3 and build successfully. Rich The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) a

[lkp] [scatterlist] c38ecfb12e: kernel BUG at crypto/scatterwalk.c:37!

2016-04-12 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Shawn-Guo/scatterlist-use-sg_dma_len-in-sg_set_page/20160411-105225 commit c38ecfb12e9a4c0c17d0879090741d6ce2a200de ("scatterlist: use sg_dma_len() in sg_set_page()") +

Re: [PATCH] module: Issue warnings when tainting kernel

2016-04-12 Thread Rusty Russell
Libor Pechacek writes: > While most of the locations where a kernel taint bit is set are accompanied > with a warning message, there are two which set their bits silently. If > the tainting module gets unloaded later on, it is almost impossible to tell > what was the reason for setting the flag.

  1   2   3   4   5   6   7   8   9   10   >