Re: [PATCH V5 0/4] gpio: tegra: Cleanups and support for debounce

2016-05-01 Thread Laxman Dewangan
On Saturday 30 April 2016 04:37 PM, Linus Walleij wrote: On Fri, Apr 29, 2016 at 11:20 AM, Laxman Dewangan wrote: On Friday 29 April 2016 02:37 PM, Linus Walleij wrote: On Mon, Apr 25, 2016 at 12:38 PM, Laxman Dewangan wrote: Add support for the debounce as Tegra210 support debounce in HW.

Re: [PATCH v3] sunxi-irq: Fix Kconfig dependency on GENERIC_IRQ_CHIP

2016-05-01 Thread Maxime Ripard
Hi, On Mon, Apr 25, 2016 at 02:04:52AM +0100, Andre Przywara wrote: > The Allwinner NMI irqchip driver requires GENERIC_IRQ_CHIP, but > we can't select it directly, because there is no specific Kconfig entry > for the driver. Compiling this NMI driver with certain arm64 > configurations thus fails

Re: EXT4 bad block - ext4_xattr_block_get

2016-05-01 Thread Philipp Hahn
Hello, Am 28.04.2016 um 11:44 schrieb Lay, Kuan Loon: > I encounter random bad block on different file, the message looks like > "EXT4-fs error (device mmcblk0p14): ext4_xattr_block_get:298: inode #77: comm > (syslogd): bad block 7288". Interesting; I posted a similar bug report on 2016-04-19

Re: [RFC] experimental pci_register_host API

2016-05-01 Thread Thierry Reding
On Sat, Apr 30, 2016 at 01:01:36AM +0200, Arnd Bergmann wrote: > As mentioned in another thread, I have tried to come up with > a way to make the PCI host driver registration more flexible > and simpler. > > We have actually discussed this multiple times in the past, > but always ended up elsewher

Re: [PATCH V11 6/6] gpio: max77620: add gpio driver for MAX77620/MAX20024

2016-05-01 Thread Laxman Dewangan
On Saturday 30 April 2016 05:08 PM, Linus Walleij wrote: On Thu, Apr 28, 2016 at 11:59 AM, Laxman Dewangan wrote: MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins. It also supports interrupts from these pins. Add GPIO driver for these pins to control via GPIO APIs. Signed-off-b

[PATCH 3/3] random: add interrupt callback to VMBus IRQ handler

2016-05-01 Thread Theodore Ts'o
From: Stephan Mueller The Hyper-V Linux Integration Services use the VMBus implementation for communication with the Hypervisor. VMBus registers its own interrupt handler that completely bypasses the common Linux interrupt handling. This implies that the interrupt entropy collector is not trigger

[PATCH 1/3] random: replace non-blocking pool with a Chacha20-based CRNG

2016-05-01 Thread Theodore Ts'o
The CRNG is faster, and we don't pretend to track entropy usage in the CRNG any more. Signed-off-by: Theodore Ts'o --- crypto/chacha20_generic.c | 61 -- drivers/char/random.c | 282 ++ include/crypto/chacha20.h | 1 + lib/Makefile

[PATCH 2/3] random: make /dev/urandom scalable for silly userspace programs

2016-05-01 Thread Theodore Ts'o
On a system with a 4 socket (NUMA) system where a large number of application processes were all trying to read from /dev/urandom, this can result in the system spending 80% of its time contending on the global urandom spinlock. The application have used its own PRNG, but let's try to help it from

Re: Watchdog reset trigger for eMMC

2016-05-01 Thread Marek Szyprowski
Hi Anand On 2016-04-30 08:06, Anand Moon wrote: Hi All, Using microSD card when I try to write into /dev/watchdog device it triggers reboot of the board after timer expires. --- root@odroidxu4l:~# echo

[RFC PATCH 0/3] random: replace urandom pool with a CRNG

2016-05-01 Thread Theodore Ts'o
Everyone is consing up their own random patches, so this is my set. :-) By using a CRNG to replace the urandom pool, we address a number of complaints which Stephan Mueller has been concerned about. We now use a much more aggressive interrupt sampling system to quickly initialize a CRNG which ge

Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed

2016-05-01 Thread Felipe Balbi
Hi, Mathias Nyman writes: >>> dmesg from PC host side (after adding your change without my patch): >>> >>> [17907.984647] usb 6-2: new SuperSpeed USB device number 54 using xhci_hcd >>> [17908.012036] usb 6-2: No SuperSpeed endpoint companion for config 1 >>> interface 1 altsetting 0 ep 2: using

Re: Fwd: [PATCH v2 0/8] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-05-01 Thread Krzysztof Kozlowski
On 05/02/2016 08:06 AM, Krzysztof Kozlowski wrote: > On 05/02/2016 07:55 AM, Krzysztof Kozlowski wrote: >> On 05/02/2016 07:48 AM, MyungJoo Ham wrote: >>> Sender : 최찬우 S5(책임)/Change Agent/Tizen Platform >>> Lab(S/W센터)/삼성전자 >>> Date : 2016-04-15 15:32 (GMT+09:00) This patchset support the

Re: [PATCH v9 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-05-01 Thread tiffany lin
Hi Hans, On Fri, 2016-04-29 at 13:14 +0200, Hans Verkuil wrote: > Hi Tiffany, > > On 04/26/2016 10:58 AM, Tiffany Lin wrote: > > == > > Introduction > > == > > > > The purpose of this series is to add the driver for video codec hw embedded > > in the Mediatek's MT8173 S

Re: [PATCH 2/2] zram: user per-cpu compression streams

2016-05-01 Thread Minchan Kim
Hello Sergey, Sorry for the late reply. On Fri, Apr 29, 2016 at 01:17:10AM +0900, Sergey Senozhatsky wrote: > Remove idle streams list and keep compression streams in per-cpu > data. This removes two contented spin_lock()/spin_unlock() calls > from write path and also prevent write OP from being

[PATCH] rtlwifi:rtl_lps_enter: fix double check cnt_after_linked

2016-05-01 Thread Wang YanQing
We have checked cnt_after_linked in below code: " /*sleep after linked 10s, to let DHCP and 4-way handshake ok enough!! */ if (mac->cnt_after_linked < 5) return; " So the second check isn't necessary. This patch delete second check code. Signed-off-by: Wang YanQing --- drivers/net/wirel

Re: [PATCH v2 0/6] Introduce ZONE_CMA

2016-05-01 Thread Joonsoo Kim
Hello, Mel. Before answering other questions, I'd like to say something first. ZONE_CMA isn't necessarily to fix the issues. We can fix with other approaches. The reason I like the ZONE_CMA is that it doesn't need to handle corner cases. MM already deal with different types of memory such as highm

Re: [PATCH] i40e: constify i40e_client_ops structure

2016-05-01 Thread Leon Romanovsky
On Sun, May 01, 2016 at 02:07:23PM +0200, Julia Lawall wrote: > The i40e_client_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > Thanks Julia, Reviewed-by: Leon Romanovsky signature.asc Description: Digital sig

Re: Fwd: [PATCH v2 0/8] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-05-01 Thread Krzysztof Kozlowski
On 05/02/2016 07:55 AM, Krzysztof Kozlowski wrote: > On 05/02/2016 07:48 AM, MyungJoo Ham wrote: >> Sender : 최찬우 S5(책임)/Change Agent/Tizen Platform >> Lab(S/W센터)/삼성전자 >> Date : 2016-04-15 15:32 (GMT+09:00) >>> >>> This patchset support the AMBA bus frequency scaling on Exynos5422-based >>> Odroid-

Re: Fwd: [PATCH v2 0/8] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-05-01 Thread Krzysztof Kozlowski
On 05/02/2016 07:48 AM, MyungJoo Ham wrote: > Sender : 최찬우 S5(책임)/Change Agent/Tizen Platform > Lab(S/W센터)/삼성전자 > Date : 2016-04-15 15:32 (GMT+09:00) >> >> This patchset support the AMBA bus frequency scaling on Exynos5422-based >> Odroid-XU3 board. But, this series only support the bus frequency

[PATCH] mm/kasan/kasan.h: Fix boolean checking issue for kasan_report_enabled()

2016-05-01 Thread chengang
From: Chen Gang According to kasan_[dis|en]able_current() comments and the kasan_depth' s initialization, if kasan_depth is zero, it means disable. So need use "!!kasan_depth" instead of "!kasan_depth" for checking enable. Signed-off-by: Chen Gang --- mm/kasan/kasan.h | 2 +- 1 file changed,

[PATCH] include/linux/kasan.h: Notice about 0 for kasan_[dis/en]able_current()

2016-05-01 Thread chengang
From: Chen Gang According to their comments and the kasan_depth's initialization, if kasan_depth is zero, it means disable. So kasan_depth need consider about the 0 overflow. Also remove useless comments for dummy kasan_slab_free(). Signed-off-by: Chen Gang --- include/linux/kasan.h | 8 -

linux-next: manual merge of the tty tree with the mips tree

2016-05-01 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: drivers/tty/serial/Makefile include/uapi/linux/serial_core.h between commit: a484a06f7cb1 ("serial: pic32_uart: Add PIC32 UART driver") from the mips tree and commit: 041f031def33 ("serial: mps2-uart: add MPS2 UART d

Re: [RFT PATCH 0/3] usb: misc: usb3503: Fix missing device when TFTP booting

2016-05-01 Thread Marek Szyprowski
Hi Hans, On 2016-05-01 18:01, Hans Verkuil wrote: On 05/01/2016 04:09 PM, Hans Verkuil wrote: On 05/01/2016 03:17 PM, Krzysztof Kozlowski wrote: On Sat, Apr 30, 2016 at 11:43:44AM +0200, Hans Verkuil wrote: Hi Krzysztof, On 04/29/2016 12:59 PM, Krzysztof Kozlowski wrote: Hi, Patches are i

Fwd: [PATCH v2 0/8] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-05-01 Thread MyungJoo Ham
Sender : 최찬우 S5(책임)/Change Agent/Tizen Platform Lab(S/W센터)/삼성전자 Date : 2016-04-15 15:32 (GMT+09:00) > > This patchset support the AMBA bus frequency scaling on Exynos5422-based > Odroid-XU3 board. But, this series only support the bus frequency scaling > for INT (Internal) block using VDD_INT pow

[PATCH] rtlwifi:rtl_watchdog_wq_callback: fix calling rtl_lps_enter|rtl_lps_leave in opposite condition

2016-05-01 Thread Wang YanQing
Commit a269913c52ad37952a4d9953bb6d748f7299c304 ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue") make a mistake, change the meaning of num_tx|rx_inperiod comparison test. Commit fd09ff958777cf583d7541f180991c0fc50bd2f7 ("rtlwifi: Remove extra workqueue for enter/leave powe

linux-next: build failure after merge of the driver-core tree

2016-05-01 Thread Stephen Rothwell
Hi Greg, After merging the driver-core tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from incl

[PATCH]sched:idle: do not fetch current cpu id in loop

2016-05-01 Thread Gaurav Jindal (Gaurav Jindal)
Hi Currently, in idle thread loop, smp_processor_id() fetches the cpu id every time it runs thus taking more cpu cycles. Instead, save the cpu id as local variable while entering the idle thread and use it further. Since it is local varibale, it will be gurranteed to be correct for each core. It

Re: [PATCH RFC] select_idle_sibling experiments

2016-05-01 Thread Mike Galbraith
On Thu, 2016-04-28 at 14:00 +0200, Peter Zijlstra wrote: > On Wed, Apr 06, 2016 at 09:27:24AM +0200, Mike Galbraith wrote: > > sched: ratelimit nohz > > > > Entering nohz code on every micro-idle is too expensive to bear. > > > > Signed-off-by: Mike Galbraith > > > +int sched_needs_cpu(int cpu)

Re: [PATCH] staging/rdma/hfi1: use RCU_INIT_POINTER() when NULLing.

2016-05-01 Thread Leon Romanovsky
On Sun, May 01, 2016 at 06:05:31PM +0530, Muhammad Falak R Wani wrote: > It is safe to use RCU_INIT_POINTER() to NULL a pointer, instead of > rcu_assign_pointer(). > This results in slightly smaller/faster code. > > Signed-off-by: Muhammad Falak R Wani I'm fine with your commit message and don't

Re: [PATCH] i40iw: constify i40iw_vf_cqp_ops structure

2016-05-01 Thread Leon Romanovsky
On Sun, May 01, 2016 at 02:22:21PM +0200, Julia Lawall wrote: > The i40iw_vf_cqp_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > Thanks Julia, Reviewed-by: Leon Romanovsky signature.asc Description: Digital si

[PATCH 0/2] drivers: i2c: qup: Some misc fixes

2016-05-01 Thread Sricharan R
One for fixing the bug with CONFIG_DEBUG_SG enabled and another to suspend the transfer for all errors instead of just for nack. Sricharan R (2): drivers: i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled. drivers: i2c: qup: Fix error handling drivers/i2c/busses/i2c-qup.c | 87 +++

[PATCH 2/2] drivers: i2c: qup: Fix error handling

2016-05-01 Thread Sricharan R
Among the bus errors reported from the QUP_MASTER_STATUS register only NACK is considered and transfer gets suspended, while other errors are ignored. Correct this and suspend the transfer for other errors as well. This avoids unnessecary 'timeouts' which happens when waiting for events that would

[PATCH 1/2] drivers: i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled

2016-05-01 Thread Sricharan R
With CONFIG_DEBUG_SG is enabled and when dma mode is used, below dump is seen, [ cut here ] kernel BUG at include/linux/scatterlist.h:140! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-00459-g9f087b9-dirty

[no subject]

2016-05-01 Thread системы администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность Ваше

[GIT] Sparc

2016-05-01 Thread David Miller
1) Fix panics with SR-IOV, from Babu Moger. 2) Wire up preadv2/pwritev2. 3) Allow proper auto-loading of VIO devices, from John Paul Adrian Glaubitz. 4) Recognize Sonoma cpus, from Khalid Aziz. 5) Fix bootup regressions caused by syscall trace fixes made recently. Please pull, thanks a lot

[GIT] Networking

2016-05-01 Thread David Miller
1) MODULE_FIRMWARE firmware string not correct for iwlwifi 8000 chips, from Sara Sharon. 2) Fix SKB size checks in batman-adv stack on receive, from Sven Eckelmann. 3) Leak fix on mac80211 interface add error paths, from Johannes Berg. 4) Cannot invoke napi_disable() with BH disabled in m

Re: [PATCH v7 5/6] Documentation for the GCC plugin infrastructure

2016-05-01 Thread Masahiro Yamada
Hi Emese, 2016-04-23 3:26 GMT+09:00 Emese Revfy : > This is the GCC infrastructure documentation about its operation, how to add > and use a new plugin with an example. > > Signed-off-by: Emese Revfy Perhaps, this documentation should be included in 2/6 ? -- Best Regards Masahiro Yamada

Re: [PATCH v7 4/6] Add Cyclomatic complexity GCC plugin

2016-05-01 Thread Masahiro Yamada
Hi Emese, 2016-04-23 3:24 GMT+09:00 Emese Revfy : > diff --git a/scripts/Makefile.gcc-plugins b/scripts/Makefile.gcc-plugins > index e6d66e2..282d63a 100644 > --- a/scripts/Makefile.gcc-plugins > +++ b/scripts/Makefile.gcc-plugins > @@ -2,6 +2,8 @@ ifdef CONFIG_GCC_PLUGINS >__PLUGINCC := $(c

Re: [PATCH v7 3/6] The GCC plugin infrastructure supports the arm and arm64 architectures too

2016-05-01 Thread Masahiro Yamada
Hi Emese, David 2016-04-23 3:23 GMT+09:00 Emese Revfy : > The GCC plugin infrastructure supports the arm and arm64 architectures too You need not repeat the same sentence in the body of the git-log. > Signed-off-by: David Brown The author of this patch is Emese Revfy, but it is only signed-of

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

2016-05-01 Thread Masahiro Yamada
Hi Emese, 2016-04-23 3:22 GMT+09:00 Emese Revfy : > This patch allows to build the whole kernel with GCC plugins. It was ported > from > grsecurity/PaX. The infrastructure supports building out-of-tree modules and > building in a separate directory. Cross-compilation is supported too but > curre

Re: [PATCH v7 1/6] Shared library support

2016-05-01 Thread Masahiro Yamada
Hi Emese, 2016-04-23 3:21 GMT+09:00 Emese Revfy : > Infrastructure for building independent shared library targets. > This effectively also reverts commit 62e2210798ed38928ab24841e8b4878a > (Masahiro Yamada, kbuild: drop shared library support from Makefile.host). > > Signed-off-by: Emese Revfy

Re: linux-next: build failure after merge of the vfs tree

2016-05-01 Thread Abhijith Das
Hi Al/Stephen - Original Message - > From: "Al Viro" > To: "Stephen Rothwell" > Cc: "Steven Whitehouse" , "Bob Peterson" > , linux-n...@vger.kernel.org, > linux-kernel@vger.kernel.org, "Abhi Das" > Sent: Sunday, May 1, 2016 8:31:03 PM > Subject: Re: linux-next: build failure after merg

linux-next: build failure after merge of the rcu tree

2016-05-01 Thread Stephen Rothwell
Hi Paul, After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/kvm/vmx.c: In function 'vmx_init': arch/x86/kvm/vmx.c:11026:2: error: function '_r_a_p__v' is initialized like a variable rcu_assign_pointer(crash_vmclear_loaded_vmcss, ^ In file in

[PATCH 14/16] phy: exynos-mipi-video: Drop support for direct access to PMU

2016-05-01 Thread Kishon Vijay Abraham I
From: Sylwester Nawrocki There is no need to support access to the PMU through memory ioresource as now access through PMU regmap should only be used. Signed-off-by: Sylwester Nawrocki Signed-off-by: Marek Szyprowski Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-exynos-mipi-video

[PATCH 15/16] phy: exynos-mipi-video: Rewrite handling of phy registers

2016-05-01 Thread Kishon Vijay Abraham I
From: Marek Szyprowski Controlling Exynos MIPI DPHY is done by handling 2 registers: one for phy reset and one for enabling it. This patch moves definitions of those 2 registers to speparate exynos_mipi_phy_desc structure, which can be defined separately for each PHY for each supported hardware v

[PATCH 16/16] phy: exynos-mipi-video: Add support for Exynos 5420 and 5433 SoCs

2016-05-01 Thread Kishon Vijay Abraham I
From: Marek Szyprowski This patch adds support for MIPI DPHYs found in Exynos5420-compatible (5420, 5422 and 5800) and Exynos5433 SoCs. Those SoCs differs from earlier by different offset of MIPI DPHY registers in PMU controllers (Exynos 5420-compatible case) or by moving MIPI DPHY reset register

[PATCH 02/16] phy: rcar-gen3-usb2: add fallback binding

2016-05-01 Thread Kishon Vijay Abraham I
From: Simon Horman In the case of Renesas R-Car hardware we know that there are generations of SoCs, e.g. Gen 2 and Gen 3. But beyond that its not clear what the relationship between IP blocks might be. For example, I believe that r8a7790 is older than r8a7791 but that doesn't imply that the latt

[PATCH 10/16] dt-bindings: phy-mt65xx-usb: add support for mt2701 platform

2016-05-01 Thread Kishon Vijay Abraham I
From: Chunfeng Yun Add a new compatible string for "mt2701" Signed-off-by: Chunfeng Yun Reviewed-by: Matthias Brugger Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documen

[PATCH 11/16] phy: phy-mt65xx-usb3: add support for mt2701 platform

2016-05-01 Thread Kishon Vijay Abraham I
From: Chunfeng Yun Add a new OF device ID for mt2701 Some register settings to avoid RX sensitivity level degradation which may arise on mt8173 platform are separated from other platforms. Signed-off-by: Chunfeng Yun Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/Kconfig |

[PATCH 13/16] phy: bcm-ns-usb2: new driver for USB 2.0 PHY on Northstar

2016-05-01 Thread Kishon Vijay Abraham I
From: Rafał Miłecki Northstar is a family of SoCs used in home routers. They have USB 2.0 and 3.0 controllers with PHYs that need to be properly initialized. This driver provides PHY init support in a generic way and can be bound with an EHCI controller driver. There are (just a few) registers be

[PATCH 07/16] phy: rcar-gen3-usb2: remove unnecesary struct rcar_gen3_data

2016-05-01 Thread Kishon Vijay Abraham I
From: Yoshihiro Shimoda Since this driver uses the struct rcar_gen3_data in struct rcar_gen3_chan only, we can remove the rcar_gen3_data. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-rcar-gen3-usb2.c | 33 ++--- 1 fil

[PATCH 05/16] phy: Add support for NS2 SATA3 PHY in Broadcom SATA3 PHY driver

2016-05-01 Thread Kishon Vijay Abraham I
From: Anup Patel This patch adds support for Broadcom NS2 SATA3 PHY in existing Broadcom SATA3 PHY driver. Signed-off-by: Anup Patel Acked-by: Florian Fainelli Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/Kconfig | 19 ++-- drivers/phy/Makefile|2 +- drivers/ph

[PATCH 01/16] phy: rcar-gen2: add fallback binding

2016-05-01 Thread Kishon Vijay Abraham I
From: Simon Horman In the case of Renesas R-Car hardware we know that there are generations of SoCs, e.g. Gen 2 and Gen 3. But beyond that its not clear what the relationship between IP blocks might be. For example, I believe that r8a7790 is older than r8a7791 but that doesn't imply that the latt

[PATCH 12/16] phy: rockhip-usb: Remove CLK_IS_ROOT

2016-05-01 Thread Kishon Vijay Abraham I
From: Stephen Boyd This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Heiko Stuebner Signed-off-by: Stephen Boyd Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-rockchip-usb.c |2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 09/16] phy: rcar-gen3-usb2: add extcon support

2016-05-01 Thread Kishon Vijay Abraham I
From: Yoshihiro Shimoda This patch adds extcon support for otg related channel. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Chanwoo Choi Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/Kconfig |1 + drivers/phy/phy-rcar-gen3-usb2.c | 26 ++

[PATCH 08/16] phy: rcar-gen3-usb2: Add vbus-supply to handle VBUS on/off

2016-05-01 Thread Kishon Vijay Abraham I
From: Yoshihiro Shimoda To handle the VBUS on/off by a regulator driver, this patch adds regulator APIs calling in the driver and description about vbus-supply in the rcar-gen3-phy-usb2.txt. Signed-off-by: Yoshihiro Shimoda Acked-by: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- .../

[PATCH 06/16] dt-bindings: phy: bindings document for common Broadcom SATA3 PHY driver

2016-05-01 Thread Kishon Vijay Abraham I
From: Anup Patel This patch: 1. Renames DT bindings document of Broadcom STB SATA3 PHY driver to common Broadcom SATA3 PHY driver bindings document 2. Adds bindings info for NS2 SATA3 PHY Signed-off-by: Anup Patel Acked-by: Rob Herring Acked-by: Florian Fainelli Signed-off-by: Kishon Vijay Ab

[PATCH 03/16] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS

2016-05-01 Thread Kishon Vijay Abraham I
From: Simon Horman Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. A now redundant dependency on OF is also dropped. This is part of an ongoing process to migrate from ARCH_SHMOBILE to ARCH_RENESAS the motivation for which being that RENESAS seems to be a more appropriate name than SHMOBILE

[GIT PULL] phy: for 4.7

2016-05-01 Thread Kishon Vijay Abraham I
Hi Greg, Please find below the pull request for 4.7 merge window. It adds a new PHY driver for USB2 PHY on Northstar SoC and reuses existing PHY drivers to add support for Broadcom NS2 SATA3 PHY, MIPI DPHYs in Exynos542x/Exynos5433 SoCs and USB3 PHY on mt2701. Let me know if I have to change som

[PATCH 04/16] phy: Rename phy-brcmstb-sata driver to phy-brcm-sata driver

2016-05-01 Thread Kishon Vijay Abraham I
From: Anup Patel Currently, we have a common SATA3 PHY driver for all Broadcom STB SoCs. This driver can be extended and re-used for Broadcom iProc SoCs having same SATA3 PHY. This patch renames existing Broadcom STB SATA3 PHY driver to common Broadcom SATA3 PHY driver to share this PHY driver a

[PATCH mmotm] radix-tree: rewrite radix_tree_locate_item fix

2016-05-01 Thread Hugh Dickins
radix_tree_locate_item() is often returning the wrong index, causing swapoff of shmem to hang because it cannot find the swap entry there. __locate()'s use of base is bogus, it adds an offset twice into index. Signed-off-by: Hugh Dickins --- Fix to radix-tree-rewrite-radix_tree_locate_item.patch

Re: [PATCH 1/1] simplified security.nscapability xattr

2016-05-01 Thread Serge E. Hallyn
On Tue, Apr 26, 2016 at 03:39:54PM -0700, Kees Cook wrote: > On Tue, Apr 26, 2016 at 3:26 PM, Serge E. Hallyn wrote: > > Quoting Kees Cook (keesc...@chromium.org): > >> On Fri, Apr 22, 2016 at 10:26 AM, wrote: > >> > From: Serge Hallyn ... > >> This looks like userspace must knowingly be aware

Re: [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown

2016-05-01 Thread Pranay Srivastava
Hi, Can the following patch be reviewed? I'm working on some more changes on top of this change, so it'll be really helpful if someone can review this patch and let me know of shortcomings/issues with this. On Sat, Apr 30, 2016 at 11:49 AM, Pranay Kr. Srivastava wrote: > This patch fixes the wa

Re: [PATCH v7 7/7] MAINTAINERS: add maintainer entry for Intel USB dual role mux drivers

2016-05-01 Thread Lu Baolu
Hi, On 04/29/2016 02:26 PM, Lu Baolu wrote: > Add a maintainer entry for Intel USB dual role mux drivers and > add myself as a maintainer. > > Signed-off-by: Lu Baolu > --- > MAINTAINERS | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 1d5b4b

Re: [tip:sched/urgent] sched/cgroup: Fix/cleanup cgroup teardown/init

2016-05-01 Thread Greg Kroah-Hartman
On Thu, Apr 28, 2016 at 11:36:09PM +0200, Peter Zijlstra wrote: > On Thu, Apr 28, 2016 at 11:51:37AM -0700, Greg Kroah-Hartman wrote: > > On Thu, Apr 28, 2016 at 08:40:32PM +0200, Peter Zijlstra wrote: > > > > > > Greg, > > > > > > It looks like the below patch missed 4.5 and I'm starting to get

Fw: [rcu:rcu/next 41/41] arch/x86/kvm/vmx.c:11022:2: error: function '_r_a_p__v' is initialized like a variable

2016-05-01 Thread Paul E. McKenney
Like this sort of compiler bug, maybe. Compiles just fine on my laptop. Thoughts? Thanx, Paul - Forwarded message from kbuild test robot - Date: Mon, 2 May 2016 10:12:38 +0800 From: kbuild test robot Cc: kbuild-...@01.org, "Paul

[RFC rcu/next] torture: Stop onoff task if there is only one cpu

2016-05-01 Thread Boqun Feng
If the whole system has only one cpu, that cpu won't be able to be offlined, so there is no need onoff task is stil running. Signed-off-by: Boqun Feng --- I hit something like the following while I was running rcutorture in a guest with only one vCPU: [ 31.197457] rcu-torture:torture_onoff ta

Re: [PATCH] cpufreq: intel_pstate: Fix HWP on boot CPU after system resume

2016-05-01 Thread Viresh Kumar
On 02-05-16, 02:27, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit 41cfd64cf49fc "Update frequencies of policy->cpus only from > ->set_policy()" changed the way the intel_pstate driver's ->set_policy > callback updates the HWP (hardware-managed P-states) settings. > A side effect o

Re: [PATCH] usb: dwc3: usb/dwc3: fake dissconnect event when turn off pullup

2016-05-01 Thread John Youn
On 4/28/2016 11:12 PM, Felipe Balbi wrote: > > Hi, > > John Youn writes: >>> "Du, Changbin" writes: Hi, Balbi, The step to reproduce this issue is: 1) connect device to a host and wait its enumeration. 2) trigger software disconnect by calling function usb_gadg

Re: linux-next: build failure after merge of the vfs tree

2016-05-01 Thread Al Viro
On Mon, May 02, 2016 at 11:25:27AM +1000, Stephen Rothwell wrote: > Hi Al, > > After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > In file included from include/linux/notifier.h:13:0, > from include/linux/memory_hotplug.h:6, >

linux-next: build failure after merge of the vfs tree

2016-05-01 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/notifier.h:13:0, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:744, from include/linux/gf

Re: linux-next: manual merge of the vfs tree with the overlayfs tree

2016-05-01 Thread Al Viro
On Mon, May 02, 2016 at 02:08:39AM +0100, Al Viro wrote: > Should use lookup_one_len_unlocked(), actually. lookup_hash() is > a microoptimization, losing a lot more on excessive i_mutex contention. > Either variant works, though. PS: if anybody has a better name for lookup_one_len_unlocked(), I'

Re: linux-next: manual merge of the vfs tree with the overlayfs tree

2016-05-01 Thread Al Viro
On Mon, May 02, 2016 at 10:59:43AM +1000, Stephen Rothwell wrote: > Hi Al, > > Today's linux-next merge of the vfs tree got a conflict in: > > fs/overlayfs/super.c > > between commit: > > d478d6a8b8b7 ("ovl: ignore permissions on underlying lookup") > > from the overlayfs tree and commit:

Re: [RFC 1/5] powerpc: Rename context.vdso_base to context.vdso

2016-05-01 Thread Balbir Singh
On 29/04/16 01:18, Christopher Covington wrote: > In order to share remap and unmap support for the VDSO with other > architectures without duplicating the code, we need a common name and type > for the address of the VDSO. An informal survey of the architectures > indicates unsigned long vdso is

linux-next: manual merge of the vfs tree with the overlayfs tree

2016-05-01 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/overlayfs/super.c between commit: d478d6a8b8b7 ("ovl: ignore permissions on underlying lookup") from the overlayfs tree and commit: 5cf3e7fecb43 ("ovl_lookup_real(): use lookup_one_len_unlocked()") from the vfs tree.

Re: [PATCH] net/smscx5xx: use the device tree for mac address

2016-05-01 Thread David Miller
From: Lubomir Rintel Date: Fri, 29 Apr 2016 09:05:59 +0200 > From: Arnd Bergmann > > This takes the MAC address for smsc75xx/smsc95xx USB network devices > from a the device tree. This is required to get a usable persistent > address on the popular beagleboard, whose hardware designers > accide

[PATCH 1/2] platform/chrome: chromeos_laptop - Add elan trackpad option for C720

2016-05-01 Thread Benson Leung
Add the elan trackpad to the Acer C720 (peppy) list, as it is an alternate trackpad option. It may exist at i2c address 0x15. Based on this change from the chromeos kernel : https://chromium-review.googlesource.com/186253 Signed-off-by: Benson Leung --- drivers/platform/chrome/chromeos_laptop.c

[PATCH 2/2] platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf

2016-05-01 Thread Benson Leung
From: Charlie Mooney The upcoming Elan Wolf (Dell Chromebook 11) devices need to know to look for Elan touchpads on the i2c bus so that they will be functional. Based on the chromeos-kernel commit : https://chromium-review.googlesource.com/198283 Signed-off-by: Charlie Mooney Signed-off-by: Be

[PATCH 0/2] Add support for Elan touchpad varionts of Peppy and Wolf

2016-05-01 Thread Benson Leung
The chromeos-3.8 kernel has support for a second-sourced elan device for two Haswell based systems, Peppy and Wolf. Benson Leung (1): platform/chrome: chromeos_laptop - Add elan trackpad option for C720 Charlie Mooney (1): platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf driver

linux-next: manual merge of the vfs tree with Linus' tree

2016-05-01 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/nfs/dir.c between commit: 09cbfeaf1a5a ("mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros") from Linus' tree and commit: 586cf0326586 ("nfs: switch to ->iterate_shared()") 7d2dbb9faf05 ("fixups f

linux-next: manual merge of the vfs tree with Linus' tree

2016-05-01 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/ecryptfs/mmap.c between commit: 09cbfeaf1a5a ("mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros") from Linus' tree and commits: ce23e6401334 ("->getxattr(): pass dentry and inode as separate argume

linux-next: manual merge of the vfs tree with Linus' tree

2016-05-01 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/cifs/file.c between commit: 09cbfeaf1a5a ("mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros") from Linus' tree and commits: 71335664c38f ("cifs: don't bother with kmap on read_pages side") 7d2dbb

[PATCH] cpufreq: intel_pstate: Fix HWP on boot CPU after system resume

2016-05-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit 41cfd64cf49fc "Update frequencies of policy->cpus only from ->set_policy()" changed the way the intel_pstate driver's ->set_policy callback updates the HWP (hardware-managed P-states) settings. A side effect of it is that if those settings are modified on the boot C

Re: [PATCH net-next] net: dsa: mv88e6xxx: replace ds with ps where possible

2016-05-01 Thread David Miller
From: Vivien Didelot Date: Thu, 28 Apr 2016 21:24:06 -0400 > From: Andrew Lunn > > The dsa_switch structure ds is actually needed in very few places, > mostly during setup of the switch. The private structure ps is however > needed nearly everywhere. Pass ps, not ds internally. > > [vd: rebase

linux-next: manual merge of the powerpc tree with Linus' tree

2016-05-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in: arch/powerpc/kernel/prom.c between commits: beff82374b25 ("powerpc: Update cpu_user_features2 in scan_features()") 4705e02498d6 ("powerpc: Update TM user feature bits in scan_features()") from Linus' tree and commit:

Re: [PATCH net-next] of: of_mdio: Check if MDIO bus controller is available

2016-05-01 Thread David Miller
From: Florian Fainelli Date: Thu, 28 Apr 2016 14:55:10 -0700 > Add a check whether the 'struct device_node' pointer passed to > of_mdiobus_register() is an available (aka enabled) node in the Device > Tree. > > Rationale for doing this are cases where an Ethernet MAC provides a MDIO > bus contro

Re: [PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread William Breathitt Gray
On Sun, May 01, 2016 at 04:08:25PM -0700, James Bottomley wrote: >On Sun, 2016-05-01 at 17:57 -0400, William Breathitt Gray wrote: >> The 'bios_segment' member of a struct ultrastor_config is passed to the >> sprintf function with a respective %05X format identifier. The >> 'bio_segment' member is

Re: [PATCH 08/11] NFC: pn533: reduce output when stopping poll

2016-05-01 Thread Samuel Ortiz
Hi Michael, On Thu, Apr 21, 2016 at 04:43:56PM +0200, Michael Thalmeier wrote: > @@ -1259,7 +1259,8 @@ static int pn533_rf_complete(struct pn533 *dev, void > *arg, > if (IS_ERR(resp)) { > rc = PTR_ERR(resp); > > - nfc_err(dev->dev, "RF setting error %d\n", rc); >

Re: [PATCH 07/11] NFC: pn533: improve cmd queue handling

2016-05-01 Thread Samuel Ortiz
Hi Michael, On Thu, Apr 21, 2016 at 04:43:55PM +0200, Michael Thalmeier wrote: > Make sure cmd is set before a frame is passed to the transport layer for > sending. In addition pn533_send_async_complete checks if cmd is set before > accessing its members. > > Signed-off-by: Michael Thalmeier > -

Re: [PATCH 06/11] NFC: pn533: usb: fix errors when poll is stopped

2016-05-01 Thread Samuel Ortiz
Hi Michael, On Thu, Apr 21, 2016 at 04:43:54PM +0200, Michael Thalmeier wrote: > When a poll ist stopped we need to kill the out_urb request too before > starting a new request. > > Additionally check if cmd is set in pn533_recv_ack befor accessing its struct > members. I understand those 2 (stop

Re: [PATCH 09/11] NFC: pn533: use nfc_alloc_recv_skb for skb allocation

2016-05-01 Thread Samuel Ortiz
Hi Michael, On Thu, Apr 21, 2016 at 04:43:57PM +0200, Michael Thalmeier wrote: > When multiple receive frames need to be put together in pn533_build_response > we need to use nfc_alloc_recv_skb instead of the normal alloc_skb. Otherwise > the nfc core causes an skb error when it tries to push the

Linux 4.6-rc6

2016-05-01 Thread Linus Torvalds
Things continue to be fairly calm, although I'm pretty sure I'll still do an rc7 in this series. There's nothing particularly scary in here - there's a fix for a long-standing infiniband interface problem, but since you actually have to have the hardware for that, it's not like that is going to af

Re: [PATCH] drivers: net: xgene: constify xgene_cle_ops structure

2016-05-01 Thread Iyappan Subramanian
On Sun, May 1, 2016 at 5:36 AM, Julia Lawall wrote: > The xgene_cle_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/net/ethernet/apm/xgene/xgene_enet_cle.c |2 +- > drivers/net/ethernet/apm/xgen

Re: [PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread James Bottomley
On Sun, 2016-05-01 at 17:57 -0400, William Breathitt Gray wrote: > The 'bios_segment' member of a struct ultrastor_config is passed to the > sprintf function with a respective %05X format identifier. The > 'bio_segment' member is a kernel pointer, but the %X format identifier > expects an int data

Re: [RFC PATCH v1 15/18] x86: Enable memory encryption on the APs

2016-05-01 Thread Huang, Kai
On 4/27/2016 10:58 AM, Tom Lendacky wrote: Add support to set the memory encryption enable flag on the APs during realmode initialization. When an AP is started it checks this flag, and if set, enables memory encryption on its core. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/msr-in

[PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread William Breathitt Gray
The 'bios_segment' member of a struct ultrastor_config is passed to the sprintf function with a respective %05X format identifier. The 'bio_segment' member is a kernel pointer, but the %X format identifier expects an int data type. A cast to int is correctly used to satisfy the format identifier, b

[PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread William Breathitt Gray
The 'bios_segment' member of a struct ultrastor_config is passed to the sprintf function with a respective %05X format identifier. The 'bio_segment' member is a kernel pointer, but the %X format identifier expects an int data type. A cast to int is correctly used to satisfy the format identifier, b

[PATCH RESEND] isa: Decouple X86_32 dependency from the ISA Kconfig option

2016-05-01 Thread William Breathitt Gray
The introduction of the ISA_BUS option blocks the compilation of ISA drivers on non-x86 platforms. The ISA_BUS configuration option should not be necessary if the X86_32 dependency can be decoupled from the ISA configuration option. This patch both removes the ISA_BUS configuration option entirely

Re: [RESEND] nfc: Drop owner assignment from i2c_driver

2016-05-01 Thread Samuel Ortiz
Hi Krzysztof, On Wed, Mar 30, 2016 at 09:51:04AM +0900, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > > --- > > The coccinelle script which generated the patch was sent here: > http://

Re: [PATCH] nfc: pn533: Add device tree documentation for i2c phy

2016-05-01 Thread Samuel Ortiz
Hi Michael, On Mon, Apr 11, 2016 at 04:36:02PM +0200, Michael Thalmeier wrote: > Add pn533-i2c phy devicetree documentation > > Signed-off-by: Michael Thalmeier > --- > .../devicetree/bindings/net/nfc/pn533-i2c.txt | 31 > ++ > 1 file changed, 31 insertions(+) > creat

  1   2   3   >