[PATCH 1/3] arm: dts: ls1021a: Add dis_rxdet_inp3_quirk property to USB3 node

2016-06-09 Thread Rajesh Bhagat
Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property is used to disable rx detection in P3 PHY mode. Signed-off-by: Rajesh Bhagat --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.d

Re: [PATCH v4 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V4

2016-06-09 Thread Geert Uytterhoeven
Hi Magnus, On Wed, Jun 8, 2016 at 9:17 AM, Magnus Damm wrote: > iommu/ipmmu-vmsa: IPMMU multi-arch update V4 > > [PATCH v4 01/07] iommu/ipmmu-vmsa: Remove platform data handling > [PATCH v4 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for > context > [PATCH v4 03/07] iommu/ipmmu

Re: [PATCH] mlxsw: core: Remove deprecated create_workqueue

2016-06-09 Thread David Miller
From: Bhaktipriya Shridhar Date: Wed, 8 Jun 2016 01:29:46 +0530 > alloc_workqueue replaces deprecated create_workqueue(). > > A dedicated workqueue has been used since the workqueue > mlxsw_wq is used for FDB notif. processing with workitems that are > involved in normal device operation && beca

Re: [PATCH] net: cavium: liquidio: Remove deprecated create_workqueue

2016-06-09 Thread David Miller
From: Bhaktipriya Shridhar Date: Wed, 8 Jun 2016 01:47:59 +0530 > alloc_workqueue replaces deprecated create_workqueue(). > > A dedicated workqueue has been used since the workitem viz > (&lio->txq_status_wq.wk.work which maps to octnet_poll_check_txq_status) > is involved in a brief poll routin

[PATCH v1] PM / sleep: make pm notifier called symmetrically

2016-06-09 Thread Lianwei Wang
This makes pm notifier PREPARE/POST symmetrical: if PREPARE fails, we will only undo what ever happened on PREPARE. It fixes the unbalanced cpu hotplug enable in cpu pm notifier. Signed-off-by: Lianwei Wang --- kernel/power/hibernate.c | 20 kernel/power/main.c | 11 ++

[PATCH v3] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-06-09 Thread Lianwei Wang
Currently it just print a warning message but did not reset cpu_hotplug_disabled when the enable/disable is unbalanced. The unbalanced enable/disable will lead the cpu hotplug work abnormally. Do nothing if an unablanced hotplug enable detected. Signed-off-by: Lianwei Wang --- kernel/cpu.c | 12

Re: powerpc/pseries: start rtasd before PCI probing

2016-06-09 Thread Greg Kurz
On Fri, 10 Jun 2016 15:18:32 +1000 (AEST) Michael Ellerman wrote: > On Mon, 2016-23-05 at 08:28:28 UTC, Greg Kurz wrote: > > A strange behaviour is observed when comparing PCI hotplug in QEMU, between > > x86 and pseries. If you consider the following steps: > > - start a VM > > - add a PCI devic

Re: [PATCH v2] ARM64: boot: dts: Add regulators for Tegra210 Smaug

2016-06-09 Thread Laxman Dewangan
On Thursday 09 June 2016 11:08 PM, Rhyland Klein wrote: Add regulators to the Tegra210 Smaug DTS file including support for the max77620 PMIC. Signed-off-by: Rhyland Klein + + fps1 { + maxim,shutdown-fps-time-period-us = <51

[PATCH 3/3] arm: dts: ls1043a: Add dis_rxdet_inp3_quirk property to USB3 node

2016-06-09 Thread Rajesh Bhagat
Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property is used to disable rx detection in P3 PHY mode. Signed-off-by: Rajesh Bhagat --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a

[PATCH 2/3] arm: dts: ls2080a: Add dis_rxdet_inp3_quirk property to USB3 node

2016-06-09 Thread Rajesh Bhagat
Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property is used to disable rx detection in P3 PHY mode. Signed-off-by: Rajesh Bhagat --- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.

Re: [PATCH net-next] r8152: replace netdev_alloc_skb_ip_align with napi_alloc_skb

2016-06-09 Thread David Miller
From: Hayes Wang Date: Wed, 8 Jun 2016 14:52:33 +0800 > Replace netdev_alloc_skb_ip_align() with napi_alloc_skb() which can save > several CPU cycles by avoiding having to disable and re-enable IRQs. > > Signed-off-by: Hayes Wang Applied.

[PATCH 0/3] Add dis_rxdet_inp3_quirk property to USB3 node

2016-06-09 Thread Rajesh Bhagat
Adds dis_rxdet_inp3_quirk property to USB3 nodes of ls1021a, ls2080a and ls1043a platform. Rajesh Bhagat (3): arm: dts: ls1021a: Add dis_rxdet_inp3_quirk property to USB3 node arm: dts: ls2080a: Add dis_rxdet_inp3_quirk property to USB3 node arm: dts: ls1043a: Add dis_rxdet_inp3_quirk proper

Re: [PATCH -next] virtio_net: Update the feature bit to comply with spec

2016-06-09 Thread David Miller
From: Aaron Conole Date: Thu, 9 Jun 2016 13:41:15 -0400 > A draft version of the MTU Advice feature bit was specified as 25. This > bit is not within the allowed range for network device feature bits, and > should be changed to be feature bit 3 to fully comply with the spec. > > Fixes 14de9d11

Re: [mmots-2016-06-09-16-49] kernel BUG at mm/slub.c:1616

2016-06-09 Thread Michal Hocko
On Fri 10-06-16 15:11:39, Sergey Senozhatsky wrote: > Hello, > > [ 429.191962] gfp: 2 > [ 429.192634] [ cut here ] > [ 429.193281] kernel BUG at mm/slub.c:1616! [...] > [ 429.217369] [] bio_alloc_bioset+0xbd/0x1b1 > [ 429.218013] [] mpage_alloc+0x28/0x7b > [ 429.218

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-09 Thread Mika Westerberg
On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > When devices are instatiated through devicetree the i2c_client->name is > set to the compatible string with company name stripped out. This is > then matched to the i2c_device_id table to pass the device_id to the > probe functi

Re: [PATCH] rxrpc: Simplify connect() implementation and simplify sendmsg() op

2016-06-09 Thread David Miller
From: David Howells Date: Thu, 09 Jun 2016 23:02:51 +0100 > Simplify the RxRPC connect() implementation. It will just note the > destination address it is given, and if a sendmsg() comes along with no > address, this will be assigned as the address. No transport struct will be > held internally

Re: [PATCH] thermal: of-thermal: Fix setting of set_emul_temp hook

2016-06-09 Thread Keerthy
On Thursday 02 June 2016 02:24 PM, Keerthy wrote: Currently thermal zone set_emul_temp is set unconditionally with of_thermal_set_emul_temp function. Set this only if the set_emul_temp hook is provided for thermal_zone_of_device_ops. This fixes emul_temp failures on platforms for which set_emu

Re: [PATCH v2 4/7] ARM: dts: rockchip: add virtual iommu for display

2016-06-09 Thread Tomasz Figa
Hi, On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng wrote: > An virtual iommu without reg or interrupts for display. > Adding this according to iommu driver changes. > > Signed-off-by: Shunqian Zheng > --- > arch/arm/boot/dts/rk3288.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --

Re: [PATCH v2 3/7] iommu/rockchip: support virtual iommu slave device

2016-06-09 Thread Tomasz Figa
Hi, On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng wrote: > An virtual master device like DRM need to attach to iommu > domain to share the domain with VOP(the one with actual > iommu slave). We currently check the group is NULL to indicate > a virtual master, which is not true since we decide t

Re: [PATCH v8 2/5] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-09 Thread Taeung Song
Hi, Arnaldo :) Thank you for your review. On 06/09/2016 10:29 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Jun 08, 2016 at 09:36:50PM +0900, Taeung Song escreveu: Lately util/config.h has been added but util/cache.h has declarations of functions and extern variable for config features. To mana

Re: [PATCH trivial] include/linux/memcontrol.h: Clean up code only

2016-06-09 Thread Michal Hocko
On Fri 10-06-16 08:40:30, Chen Gang wrote: > > On 6/9/16 23:46, Michal Hocko wrote: [...] > > That's being said, I appreciate an interest in making the code cleaner > > but try to think whether these changes are actually helpful and who is > > going to benefit from them. > > > > For me, another

Re: [PATCH 1/2] max8903: adds support for initiation via device tree.

2016-06-09 Thread Krzysztof Kozlowski
On 06/10/2016 07:35 AM, Chris Lapa wrote: > Hi Krzysztof, > > Thanks for the review. I'm working on those changes now. > > However just so I know for the future. Why no error checking on > devm_kzalloc() result? Looking through the source for devm_kzalloc() it > looks like NULL isn't caught anywh

Re: [PATCH v3 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-09 Thread Tien Hock Loh
Hi Peppe, On Wed, 2016-06-08 at 23:20 +, Giuseppe CAVALLARO wrote: > Hello Tien Hock > > On 6/9/2016 7:48 AM, Tien Hock Loh wrote: > > [snip] > > >>> .../devicetree/bindings/net/socfpga-dwmac.txt | 4 + > >>> drivers/net/ethernet/stmicro/stmmac/Makefile | 2 +- > >>> .../ne

[mmots-2016-06-09-16-49] kernel BUG at mm/slub.c:1616

2016-06-09 Thread Sergey Senozhatsky
Hello, [ 429.191962] gfp: 2 [ 429.192634] [ cut here ] [ 429.193281] kernel BUG at mm/slub.c:1616! [ 429.193920] invalid opcode: [#1] PREEMPT SMP [ 429.194556] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_realtek snd_hda_codec_generic snd_hda

Re: [PATCH trivial] include/linux/memory_hotplug.h: Clean up code

2016-06-09 Thread kbuild test robot
Hi, [auto build test ERROR on next-20160609] [also build test ERROR on v4.7-rc2] [cannot apply to v4.7-rc2 v4.7-rc1 v4.6-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/chengang-emindsoft

[PATCH v4 6/7] parisc: use the new LED disk activity trigger

2016-06-09 Thread Stephan Linz
- platform: rename 'ide-disk' to 'disk-activity' Signed-off-by: Stephan Linz --- arch/parisc/configs/generic-32bit_defconfig | 2 +- arch/parisc/configs/generic-64bit_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/parisc/configs/generic-32bit_defconfig b/a

[PATCH v4 4/7] arm: use the new LED disk activity trigger

2016-06-09 Thread Stephan Linz
- dts: rename 'ide-disk' to 'disk-activity' - platform: rename 'ide-disk' to 'disk-activity' - defconfig: rename 'LEDS_TRIGGER_IDE_DISK' to 'LEDS_TRIGGER_DISK' Signed-off-by: Stephan Linz --- arch/arm/boot/dts/am57xx-beagle-x15.dts | 2 +- arch/arm/boot/dts/kirkwood-ns2lite.dts | 2 +- arch/a

[PATCH v4 7/7] unicore32: use the new LED disk activity trigger

2016-06-09 Thread Stephan Linz
- platform: rename 'ide-disk' to 'disk-activity' - defconfig: rename 'LEDS_TRIGGER_IDE_DISK' to 'LEDS_TRIGGER_DISK' Signed-off-by: Stephan Linz --- arch/unicore32/configs/unicore32_defconfig | 2 +- arch/unicore32/kernel/gpio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(

[PATCH v4 3/7] powerpc: use the new LED disk activity trigger

2016-06-09 Thread Stephan Linz
- dts: rename 'ide-disk' to 'disk-activity' - defconfig: rename 'ADB_PMU_LED_IDE' to 'ADB_PMU_LED_DISK' Cc: Joseph Jezak Cc: Jörg Sommer Signed-off-by: Stephan Linz --- arch/powerpc/boot/dts/mpc8315erdb.dts | 2 +- arch/powerpc/boot/dts/mpc8377_rdb.dts | 2 +- arch/powerpc/boot/dts/mpc8378_r

[PATCH v4 5/7] mips: use the new LED disk activity trigger

2016-06-09 Thread Stephan Linz
- platform: rename 'ide-disk' to 'disk-activity' - defconfig: rename 'LEDS_TRIGGER_IDE_DISK' to 'LEDS_TRIGGER_DISK' Signed-off-by: Stephan Linz --- arch/mips/configs/malta_qemu_32r6_defconfig | 2 +- arch/mips/configs/maltaaprp_defconfig | 2 +- arch/mips/configs/maltasmvp_eva_defconfig

[PATCH v4 1/7] leds: convert IDE trigger to common disk trigger

2016-06-09 Thread Stephan Linz
This patch converts the IDE specific LED trigger to a generic disk activity LED trigger. The libata core is now a trigger source just like before the IDE disk driver. It's merely a replacement of the string ide by disk. The patch is taken from http://dev.gentoo.org/~josejx/ata.patch and is widely

[PATCH v4 2/7] leds: documentation: 'ide-disk' to 'disk-activity'

2016-06-09 Thread Stephan Linz
Cc: Joseph Jezak Cc: Jörg Sommer Signed-off-by: Stephan Linz --- Documentation/devicetree/bindings/leds/common.txt| 3 ++- Documentation/devicetree/bindings/leds/leds-gpio.txt | 4 ++-- Documentation/laptops/asus-laptop.txt| 2 +- Documentation/leds/leds-class.txt

Re: [PATCH] serial_core: Change UART PM state to OFF on failure

2016-06-09 Thread Pramod Gurav
Hi Peter, On 8 June 2016 at 22:17, Peter Hurley wrote: > Hi Pramod, > > On 05/06/2016 02:46 AM, Pramod Gurav wrote: >> uart_change_pm is used to turn on the UART controller resources and >> change UART's PM status. On failure to allocate pages the controller >> be left in ON state. This will chan

[PATCH 1/2] remoteproc: qcom: Driver for the self-authenticating Hexagon v5

2016-06-09 Thread Bjorn Andersson
From: Bjorn Andersson This initial hack powers the q6v5, boots and authenticate the mba and use that to load the mdt and subsequent bXX files. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- drivers/remoteproc/Kconfig | 12 + drivers/remoteproc/Makefile |

[PATCH 2/2] dt-binding: remoteproc: Introduce Hexagon loader binding

2016-06-09 Thread Bjorn Andersson
This document defines the binding for a component that loads firmware and control the life cycle of a self-authenticating Qualcomm Hexagon core. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 138 + 1 file changed, 138 insertions(+) c

Re: [PATCH v2 2/7] iommu/rockchip: add map_sg callback for rk_iommu_ops

2016-06-09 Thread Tomasz Figa
Hi, On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng wrote: > From: Simon Xue > > The iommu_dma_alloc() in iommu/dma-iommu.c calls iommu_map_sg() > that requires the callback iommu_ops .map_sg(). Adding the > default_iommu_map_sg() to rockchip iommu accordingly. > > Signed-off-by: Simon Xue > Si

[PATCH v5 1/7] mdio: mux: Enhanced MDIO mux framework for integrated multiplexers

2016-06-09 Thread Pramod Kumar
An integrated multiplexer uses same address space for "muxed bus selection" and "generation of mdio transaction" hence its good to register parent bus from mux driver. Hence added a mechanism where mux driver could register a parent bus and pass it down to framework via mdio_mux_init api. Signed-

[PATCH v5 5/7] net: mdio-mux: Add MDIO mux driver for iProc SoCs

2016-06-09 Thread Pramod Kumar
iProc based SoCs supports the integrated mdio multiplexer which has the bus selection as well as mdio transaction generation logic inside. This multiplexer has child buses for PCIe, SATA, USB and ETH. These buses could be internal or external to SOC where PHYs are attached. These buses could use C

Re: [PATCH 1/2] max8903: adds support for initiation via device tree.

2016-06-09 Thread Chris Lapa
Hi Krzysztof, Thanks for the review. I'm working on those changes now. However just so I know for the future. Why no error checking on devm_kzalloc() result? Looking through the source for devm_kzalloc() it looks like NULL isn't caught anywhere else. Thanks, Chris On 9/06/2016 8:35 PM, Krzy

[PATCH 0/3] Hi655x powerkey support for HiKey (v3)

2016-06-09 Thread John Stultz
This patchset enables the pmic powerkey to function on HiKey. New in v3: * Integrated feedback from Lee Jones suggesting DT not be used to describe fixed functionality of the PMIC. Instead we use a mfd cell and mfd_add_device. This makes the patchset a bit shorter and I've dropped the DT rev

[PATCH 3/3] mfd: hi655x-pmic: Add powerkey device to hi655x PMIC driver

2016-06-09 Thread John Stultz
Wire up the powerkey driver functionality for the hi655x PMIC. Cc: Dmitry Torokhov Cc: Rob Herring Cc: Lee Jones Cc: Jorge Ramirez-Ortiz Cc: Feng Chen Cc: Wei Xu Cc: Guodong Xu Signed-off-by: John Stultz --- drivers/mfd/hi655x-pmic.c | 37 - 1 file chan

[PATCH 2/3] mfd: hi655x-pmic: Fixup issue with un-acked interrupts

2016-06-09 Thread John Stultz
While trying to get the powerkey to function, I found when pressing the key, I would get infinitely repeating interrupts. After digging around a bit, it seems we didn't set the ack_base value for the regmap irqchip logic, so nothing was acking the interrupt. This patch adds the ack_base, which se

Re: [PATCH v2 1/7] iommu/rockchip: fix devm_{request,free}_irq parameter

2016-06-09 Thread Tomasz Figa
Hi, On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng wrote: > From: Simon Xue > > Even though the iommu shares irq with its master, using the *dev of iommu > instead of master's *dev for devm_{request,free}_irq makes things clear. > > Signed-off-by: Simon Xue > Signed-off-by: Shunqian Zheng > -

[PATCH 1/3] drivers: input: powerkey for HISI 65xx SoC

2016-06-09 Thread John Stultz
From: Jorge Ramirez-Ortiz This driver provides a input driver for the power button on the HiSi 65xx SoC for boards like HiKey. This driver was originally by Zhiliang Xue then basically rewritten by Jorge, but preserving the original module author credits. Cc: Dmitry Torokhov Cc: Rob Herring

[PATCH v5 7/7] phy: Add Northstar2 PCI Phy support

2016-06-09 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Reviewed-by: Andrew Lunn Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy/Makefi

[PATCH v5 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-06-09 Thread Pramod Kumar
Broadcom iProc based SoCs use a MDIO bus multiplexer where child buses could be internal as well external to SoCs. These buses could supports MDIO transaction compatible to C-22/C-45. Broadcom MDIO bus multiplexer is an integrated multiplexer where child bus selection and mdio transaction logic li

[PATCH v5 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus multiplexer

2016-06-09 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus multiplexer driver. Reviewed-by: Andrew Lunn Signed-off-by: Pramod Kumar Reviewed-by: Florian Fainelli Acked-by: Rob Herring --- .../bindings/net/brcm,mdio-mux-iproc.txt | 59 ++ 1 file changed, 59 insertions(+) create mo

[PATCH v5 4/7] dt: mdio-mux: Add mdio multiplexer driver node

2016-06-09 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar Acked-by: Rob Herring --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 16 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 39 +

[PATCH v5 6/7] binding: PHY: Binding doc for NS2 PCIe PHYs.

2016-06-09 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Signed-off-by: Pramod Kumar Signed-off-by: Jon Mason Acked-by: Rob Herring --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio-mu

[PATCH v5 2/7] binding: Make "mdio-parent-bus" property from mandatory to optional

2016-06-09 Thread Pramod Kumar
Change "mdio-parent-bus" from mandatory section to optional as it won't be required by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar Reviewed-by: Andrew Lunn Acked-by: Rob Herring --- Documentation/devi

[git pull] drm fixes for v4.7-rc3

2016-06-09 Thread Dave Airlie
Hi Linus, This weeks instalment of fixes: amdgpu: Lots of memory leak and firmware leak fixes. nouveau: Collection of display fixes, KASAN fixes. vc4: vblank/pageflipping fixes fsl-dcu: Regmap cache fix omap: Unused variable warning fix. Nothing too surprising so far. Dave. The following chan

[PATCH v2] soc: qcom: Update properties for smem state referencing

2016-06-09 Thread Bjorn Andersson
Update the property names to match device tree bindings, the correct values should be qcom,smem-states and qcom,smem-state-names. Signed-off-by: Bjorn Andersson --- Realised that we already define the smp2p and smsm nodes in mainline, so don't change the #qcom,state-cells property. drivers/soc

Re: [PATCH] net/netlink/af_netlink.h: Remove unused structure.

2016-06-09 Thread David Miller
From: Fabien Siron Date: Tue, 7 Jun 2016 13:02:04 + > Signed-off-by: Fabien Siron Applied.

Re: [PATCHv2] backlight: pwm_bl: disable PWM when 'duty_cycle' is zero

2016-06-09 Thread Lothar Waßmann
Hi, On Thu, 9 Jun 2016 14:51:25 +0100 Lee Jones wrote: > On Tue, 07 Jun 2016, Lothar Waßmann wrote: > > > 'brightness' is usually an index into a table of duty_cycle values, > > where the value at index 0 may well be non-zero > > (tegra30-apalis-eval.dts and tegra30-colibri-eval-v3.dts are real-l

Re: powerpc/pseries: start rtasd before PCI probing

2016-06-09 Thread Michael Ellerman
On Mon, 2016-23-05 at 08:28:28 UTC, Greg Kurz wrote: > A strange behaviour is observed when comparing PCI hotplug in QEMU, between > x86 and pseries. If you consider the following steps: > - start a VM > - add a PCI device via the QEMU monitor before the rtasd has started (for > example starting

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-09 Thread Mychaela Falconia
On 6/9/16, Boris Brezillon wrote: > Hm, I think it's changing now that a lot of SoCs are advertised to be > running Linux. But you're right in that existing IPs might not support > this low-level mode. Faraday (the IP vendor in the present case) advertise Linux support as well, but they never mai

[PATCH 3/3] clk: samsung: exynos5433: Add CLK_IGNORE_UNUSED flag to PCIE device

2016-06-09 Thread Chanwoo Choi
From: Jaehoon Chung This patch adds the CLK_IGNORE_UNUSED flag for PCI Express's clocks which need the on state and the 'pcie' gate clock. Signed-off-by: Jaehoon Chung Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5433.c | 11 ++- include/dt-bindings/clock/exynos5433

[PATCH 1/3] clk: samsung: exynos5433: Add CLK_IGNORE_UNUSED flag for AUD Uart

2016-06-09 Thread Chanwoo Choi
From: Beomho Seo This patch adds the CLK_IGNORE_UNUSED flag for sclk_aud_uart gate clock for uart3 opeation. Signed-off-by: Beomho Seo Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5433.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/c

[PATCH 0/3] clk: samsung: exynos5433: Add CLK_IGNORE_UNUSED flag and

2016-06-09 Thread Chanwoo Choi
This patch-set add the CLK_IGNORE_UNUSED flag to the specific clocks because the specific clocks should remain the enable state. This patch-set support the PCIE (PCI Express), serial3(AUD Uart) device and fix the hang issue for suspend-to-ram. Beomho Seo (1): clk: samsung: exynos5433: Add CLK_IG

[PATCH 2/3] clk: samsung: exynos5433: Add CLK_IGNORE_UNUSED flag to clocks occurring hang at sleep

2016-06-09 Thread Chanwoo Choi
From: Jonghwa Lee Some clocks are required being unmasked during suspend-to-ram. Otherwise, PMU will stuck and power line never down. Signed-off-by: Jonghwa Lee Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5433.c | 34 ++ 1 file changed, 22 ins

[PATCH trivial] include/linux/mempolicy.h: Clean up code

2016-06-09 Thread chengang
From: Chen Gang Use one return statement instead of multiple statements, since the new return statement is still simple enough. Let the second line function parameter almost align with the first line function parameter. Signed-off-by: Chen Gang --- include/linux/mempolicy.h | 18 ++---

Re: [PATCHv3 0/2] target: make location of /var/targets configurable

2016-06-09 Thread Nicholas A. Bellinger
On Thu, 2016-06-09 at 16:51 -0700, Lee Duncan wrote: > Ping? > > We really need to move the target database out of /var/target > This series has already merged up for v4.7-rc1.

Re: [PATCH] ipmi: Remove smi_msg from waiting_rcv_msgs list before handle_one_recv_msg()

2016-06-09 Thread Corey Minyard
I actually just wrote this exact patch, moments ago. But you deserve credit, I'll use yours :). -corey On 06/09/2016 11:31 PM, Junichi Nomura wrote: Commit 7ea0ed2b5be8 ("ipmi: Make the message handler easier to use for SMI interfaces") changed handle_new_recv_msgs() to call handle_one_recv_m

[PATCH] ipmi: Remove smi_msg from waiting_rcv_msgs list before handle_one_recv_msg()

2016-06-09 Thread Junichi Nomura
Commit 7ea0ed2b5be8 ("ipmi: Make the message handler easier to use for SMI interfaces") changed handle_new_recv_msgs() to call handle_one_recv_msg() for a smi_msg while the smi_msg is still connected to waiting_rcv_msgs list. That could lead to following list corruption problems: 1) low-level func

RE: [PATCH v4 4/7] dt: mdio-mux: Add mdio multiplexer driver node

2016-06-09 Thread Pramod Kumar
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 07 June 2016 00:08 > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar Gala; Catalin Marinas; Will Deacon; Kishon Vijay Abraham I; David S. > Miller > Cc: devicet...

Re: [PATCH] nfsd: Close a race between access checking/setting in nfs4_get_vfs_file

2016-06-09 Thread Oleg Drokin
On Jun 9, 2016, at 5:01 PM, Oleg Drokin wrote: > Currently there's an unprotected access mode check in nfs4_upgrade_open > that then calls nfs4_get_vfs_file which in turn assumes whatever > access mode was present in the state is still valid which is racy. > Two nfs4_get_vfs_file van enter the sa

[PATCH] soc: qcom: Update properties for smem state referencing

2016-06-09 Thread Bjorn Andersson
Update the property names to match device tree bindings, the correct values should be qcom,smem-states and qcom,smem-state-names. Also update the #qcom,smem-state-cells for consistency, before we merge any users of these properties. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bi

Re: [PATCH v2 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-06-09 Thread Doug Anderson
Shawn, On Wed, Jun 8, 2016 at 1:05 AM, Shawn Lin wrote: > +pcie0: pcie@f800 { > + compatible = "rockchip,rk3399-pcie"; > + #address-cells = <3>; > + #size-cells = <2>; > + clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>, > +<&cru PCLK_PCIE>; > +

Re: [PATCH 1/2] Documentation: bindings: add dt documentation for Rockchip PCIe PHY

2016-06-09 Thread Doug Anderson
Shawn, On Wed, Jun 8, 2016 at 12:25 AM, Shawn Lin wrote: > This patch adds a binding that describes the Rockchip PCIe PHY > found on Rockchip SoCs PCIe interface. > > Signed-off-by: Shawn Lin > --- > > .../devicetree/bindings/phy/rockchip-pcie-phy.txt | 22 > ++ > 1 file c

Re: [PATCH v2 2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-06-09 Thread Doug Anderson
Shawn, On Wed, Jun 8, 2016 at 1:05 AM, Shawn Lin wrote: > This patch adds Rockchip PCIe controller support found > on RK3399 Soc platform. > > Signed-off-by: Shawn Lin > > --- > > Changes in v2: > - remove phy related stuff and call phy API > - add new head file and define lots of macro to make

[PATCH trivial] include/linux/memory_hotplug.h: Clean up code

2016-06-09 Thread chengang
From: Chen Gang Use one line instead of two lines for pgdat_resize_init, since one line is still within 80 columns. Let the second line function parameter almost align with the first line parameter. Use pr_warn instead of printk, so also let the line within 80 columns. Signed-off-by: Chen Gang

[PATCH v4] powerpc: spinlock: Fix spin_unlock_wait()

2016-06-09 Thread Boqun Feng
There is an ordering issue with spin_unlock_wait() on powerpc, because the spin_lock primitive is an ACQUIRE and an ACQUIRE is only ordering the load part of the operation with memory operations following it. Therefore the following event sequence can happen: CPU 1 CPU 2

Re: [PATCH] block: bio: kill BIO_MAX_SIZE

2016-06-09 Thread Jens Axboe
On 06/09/2016 09:27 PM, Ming Lei wrote: No one need this macro now, so remove it. Basically only how many bvecs in one bio matters instead of how many bytes in this bio. The motivation is for supporting multipage bvecs, in which we only know what the max count of bvecs is supported in the bio.

[PATCH] block: bio: kill BIO_MAX_SIZE

2016-06-09 Thread Ming Lei
No one need this macro now, so remove it. Basically only how many bvecs in one bio matters instead of how many bytes in this bio. The motivation is for supporting multipage bvecs, in which we only know what the max count of bvecs is supported in the bio. Reviewed-by: Christoph Hellwig Signed-off

Re: of: fix autoloading due to broken modalias with no 'compatible'

2016-06-09 Thread Michael Ellerman
On Mon, 2016-06-06 at 16:48:38 UTC, Wolfram Sang wrote: > Because of an improper dereference, a stray 'C' character was output to > the modalias when no 'compatible' was specified. This is the case for > some old PowerMac drivers which only set the 'name' property. Fix it to > let them match again.

Re: [PATCH v3] powerpc: spinlock: Fix spin_unlock_wait()

2016-06-09 Thread Boqun Feng
On Fri, Jun 10, 2016 at 01:25:03AM +0800, Boqun Feng wrote: > On Thu, Jun 09, 2016 at 10:23:28PM +1000, Michael Ellerman wrote: > > On Wed, 2016-06-08 at 15:59 +0200, Peter Zijlstra wrote: > > > On Wed, Jun 08, 2016 at 11:49:20PM +1000, Michael Ellerman wrote: > > > > > > > > Ok; what tree does thi

Re: [PATCH] cpufreq: governor: Drop gov_cancel_work()

2016-06-09 Thread Viresh Kumar
On 09-06-16, 14:21, Rafael J. Wysocki wrote: > On Thu, Jun 9, 2016 at 5:21 AM, Viresh Kumar wrote: > > On 09-06-16, 01:45, Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> There's no reason for gov_cancel_work() to exist at all, as it only > >> has one caller and the only thing don

Re: [PATCH V2] block: correctly fallback for zeroout

2016-06-09 Thread Shaohua Li
On Thu, Jun 09, 2016 at 10:04:08PM -0400, Martin K. Petersen wrote: > > "Shaohua" == Shaohua Li writes: > > Shaohua, > > diff --git a/block/blk-lib.c b/block/blk-lib.c > index 23d7f30..a3a26c8 100644 > --- a/block/blk-lib.c > +++ b/block/blk-lib.c > @@ -84,6 +84,28 @@ int __blkdev_issue_disc

Re: [PATCH v6 0/8] block: prepare for multipage bvecs

2016-06-09 Thread Ming Lei
On Fri, Jun 10, 2016 at 12:06 AM, Jens Axboe wrote: > On 05/30/2016 07:34 AM, Ming Lei wrote: >> >> Hi, >> >> Interests[1] have been shown in multipage bvecs, so this patchset >> try to prepare for the support and do two things: >> >> 1) the 1st 4 patches use bvec iterator to implement iterate_bve

[PATCH 4/8] staging/lustre/llite: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/llite directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/llite_lib.c | 3 ++- drivers/staging/lustre/lustre/llite/namei.c | 3 ++- drivers/staging/lustre/lustre/llite/vvp

[PATCH 2/8] staging/lustre/fid: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/fid directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fid/fid_request.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/fid

[PATCH 6/8] staging/lustre/obdclass: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/obdclass directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdclass/llog.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/

[PATCH 1/8] staging/lustre/osc: Fix Multiple Assignment Warnings

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/osc directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/osc_cache.c | 6 -- drivers/staging/lustre/lustre/osc/osc_io.c | 12 drivers/staging/lustre/lust

[PATCH 8/8] staging/lustre/lmv: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/lmv directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lmv/lmv_obd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/lmv/lmv_obd

[PATCH 0/8] Lustre: Multiple assignments removal.

2016-06-09 Thread Oleg Drokin
These patches remove multiple assignments in Lustre, that makes checkpatch (somewhat understandably) unhappy. Nathaniel Clark (8): staging/lustre/osc: Fix Multiple Assignment Warnings staging/lustre/fid: Fix Multiple Assignments staging/lustre/ldlm: Fix Multiple Assignments staging/lustre/

[PATCH 7/8] staging/lustre/ptlrpc: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/ptlrpc directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/client.c | 6 -- drivers/staging/lustre/lustre/ptlrpc/import.c | 3 ++- drivers/staging/lustre/lust

[PATCH 3/8] staging/lustre/ldlm: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/ldlm directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 3 ++- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 8 +--- 2 files changed, 7 insertions(+), 4

[PATCH 5/8] staging/lustre/lov: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/lov directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lov/lov_obd.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/lustre/lustre/lov/

Re: [PATCH v16 6/6] ARM: socfpga: fpga bridge driver support

2016-06-09 Thread Trent Piepho
On Fri, 2016-02-05 at 15:30 -0600, at...@opensource.altera.com wrote: > Supports Altera SOCFPGA bridges: > * fpga2sdram > * fpga2hps > * hps2fpga > * lwhps2fpga > > Allows enabling/disabling the bridges through the FPGA > Bridge Framework API functions. I'm replying to v16 because it exists o

Re: [PATCH 10/10] mm: balance LRU lists based on relative thrashing

2016-06-09 Thread Minchan Kim
Hi Hannes, On Mon, Jun 06, 2016 at 03:48:36PM -0400, Johannes Weiner wrote: > Since the LRUs were split into anon and file lists, the VM has been > balancing between page cache and anonymous pages based on per-list > ratios of scanned vs. rotated pages. In most cases that tips page > reclaim towar

Re: block: correctly fallback for zeroout

2016-06-09 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: >> Userland apps rely on EOPNOTSUPP, we can't break that. Christoph> Rely on what exactly? Current we return EOPNOTSUPP if the Christoph> device doesn't claim to support discards, but it returns 0 if Christoph> the device first claims to support it

Re: [PATCH V2] block: correctly fallback for zeroout

2016-06-09 Thread Martin K. Petersen
> "Shaohua" == Shaohua Li writes: Shaohua, diff --git a/block/blk-lib.c b/block/blk-lib.c index 23d7f30..a3a26c8 100644 --- a/block/blk-lib.c +++ b/block/blk-lib.c @@ -84,6 +84,28 @@ int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, } EXPORT_SYMBOL(__blkdev_issue_disc

Re: [PATCH 06/14] x86/ptrace: run seccomp after ptrace

2016-06-09 Thread Kees Cook
On Thu, Jun 9, 2016 at 3:52 PM, Andy Lutomirski wrote: > On Thu, Jun 9, 2016 at 2:01 PM, Kees Cook wrote: >> This moves seccomp after ptrace on x86 to that seccomp can catch changes >> made by ptrace. Emulation should skip the rest of processing too. >> >> We can get rid of test_thread_flag becau

Re: [PATCH v3 1/2] power: axp288_charger: Replace deprecatd API of extcon

2016-06-09 Thread Chanwoo Choi
Hi, On 2016년 06월 10일 10:46, Sebastian Reichel wrote: > Hi, > > On Tue, May 31, 2016 at 06:34:39PM +0900, Chanwoo Choi wrote: >> This patch removes the deprecated notifier API of extcon framework and then >> use >> the new extcon API[2] with the unique id[1] to indicate the each external >> conne

Re: [PATCH v3 1/2] power: axp288_charger: Replace deprecatd API of extcon

2016-06-09 Thread Sebastian Reichel
Hi, On Tue, May 31, 2016 at 06:34:39PM +0900, Chanwoo Choi wrote: > This patch removes the deprecated notifier API of extcon framework and then > use > the new extcon API[2] with the unique id[1] to indicate the each external > connector. Alter deprecated API as following: > - extcon_register_int

Re: [PATCH 17/21] audit: Use timespec64 to represent audit timestamps

2016-06-09 Thread Richard Guy Briggs
On 16/06/09, Steve Grubb wrote: > On Thursday, June 09, 2016 07:59:43 PM Richard Guy Briggs wrote: > > On 16/06/09, Steve Grubb wrote: > > > On Wednesday, June 08, 2016 10:05:01 PM Deepa Dinamani wrote: > > > > struct timespec is not y2038 safe. > > > > Audit timestamps are recorded in string forma

[PATCH] arm64: Handle el1 synchronous instruction aborts cleanly

2016-06-09 Thread Laura Abbott
Executing from a non-executable area gives an ugly message: lkdtm: Performing direct entry EXEC_RODATA lkdtm: attempting ok execution at 084c0e08 lkdtm: attempting bad execution at 08880700 Bad mode in Synchronous Abort handler detected on CPU2, code 0x840e -- IABT (current EL

Re: NFS/d_splice_alias breakage

2016-06-09 Thread Oleg Drokin
On Jun 6, 2016, at 7:36 PM, Oleg Drokin wrote: > Well, I have some bad news. > > This patch does not fix the issue 100% of the time apparently, I just hit it > again. Ok, so now finally a piece of good news. Whatever was causing this other much harder to hit crash is gone in -rc2, gone are so

Re: [PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-06-09 Thread Sebastian Reichel
Hi, On Tue, May 31, 2016 at 01:45:00PM -0500, Andrew F. Davis wrote: > Currently for each device with a unique register map we have a named > array that we then merge into a multidimensional array. Skip this > middle step and apply the register arrays directly to the multi-array. I applied the fi

Re: [PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-09 Thread Seung-Woo Kim
Hi Jaehoon, On 2016년 06월 09일 21:38, Jaehoon Chung wrote: > Hi Seung-Woo, > > On 06/08/2016 01:07 PM, Seung-Woo Kim wrote: >> This patch removes following UBSAN warnings in dw_mci_setup_bus(). >> The warnings are caused because of shift with more than 31 on 32 >> bit variable, so this patch fixes

  1   2   3   4   5   6   7   8   9   10   >