Re: [path v2 0/7] Add DRM driver for Hisilicon Hibmc

2016-05-29 Thread Xinliang Liu
Hi Rongrong, It seems that you haven't run the checkpatch script. Please run this script to check your patches before you send them. Like bellow: $ cd yourkerneldir $ ./scripts/checkpatch.pl --strict yourpatches Thanks, -xinliang On 29 May 2016 at 17:40, Rongrong Zou wrote: > This patch set add

Re: [path v2 0/7] Add DRM driver for Hisilicon Hibmc

2016-05-29 Thread Rongrong Zou
Hi Xinliang 在 2016/5/30 11:01, Xinliang Liu 写道: Hi Rongrong, It seems that you haven't run the checkpatch script. Please run this script to check your patches before you send them. Like bellow: $ cd yourkerneldir $ ./scripts/checkpatch.pl --strict yourpatches I run checkpatch.pl without "--st

[PATCH v8 0/3] Mediatek MT8173 CMDQ support

2016-05-29 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. These patches have a build

[PATCH v8 1/3] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-05-29 Thread HS Liao
This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Signed-off-by: HS Liao Acked-by: Rob Herring --- .../devicetree/bindings/soc/mediatek/gce.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/dev

[PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-05-29 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ on

linux-next: Tree for May 30

2016-05-29 Thread Stephen Rothwell
Hi all, Changes since 20160527: My fixes tree is empty again. The akpm tree lost a patch that turned up elsewhere. Non-merge commits (relative to Linus' tree): 469 415 files changed, 11919 insertions(+), 4156 deletions(-) ---

[PATCH v6 06/11 1 update 1/2] perf tools: Rename unwind-libunwind.c to unwind-libunwind-local.c

2016-05-29 Thread He Kuang
Since unwind-libunwind.c contains code for specific arithecture, we change it's name to unwind-libunwind-local.c, and let it only be built if local libunwind is supported. Signed-off-by: He Kuang --- tools/perf/util/Build| 2 +- tools/perf/util/{unwind

[PATCH v6 06/11 1 update 2/2] perf tools: Extract common API out of unwind-libunwind-local.c

2016-05-29 Thread He Kuang
This patch extracts common unwind-libunwind APIs out of unwind-libunwind-local.c, this part will be used by both local and remote libunwind. Signed-off-by: He Kuang --- tools/perf/util/Build| 1 + tools/perf/util/unwind-libunwind-local.c | 32 --

[PATCH v8 3/3] arm64: dts: mt8173: Add GCE node

2016-05-29 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index eab7efc.

Re: [Patch v4 3/9] iommu/amd: Detect pre enabled translation

2016-05-29 Thread Baoquan He
On 05/28/16 at 08:49pm, Wan Zongshun wrote: > > > Original Message > >@@ -1101,6 +1121,11 @@ static int __init init_iommu_one(struct amd_iommu > >*iommu, struct ivhd_header *h) > > > > iommu->int_enabled = false; > > > >+init_translation_status(iommu); > >+ > >+if (

Re: [path v2 7/7] drm/hisilicon/hibmc: Add maintainer for Hibmc DRM

2016-05-29 Thread Rongrong Zou
Hi Xinliang, 在 2016/5/30 10:31, Xinliang Liu 写道: On 29 May 2016 at 17:40, Rongrong Zou wrote: Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f466673..a8a62e0 100644 --- a/MAIN

Re: [RESEND PATCH 5/6] ASoC: cdn-dp: Add cdn DP codec driver

2016-05-29 Thread Vinod Koul
On Fri, May 27, 2016 at 09:23:12PM +0100, Mark Brown wrote: > On Fri, May 27, 2016 at 06:45:41PM +0800, Chris Zhong wrote: > > codec driver get some interfaces from cdn-dp driver, than using those > > to set DP audio formats, corresponding to alsa formats. > > I'm not seeing anything Rockchip spec

Re: [Patch v4 3/9] iommu/amd: Detect pre enabled translation

2016-05-29 Thread Baoquan He
On 05/30/16 at 11:24am, Baoquan He wrote: > On 05/28/16 at 08:49pm, Wan Zongshun wrote: > In fact I am still debugging and trying to figure out what need be done > further to stop the IO_PAGE_FAULT happened on ethernet network card. I > kept changing code and adjust the patches. Up to now seems I s

Re: [PATCH v6 06/11] perf tools: Extract local libunwind code out of unwind-libunwind.c

2016-05-29 Thread Hekuang
在 2016/5/28 20:10, Wangnan (F) 写道: On 2016/5/28 19:59, He Kuang wrote: This patch extracts codes related to specific arithecture out of unwind-libunwind.c. The extrated part are only built if local libunwind is supported. Signed-off-by: He Kuang --- tools/perf/util/Build

RE: [PATCH] ACPI: Execute the _PTS method when system reboot

2016-05-29 Thread Ocean HY1 He
> -Original Message- > From: Prarit Bhargava [mailto:pra...@redhat.com] > Sent: Tuesday, May 24, 2016 6:16 PM > To: Ocean HY1 He; j...@redhat.com > Cc: linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; David Tanaka; > Nagananda Chumbalkar; r...@rjwysocki.net; l...@kernel.org; > w...

Re: [Patch v4 6/9] iommu/amd: Add function copy_dev_tables

2016-05-29 Thread Baoquan He
On 05/28/16 at 09:08pm, Wan Zongshun wrote: > >+static int copy_dev_tables(void) > >+{ > >+u64 entry; > >+u32 lo, hi, devid; > >+phys_addr_t old_devtb_phys; > >+struct dev_table_entry *old_devtb; > >+u16 dom_id, dte_v; > >+struct amd_iommu *iommu; > >+static int copied;

Re: [PATCH 0/4]nbd: fixes for nbd

2016-05-29 Thread Pranay Srivastava
Hi On Tue, May 24, 2016 at 4:56 PM, Pranay Kr. Srivastava wrote: > This patch series fixes the following > > 1) fix might_sleep warning on socket shutdown: >Fix sock_shutdown to avoid calling kernel_sock_shutdown >while holding spin_lock. > > 2)fix various coding standard warnings >Ma

Re: [PATCH v2] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-29 Thread Vinod Koul
On Mon, May 30, 2016 at 12:41:48AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > For each descriptor, in addition to the memory used by the descriptors > structure itself, the driver allocates a list of chunks as well as a > buffer for hardware descriptors. Descriptors themselv

Re: [PATCH v1 1/3] Add the latent_entropy gcc plugin

2016-05-29 Thread Hector Martin "marcan"
On 2016-05-30 11:16, Kees Cook wrote: > On Sun, May 29, 2016 at 10:59 AM, Hector Martin wrote: >> On Mon, May 23, 2016 at 3:15 PM, Emese Revfy wrote: >>> +/* >>> + * Copyright 2012-2016 by the PaX Team >>> + * Copyright 2016 by Emese Revfy >>> + * Licensed under the GPL v2 >>> + * >>> + * Note:

Re: [PATCH perf/core v9 00/16] perf-probe --cache and SDT support

2016-05-29 Thread Namhyung Kim
Hi Masami, On Sun, May 29, 2016 at 12:15:01AM +0900, Masami Hiramatsu wrote: > Hi, > > Here is the 9th version of the patchset for probe-cache and > initial SDT support. > > The previous version is here; https://lkml.org/lkml/2016/5/14/107 > > This version just fixes 2 points according to Hema

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

2016-05-29 Thread Appana Durga Kedareswara Rao
Ping!! > -Original Message- > From: Kedareswara rao Appana [mailto:appana.durga@xilinx.com] > Sent: Friday, May 13, 2016 12:34 PM > To: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; Michal Simek > ; Soren Brinkmann

[PATCH V2 next] brcmfmac: don't remove interface on link down firmware event

2016-05-29 Thread Rafał Miłecki
There are two firmware events we handle similarly in brcmfmac: BRCMF_E_LINK and BRCMF_E_IF. The difference from firmware point of view is that the first one means BSS remains present in the firmware. Trying to (re)create it (e.g. when adding new virtual interface) will result in an error. Current

Re: [PATCH V3] dmaengine: Loongson1: add Loongson1 dmaengine driver

2016-05-29 Thread Vinod Koul
On Sat, May 28, 2016 at 05:47:13PM +0800, Keguang Zhang wrote: > +/* Loongson 1 DMA Register Definitions */ > +#define DMA_CTRL 0x0 > + > +/* DMA Control Register Bits */ > +#define DMA_STOP BIT(4) > +#define DMA_STARTBIT(3) > +#define ASK_VALIDBIT(2)

Re: [PATCH 5/7] zram: use crypto api to check alg availability

2016-05-29 Thread Minchan Kim
Hi Sergey, On Sun, May 29, 2016 at 12:24:58PM +0900, Sergey Senozhatsky wrote: > Hello, > > On (05/27/16 18:04), Minchan Kim wrote: > > > It is fundamentally impossible to get a list of all *potential* > > > algorithms if you allow loadable modules. By definition someone > > > could load a new m

Re: [PATCH] cpufreq: stats: Make the stats code non-modular

2016-05-29 Thread Viresh Kumar
On 28-05-16, 15:15, Rafael J. Wysocki wrote: > It does, but there's a problem. > > If fast frequency switching is in use, the stats attributes just sit there > full of zeros (because the stats are not updated then) which is confusing. > > Of course, the ultimate solution here would be to make the

Re: [PATCH 5/7] zram: use crypto api to check alg availability

2016-05-29 Thread Sergey Senozhatsky
Hello Minchan, On (05/30/16 13:47), Minchan Kim wrote: [..] > > can do, sure: make find_backend() depend on crypto_has_comp() only, > > *may be* printk a message when we have a mismatch in backends array > > and crypto_has_comp(). but not really sure about the latter one. > > Me, too. We don't ne

Re: [PATCH 15/54] MAINTAINERS: Add file patterns for dma device tree bindings

2016-05-29 Thread Vinod Koul
On Sun, May 22, 2016 at 11:05:52AM +0200, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. Applied, thanks -- ~Vinod

Re: [Patch v4 9/9] iommu/amd: Check the validation of irq table and domain id

2016-05-29 Thread Baoquan He
On 05/28/16 at 09:30pm, Wan Zongshun wrote: > > > Original Message > >From: Baoquan HE > >diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c > >index f3bd7fd..40c4a05 100644 > >--- a/drivers/iommu/amd_iommu.c > >+++ b/drivers/iommu/amd_iommu.c > >@@ -3697,10 +36

Re: [PATCH 1/3] dmaengine: at_xdmac: align descriptors on 64 bits

2016-05-29 Thread Vinod Koul
On Thu, May 12, 2016 at 04:54:08PM +0200, Ludovic Desroches wrote: > Having descriptors aligned on 64 bits allows update CNDA and CUBC in an > atomic way. Applied all, thanks -- ~Vinod

Re: [PATCH] hsi: use kmemdup

2016-05-29 Thread Sebastian Reichel
Hi, On Thu, May 19, 2016 at 04:39:28PM +0530, Muhammad Falak R Wani wrote: > Use kmemdup when some other buffer is immediately copied into allocated > region. It replaces call to allocation followed by memcpy, by a single > call to kmemdup. Thanks, queued for 4.8: https://git.kernel.org/cgit/lin

Re: [PATCH] HSI: cmt_speech: use vma_pages().

2016-05-29 Thread Sebastian Reichel
Hi, On Sat, May 21, 2016 at 06:49:21PM +0530, Muhammad Falak R Wani wrote: > Replace explicit computation of vma page count by a call to > vma_pages() > > Signed-off-by: Muhammad Falak R Wani > --- > drivers/hsi/clients/cmt_speech.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

Re: [GIT PULL] xfs: updates for 4.7-rc1

2016-05-29 Thread Dave Chinner
On Thu, May 26, 2016 at 07:05:11PM -0700, Linus Torvalds wrote: > On Thu, May 26, 2016 at 5:13 PM, Dave Chinner wrote: > > On Thu, May 26, 2016 at 10:19:13AM -0700, Linus Torvalds wrote: > >> > >> i'm ok with the late branches, it's not like xfs has been a problem spot. > > > > Still, I'll try to

Re: [PATCH 1/2] ipv6: hide ip6_encap_hlen/ip6_tnl_encap definitions

2016-05-29 Thread David Miller
From: Arnd Bergmann Date: Wed, 25 May 2016 16:50:45 +0200 > A recent cleanup moved MAX_IPTUN_ENCAP_OPS along with some other > definitions, but it is now invisible when CONFIG_INET is > not defined, but still referenced from ip6_tunnel.h: > > In file included from net/xfrm/xfrm_input.c:17:0: > i

Re: [PATCH 2/2] fou: add Kconfig options for IPv6 support

2016-05-29 Thread David Miller
From: Arnd Bergmann Date: Wed, 25 May 2016 16:50:46 +0200 > A previous patch added the fou6.ko module, but that failed to link > in a couple of configurations: > > net/built-in.o: In function `ip6_tnl_encap_add_fou_ops': > net/ipv6/fou6.c:88: undefined reference to `ip6_tnl_encap_add_ops' > net/

Re: [2/3] hwmon: xgene: Adds hwmon driver

2016-05-29 Thread Guenter Roeck
On Mon, May 16, 2016 at 09:17:26AM -0700, hotran wrote: > This patch adds hardware temperature and power reading support for > APM X-Gene SoC's using the mailbox communication interface. > Please drop the "'". > > Signed-off-by: Hoan Tran > --- > Documentation/hwmon/xgene-hwmon | 32 ++ > dri

Re: [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule

2016-05-29 Thread David Miller
From: Elad Kanfi Date: Thu, 26 May 2016 15:00:06 +0300 > From: Elad Kanfi > > Since NAPI works by shutting down event interrupts when theres > work and turning them on when theres none, the net driver must > make sure that interrupts are disabled when it reschedules polling. > By calling napi_r

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-29 Thread Joonsoo Kim
On Fri, May 27, 2016 at 05:11:08PM +0900, Minchan Kim wrote: > On Fri, May 27, 2016 at 03:08:39PM +0900, Joonsoo Kim wrote: > > On Fri, May 27, 2016 at 02:14:32PM +0900, Minchan Kim wrote: > > > On Thu, May 26, 2016 at 04:15:28PM -0700, Shi, Yang wrote: > > > > On 5/25/2016 5:37 PM, Minchan Kim wro

[PATCH 4/5] random: add backtracking protection to the CRNG

2016-05-29 Thread Theodore Ts'o
Signed-off-by: Theodore Ts'o --- drivers/char/random.c | 52 ++- 1 file changed, 47 insertions(+), 5 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index bf370a3..860862f 100644 --- a/drivers/char/random.c +++ b/drivers/cha

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

2016-05-29 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-v3 0/5] random: replace urandom pool with a CRNG

2016-05-29 Thread Theodore Ts'o
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 gets used in place of the original non-blocking pool. This tends to get init

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

2016-05-29 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 | 350 ++ include/crypto/chacha20.h | 1 + lib/Makefile

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

2016-05-29 Thread Theodore Ts'o
On a system with a 4 socket (NUMA) system where a large number of application threads 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 should have used its own PRNG, but let's try to help it

[PATCH 5/5] random: properly align get_random_int_hash

2016-05-29 Thread Theodore Ts'o
From: Eric Biggers get_random_long() reads from the get_random_int_hash array using an unsigned long pointer. For this code to be guaranteed correct on all architectures, the array must be aligned to an unsigned long boundary. Signed-off-by: Eric Biggers Signed-off-by: Theodore Ts'o --- driv

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-05-29 Thread Joonsoo Kim
On Fri, May 27, 2016 at 03:27:02PM +0800, Feng Tang wrote: > On Fri, May 27, 2016 at 02:42:18PM +0800, Joonsoo Kim wrote: > > On Fri, May 27, 2016 at 02:25:27PM +0800, Feng Tang wrote: > > > On Fri, May 27, 2016 at 01:28:20PM +0800, Joonsoo Kim wrote: > > > > On Thu, May 26, 2016 at 04:04:54PM +080

[RFC PATCH 4/4] powerpc/mm/radix: Implement tlb mmu gather flush efficiently

2016-05-29 Thread Aneesh Kumar K.V
if mmu gather flush resulted in a page table free force a RIC=2 flush with IS=1. Otherwise do a range flush with IS=0 and RIC=0 Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/32/pgalloc.h | 1 - arch/powerpc/include/asm/book3s/64/pgalloc.h | 16 - arch/powerpc

[RFC PATCH 2/4] mm: Change the interface for __tlb_remove_page

2016-05-29 Thread Aneesh Kumar K.V
This update the generic and arch specific implementation to return true if we need to do a tlb flush. That means if a __tlb_remove_page indicate a flush is needed, the page we try to remove need to be tracked and added again after the flush. We need to track it because we have already update the pt

[RFC PATCH 3/4] mm/mmu_gather: Track page size with mmu gather and force flush if page size change

2016-05-29 Thread Aneesh Kumar K.V
This allows arch which need to do special handing with respect to different page size when flushing tlb to implement the same in mmu gather Signed-off-by: Aneesh Kumar K.V --- arch/arm/include/asm/tlb.h | 18 +++ arch/ia64/include/asm/tlb.h | 18 +++ arch/s390/include/as

[RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap

2016-05-29 Thread Aneesh Kumar K.V
For hugetlb like THP (and unlike regular page), we do tlb flush after dropping ptl. Because of the above, we don't need to track force_flush like we do now. Instead we can simply call tlb_remove_page() which will do the flush if needed. No functionality change in this patch. Signed-off-by: Aneesh

RE: [PATCH v3] Axi-usb: Add support for 64-bit addressing.

2016-05-29 Thread Nava kishore Manne
> -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Thursday, May 26, 2016 12:24 AM > To: Arnd Bergmann > Cc: Nava kishore Manne ; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; > ga...@codeaurora.org; Michal Simek ; Soren > Brinkmann ; b

Re: [PATCH] autofs: don't stuck in a loop if vfs_write returns an error

2016-05-29 Thread Ian Kent
On Tue, 2016-05-24 at 09:34 +0800, Ian Kent wrote: > On Mon, 2016-05-23 at 14:50 -0700, Andrei Vagin wrote: > > Hi Ian, > > > > When are you going to apply this patch? We can't test linux-next without it. > > I though I sent this with the last series but I can't see that I have. > > I have the r

[PATCH v9 0/7] usb: add support for Intel dual role port mux

2016-05-29 Thread Lu Baolu
Intel SOC chips are featured with USB dual role. The host role is provided by Intel xHCI IP, and the gadget role is provided by IP from designware. Tablet platform designs always share a single port for both host and gadget controllers. There is a mux to switch the port to the right controller acc

[PATCH v9 2/7] usb: mux: add generic code for dual role port mux

2016-05-29 Thread Lu Baolu
Several Intel platforms implement USB dual role by having completely separate xHCI and dwc3 IPs in PCH or SOC silicons. These two IPs share a single USB port. There is another external port mux which controls where the data lines should go. While the USB controllers are part of the silicon, the por

[PATCH v9 4/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-05-29 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

[PATCH v9 3/7] usb: mux: add driver for Intel gpio controlled port mux

2016-05-29 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. [baolu: removed .owner per platform_no_drv_owner.cocci] [baolu: extcon usage reviewed by Chanwo

[PATCH v9 1/7] regulator: fixed: add support for ACPI interface

2016-05-29 Thread Lu Baolu
Add support to retrieve fixed voltage configure information through ACPI interface. This is needed for Intel Bay Trail devices, where a GPIO is used to control the USB vbus. Signed-off-by: Lu Baolu --- drivers/regulator/fixed.c | 46 ++ 1 file changed,

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

2016-05-29 Thread Lu Baolu
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 ed1229e..edaeebe 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5961,

[PATCH v9 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-05-29 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controllers. The shared port is under control of a switch which is defined in the Intel vendor defined extended capability for xHCI. This patch adds the support to detect and create the platform device for the port mu

[PATCH v9 5/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-05-29 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides 1) USB ID extcon device; 2) USB vbus regulator device; and 3) USB port switch device. This MFD driver will split these 3 devices for their respective drivers. [baolu: removed .owner p

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

2016-05-29 Thread Stephan Mueller
Am Montag, 30. Mai 2016, 01:39:22 schrieb Theodore Ts'o: Hi Theodore, > On a system with a 4 socket (NUMA) system where a large number of > application threads were all trying to read from /dev/urandom, this > can result in the system spending 80% of its time contending on the > global urandom sp

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-29 Thread Minchan Kim
On Mon, May 30, 2016 at 02:39:06PM +0900, Joonsoo Kim wrote: > On Fri, May 27, 2016 at 05:11:08PM +0900, Minchan Kim wrote: > > On Fri, May 27, 2016 at 03:08:39PM +0900, Joonsoo Kim wrote: > > > On Fri, May 27, 2016 at 02:14:32PM +0900, Minchan Kim wrote: > > > > On Thu, May 26, 2016 at 04:15:28PM

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-29 Thread Minchan Kim
On Fri, May 27, 2016 at 11:16:41AM -0700, Shi, Yang wrote: > > > >If we goes this way, how to guarantee this race? > > Thanks for pointing out this. It sounds reasonable. However, this > should be only possible to happen on 32 bit since just 32 bit > version page_is_idle() calls lookup_page_ext

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

2016-05-29 Thread Shubhrajyoti Datta
> + */ > +static void zynqmp_dma_update_desc_to_ctrlr(struct zynqmp_dma_chan *chan, > + struct zynqmp_dma_desc_sw *desc) > +{ > + dma_addr_t addr; > + > + addr = desc->src_p; > + writel(addr, chan->regs + ZYNQMP_DMA_SRC_START_LSB); > + wri

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-29 Thread Minchan Kim
On Mon, May 23, 2016 at 10:16:08AM -0700, Yang Shi wrote: > Per the discussion with Joonsoo Kim [1], we need check the return value of > lookup_page_ext() for all call sites since it might return NULL in some cases, > although it is unlikely, i.e. memory hotplug. > > Tested with ltp with "page_own

[GIT PULL] ARM: exynos: Fixes for v4.7

2016-05-29 Thread Krzysztof Kozlowski
Hi, A couple of fixes from Arnd for this release cycle. Best regards, Krzysztof The following changes since commit 2dcd0af568b0cf583645c8a317dd12e344b1c72a: Linux 4.6 (2016-05-15 15:43:13 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/l

Re: lm-senser can't detect thermal on thermal_zone

2016-05-29 Thread Kuninori Morimoto
Hi Zhang Can you check this email ? > Thank you for your help > > > > non thermal-zon > > > sensor command: OK > > > read from /sys/class/thermal/thermal_zone0 : OK > > > > > > thermal-zon > > > sensor command: NG > > > read from /sys/class/thermal/thermal_zone0 : OK > > >

Crypto Fixes for 4.7

2016-05-29 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Missing selection in public_key that may result in a build failure. - Potential crash in error path in omap-sham. - ccp AES XTS bug that affects requests larger than 4096. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/c

[PATCH] Fix annoyingly awkward typo in drm_edid_load.c

2016-05-29 Thread Valdis Kletnieks
Fix egregious typo in comment. Signed-off-by: Valdis Kletnieks --- a/drivers/gpu/drm/drm_edid_load.c 2016-04-20 17:54:27.208059935 -0400 +++ b/drivers/gpu/drm/drm_edid_load.c 2016-05-30 02:15:43.747105384 -0400 @@ -271,7 +271,7 @@ * by commas, search through the list looking for one

Re: [PATCH] ARM: exynos_defconfig: Disable big.LITTLE switcher

2016-05-29 Thread Krzysztof Kozlowski
On 04/28/2016 04:44 PM, Bartlomiej Zolnierkiewicz wrote: > Disable big.LITTLE switcher in order to allow automatic usage of > cpufreq-dt driver on Exynos542x/Exynos5800 SoCs based boards. > > This change should not cause any problems as arm_big_little[_dt] > driver (which is using big.LITTLE switc

Re: [PATCH 1/2] ARM: exynos_defconfig: Enable MFC driver as module

2016-05-29 Thread Krzysztof Kozlowski
On 05/10/2016 11:07 PM, Javier Martinez Canillas wrote: > Exynos SoCs have a Multi Format Video Hardware Codec (MFC) IP block that > can be used to {en,de}code video streams by hardware. Enable support for > its driver as a module so the MFC can be tested. > > Signed-off-by: Javier Martinez Canill

Re: [RESEND PATCH v3 1/2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-05-29 Thread Krzysztof Kozlowski
On 04/28/2016 03:40 PM, Javier Martinez Canillas wrote: > There are a bunch of media platform drivers under drivers/media/platform/ > that are for Samsung SoCs but are not being built with exynos_defconfig. > > This patch enables them as a module to improve build coverage for these > drivers and a

Re: [PATCH] oom_reaper: don't call mmput_async() on uninitialized mm

2016-05-29 Thread Michal Hocko
On Fri 27-05-16 12:55:34, Andrew Morton wrote: > On Fri, 27 May 2016 10:10:59 +0200 Michal Hocko wrote: > > > On Fri 27-05-16 10:00:48, Arnd Bergmann wrote: > > > The change to the oom_reaper to hold a mutex inside __oom_reap_task() > > > accidentally started calling mmput_async() on the local >

Re: [PATCH 0/4] pwm: add support for ChromeOS EC PWM

2016-05-29 Thread Tomeu Vizoso
On 05/28/2016 03:39 AM, Brian Norris wrote: > Hi, > > This series adds support for the new ChromeOS EC PWM API, so we can control, > e.g., the backlight when it's attached to the EC. It uses Boris's latest > "atomic" hooks for the PWM API (i.e., the ->apply() callback), which were > recently merge

[PATCH V2 1/2] vhost_net: stop polling socket during rx processing

2016-05-29 Thread Jason Wang
We don't stop rx polling socket during rx processing, this will lead unnecessary wakeups from under layer net devices (E.g sock_def_readable() form tun). Rx will be slowed down in this way. This patch avoids this by stop polling socket during rx processing. A small drawback is that this introduces

[PATCH V2 0/2] vhost_net polling optimization

2016-05-29 Thread Jason Wang
Hi: This series tries to optimize vhost_net polling at two points: - Stop rx polling for reduicng the unnecessary wakeups during handle_rx(). - Conditonally enable tx polling for reducing the unnecessary traversing and spinlock touching. Test shows about 17% improvement on rx pps. Please re

[PATCH V2 2/2] vhost_net: conditionally enable tx polling

2016-05-29 Thread Jason Wang
We always poll tx for socket, this is sub optimal since: - it will be only used when we exceed the sndbuf of the socket. - since we use two independent polls for tx and vq, this will slightly increase the waitqueue traversing time and more important, vhost could not benefit from commit 9e641

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-05-29 Thread CK Hu
Hi, HS: Some comments inline. On Mon, 2016-05-30 at 11:19 +0800, HS Liao wrote: > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > CMDQ is used to help read/write registers with critical time limitation, > such as updating display configuration during the vblank. It contr

Re: [PATCH v2] net: alx: use custom skb allocator

2016-05-29 Thread Feng Tang
Hi Eric, On Thu, May 26, 2016 at 06:08:22AM -0700, Eric Dumazet wrote: > On Thu, 2016-05-26 at 16:41 +0800, Feng Tang wrote: > > On Wed, May 25, 2016 at 07:53:41PM -0400, David Miller wrote: > > > > > > > But now that we have at least two instances of this code we really > > > need to put a comm

<    1   2   3