[PATCH v2] phy: add phy-hisi-inno-usb2

2016-07-02 Thread l00229106
Add support for inno usb2 phy integrated on some hisilicon SOCs. Signed-off-by: Pengcheng Li --- .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 48 drivers/phy/Kconfig| 10 + drivers/phy/Makefile | 1 + drivers/phy/phy-

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-02 Thread Al Viro
On Sat, Jun 25, 2016 at 12:38:40PM -0400, Oleg Drokin wrote: > Sorry to nag you about this, but did any of those pan out? > > d_alloc_parallel() sounds like a bit too heavy there, esp. considering we > came in with > a dentry already (though a potentially shared one, I understand). > Would not i

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-07-02 Thread Matthias Brugger
On 06/08/2016 11:51 AM, honghui.zh...@mediatek.com wrote: From: Honghui Zhang Add the dtsi node of iommu and smi for mt2701. Signed-off-by: Honghui Zhang --- arch/arm/boot/dts/mt2701.dtsi | 51 +++ 1 file changed, 51 insertions(+) Applied, Thanks

[PATCH] drm/tegra: fix error handling

2016-07-02 Thread Christophe JAILLET
This is likely that checking 'gr3d->clk_secondary' instead of 'gr3d->clk' is expected here. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/tegra/gr3d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra/gr3d.c b/drivers/gpu/drm/tegra/gr3d.c inde

Re: [RFC PATCH 0/1] Portable Device Tree Connector -- conceptual

2016-07-02 Thread Frank Rowand
On 07/02/16 16:55, frowand.l...@gmail.com wrote: > From: Frank Rowand > > Hi All, > > This is version 2 of this email. < snip > > The one remaining piece that this patch does not provide is how > the overlay manager (which does not yet exist in the mainline > tree) can apply an overlay to two

[PATCH] clk: stm32f4: fix error handling

2016-07-02 Thread Christophe JAILLET
This is likely that checking 'clks[idx]' instead of 'clks[n]' is expected here. Signed-off-by: Christophe JAILLET --- drivers/clk/clk-stm32f4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-stm32f4.c b/drivers/clk/clk-stm32f4.c index b6ca33f..02d6810 100644

Re: [PATCH v3 0/2] Add mt6755 basic chip support

2016-07-02 Thread Matthias Brugger
On 06/29/2016 04:09 AM, Mars Cheng wrote: This patch adds basic support for Mediatek's new 8-core chip, mt6755. Based on 4.7-rc1 Changes in v3: 1. use evb as project suffix 2. add "disable" property for uart dts nodes 3. only alias uart0 as serial0, since we don't enable uart1 4. confirm all a

Re: [PATCH 3/3] mm/page_owner: track page free call chain

2016-07-02 Thread Sergey Senozhatsky
On (07/03/16 01:16), Sergey Senozhatsky wrote: [..] > +#ifdef CONFIG_PAGE_OWNER_TRACK_FREE > +void __page_owner_free_pages(struct page *page, unsigned int order) > +{ > + int i; > + depot_stack_handle_t handle; > + struct page_ext *page_ext = lookup_page_ext(page); > + > + if (unlik

[PATCH] phy: fix error handling

2016-07-02 Thread Christophe JAILLET
This is likely that checking 'phy->hsic_clk' instead of 'phy->clk' is expected here. Signed-off-by: Christophe JAILLET --- drivers/phy/phy-sun9i-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/phy-sun9i-usb.c b/drivers/phy/phy-sun9i-usb.c index ac4f31a..ff99

Re: [PATCH] drm/mediatek: fix error handling

2016-07-02 Thread Matthias Brugger
On 07/03/2016 07:37 AM, Christophe JAILLET wrote: This is likely that checking 'phy_provider' instead of 'phy' is expected here. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/me

[PATCH] drm/mediatek: fix error handling

2016-07-02 Thread Christophe JAILLET
This is likely that checking 'phy_provider' instead of 'phy' is expected here. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c b/drivers/gpu/drm/mediatek/mtk_m

Re: [PATCH v2 1/2] arm64: implement FTRACE_WITH_REGS

2016-07-02 Thread kbuild test robot
Hi, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.7-rc5 next-20160701] [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/Torsten-Duwe/arm64-live-patching/20160627-2327

0192688ec6: BUG: unable to handle kernel NULL pointer dereference at (null)

2016-07-02 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux frowand-list-gmail-com/Portable-Device-Tree-Connector-conceptual/20160703-081931 commit 0192688ec6f2161c0f2b99d38cc459f39285398f ("device tree connectors, using plugs and sockets.") in testcase: boot on test machine: 2 th

[PATCH] fs: btrfs: Replace -ENOENT by -ERANGE in btrfs_get_acl()

2016-07-02 Thread Salah Triki
size contains the value returned by posix_acl_from_xattr(), which returns -ERANGE, -ENODATA, zero, or an integer greater than zero. So replace -ENOENT by -ERANGE. Signed-off-by: Salah Triki --- fs/btrfs/acl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/btrfs/acl.c b/

[PATCH] Staging: rtl8712: Fixed brace and comment style issue

2016-07-02 Thread Anuradha Weeraman
Fixed issues with coding style. Signed-off-by: Anuradha Weeraman --- drivers/staging/rtl8712/xmit_linux.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8712/xmit_linux.c b/drivers/staging/rtl8712/xmit_linux.c index 695f9b9..1e86133 100644

fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6

2016-07-02 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 99b0f54e6a3a4012aacfaada5644a8e520447d80 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 4 months ago co

Re: [PATCH] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-07-02 Thread kbuild test robot
Hi, [auto build test ERROR on thermal/next] [also build test ERROR on v4.7-rc5 next-20160701] [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/Kuninori-Morimoto/thermal-rcar-thermal-enable-hwmon-w

Re: [PATCH] Crypto:Add HMAC-SHA3 test modes and test vectors

2016-07-02 Thread Herbert Xu
On Fri, Jul 01, 2016 at 11:16:54AM +0530, Raveendra Padasalagi wrote: > This patch adds HMAC-SHA3 test modes in tcrypt module > and related test vectors. > > Signed-off-by: Raveendra Padasalagi Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key

Re: [PATCH] crypto: omap-sham - increase cra_proirity to 400

2016-07-02 Thread Herbert Xu
On Wed, Jun 29, 2016 at 11:11:36AM -0500, Bin Liu wrote: > Some software alg has cra_priority as higher as 300, so increase > omap-sham priority to 400 to ensure it is on top of any software alg. > > Signed-off-by: Bin Liu Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.a

include/linux/kprobes.h:332:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2016-07-02 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 99b0f54e6a3a4012aacfaada5644a8e520447d80 commit: abec1a806e0c3cf168999667d5fb6218398ef12a percpu: Make __verify_pcu_ptr handle per cpu pointers to arrays date: 2

(.init.text+0x2b8): multiple definition of `plat_irq_setup'

2016-07-02 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 99b0f54e6a3a4012aacfaada5644a8e520447d80 commit: 7480e0aabd5f9e6c3e3b72ed206e89284e90f11f sh: add device tree support and generic board using device tree date: 4

[PATCH 1/1] irqdomain: Fix irq_domain_alloc_irqs_recursive() error handling

2016-07-02 Thread Alexander Popov
If an irq_domain is auto-recursive and irq_domain_alloc_irqs_recursive() for its parent has returned an error, then do return and avoid calling irq_domain_free_irqs_recursive() uselessly, because: - if domain->ops->alloc() had failed for an auto-recursive irq_domain, then irq_domain_free_irqs_re

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-02 Thread Jon Masters
Hi Russell, Jon, On 06/07/2016 06:18 PM, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: >> Many users (and some applications) are expecting the CPU clock speed to >> be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, >> ia64, and

[RFC PATCH 1/1] device tree connectors, using plugs and sockets.

2016-07-02 Thread frowand . list
From: Frank Rowand This patch has been compiled but has not been booted. It is likely to contain bugs. Problem: mother boards may contain multiple connectors that daughter boards may be attached to. If two of the daughter boards can be described by the same .dtsi file, then it should be possib

[RFC PATCH 0/1] Portable Device Tree Connector -- conceptual

2016-07-02 Thread frowand . list
From: Frank Rowand Hi All, This is version 2 of this email. Changes from version 1: - some rewording of the text - removed new (theoretical) dtc directive "/connector/" - added compatibility between mother board and daughter board - added info on applying a single .dtbo to different co

{standard input}:122: Error: number (0x9000000080000000) larger than 32 bits

2016-07-02 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 99b0f54e6a3a4012aacfaada5644a8e520447d80 commit: 71458cfc782eafe4b27656e078d379a34e472adf kernel: add support for gcc 5 date: 1 year, 9 months ago config: mips-tb

[PATCH] staging: fsl-mc: make bus/mc-bus explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: config FSL_MC_BUS bool "Freescale Management Complex (MC) bus driver" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the

Re: [PATCH 0/4] sh: fix up modular use in non-modular code

2016-07-02 Thread Paul Gortmaker
[Re: [PATCH 0/4] sh: fix up modular use in non-modular code] On 02/06/2016 (Thu 15:54) Yoshinori Sato wrote: > On Fri, 27 May 2016 01:53:34 +0900, > Rich Felker wrote: > > > > On Thu, May 26, 2016 at 12:45:57PM -0400, Paul Gortmaker wrote: > > > [[PATCH 0/4] sh: fix up modular use in non-modular

[GIT PULL] Please pull powerpc/linux.git powerpc-4.7-5 tag

2016-07-02 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.7: The following changes since commit 844e3be47693f92a108cb1fb3b0606bf25e9c7a6:   powerpc/bpf/jit: Disable classic BPF JIT on ppc64le (2016-06-23 10:35:31 +1000) are available in the git repository at:   git://git.kernel.org/pub/scm/linux/ke

[PATCH][media] saa7134: fix warm Medion 7134 EEPROM read

2016-07-02 Thread Maciej S. Szmigiero
When saa7134 module driving a Medion 7134 card is reloaded reads of this card EEPROM (required for automatic detection of tuner model) will be corrupted due to I2C gate in DVB-T demod being left closed. This sometimes also happens on first saa7134 module load after a warm reboot. Fix this by openi

Re: [PATCH v2] tracing: Fix oops caused by graph notrace filter

2016-07-02 Thread kbuild test robot
Hi, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.7-rc5 next-20160701] [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/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace-f

Re: [PATCH v2] tracing: Fix oops caused by graph notrace filter

2016-07-02 Thread kbuild test robot
Hi, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.7-rc5 next-20160701] [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/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace-f

[PATCH 00/14] PCI: trivial demodularization of builtin code

2016-07-02 Thread Paul Gortmaker
Firstly, this group of commits was chosen for the fact that they don't change anything even at a binary object file level ; they just replace module_platform_driver with builtin_platform_driver, and remove some MODULE_ tags that are no-ops in code. So the regression risk is zero here. More specif

[PATCH 04/14] PCI: generic: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_HOST_GENERIC drivers/pci/host/Kconfig: bool "Generic PCI host controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular code

[PATCH 05/14] PCI: hisi: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: host/Kconfig:config PCI_HISI host/Kconfig:bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular code and macros, so

[PATCH 07/14] PCI: layerscape: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_LAYERSCAPE drivers/pci/host/Kconfig: bool "Freescale Layerscape PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple instances of mod

[PATCH 06/14] PCI: keystone: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_KEYSTONE drivers/pci/host/Kconfig: bool "TI Keystone PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple instances of modular code u

[PATCH 02/14] PCI: artpec6: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCIE_ARTPEC6 drivers/pci/host/Kconfig: bool "Axis ARTPEC-6 PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular code a

Re: [PATCH RFC 0/7] support clk setting during kernel early boot

2016-07-02 Thread Stefan Agner
On 2016-07-01 18:12, Stephen Boyd wrote: > On 06/29, Dong Aisheng wrote: >> Recently several people met the kernel complaining >> "bad: scheduling from the idle thread!" issue which caused by >> sleeping during kernel early booting phase by calling clk >> APIs like clk_prepare_enable. >> >> See: >>

[PATCH 09/14] PCI: rcar: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_RCAR_GEN2_PCIE drivers/pci/host/Kconfig: bool "Renesas R-Car PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular

[PATCH 11/14] PCI: tegra: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_TEGRA drivers/pci/host/Kconfig: bool "NVIDIA Tegra PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular code and m

[PATCH 1/2] net: ethernet: smsc: smsc911x: use phydev from struct net_device

2016-07-02 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/sm

[PATCH 08/14] PCI: mvebu: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_MVEBU drivers/pci/host/Kconfig: bool "Marvell EBU PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular code and ma

[PATCH 14/14] PCI: xgene: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_XGENE drivers/pci/host/Kconfig: bool "X-Gene PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular code and macros,

[PATCH 10/14] PCI: rcar-gen2: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_RCAR_GEN2 drivers/pci/host/Kconfig: bool "Renesas R-Car Gen2 Internal PCI controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of

[PATCH 12/14] PCI: thunder-ecam: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_HOST_THUNDER_ECAM drivers/pci/host/Kconfig: bool "Cavium Thunder ECAM controller to on-chip devices on pass-1.x silicon" ...meaning that it currently is not being built as a module by anyone.

[PATCH 2/2] net: ethernet: smsc: smsc911x: use phy_ethtool_{get|set}_link_ksettings

2016-07-02 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/smsc/smsc911x.c | 18 ++ 1 files changed, 2 insertions(+), 16 deletions(-) diff --

[PATCH 13/14] PCI: thunder-pem: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_HOST_THUNDER_PEM drivers/pci/host/Kconfig: bool "Cavium Thunder PCIe controller to off-chip devices" ...meaning that it currently is not being built as a module by anyone. Lets remove the fe

[PATCH 01/14] PCI: armada8k: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCIE_ARMADA_8K drivers/pci/host/Kconfig: bool "Marvell Armada-8K PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses of modular

[PATCH 03/14] PCI: designware-plat: make it explicitly non-modular

2016-07-02 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCIE_DW_PLAT drivers/pci/host/Kconfig: bool "Platform bus based DesignWare PCIe Controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the few trace uses

Re: [PATCH 2/2] input: add ADC resistor ladder driver

2016-07-02 Thread Matt Ranostay
On Fri, Jul 1, 2016 at 2:30 PM, Alexandre Belloni wrote: > A common way of multiplexing buttons on a single input in cheap devices is > to use a resistor ladder on an ADC. This driver supports that configuration > by polling an ADC channel provided by IIO. > > Signed-off-by: Alexandre Belloni > -

[PATCH 2/2] net: ethernet: lantiq_etop: use phy_ethtool_{get|set}_link_ksettings

2016-07-02 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/lantiq_etop.c | 16 ++-- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git

[PATCH 1/2] net: ethernet: lantiq_etop: use phydev from struct net_device

2016-07-02 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/la

[PATCH 2/2] net: ethernet: cavium: octeon: use phy_ethtool_{get|set}_link_ksettings

2016-07-02 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 25 + 1 files changed, 2 insertions(+), 23 deleti

[PATCH 1/2] net: ethernet: cavium: octeon: use phydev from struct net_device

2016-07-02 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/ca

Re: master build: 0 failures 4 warnings (v4.7-rc5-347-g99b0f54)

2016-07-02 Thread Arnd Bergmann
On Saturday, July 2, 2016 8:39:38 PM CEST Build bot for Mark Brown wrote: > Warnings: > > ../drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_hwmgr.c:1817:4: > warning: this decimal constant is unsigned only in ISO C90 > > ../drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/p

[PATCH][RESEND] pps: kc: fix non-tickless system config dependency

2016-07-02 Thread Maciej S. Szmigiero
CONFIG_NO_HZ currently only sets the default value of dynticks config so if PPS kernel consumer needs periodic timer ticks it should depend on !CONFIG_NO_HZ_COMMON instead of !CONFIG_NO_HZ. Otherwise it is possible to enable it even on tickless system which has CONFIG_NO_HZ not set and CONFIG_NO_H

Re: [PATCH 0/2] Input-at32psif: Fine-tuning for OOM handling in psif_probe()

2016-07-02 Thread Joe Perches
On Sat, 2016-07-02 at 21:00 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 2 Jul 2016 20:50:09 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (2): >   Return directly after a failed kzalloc() >   Remove two O

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Alexandre Belloni
On 02/07/2016 at 21:46:43 +0200, Hans de Goede wrote : > Hi, > > On 02-07-16 15:35, Alexandre Belloni wrote: > > On 02/07/2016 at 17:12:55 +0800, Chen-Yu Tsai wrote : > > > Hi, > > > > > > On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni > > > wrote: > > > > Document the bindings for the Allwin

Re: [PATCH] net-next: mediatek: fix compile error inside mtk_poll_controller()

2016-07-02 Thread David Miller
From: John Crispin Date: Sat, 2 Jul 2016 08:00:50 +0200 > commit 8067302973a1 ("net-next: mediatek: add support for IRQ grouping") > failed to properly update the irq handling inside mtk_poll_controller() > causing compile errors if netconsole was enabled. Fix this by updating > the code to use

Re: [PATCH 5/9] perf, tools: Compute IPC and basic block cycles for annotate

2016-07-02 Thread Andi Kleen
> I'm looking at basic block support, but this all seems to depend on the > cycles stuff. Can we get the basic block stuff without that? Not sure what you mean with basic block stuff, but ... > > I'm looking to plot the hottest path through a branchy function. Use --branch-history to get a histo

Re: [PATCH] net/mlx4: Fix some indent inconsistancy

2016-07-02 Thread Leon Romanovsky
On Sat, Jul 02, 2016 at 02:31:05PM +0200, Christophe JAILLET wrote: > Silent a few smatch warnings about indentation. > This include the removal of a 'return' statement in 'resource_tracker.c'. > This 'return' will still be performed when breaking out of the > corresponding 'switch' block. > > Sig

Re: [PATCH RFC 6/7] clk: imx: pllv3: convert to prepare_hw and set_rate_hw

2016-07-02 Thread Fabio Estevam
Hi Dong, On Wed, Jun 29, 2016 at 10:52 AM, Dong Aisheng wrote: Thanks for working on this series. Tested the whole series on a mx7d-sdb and it does fix the several clk warnings that we currently have. > +static int clk_pllv3_set_rate_done(struct clk_hw *hw) > +{ > + struct clk_pllv3 *pll

Linux 4.7: Reported regressions as of Saturday, 2016-07-02

2016-07-02 Thread Thorsten Leemhuis
Hi! Here is my fourth regression report for Linux 4.7; a day earlier then usual. It has 14 entries; * 2 of them are new * 9 regressions (not included here) were fixed since the last report(¹) * 1 made it to the list after last Sunday (thx for telling me about it Kalle!), but was fixed before

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Hans de Goede
Hi, On 02-07-16 15:35, Alexandre Belloni wrote: On 02/07/2016 at 17:12:55 +0800, Chen-Yu Tsai wrote : Hi, On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni wrote: Document the bindings for the Allwinner LRADC. We already have Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt and

Re: [PATCH 2/2] Input-at32psif: Remove OOM messages in psif_probe()

2016-07-02 Thread Julia Lawall
On Sat, 2 Jul 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 2 Jul 2016 20:34:18 +0200 > > Delete two debug messages because Linux will usually provide > an appropriate information for a memory allocation failure. > > Signed-off-by: Markus Elfring > --- > drivers/input/s

[PATCH 2/2] Input-at32psif: Remove OOM messages in psif_probe()

2016-07-02 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 2 Jul 2016 20:34:18 +0200 Delete two debug messages because Linux will usually provide an appropriate information for a memory allocation failure. Signed-off-by: Markus Elfring --- drivers/input/serio/at32psif.c | 6 ++ 1 file changed, 2 insertions(+), 4 del

[PATCH 1/2] Input-at32psif: Return directly after a failed kzalloc() in psif_probe()

2016-07-02 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 2 Jul 2016 18:34:43 +0200 Return directly after a memory allocation failed at the beginning. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/input/serio/at32psif.c | 4 +--- 1 file changed, 1 insertion(+), 3 d

Re: [PATCHv3] mvsas:Fix possible NULL pointer deference in mvs_dev_found_notify

2016-07-02 Thread James Bottomley
On Sat, 2016-07-02 at 19:16 +0100, Luis de Bethencourt wrote: > On 02/07/16 18:00, Nicholas Krause wrote: > > This adds properly checking after the call to mvs_find_dev_mvi > > due to this function being able to return a NULL pointer and > > if this does arise we will deference it in mvs_alloc_dev

[PATCH 0/2] Input-at32psif: Fine-tuning for OOM handling in psif_probe()

2016-07-02 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 2 Jul 2016 20:50:09 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Return directly after a failed kzalloc() Remove two OOM messages drivers/input/serio/at32psif.c | 10 +++--- 1 file changed,

Re: [PATCH 1/2] net: ethernet: davinci_emac: use phydev from struct net_device

2016-07-02 Thread David Miller
From: Philippe Reynes Date: Sat, 2 Jul 2016 00:02:34 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy in the private structure, and update the driver to use the > one contained in struct net

Re: [PATCH 2/2] net: ethernet: davinci_emac: use phy_ethtool_{get|set}_link_ksettings

2016-07-02 Thread David Miller
From: Philippe Reynes Date: Sat, 2 Jul 2016 00:02:35 +0200 > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] Fix race condition in enc28j60 driver

2016-07-02 Thread David Miller
From: Sergio Valverde < sergio.valve...@hpe.com > Date: Fri, 1 Jul 2016 11:44:30 -0600 > From: Sergio Valverde > > The interrupt worker code for the enc28j60 relies only on the TXIF flag to > determinate if the packet transmission was completed. However the datasheet > specifies in section 12.1

[PATCH] clk: imx7d: do not set parent of ethernet time clocks

2016-07-02 Thread Stefan Agner
All device trees currently in mainline specify the time clock parent using the assigned-clocks/assigned-clock-parents method, there is no need to statically assign the parent in the core clock driver. Furthermore, and the actual driver of this patch, specify parents at that early point in boot lea

Re: [PATCH v4 10/29] x86/die: Don't try to recover from an OOPS on a non-default stack

2016-07-02 Thread Josh Poimboeuf
On Sat, Jul 02, 2016 at 07:24:41PM +0200, Borislav Petkov wrote: > On Sun, Jun 26, 2016 at 02:55:32PM -0700, Andy Lutomirski wrote: > > It's not going to work, because the scheduler will explode if we try > > to schedule when running on an IST stack or similar. > > > > This will matter when we let

Re: [PATCHv3] mvsas:Fix possible NULL pointer deference in mvs_dev_found_notify

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 18:00, Nicholas Krause wrote: > This adds properly checking after the call to mvs_find_dev_mvi > due to this function being able to return a NULL pointer and > if this does arise we will deference it in mvs_alloc_dev due > to this function never checking if a NULL pointer is given as >

[PATCH 2/2] net: ethernet: arc: emac: use phy_ethtool_{get|set}_link_ksettings

2016-07-02 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/arc/emac_main.c | 40 + 1 files changed, 2 insertions(+), 38 deleti

[PATCH 1/2] net: ethernet: arc: emac: use phydev from struct net_device

2016-07-02 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/ar

Re: [PATCH v5 2/3] LSM: module hierarchy in /proc/.../attr

2016-07-02 Thread John Johansen
On 06/29/2016 10:03 AM, Paul Moore wrote: > On Fri, Jun 24, 2016 at 7:29 PM, Casey Schaufler > wrote: >> Subject: [PATCH v5 2/3] LSM: module hierarchy in /proc/.../attr >> >> Back in 2007 I made what turned out to be a rather serious >> mistake in the implementation of the Smack security module.

Re: [PATCH v4 10/29] x86/die: Don't try to recover from an OOPS on a non-default stack

2016-07-02 Thread Borislav Petkov
On Sun, Jun 26, 2016 at 02:55:32PM -0700, Andy Lutomirski wrote: > It's not going to work, because the scheduler will explode if we try > to schedule when running on an IST stack or similar. > > This will matter when we let kernel stack overflows (which are #DF) > call die(). > > Signed-off-by: A

Re: [PATCH v4 3/3] LSM: Add context interface for proc attrs

2016-07-02 Thread John Johansen
On 06/29/2016 10:04 AM, Paul Moore wrote: > On Fri, Jun 24, 2016 at 7:29 PM, Casey Schaufler > wrote: >> Subject: [PATCH v4 3/3] LSM: Add context interface for proc attrs >> >> The /proc/.../attr/current interface is used by all three >> Linux security modules (SELinux, Smack and AppArmor) to >>

Re: [PATCH v5 1/3] LSM: Add /sys/kernel/security/lsm

2016-07-02 Thread John Johansen
On 06/29/2016 10:01 AM, Paul Moore wrote: > On Fri, Jun 24, 2016 at 7:27 PM, Casey Schaufler > wrote: >> Subject: [PATCH v5 1/3] LSM: Add /sys/kernel/security/lsm >> >> I got tired of having to find indirect ways to >> determine what security modules are active on a system. >> I have added /sys/k

Re: EXT: Re: [PATCH RFC 1/4] dma: imx-sdma - reduce transfer latency for DMA cyclic clients

2016-07-02 Thread Vinod Koul
On Fri, Jul 01, 2016 at 05:59:30PM +0300, Nandor Han wrote: > > > On 28/06/16 17:34, Vinod Koul wrote: > >On Thu, Jun 09, 2016 at 03:16:30PM +0300, Nandor Han wrote: > >>Having the SDMA driver use a tasklet for running the clients > >>callback introduce some issues: > >> - probability to have d

Re: [PATCH v2 02/15] [media] lirc_dev: allow bufferless driver registration

2016-07-02 Thread Sean Young
On Fri, Jul 01, 2016 at 05:01:25PM +0900, Andi Shyti wrote: > Some drivers don't necessarily need to have a FIFO managed buffer > for their transfers. Drivers now should call > lirc_register_bufferless_driver in order to handle the buffer > themselves. > > The function works exaclty like lirc_regi

[RFC PATCH] dt/bindings: Add bindings for JC-42.4 compatible temperature sensors

2016-07-02 Thread Guenter Roeck
Provide generic bindings for all Jedec JC-42.4 compatible temperature sensor chips. Signed-off-by: Guenter Roeck --- RFC to address: - Is "jc-42-4" ok to use for JC-42.4 ? - JC42.4 really specifies an SPD EEPROM with included temperature sensor. Is "jedec,jc42-4" appropriate, or should it rathe

Re: [PATCH v7 4/4] soc: mediatek: Add MT2701 scpsys driver

2016-07-02 Thread Matthias Brugger
On 05/16/2016 11:28 AM, James Liao wrote: From: Shunli Wang Add scpsys driver for MT2701. mtk-scpsys now supports MT8173 (arm64) and MT2701 (arm). So it should be enabled on both arm64 and arm platforms. Signed-off-by: Shunli Wang Signed-off-by: James Liao Reviewed-by: Kevin Hilman ---

Re: [PATCH] perf: fix pmu::filter_match for SW-led groups

2016-07-02 Thread Peter Zijlstra
On Tue, Jun 14, 2016 at 04:10:41PM +0100, Mark Rutland wrote: > However, pmu::filter_match is only called for the leader of each event > group. When the leader is a SW event, we do not filter the groups, and > may fail at pmu::add time, and when this happens we'll give up on > scheduling any event

Re: [PATCH v7 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2016-07-02 Thread Matthias Brugger
On 05/16/2016 11:28 AM, James Liao wrote: Some power domain comsumers may init before module_init. So the power domain provider (scpsys) need to be initialized earlier too. Take an example for our IOMMU (M4U) and SMI. SMI is a bridge between IOMMU and multimedia HW. SMI is responsible to enabl

Re: [PATCH v7 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-07-02 Thread Matthias Brugger
On 05/16/2016 11:28 AM, James Liao wrote: Refine scpsys driver common code to support multiple SoC / platform. Signed-off-by: James Liao Reviewed-by: Kevin Hilman --- drivers/soc/mediatek/mtk-scpsys.c | 363 +++--- 1 file changed, 220 insertions(+), 143 delet

[PATCH 1/3] mm/page_owner: rename page_owner functions

2016-07-02 Thread Sergey Senozhatsky
A cosmetic change: rename set_page_owner() and reset_page_owner() functions to page_owner_alloc_pages()/page_owner_free_pages(). This is sort of a preparation step for PAGE_OWNER_TRACK_FREE patch. Signed-off-by: Sergey Senozhatsky --- include/linux/page_owner.h | 16 mm/page_al

[PATCH 3/3] mm/page_owner: track page free call chain

2016-07-02 Thread Sergey Senozhatsky
Introduce PAGE_OWNER_TRACK_FREE config option to extend page owner with free_pages() tracking functionality. This adds to the dump_page_owner() output an additional backtrace, that tells us what path has freed the page. Aa a trivial example, let's assume that do_some_foo() has an error - extra put

[PATCH 2/3] mm/page_owner: rename PAGE_EXT_OWNER flag

2016-07-02 Thread Sergey Senozhatsky
A cosmetic change: PAGE_OWNER_TRACK_FREE will introduce one more page_owner flag: PAGE_EXT_OWNER_FREE. To make names symmetrical, rename PAGE_EXT_OWNER to PAGE_EXT_OWNER_ALLOC. Signed-off-by: Sergey Senozhatsky --- include/linux/page_ext.h | 2 +- mm/page_owner.c | 12 ++-- mm

[PATCH 0/3][RFC] mm/page:_owner: track page free call chain

2016-07-02 Thread Sergey Senozhatsky
Hello, RFC Page owner tracks a call chain that has allocated a page, this patch set extends it with a PAGE_OWNER_TRACK_FREE functionality, that now also tracks a call chain that has freed the page. Page dump, thus, now has the following format: a) page allocated backtrace

Re: [PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-07-02 Thread Boris Brezillon
+Thierry Hi Doug, On Fri, 1 Jul 2016 13:17:48 -0700 Doug Anderson wrote: > Mark, > > On Fri, Jul 1, 2016 at 1:06 AM, Mark Brown wrote: > > On Mon, Jun 27, 2016 at 09:53:11PM -0700, Douglas Anderson wrote: > > > >> Note that this patch is atop Boris's recent PWM regulator fixes. If > >> des

Re: [Nouveau] [PATCH 2/6] drm/nouveau/core: make use of new strtolower() function

2016-07-02 Thread Markus Mayer
On 1 July 2016 at 18:18, Alexandre Courbot wrote: > On Fri, Jul 1, 2016 at 8:50 AM, Markus Mayer wrote: >> Call strtolower() rather than walking the string explicitly to convert >> it to lowercase. >> >> Signed-off-by: Markus Mayer >> --- >> drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 7 +---

Re: [PATCH] scsi: replace broken specification URL

2016-07-02 Thread James Bottomley
On Sat, 2016-07-02 at 08:56 +0200, Michael Opdenacker wrote: > The t10.org website containing SCSI-2 draft specifications now > requires to be from a member company to access the documents. > > This replaces the now broken link with another public resource > where the specifications can be found.

Re: [PATCH 1/4] fs: befs: Remove redundant validation from befs_find_brun_direct

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 14:34, Salah Triki wrote: > On Sat, Jul 02, 2016 at 12:38:18PM +0100, Luis de Bethencourt wrote: >> On 02/07/16 09:05, Salah Triki wrote: >>> The only caller of befs_find_brun_direct is befs_fblock2brun, which >>> already validates that the block is within the range of direct blocks. >>

Re: [PATCH] [media] hdpvr: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:17:31PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" is involved in tranmitting hdpvr buffers. > It has a single work item(&dev->worker) and hence doesn't require > ordering. Also, it is not being used on a memory reclaim path. Hence, > the singlethreade

Re: [PATCH 1/4] fs: befs: Remove redundant validation from befs_find_brun_direct

2016-07-02 Thread Salah Triki
On Sat, Jul 02, 2016 at 12:38:18PM +0100, Luis de Bethencourt wrote: > On 02/07/16 09:05, Salah Triki wrote: > > The only caller of befs_find_brun_direct is befs_fblock2brun, which > > already validates that the block is within the range of direct blocks. > > So remove the duplicate validation. > >

Re: [PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:33:50PM +0530, Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_singlethread_workqueue(). > > A dedicated workqueue has been used since work items need to be flushed > as a group rather than individually. > > Since the flip_queue workqueue is inv

  1   2   >