Re: [PATCH v3 2/9] net: arc_emac: add phy reset is optional for device tree

2016-03-19 Thread Sergei Shtylyov
Hello. On 3/14/2016 11:01 AM, Caesar Wang wrote: This patch adds the following property for arc_emac. 1) phy-reset-gpios: The phy-reset-gpio is an optional property for arc emac device tree boot. Change the binding document to match the driver code. 2) phy-reset-duration: Different boards may

Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB

2016-03-19 Thread Sebastian Frias
Hi Uwe, Daniel, On 03/18/2016 01:54 PM, Uwe Kleine-König wrote: > [expand cc a bit more] > > Hello, > > On Wed, Mar 16, 2016 at 06:25:59PM +0100, Sebastian Frias wrote: >> Commit 687908c2b649 ("net: phy: at803x: simplify using >> devm_gpiod_get_optional and its 4th argument") introduced a depend

Re: [PATCH 3/3] ARM: at91/dt: sama5d2: add chipid node

2016-03-19 Thread Alexandre Belloni
On 18/03/2016 at 08:21:21 +0100, Ludovic Desroches wrote : > Add node for chipid device in order to have access to the CIDR and EXID > values. > > Signed-off-by: Ludovic Desroches Acked-by: Alexandre Belloni > --- > arch/arm/boot/dts/sama5d2.dtsi | 5 + > 1 file changed, 5 insertions(+) >

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-19 Thread Boris Brezillon
On Fri, 18 Mar 2016 11:25:48 + Robin Murphy wrote: > On 18/03/16 09:30, Boris Brezillon wrote: > > On Thu, 17 Mar 2016 23:50:20 + > > Russell King - ARM Linux wrote: > > > >> On Thu, Mar 17, 2016 at 07:17:24PM -0400, ok...@codeaurora.org wrote: > >>> What is the correct way? I don't want

Re: [PATCH 2/5] ARM: davinci: da8xx: add usb phy clocks

2016-03-19 Thread Sergei Shtylyov
Hello. On 3/16/2016 1:37 AM, David Lechner wrote: Up to this point, the USB phy clock configuration was handled manually in the board files and in the usb drivers. This adds proper clocks so that the usb drivers can use clk_get and clk_enable and not have to worry about the details. Also, the r

mmotm 2016-03-17-15-04 uploaded

2016-03-19 Thread akpm
The mm-of-the-moment snapshot 2016-03-17-15-04 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH v4 05/14] i2c-octeon: Enable high-level controller and improve on bus contention

2016-03-19 Thread Jan Glauber
From: David Daney Use High Level Controller when possible. i2c-octeon was reacting badly to bus contention: when in direct-access mode (for transfers > 8 bytes, which cannot use the high-level controller) some !ACK or arbitration-loss states were not causing the current transfer to be aborted, a

Re: [PATCH v2] firmware: qemu_fw_cfg.c: hold ACPI global lock during device access

2016-03-19 Thread Gabriel L. Somlo
On Wed, Mar 16, 2016 at 06:57:01PM +0200, Michael S. Tsirkin wrote: > On Tue, Mar 08, 2016 at 01:30:50PM -0500, Gabriel Somlo wrote: > > Allowing for the future possibility of implementing AML-based > > (i.e., firmware-triggered) access to the QEMU fw_cfg device, > > acquire the global ACPI lock wh

Re: [PATCH] rtlwifi: btcoexist: Convert BTC_PRINTK to btc__dbg

2016-03-19 Thread Kalle Valo
Joe Perches writes: > On Thu, 2016-03-17 at 21:54 -0500, Larry Finger wrote: >> On 03/17/2016 07:00 PM, Joe Perches wrote: >> > Use a more common logging style. > > [ 300K+ quote without comment ] Yeah, please try to avoid that. For example this makes the patchwork page for the patch really hard

Re: [PATCH RFC] block: fix bio merge checks when virt_boundary is set

2016-03-19 Thread Ming Lei
On Tue, Mar 15, 2016 at 11:17 PM, Vitaly Kuznetsov wrote: > Hyper-V storage driver, which switched to using virt_boundary some time > ago, experiences significant slowdown on non-page-aligned IO. E.g. > > With virt_boundary set: > # time mkfs.ntfs -Q -s 512 /dev/sdc1 > ... > real 0m9.406s >

Re: [PATCH] sched: Add preempt checks in preempt_schedule() code

2016-03-19 Thread Boqun Feng
On Sat, Mar 19, 2016 at 12:10:30PM +0800, Boqun Feng wrote: > Hi Steven, > > On Fri, Mar 18, 2016 at 01:06:02PM -0400, Steven Rostedt wrote: > > While testing the tracer preemptoff, I hit this strange trace: > > > > # cmd pid | time | caller > > # \ / | \|

[tip:x86/urgent] x86/topology: Fix Intel HT disable

2016-03-19 Thread tip-bot for Peter Zijlstra
Commit-ID: 63d1e995be455ae9196270eb4b789de21afd42ed Gitweb: http://git.kernel.org/tip/63d1e995be455ae9196270eb4b789de21afd42ed Author: Peter Zijlstra AuthorDate: Fri, 18 Mar 2016 16:03:48 +0100 Committer: Thomas Gleixner CommitDate: Sat, 19 Mar 2016 10:26:40 +0100 x86/topology: Fix Int

[tip:x86/urgent] x86/topology: Fix logical package mapping

2016-03-19 Thread tip-bot for Peter Zijlstra
Commit-ID: b5d5f27d938fb6fc8d3202704e699d2694a02da6 Gitweb: http://git.kernel.org/tip/b5d5f27d938fb6fc8d3202704e699d2694a02da6 Author: Peter Zijlstra AuthorDate: Fri, 18 Mar 2016 16:03:46 +0100 Committer: Thomas Gleixner CommitDate: Sat, 19 Mar 2016 10:26:40 +0100 x86/topology: Fix log

Re: [RFC v2 -next 0/2] virtio-net: Advised MTU feature

2016-03-19 Thread Aaron Conole
Pankaj Gupta writes: >> >> The following series adds the ability for a hypervisor to set an MTU on the >> guest during feature negotiation phase. This is useful for VM orchestration >> when, for instance, tunneling is involved and the MTU of the various systems >> should be homogenous. >> >> Th

Re: [PATCH v15 1/6] efi: ARM/arm64: ignore DT memory nodes instead of removing them

2016-03-19 Thread Matt Fleming
On Tue, 08 Mar, at 03:59:42PM, David Daney wrote: > From: Ard Biesheuvel > > There are two problems with the UEFI stub DT memory node removal > routine: > - it deletes nodes as it traverses the tree, which happens to work > but is not supported, as deletion invalidates the node iterator; > - de

Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc driver

2016-03-19 Thread Rob Herring
On Sat, Mar 05, 2016 at 11:38:48PM +0100, Paul Cercueil wrote: > Signed-off-by: Paul Cercueil > --- > .../devicetree/bindings/rtc/ingenic,jz4740-rtc.txt | 38 > ++ > 1 file changed, 38 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/rtc/ingenic,jz4740

[PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-19 Thread Jiancheng Xue
Add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Reviewed-by: Ezequiel Garcia --- change log v9: Fixed issues pointed by Jagan Teki. v8: Fixed issues pointed by Ezequiel Garcia and Brian Norris. Moved dts binding file

[PATCH 6/8] lib/mpi: mpi_read_buffer(): optimize skipping of leading zero limbs

2016-03-19 Thread Nicolai Stange
Currently, if the number of leading zeros is greater than fits into a complete limb, mpi_read_buffer() skips them by iterating over them limb-wise. Instead of skipping the high order zero limbs within the loop as shown above, adjust the copying loop's bounds. Signed-off-by: Nicolai Stange --- l

Re: [GIT PULL] f2fs updates for v4.6

2016-03-19 Thread Linus Torvalds
On Thu, Mar 17, 2016 at 5:58 PM, Jaegeuk Kim wrote: > > Note that, I did cherry-pick one patch and add another patch to resolve the > conflict against recent crypto changes. *please* don't do things like this! Now I have a conflict _anyway_, and because you added extra commits it ends up being j

Re: [RFC PATCH 1/4] usb: chipidea: Do not rely on OTG while using extcon

2016-03-19 Thread Chanwoo Choi
Hi Sanchayan, I recommend that you use the unique id (ex. EXTCON_USB, EXTCON_USB_HOST) when getting/setting the state of external connector with extcon functions - extcon_get_cable_state() is deprecated -> extcon_get_cable_state_() - extcon_set_cable_state() is deprecated -> extcon_set_cable_state

Re: [PATCH 0/2] ARM: uniphier: UniPhier updates for Linux 4.6-rc1 (2nd round)

2016-03-19 Thread Arnd Bergmann
On Tuesday 15 March 2016 11:01:00 Masahiro Yamada wrote: > Olof, Arnd, > > > I sent my patches around -rc4 and > took action soon as requested. > > But, my series is still not applied due to the long silence on your side. > > Please respond! Sorry for all the delays, we screwed this one up, an

[PATCH 3/3] ARM: at91/dt: sama5d2: add chipid node

2016-03-19 Thread Ludovic Desroches
Add node for chipid device in order to have access to the CIDR and EXID values. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/sama5d2.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index 78996bd..173e3d7 1006

[PATCH 2/2] trace: Record and show NMI state

2016-03-19 Thread Peter Zijlstra
The latency tracer format has a nice column to indicate IRQ state, but this is not able to tell us about NMI state. When tracing perf interrupt handlers (which often run in NMI context) it is very useful to see how the events nest. Signed-off-by: Peter Zijlstra (Intel) --- kernel/trace/trace.c

Re: [PATCH v3 06/22] media: Media Controller enable/disable source handler API

2016-03-19 Thread Sakari Ailus
Hi Shuah, I see that the patches have been merged to media-tree.git master and subsequently a pull request has been sent to Linus including them, but the remaining issues still need to be fixed. Some matters should be discussed further on the list. On Mon, Mar 14, 2016 at 09:22:12AM -0600, Shuah

[PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-19 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Thomas Gleixner
On Fri, 18 Mar 2016, Mike Galbraith wrote: > On Thu, 2016-03-17 at 10:52 +0100, Peter Zijlstra wrote: > > > Andreas; Borislav said to Cc you since you wrote all this. > > The issue is that Linux assumes: > > > > > nr_logical_cpus = nr_cores * nr_siblings > > It also seems to now assume that

Re: [ovs-dev] [PATCH] openvswitch: call only into reachable nf-nat code

2016-03-19 Thread Joe Stringer
On 17 March 2016 at 01:47, Arnd Bergmann wrote: > The openvswitch code has gained support for calling into the > nf-nat-ipv4/ipv6 modules, however those can be loadable modules > in a configuration in which openvswitch is built-in, leading > to link errors: > > net/built-in.o: In function `__ovs_c

[PATCH v4 11/13] ARM: dts: sun8i: enable mmc for H8Homlet Board.

2016-03-19 Thread Vishnu Patekar
This enables mmc0. Signed-off-by: Vishnu Patekar Tested-by: LABBE Corentin --- arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts b/arch/arm/boot/dts/sun8i-a83t-allwinner

Re: [PATCH v2 3/3] phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses.

2016-03-19 Thread Andreas Färber
Hi, Am 11.03.2016 um 18:53 schrieb David Daney: > diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig > index 40faec9..075a4cc 100644 > --- a/drivers/net/phy/Kconfig > +++ b/drivers/net/phy/Kconfig > @@ -196,6 +196,17 @@ config MDIO_OCTEON > buses. It is required by the Octeon a

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Mike Galbraith
On Fri, 2016-03-18 at 11:15 +0100, Peter Zijlstra wrote: > On Fri, Mar 18, 2016 at 05:11:54AM +0100, Mike Galbraith wrote: > > On Thu, 2016-03-17 at 10:52 +0100, Peter Zijlstra wrote: > > > > > Andreas; Borislav said to Cc you since you wrote all this. > > > The issue is that Linux assumes: > > >

[PATCH 3.19.y-ckt 07/70] iwlwifi: mvm: inc pending frames counter also when txing non-sta

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Liad Kaufman commit fb896c44f88a75843a072cd6961b1615732f7811 upstream. Until this patch, when TXing non-sta the pending_frames counter

[PATCH v6 2/5] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time.

2016-03-19 Thread Zhu Guihua
From: Gu Zheng [Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed, which means, cpuid <-> nodeid

[PATCH v2 07/11] ARM: davinci: da8xx: Add USB PHY platform declaration

2016-03-19 Thread David Lechner
There is now a proper phy driver for the DA8XX SoC USB PHY. This adds the platform device declarations needed to use it. Signed-off-by: David Lechner --- v2 changes: This is new patch in v2. arch/arm/mach-davinci/include/mach/da8xx.h | 1 + arch/arm/mach-davinci/usb.c| 24 +++

Re: [PATCH] gpu/drm: Use u64_to_user_pointer

2016-03-19 Thread kbuild test robot
-u64_to_user_pointer/20160319-012749 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: mips-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-19 Thread Chris Mason
On Thu, Mar 17, 2016 at 10:47:29AM -0700, Linus Torvalds wrote: > On Wed, Mar 16, 2016 at 10:18 PM, Gregory Farnum wrote: > > > > So we've not asked for NO_HIDE_STALE on the mailing lists, but I think > > it was one of the problems Sage had using xfs in his BlueStore > > implementation and was a b

[PATCH 3.19.y-ckt 08/70] [media] adv7604: fix tx 5v detect regression

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hans Verkuil commit 0ba4581c84cfb39fd527f6b3457f1c97f6356c04 upstream. The 5 volt detect functionality broke in 3.14: the code reads I

Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

2016-03-19 Thread Guenter Roeck
On 03/16/2016 03:17 PM, Qais Yousef wrote: On 16/03/2016 20:27, Qais Yousef wrote: On 16/03/2016 13:22, Guenter Roeck wrote: On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote: On Tue, Mar 15, 2016 at 09:55:06PM +, Qais Yousef wrote: Hi Guenter, [ ... ] Qemu test results:

[PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-19 Thread Rajesh Bhagat
We are facing issue while performing the system resume operation from STR where XHCI is going to indefinite hang/sleep state due to wait_for_completion API called in function xhci_alloc_dev for command TRB_ENABLE_SLOT which never completes. Now, xhci_handle_command_timeout function is called and p

Re: [STLinux Kernel] [PATCH v5 7/7] ARM: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory

2016-03-19 Thread Lee Jones
On Wed, 16 Mar 2016, Peter Griffin wrote: > Hi Lee, > > On Tue, 12 Jan 2016, Lee Jones wrote: > > > Doing so saves quite a bit of code in the driver. > > > > For more information on the 'reserved-memory' bindings see: > > > > Documentation/devicetree/bindings/reserved-memory/reserved-memory.

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-19 Thread Chalamarla, Tirumalesh
On 3/16/16, 2:32 AM, "linux-arm-kernel on behalf of Ganesh Mahendran" wrote: >Reverts commit 97303480753e ("arm64: Increase the max granular size"). > >The commit 97303480753e ("arm64: Increase the max granular size") will >degrade system performente in some cpus. > >We test wifi network th

Re: [PATCH] mm: Export symbols unmapped_area() & unmapped_area_topdown()

2016-03-19 Thread Jerome Glisse
On Wed, Mar 16, 2016 at 05:10:34PM +, Olu Ogunbowale wrote: > From: Olujide Ogunbowale > > Export the memory management functions, unmapped_area() & > unmapped_area_topdown(), as GPL symbols; this allows the kernel to > better support process address space mirroring on both CPU and device > f

Re: RFC on fixing mutex spinning on owner

2016-03-19 Thread Joel Fernandes
On Wed, Mar 16, 2016 at 7:17 PM, Steven Rostedt wrote: > > On Wed, 16 Mar 2016 16:38:56 -0700 > Joel Fernandes wrote: > > > I am not sure if the problem is with the i915 driver, because the > > mutex spin on owner stuff is mutex related so the mutex design may > > potentially need a tweak (I ment

[PATCH 3.19.y-ckt 13/70] usb: chipidea: otg: change workqueue ci_otg as freezable

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Chen commit d144dfea8af7108f613139623e63952ed7e69c0c upstream. If we use USB ID pin as wakeup source, and there is a USB block d

[PATCH 3.19.y-ckt 22/70] ALSA: ctl: Fix ioctls for X32 ABI

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 6236d8bb2afcfe71b88ecea554e0dc638090a45f upstream. The X32 ABI takes the same alignment like x86-64, and this may

[tip:x86/urgent] x86/topology: Use total_cpus not nr_cpu_ids for logical packages

2016-03-19 Thread tip-bot for Thomas Gleixner
Commit-ID: 3e8db2246b434c6b18a6a9f09904038bddcf76c7 Gitweb: http://git.kernel.org/tip/3e8db2246b434c6b18a6a9f09904038bddcf76c7 Author: Thomas Gleixner AuthorDate: Fri, 18 Mar 2016 17:20:30 +0100 Committer: Thomas Gleixner CommitDate: Sat, 19 Mar 2016 10:26:40 +0100 x86/topology: Use to

[PATCH v4 09/13] ARM: dts: sun8i-a83t: Add RSB controller device node to dtsi

2016-03-19 Thread Vishnu Patekar
This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A83T dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 21 +

[PATCH v4 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-19 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe Ba

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

2016-03-19 Thread Doug Ledford
On 3/16/2016 2:49 AM, Herbert Xu wrote: > On Wed, Mar 16, 2016 at 12:15:38PM +1100, Stephen Rothwell wrote: >> Hi Doug, >> >> After merging the rdma tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> In file included from drivers/infiniband/hw/i40iw/i40iw.h:57:0, >>

[PATCH] selftests/seccomp: add MIPS self-test support

2016-03-19 Thread Matt Redfearn
This adds self-test support on MIPS, based on RFC patch from Kees Cook. Modifications from the RFC: - support the O32 syscall which passes the real syscall number in a0. - Use PTRACE_{GET,SET}REGS - Because SYSCALL_NUM and SYSCALL_RET are the same register, it is not possible to test modifying th

Re: [PATCH RFC] block: fix bio merge checks when virt_boundary is set

2016-03-19 Thread Keith Busch
On Thu, Mar 17, 2016 at 12:20:28PM +0100, Vitaly Kuznetsov wrote: > Keith Busch writes: > > been combined. In any case, I think you can get what you're after just > > by moving the gap check after BIOVEC_PHYS_MERGABLE. Does the following > > look ok to you? > > > > Thanks, it does. Cool, thanks

[PATCH v2 02/11] ARM: davinci: add set_parent callback for mux clocks

2016-03-19 Thread David Lechner
Introduce a set_parent callback that will be used for mux clocks, such as the USB PHY muxes and the async3 clock domain mux. Signed-off-by: David Lechner --- v2 changes: This is a new patch in v2. arch/arm/mach-davinci/clock.c | 17 - arch/arm/mach-davinci/clock.h | 1 + 2 fi

[PATCH v2 1/9] drm: atmel-hlcdc: add a ->cleanup_fb() operation

2016-03-19 Thread Boris Brezillon
Add a ->cleanup_fb() operation to avoid memory leaks when the atomic operation is interrupted after the ->prepare_fb() call. Signed-off-by: Boris Brezillon Fixes 2389fc1 ("drm: atmel-hlcdc: Atomic mode-setting conversion") Reviewed-by: Nicolas Ferre Tested-by: Nicolas Ferre --- drivers/gpu/drm

[GIT PULL] trivial for 4.6

2016-03-19 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git for-linus to receive trivial tree updates for 4.6 merge window. Bogdan Sikora (1): lib+mm: fix few spelling mistakes Fengguang Wu (1)

[PATCH v2 9/9] efifb: enable the efi-framebuffer platform driver for ARM and arm64

2016-03-19 Thread Ard Biesheuvel
Allows the efifb driver to be built for ARM and arm64. This simply involves updating the Kconfig dependency expression, and supplying dummy versions of efifb_setup_from_dmi(). Signed-off-by: Ard Biesheuvel --- arch/arm/include/asm/efi.h | 4 arch/arm64/include/asm/efi.h | 4 drivers/

Re: [PATCH] MIPS: Fix broken malta qemu

2016-03-19 Thread Guenter Roeck
On Thu, Mar 17, 2016 at 09:08:09PM +, Qais Yousef wrote: > Malta defconfig compiles with GIC on. Hence when compiling for SMP it causes > the > new IPI code to be activated. But on qemu malta there's no GIC causing a > BUG_ON(!ipidomain) to be hit in mips_smp_ipi_init(). > > Since in that con

[PATCH] crypto: marvell/cesa - forward devm_ioremap_resource() error code

2016-03-19 Thread Boris Brezillon
Forward devm_ioremap_resource() error code instead of returning -ENOMEM. Signed-off-by: Boris Brezillon Reported-by: Russell King - ARM Linux Fixes: f63601fd616a ("crypto: marvell/cesa - add a new driver for Marvell's CESA") Cc: # 4.2+ --- drivers/crypto/marvell/cesa.c | 2 +- 1 file changed,

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-19 Thread Stefan Wahren
Hi, > Eric Anholt hat am 19. März 2016 um 03:17 geschrieben: > > > Stefan Wahren writes: > > > Hi Eric, > > hi Martin, > > > >> John Youn hat am 16. März 2016 um 19:28 > >> geschrieben: > >> > >> > >> On 3/10/2016 11:14 AM, John Youn wrote: > >> > On 3/9/2016 11:06 AM, Doug Anderson wrote: > >>

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-19 Thread Stefan Wahren
Hi, > Martin Sperl hat am 19. März 2016 um 08:44 > geschrieben: > > > > > On 19.03.2016, at 03:17, Eric Anholt wrote: > > > > Stefan Wahren writes: > > > >> Hi Eric, > >> hi Martin, > >> > >>> John Youn hat am 16. März 2016 um 19:28 > >>> geschrieben: > >>> > >>> > >>> On 3/10/2016 11:14 AM, J

Re: [PATCH 0/3] KVM: VMX: fix handling inv{ept,vpid} and nested RHEL6 KVM

2016-03-19 Thread Paolo Bonzini
On 18/03/2016 19:04, David Matlack wrote: > > the tests would effectively DoS the host. > > How does this DoS the host? The guest is stuck executing the same > instruction over and over, but it's exiting to KVM every time, > allowing KVM to reschedule the VCPU. I would agree it DoSes the guest.

[PATCH] Bluetooth: vhci, fix open_timeout vs. hdev race

2016-03-19 Thread Jiri Slaby
Both vhci_get_user and vhci_release race with open_timeout work. They both contain cancel_delayed_work_sync, but do not test whether the work actually created hdev or not. Since the work can be in progress and _sync will wait for finishing it, we can have data->hdev allocated when cancel_delayed_wo

Re: [PATCH v3] tty: serial: 8250: add MOXA Smartio MUE boards support

2016-03-19 Thread Mathieu OTHACEHE
Hi, Sorry about late reply. No I haven't planned to do it soon. Your board is supported by mxser driver (drivers/tty/mxser.c). I think it would be nice to move everything from mxser.c to 8250_moxa.c. The problem is mxser supports ISA and PCI boards and I don't have the hardware to test it. Ma

Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB

2016-03-19 Thread Måns Rullgård
Mason writes: > On 18/03/2016 21:11, Uwe Kleine-König wrote: > >> Hello, >> >> On Fri, Mar 18, 2016 at 08:31:20PM +0100, Mason wrote: >> >>> On 18/03/2016 20:12, Uwe Kleine-König wrote: >>> On Fri, Mar 18, 2016 at 04:56:21PM +0100, Sebastian Frias wrote: > What would you think of m

Re: [PATCH 1/3] drm: introduce drm_connector_plug_all() helper

2016-03-19 Thread Daniel Vetter
On Fri, Mar 18, 2016 at 09:58:49PM +, Alexey Brodkin wrote: > Hi Daniel, > > On Fri, 2016-03-18 at 19:06 +0100, Daniel Vetter wrote: > > On Fri, Mar 18, 2016 at 01:01:42PM +0300, Alexey Brodkin wrote: > > > > > > As a pair to already existing drm_connector_unplug_all() we're adding > > > gene

[PATCH v2] Bluetooth: vhci, fix open_timeout vs. hdev race

2016-03-19 Thread Jiri Slaby
Both vhci_get_user and vhci_release race with open_timeout work. They both contain cancel_delayed_work_sync, but do not test whether the work actually created hdev or not. Since the work can be in progress and _sync will wait for finishing it, we can have data->hdev allocated when cancel_delayed_wo

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-19 Thread Martin Sperl
> On 19.03.2016, at 10:52, Stefan Wahren wrote: > > Hi, > >> Martin Sperl hat am 19. März 2016 um 08:44 >> geschrieben: >> >> >> >>> On 19.03.2016, at 03:17, Eric Anholt wrote: >>> >>> Stefan Wahren writes: >>> Hi Eric, hi Martin, > John Youn hat am 16. März 2016 um

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Ivaylo Dimitrov
Hi, On 18.03.2016 17:04, Sebastian Reichel wrote: Hi, On Fri, Mar 18, 2016 at 03:45:26PM +0200, Ivaylo Dimitrov wrote: On 18.03.2016 15:36, Sebastian Reichel wrote: Regulator is V28_A, which is always-on, so it is enabled no matter what probe does. Anyway, I added a various delays after regu

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-19 Thread Tilman Schmidt
Am 07.03.2016 um 07:57 schrieb Holger Schurig: > I know that in Germany a good amount of land-line telephone line are > still using ISDN. [...] > Especially company line are using ISDN still, and there are some Linux > programs that act on then, e.g. Asterisk and derived PBX software has > ISDN sup

[PATCH] blk-mq: Use proper cpumask iterator

2016-03-19 Thread Thomas Gleixner
queue_for_each_ctx() iterates over per_cpu variables under the assumption that the possible cpu mask cannot have holes. That's wrong as all cpumasks can have holes. In case there are holes the iteration ends up accessing uninitialized memory and crashing as a result. Replace the macro by a proper

Re: [PATCH] sound/usb: fix to release stream resources from media_snd_device_delete()

2016-03-19 Thread Mauro Carvalho Chehab
Em Fri, 18 Mar 2016 23:57:08 -0300 Mauro Carvalho Chehab escreveu: > Em Fri, 18 Mar 2016 20:50:31 -0600 > Shuah Khan escreveu: > > > Fix to release stream resources from media_snd_device_delete() before > > media device is unregistered. Without this change, stream resource free > > is attempted

[PATCH v3 0/3] IB/hns: Add HiSilicon RoCE driver

2016-03-19 Thread Lijun Ou
The HiSilicon Network Substem is a long term evolution IP which is supposed to be used in HiSilicon ICT SoC. RoCE is a feature of hns. The driver for HiSilicon RoCE engine is a platform driver. The driver will support mulitple versions of hns. Currently only "v1" for hip06 SoC is supported. Change

[PATCH v3 1/3] net: hns: Add reset function support for RoCE driver

2016-03-19 Thread Lijun Ou
It added reset function for RoCE driver. RoCE is a feature of hns. In hip06 SoC, in RoCE reset process, it's needed to configure dsaf channel reset, port and sl map info. Reset function of RoCE is located in dsaf module, we only call it in RoCE driver when needed. Signed-off-by: Lijun Ou Signed-o

[PATCH 3.19.y-ckt 11/70] Adding Intel Lewisburg device IDs for SATA

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit f5bdd66c705484b4bc77eb914be15c1b7881fae7 upstream. This patch complements the list of device IDs previously add

[PATCH v5 2/6] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-19 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-us

[PATCH 1/2] mcb: Correctly initialize the bus's device

2016-03-19 Thread Johannes Thumshirn
The mcb bus' device member wasn't correctly initialized and thus wasn't placed correctly into the driver model. Signed-off-by: Johannes Thumshirn Tested-by: Andreas Werner --- drivers/mcb/mcb-core.c | 20 +--- include/linux/mcb.h| 5 ++--- 2 files changed, 19 insertions(+),

Re: [RESEND PATCH v4 0/5] acpi, clocksource: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Daniel Lezcano
On 03/18/2016 09:00 AM, fu@linaro.org wrote: From: Fu Wei This patchset: (1)Move some enums and marcos to header file for arm_arch_timer, improve the pr_* code by defining "pr_fmt(fmt)" in arm_arch_timer.c (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all kin

[PATCH v4 03/14] i2c-octeon: Change adapter timeout and retry default values

2016-03-19 Thread Jan Glauber
Convert the adapter timeout to 2 ms instead of a fixed number of jiffies and set retries to 10. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-octeon.c b/drivers/i2c/busses/i2c-octeon.c i

[PATCH v4 11/14] i2c-octeon: Rename driver to prepare for split

2016-03-19 Thread Jan Glauber
This is just an intermediate commit in preparation of the driver split. The module rename in this commit will be reverted in the next patch, this is just done to make the series bisectible. Signed-off-by: Jan Glauber --- drivers/i2c/busses/Makefile |2 +- drivers/i2c/busses/i2c-octe

[PATCH v2 1/6] x86/mm/pat: Change PAT to support non-default PAT MSR

2016-03-19 Thread Toshi Kani
In preparation to fix a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to support a case that PAT MSR is initialized with a non-default value. When pat_init() is called in PAT disable state, it initializes PAT table with the BIOS default value

Re: [PATCH 02/23] ARM: dts: n950: add display support

2016-03-19 Thread Sebastian Reichel
Hi Laurent, On Thu, Mar 17, 2016 at 02:14:26PM +0200, Laurent Pinchart wrote: > [...] > > + > > + /* panel is 480x464 with top and bottom 5 lines not visible */ > > I assume you mean 480x864 ? Yes, nice catch. Basically the screen is 480x864, but only 480x854 are visible. > > +

Re: [PATCH v2 1/5] perf config: Introduce perf_config_set class

2016-03-19 Thread Namhyung Kim
Hi Taeung, On Mon, Mar 14, 2016 at 09:16:05PM +0900, Taeung Song wrote: > This infrastructure code was designed for > upcoming features of perf-config. > > That collect config key-value pairs from user and > system config files (i.e. user wide ~/.perfconfig > and system wide $(sysconfdir)/perfcon

[PATCH v4 5/7] cpufreq: Move governor symbols to cpufreq.h

2016-03-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move definitions of symbols related to transition latency and sampling rate to include/linux/cpufreq.h so they can be used by (future) goverernors located outside of drivers/cpufreq/. No functional changes. Signed-off-by: Rafael J. Wysocki --- New patch. --- drivers/

Re: [v3,1/8] powerpc: Create a helper for getting the kernel toc value

2016-03-19 Thread Torsten Duwe
On Thu, Mar 17, 2016 at 10:58:42AM +1100, Balbir Singh wrote: > > To be honest I think my v6 works well, but I don't have complete confidence > due to the lack of proper testing. livepatch samples plus some others I wrote > and I one Petr wrote all work (calling patched from within patched), I ha

Re: [PATCH] MAINTAINERS: pinctrl: samsung: Add two new maintainers

2016-03-19 Thread Linus Walleij
On Wed, Mar 16, 2016 at 1:02 AM, Krzysztof Kozlowski wrote: > Extend the list of maintainers for Samsung pinctrl driver with Sylwester > and Krzysztof. > > Cc: Tomasz Figa > Cc: Kukjin Kim > Cc: Sylwester Nawrocki > Cc: Marek Szyprowski > Cc: Linus Walleij > Signed-off-by: Krzysztof Kozlowsk

[RFC PATCH linux-next] ovs: internal_set_rx_headroom() can be static

2016-03-19 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- vport-internal_dev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 83a5534..7c8b90b 100644 --- a/net/openvswitch/vport-internal_dev.c +++ b/net/openvswitch/

[RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node

2016-03-19 Thread Ludovic Desroches
From: Cyrille Pitchen This SFR node is looked up by the I2S controller driver to tune the SFR_I2SCLKSEL register. Signed-off-by: Cyrille Pitchen Signed-off-by: Ludovic Desroches --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +- arch/arm/boot/dts/sama5d2.dtsi

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Stefan Berger
On 03/16/2016 08:09 AM, Jarkko Sakkinen wrote: On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: This patch implements a proxy driver for supporting multiple emulated TPMs in a system. The driver implements a device /dev/vtpmx that is used to created a client device pair /dev/tpmX

[PATCH v3] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in Skylak

[PATCH 1/3] x86/topology: Fix logical pkg mapping

2016-03-19 Thread Peter Zijlstra
That first branch testing pkg against __max_logical_packages is wrong, because if the first pkg id is larger, then the find_first_zero will find us logical package id 0. However, if the second pkg id is indeed 0, we'll again claim it without testing if it was already taken. Also, it fails to print

[RFC PATCH 1/4] PCI: Provide generic ECAM mapping functions

2016-03-19 Thread Jayachandran C
Add config option PCI_GENERIC_ECAM and file drivers/pci/ecam.c to provide generic functions to access memory mapped PCI config space. The API defines 'struct pci_config_window' to hold the mappings. The function pci_generic_map_config() is provided to allocate the struct, request the memory region

Re: [PATCH 1/2] misc: add nirtfeatures driver

2016-03-19 Thread Kyle Roeschley
Hi Lee, On Wed, Mar 16, 2016 at 07:48:24AM +, Lee Jones wrote: > Is there any reason why the functionality can't be split up into > different source files? Create an LED driver, a Switch (whatever that > is) driver and a Watchdog driver, place them in drivers/{appropriate}, > then register fr

Re: [PATCH 4.4 00/50] 4.4.6-stable review

2016-03-19 Thread Greg Kroah-Hartman
On Mon, Mar 14, 2016 at 07:34:25PM -0700, Guenter Roeck wrote: > On 03/14/2016 10:50 AM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 4.4.6 release. > >There are 50 patches in this series, all will be posted as a response > >to this one. If anyone has any issue

linux-next: Crash in arm_pmu_device_probe() due to 'drivers/perf: arm_pmu: make info messages more verbose'

2016-03-19 Thread Guenter Roeck
Hi, I am seeing the attached crash when running a realview-pb-a8 image with realview_defconfig in qemu. bisect wasn't successful, but a commit analysis identified commit 'drivers/perf: arm_pmu: make info messages more verbose' as the culprit. Reverting this commit fixes the problem. The code r

[PATCH v5 6/6] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen Reviewe

RE: [PATCH 2/2] btmrvl: add platform specific wakeup interrupt support

2016-03-19 Thread Amitkumar Karwar
> From: Amitkumar Karwar [mailto:akar...@marvell.com] > Sent: Friday, March 18, 2016 4:35 PM > To: linux-blueto...@vger.kernel.org > Cc: Cathy Luo; linux-kernel@vger.kernel.org; Nishant Sarmukadam; > devicet...@vger.kernel.org; Wei-Ning Huang; Xinming Hu; Amitkumar Karwar > Subject: [PATCH 2/2] btm

Re: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure

2016-03-19 Thread Pavel Machek
Hi! > On Thu, Mar 17, 2016 at 11:26 PM, Pavel Machek wrote: > > Hi! > > > > USB gadget stops working for me on n900, if I merge > > Could you please give us more details? > Which gadget driver do you use (g_nokia?) It seems I mis-merged the stuff. Hold on, I'm debugging it some more. Not g_nok

Re: [PATCH] tools/testing: Fix misspellings in comments.

2016-03-19 Thread Shuah Khan
On 02/24/2016 11:01 AM, Adam Buchbinder wrote: > Signed-off-by: Adam Buchbinder > --- > tools/testing/selftests/memfd/fuse_test.c | 2 +- > tools/testing/selftests/net/psock_tpacket.c | 2 +- > tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c | 2 +- > tools/testi

Re: [PATCH v2 1/9] drm: atmel-hlcdc: add a ->cleanup_fb() operation

2016-03-19 Thread Boris Brezillon
On Fri, 18 Mar 2016 18:58:48 +0100 Daniel Vetter wrote: > On Thu, Mar 17, 2016 at 09:49:42AM +0100, Boris Brezillon wrote: > > Hi Daniel, > > > > On Wed, 16 Mar 2016 16:17:38 +0100 > > Daniel Vetter wrote: > > > > > On Wed, Mar 16, 2016 at 02:57:35PM +0100, Boris Brezillon wrote: > > > > Add a

[PATCH 3/3] x86/topology: Fix Intel HT disable

2016-03-19 Thread Peter Zijlstra
As per the comment below; due to BIOS it is sometimes impossible to know if there actually are smp siblings until the machine is fully enumerated. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/kernel/smpboot.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) --- a/ar

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Juri Lelli
On 17/03/16 12:40, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: > > > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not > > > enabled\n", > > > > Ultra-minor nit: s/freqnency/frequency/ > > > > Also, is this really a warning or just a debug

Re: [PATCH 00/50] pinctrl: Add and use devm_ apis for pinctrl_{register, unregister}

2016-03-19 Thread Linus Walleij
On Tue, Mar 15, 2016 at 2:25 PM, Laxman Dewangan wrote: > On Tuesday 15 March 2016 02:01 PM, Linus Walleij wrote: >> On Wed, Mar 9, 2016 at 3:23 PM, Laxman Dewangan >> wrote: >> Pushed the change at: Branch "devm_pinctrl_register" of https://github.com/ldewangan/linux-upstream.git.

<    1   2   3   4   5   6   7   8   9   10   >