Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec

2016-11-07 Thread Chen-Yu Tsai
On Tue, Nov 8, 2016 at 3:44 PM, Maxime Ripard wrote: > On Mon, Nov 07, 2016 at 10:11:45PM +0800, Chen-Yu Tsai wrote: >> On Mon, Nov 7, 2016 at 9:08 PM, Maxime Ripard >> wrote: >> > The GR8-EVB comes with a wm8978 codec connected to the i2s bus. >> > >> > Add a card in order to have it working >>

Re: [PATCH] sched/rt: RT_RUNTIME_GREED sched feature

2016-11-07 Thread luca abeni
Hi all, since GRUB reclaiming has been mentioned, I am going to add some comments on it :) On Mon, 7 Nov 2016 14:51:37 +0100 Daniel Bristot de Oliveira wrote: [...] > The sum of allocated runtime for all DL tasks will not to be greater > than RT throttling enforcement runtime. The DL scheduler

Dear Web-mail Account User

2016-11-07 Thread account-help
Dear Web-mail Account User, You have receive this message as resulting to a wrong multiple password attempt on this account, Hence we shall be blocking this account temporarily to verify the IP location. If you know this has not been done by you and want to prevent blocking of this account as s

Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec

2016-11-07 Thread Maxime Ripard
On Mon, Nov 07, 2016 at 10:11:45PM +0800, Chen-Yu Tsai wrote: > On Mon, Nov 7, 2016 at 9:08 PM, Maxime Ripard > wrote: > > The GR8-EVB comes with a wm8978 codec connected to the i2s bus. > > > > Add a card in order to have it working > > > > Signed-off-by: Maxime Ripard > > --- > > arch/arm/boot

[PATCH] drm/tegra: add tiling FB modifiers

2016-11-07 Thread Alexandre Courbot
Add FB modifiers to allow user-space to specify that a surface is in one of the two tiling formats supported by Tegra chips, and add support in the tegradrm driver to handle them properly. This is necessary for the display controller to directly display buffers generated by the GPU. This feature i

Re: [PATCH v2] xen/manage: correct return value check on xenbus_scanf()

2016-11-07 Thread Juergen Gross
On 08/11/16 08:44, Jan Beulich wrote: > A negative return value indicates an error; in fact the function at > present won't ever return zero. > > Signed-off-by: Jan Beulich Reviewed-by: Juergen Gross > --- > v2: For consistency with other code don't consider zero an error > (utilizing that

[RFC PATCH] pci: add pci_irq_get_affinity_vector()

2016-11-07 Thread Hannes Reinecke
Add a reverse-mapping function to return the interrupt vector for any CPU if interrupt affinity is enabled. Signed-off-by: Hannes Reinecke --- drivers/pci/msi.c | 36 include/linux/pci.h | 1 + 2 files changed, 37 insertions(+) diff --git a/drivers/pci/ms

Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

2016-11-07 Thread Kai-Heng Feng
Hi, On Mon, Nov 7, 2016 at 7:02 PM, Oliver Neukum wrote: > On Fri, 2016-11-04 at 17:57 +0800, Kai-Heng Feng wrote: >> Sometimes cdc_mbim failed to probe if runtime pm is enabled: >> [9.305626] cdc_mbim: probe of 2-2:1.12 failed with error -22 >> >> This can be solved by increase its pm usage

Re: [PATCH] s390: remove unneeded dependency for gen_facilities

2016-11-07 Thread Heiko Carstens
On Tue, Nov 08, 2016 at 10:55:47AM +0900, Masahiro Yamada wrote: > The dependency between the object and the source is handled by > scripts/Makefile.host, so only "hostprogs-y += gen_facilities" > is fine. > > Signed-off-by: Masahiro Yamada > --- > > arch/s390/tools/Makefile | 2 -- > 1 file ch

[PATCH v2] xen/manage: correct return value check on xenbus_scanf()

2016-11-07 Thread Jan Beulich
A negative return value indicates an error; in fact the function at present won't ever return zero. Signed-off-by: Jan Beulich --- v2: For consistency with other code don't consider zero an error (utilizing that xenbus_scanf() at present won't return zero). Adjust commit message according

linux-next: Tree for Nov 8

2016-11-07 Thread Stephen Rothwell
Hi all, Changes since 20161028: New tree: scsi-mkp The net-next tree gained a conflict against the net tree. The rdma-leon-test tree gained a conflict against the net-next tree. The kspp tree gained conflicts against Linus' tree. The sound-asoc tree gained a build failure, so I used the versi

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-07 Thread Anurup M
On Tuesday 08 November 2016 12:32 PM, Tan Xiaojun wrote: On 2016/11/7 21:26, Arnd Bergmann wrote: On Wednesday, November 2, 2016 11:42:46 AM CET Anurup M wrote: From: Tan Xiaojun The Hisilicon Djtag is an independent component which connects with some other components in the

Re: [PATCH v11 13/22] vfio: Introduce common function to add capabilities

2016-11-07 Thread Alexey Kardashevskiy
On 05/11/16 08:10, Kirti Wankhede wrote: > Vendor driver using mediated device framework should use > vfio_info_add_capability() to add capabilities. > Introduced this function to reduce code duplication in vendor drivers. > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: I

Re: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-07 Thread Marek Szyprowski
Hi Luis, On 2016-11-07 22:47, Luis R. Rodriguez wrote: On Thu, Oct 20, 2016 at 09:22:53AM +0200, Marek Szyprowski wrote: This patch uses recently introduced device dependency links to track the runtime pm state of the master's device. This way each SYSMMU controller is set to runtime active on

RE: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-07 Thread Madalin-Cristian Bucur
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Monday, November 07, 2016 5:55 PM > > From: Madalin-Cristian Bucur > Date: Mon, 7 Nov 2016 15:43:26 + > > >> From: David Miller [mailto:da...@davemloft.net] > >> Sent: Thursday, November 03, 2016 9:58 PM >

Re: [PATCH v2] irqchip/gicv3-its: Enable cacheable attribute Read-allocate hints

2016-11-07 Thread Shanker Donthineni
Hi Marc, I attached the test code that I used to benchmark ReadAllocate hints performance on Qualcomm hardware. Shanker On 11/08/2016 01:18 AM, Shanker Donthineni wrote: Read-allocation hints are not enabled for both the GIC-ITS and GICR tables. This forces the hardware to always read the t

Re: [PATCH v4 1/2] ARC: IRQ: Do not use hwirq as virq and vice versa

2016-11-07 Thread Vineet Gupta
Hi Noam, I'm planning to merge this valid patch. Please look at arc mailing list for more context ! Can you please check if this doesn't break ur platform and/or requires a fixup. Thx, -Vineet On 11/07/2016 11:08 PM, Yuriy Kolerov wrote: > At first smp_ipi_irq_setup() takes a cpu number and a

[PATCH v2] irqchip/gicv3-its: Enable cacheable attribute Read-allocate hints

2016-11-07 Thread Shanker Donthineni
Read-allocation hints are not enabled for both the GIC-ITS and GICR tables. This forces the hardware to always read the table contents from an external memory (DDR) which is slow compared to cache memory. Most of the tables are often read by hardware. So, it's better to enable Read-allocate hints i

Re: [PATCH] serial: sirf: Simplify a test

2016-11-07 Thread Christophe JAILLET
Le 07/11/2016 à 14:50, Arnd Bergmann a écrit : On Tuesday, November 1, 2016 8:03:33 AM CET Christophe JAILLET wrote: 'dmaengine_prep_dma_cyclic()' does not return an error pointer, so the test can be simplified to be more consistent. Signed-off-by: Christophe JAILLET The change looks correct

Re: [PATCH] tile: handle RO_AFTER_INIT_DATA

2016-11-07 Thread Heiko Carstens
On Mon, Nov 07, 2016 at 02:50:27PM -0500, Chris Metcalf wrote: > This is the minimal change to handle RO_AFTER_INIT_DATA. > The tile architecture already marks RO_DATA as read-only in > the kernel, so grouping RO_AFTER_INIT_DATA with RO_DATA, as is > done by default, means the kernel faults in init

Re: [PATCH] usb: renesas_usbhs: simplify list handling

2016-11-07 Thread Nicholas Mc Guire
On Tue, Nov 08, 2016 at 12:26:45PM +0900, Masahiro Yamada wrote: > >> Fixes: 6acb95d4e070 ("usb: renesas_usbhs: modify packet queue control > >> method") > > > This is not a fix, but a clean-up patch. true - I´ve been using it incorrectly to basically just record the origin of the issue found -

[PATCH v4 1/2] ARC: IRQ: Do not use hwirq as virq and vice versa

2016-11-07 Thread Yuriy Kolerov
At first smp_ipi_irq_setup() takes a cpu number and a hwirq number for the per core local interrupt line in the root interrupt controller and registers an appropriate IPI handler per cpu. However this function tries to bind a handler to the hwirq as virtual IRQ number and it is a wrong behavior. It

[PATCH v4 0/2] ARC: Set of patches for IRQ subsystem

2016-11-07 Thread Yuriy Kolerov
The first patch fixes misuse of IRQ numbers. In some places of the Linux kernel for ARC hardware IRQ numbers are used as virtual IRQ numbers and obviously it is wrong. The second patch forces the kernel to set a simple distribution mode for common interrupts in cases when such interrupts are route

[PATCH v4 2/2] ARCv2: MCIP: Use IDU_M_DISTRI_DEST mode if there is only 1 destination core

2016-11-07 Thread Yuriy Kolerov
ARC linux uses 2 distribution modes for common interrupts: round robin mode (IDU_M_DISTRI_RR) and a simple destination mode (IDU_M_DISTRI_DEST). The first one is used when more than 1 cores may handle a common interrupt and the second one is used when only 1 core may handle a common interrupt. How

Re: [PATCH v3 1/3] remoteproc: qcom: Embed private data structure for hexagon dsp.

2016-11-07 Thread Bjorn Andersson
On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: > Embed resources specific to version of hexagon chip in device > structure to avoid conditional check for manipulation of those > resources in driver code. > Please don't rename functions in the same patch as functional changes. [..]

[PATCH] igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr

2016-11-07 Thread Cao jin
When running as guest, under certain condition, it will oops as following. writel() in igb_configure_tx_ring() results in oops, because hw->hw_addr is NULL. While other register access won't oops kernel because they use wr32/rd32 which have a defense against NULL pointer. [ 141.225449] pciepo

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-07 Thread Tan Xiaojun
On 2016/11/7 21:26, Arnd Bergmann wrote: > On Wednesday, November 2, 2016 11:42:46 AM CET Anurup M wrote: >> From: Tan Xiaojun >> >> The Hisilicon Djtag is an independent component which connects >> with some other components in the SoC by Debug Bus. This driver >> can be configured

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-07 Thread Chen Feng
On 2016/11/8 11:59, Joonsoo Kim wrote: > On Mon, Nov 07, 2016 at 03:46:02PM +0800, Chen Feng wrote: >> >> >> On 2016/11/7 15:44, Chen Feng wrote: >>> On 2016/11/7 15:27, Joonsoo Kim wrote: On Mon, Nov 07, 2016 at 03:08:49PM +0800, Chen Feng wrote: > > > On 2016/11/7 14:15, Joonso

Re: [PATCH] Revert "console: don't prefer first registered if DT specifies stdout-path"

2016-11-07 Thread Greg Kroah-Hartman
On Tue, Nov 08, 2016 at 11:46:35AM +1100, Michael Ellerman wrote: > Hans de Goede writes: > > > This reverts commit 05fd007e4629 ("console: don't prefer first registered > > if DT specifies stdout-path"). > > > > The reverted commit changes existing behavior on which many ARM boards > > rely. Man

Re: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-07 Thread Greg KH
On Tue, Nov 08, 2016 at 12:14:14AM -0800, Long Li wrote: > From: Long Li > > hv_do_hypercall assumes that we pass a segment from a physically continuous > buffer. Buffer allocated on the stack may not work if CONFIG_VMAP_STACK=y is > set. Use kmalloc to allocate this buffer. Please wrap your c

[PATCH v7 3/3] drm/fence: add out-fences support

2016-11-07 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com

[PATCH v2] media: i2c-polling: add i2c-polling driver

2016-11-07 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- Changes from v1: * correct i2c_pol

[PATCH v7 0/3] drm: add explict fencing

2016-11-07 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This is yet another version of the DRM fences patches. Please refer to the cover letter[1] in a previous version to check for more details. In v7 we now have split most of the out_fences code into prepare_crtc_signaling() and unprepare_crtc_signaling() with improved er

[PATCH v7 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-07 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init()

[PATCH v7 1/3] drm/fence: add in-fences support

2016-11-07 Thread Gustavo Padovan
From: Gustavo Padovan There is now a new property called IN_FENCE_FD attached to every plane state that receives sync_file fds from userspace via the atomic commit IOCTL. The fd is then translated to a fence (that may be a fence_array subclass or just a normal fence) and then used by DRM to fenc

Re: [PATCH v3 3/3] remoteproc: qcom: Adding q6v56 reset sequence.

2016-11-07 Thread Bjorn Andersson
On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: > Adding additional reset sequence steps required specific > to q6v56 based on version check, along with some trivial > changes in name of local functions. > Please don't change readl/writel to their relaxed version in the same commit a

Re: [PATCH v2] media: i2c-polling: add i2c-polling driver

2016-11-07 Thread kbuild test robot
Hi Matt, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.9-rc4 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Matt-Ranostay/media-i2c-polling-add-i2c-

Re: [PATCH v11 10/22] vfio iommu type1: Add support for mediated devices

2016-11-07 Thread Alexey Kardashevskiy
On 05/11/16 08:10, Kirti Wankhede wrote: > VFIO IOMMU drivers are designed for the devices which are IOMMU capable. > Mediated device only uses IOMMU APIs, the underlying hardware can be > managed by an IOMMU domain. > > Aim of this change is: > - To use most of the code of TYPE1 IOMMU driver for

Re: [PATCH v3 2/2] USB hub_probe: put initialization before usage

2016-11-07 Thread Greg Kroah-Hartman
On Mon, Nov 07, 2016 at 09:55:09PM +0300, Eugene Korenevsky wrote: > Minor optimization: move initialization immediately before usage. > This gives a chance for more accurate register allocation by the compiler. This is a probe function, a very slow path. Don't do micro optimizations where they a

Re: Kernel regression introduced by "e1000e: Do not write lsc to ics in msi-x mode" and/or "e1000e: Do not read ICR in Other interrupt"

2016-11-07 Thread Benjamin Poirier
On 2016/11/02 21:19, Brown, Aaron F wrote: > > From: Jack Suter [mailto:j...@suter.io] > > Sent: Tuesday, November 1, 2016 4:57 PM > > To: Kirsher, Jeffrey T > > Cc: intel-wired-...@lists.osuosl.org; bpoir...@suse.com; Brown, Aaron F > > ; jhod...@ucdavis.edu; linux- > > ker...@vger.kernel.org > >

Re: [PATCH v3 1/2] USB hub_probe: rework ugly goto-into-compound-statement

2016-11-07 Thread Greg Kroah-Hartman
On Mon, Nov 07, 2016 at 09:53:50PM +0300, Eugene Korenevsky wrote: > Rework smelling code (goto inside compound statement). Perhaps this is > legacy. Anyway such code is not appropriate for Linux kernel. > > Signed-off-by: Eugene Korenevsky > --- > drivers/usb/core/hub.c | 33 ---

Re: [PATCH v3 1/2] USB hub_probe: rework ugly goto-into-compound-statement

2016-11-07 Thread Greg Kroah-Hartman
On Mon, Nov 07, 2016 at 09:53:50PM +0300, Eugene Korenevsky wrote: > Rework smelling code (goto inside compound statement). Perhaps this is > legacy. Anyway such code is not appropriate for Linux kernel. > > Signed-off-by: Eugene Korenevsky > --- > drivers/usb/core/hub.c | 33 ---

RE: [v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-11-07 Thread Y.B. Lu
Hi Arnd, > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday, November 08, 2016 5:20 AM > To: Y.B. Lu > Cc: linuxppc-...@lists.ozlabs.org; linux-...@vger.kernel.org; > ulf.hans...@linaro.org; Scott Wood; Mark Rutland; Greg Kroah-Hartman; X.B. > Xie; M.H. Lian

Re: [PATCH v4] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-11-07 Thread Greg KH
On Mon, Nov 07, 2016 at 04:44:20PM -0600, Chris Roth wrote: > From: Allan Chou > > Add support for Cypress GX3 SuperSpeed to Gigabit Ethernet > Bridge Controller (Vendor=04b4 ProdID=3610). > > Patch verified on x64 linux kernel 4.7.4, 4.8.6, 4.9-rc4 systems > with the Kensington SD4600P USB-C Un

Re: [PATCH v3 2/3] remoteproc: qcom: Hexagon resource handling

2016-11-07 Thread Bjorn Andersson
On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: > Handling of clock and regulator resources as well as reset > register programing differ according to version of hexagon > dsp hardware. Different version require different resources > and different parameters for same resource. Hence it

Re: [PATCH v2] drm/udl: Ensure channel is selected before using the device.

2016-11-07 Thread Dave Airlie
On 8 November 2016 at 16:40, Dave Airlie wrote: >> [drm:udl_driver_load [udl]] *ERROR* Selecting channel failed >> udl 1-2:1.0: fb1: udldrmfb frame buffer device >> [drm] Initialized udl on minor 1 >> usbcore: registered new interface driver udl >> >> >> Is this expected WARN? > > I've just posted

[lkp] [serio] 8ff6203d43: RIP:serio_tty_port_register

2016-11-07 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git serio-tty-slave commit 8ff6203d43b379ee672dd867d7ca88fea0bdafcf ("serio: add tty port driver") in testcase: trinity with following parameters: runtime: 300s Trinity is a linux system c

Re: [PATCH v2 05/12] mm: thp: add core routines for thp/pmd migration

2016-11-07 Thread Naoya Horiguchi
On Tue, Nov 08, 2016 at 11:05:52AM +0800, kbuild test robot wrote: > Hi Naoya, > > [auto build test ERROR on mmotm/master] > [also build test ERROR on v4.9-rc4 next-20161028] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: > htt

Re: [PATCH 2/2] Input: add motion-tracking ABS_* bits and docs

2016-11-07 Thread Peter Hutterer
On Mon, Nov 07, 2016 at 07:24:15PM -0800, Roderick Colenbrander wrote: > On Thu, Sep 29, 2016 at 12:25 AM, Benjamin Tissoires > wrote: > > > > On Sep 28 2016 or thereabouts, Roderick Colenbrander wrote: > > > On Wed, Sep 28, 2016 at 10:39 AM, Dmitry Torokhov > > > wrote: > > > > > > > > On Tue, S

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-07 Thread Greg Kroah-Hartman
On Mon, Nov 07, 2016 at 10:22:50PM +0100, Luis R. Rodriguez wrote: > We have no explicit semantics to check if a driver / subsystem > supports deferred probe. Why would we need such a thing? thanks, greg k-h

RE: [PATCH v3 2/3] ARCv2: MCIP: Use hwirq instead of virq for resolution of IDU IRQ handlers

2016-11-07 Thread Yuriy Kolerov
Yes, theoretically this may not work with 1/3 and 2/3. I will merge those patches. > -Original Message- > From: Vineet Gupta [mailto:vgu...@synopsys.com] > Sent: Tuesday, November 08, 2016 4:59 AM > To: Yuriy Kolerov ; linux-snps- > a...@lists.infradead.org > Cc: alexey.brod...@synopsys.c

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

2016-11-07 Thread Stephen Rothwell
Hi Alexandre, After merging the rtc tree, today's linux-next build (x86_64 allmodconfig) failed like this: Caused by commit f9eb69d1ae2f ("rtc: jz4740: Add support for acting as the system power controller") I have used the rtc tree from next-20161028 for today. -- Cheers, Stephen Rothwel

Re: [PATCH v2] drm/udl: Ensure channel is selected before using the device.

2016-11-07 Thread Dave Airlie
> [drm:udl_driver_load [udl]] *ERROR* Selecting channel failed > udl 1-2:1.0: fb1: udldrmfb frame buffer device > [drm] Initialized udl on minor 1 > usbcore: registered new interface driver udl > > > Is this expected WARN? I've just posted a patch in theory to fix it, please test if oyu have time.

Re: [PATCH v6 0/5] Functional dependencies between devices

2016-11-07 Thread Marek Szyprowski
Hi Luis, On 2016-11-07 22:15, Luis R. Rodriguez wrote: On Wed, Nov 02, 2016 at 08:58:38AM +0100, Marek Szyprowski wrote: On 2016-10-31 18:47, Greg Kroah-Hartman wrote: On Sun, Oct 30, 2016 at 05:22:13PM +0100, Rafael J. Wysocki wrote: Let me quote from the previous intro messages for this se

[PATCH v5 0/3] Add Mediatek JPEG Decoder

2016-11-07 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPEG image and Motion JPEG bitstream. changes since v4: - Change file name of binding documentation - Revise DT binding documentation - Revise compatible string changes since v3: - Revise DT binding documen

Re: [PATCH] Fix: disable sys_membarrier when nohz_full is enabled

2016-11-07 Thread Paul E. McKenney
On Mon, Nov 07, 2016 at 06:10:14PM +, Mathieu Desnoyers wrote: > > - On Nov 7, 2016, at 1:06 PM, Paul E. McKenney paul...@linux.vnet.ibm.com > wrote: > > > On Mon, Nov 07, 2016 at 05:08:59PM +, Mathieu Desnoyers wrote: > >> - On Nov 3, 2016, at 1:49 PM, Paul E. McKenney > >> pau

Re: Reset implementation for Zynq

2016-11-07 Thread Shubhrajyoti Datta
On Fri, Oct 21, 2016 at 10:34 PM, Moritz Fischer wrote: > Iztok, > > On Fri, Oct 21, 2016 at 03:08:47AM -0700, iztok.je...@redpitaya.com wrote: >> Hi Moritz, >> >> I was looking at your reset implementation for Zynq: >> https://github.com/Xilinx/linux-xlnx/blob/629041605b93343ad2e8971ceaac3edcef0b

[PATCH v5 2/3] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-11-07 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 + drivers/media/platform/mtk-jpeg/Makefile |2 + drivers/media/pla

RE: [patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-11-07 Thread Vadim Pasternak
Hi, Could this patch be merged to for-next for 4.10? When it's merged I'd like to submit another small patch on top of it. Thanks, Vadim. > -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, October 31, 2016 5:31 PM > To: Vadim Pasternak > Cc: dvh...@

[PATCH v5 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-07 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[2] [1] http://lists.infradead.org/pipermail/linux-mediatek/2016-October/007271.html [2] https://patc

[PATCH v5 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-07 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- .../bindings/media/mediatek-jpeg-decoder.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindi

Re: linux-next: manual merge of the net-next tree with the net tree

2016-11-07 Thread Cong Wang
On Mon, Nov 7, 2016 at 5:25 PM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > net/netlink/genetlink.c > > between commit: > > 00ffc1ba02d8 ("genetlink: fix a memory leak on error path") > > from the net tree and commit: > > 2ae0f17

Re: [PATCH v2] drm/udl: Ensure channel is selected before using the device.

2016-11-07 Thread poma
On 23.08.2016 07:57, Daniel Vetter wrote: > On Mon, Aug 22, 2016 at 11:17:34PM +0100, Jamie Lentin wrote: >> Lift configuration command from udlfb. This appears to be essential for >> at least a Rextron VCUD-60, without which no URB communication occurs. >> >> Signed-off-by: Jamie Lentin >> --- >>

[Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-07 Thread Long Li
From: Long Li hv_do_hypercall assumes that we pass a segment from a physically continuous buffer. Buffer allocated on the stack may not work if CONFIG_VMAP_STACK=y is set. Use kmalloc to allocate this buffer. Signed-off-by: Long Li Reported-by: Haiyang Zhang --- drivers/pci/host/pci-hyperv.

Re: [PATCH v3 1/2] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-11-07 Thread Ingo Molnar
* Borislav Petkov wrote: > On Mon, Nov 07, 2016 at 03:07:46PM +0100, Ingo Molnar wrote: > > - cache domains might be seriously mixed up, resulting in serious drop in > >performance. > > > > - or domains might be partitioned 'wrong' but not catastrophically > > wrong, resulting in a minor

Re: [PATCH RESEND] phy: exynos-mipi-video: simplify check for coupled phy status

2016-11-07 Thread Marek Szyprowski
Hi Javier, On 2016-11-07 19:50, Javier Martinez Canillas wrote: On 11/07/2016 07:48 AM, Marek Szyprowski wrote: There is no need to access regmap of coupled phy to check its state - such information is already in the phy device itself, so use it directly. This let us to avoid possible access t

RE: [PATCH V2 1/4] Documentation: pv88080: Move binding document

2016-11-07 Thread Eric Hyeung Dong Jeong
On Monday, October 31, 2016 1:44 PM, Rob Herring wrote: > On Thu, Oct 27, 2016 at 10:03:14AM +0900, Eric Jeong wrote: > > > > From: Eric Jeong > > > > The change is to move pv88080 binding document from the regulator > > directory to mfd binding directory for PV88080 PMIC MFD support. > > > > > >

RE: [PATCH V2 2/4] mfd: pv88080: MFD core support

2016-11-07 Thread Eric Hyeung Dong Jeong
On Friday, October 28, 2016 9:18 PM, Linus Walleij wrote: > On Thu, Oct 27, 2016 at 3:03 AM, Eric Jeong > wrote: > > > +++ b/drivers/mfd/pv88080-i2c.c > > + > > +static const struct of_device_id pv88080_of_match_table[] = { > > + { .compatible = "pvs,pv88080",.data = (void *)TYPE_PV880

[PATCHv2 15/49] thermal: core: remove unnecessary device_remove() calls

2016-11-07 Thread Eduardo Valentin
Given that cdevs sysfs properties are already registered using the dev.groups, there is no need to explicitly call device_remove() for each property. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c |

RE: [PATCH V2 4/4] gpio: pv88080: Add GPIO function support

2016-11-07 Thread Eric Hyeung Dong Jeong
On Friday, October 28, 2016 9:11 PM, Linux Walleij wrote: > On Thu, Oct 27, 2016 at 3:03 AM, Eric Jeong > wrote: > > > From: Eric Jeong > > > > This patch adds support for PV88080 PMIC GPIOs. > > PV88080 has two configurable GPIOs. > > > > Kconfig and Makefile are updated to reflect support for

RE: [PATCH V2 2/4] mfd: pv88080: MFD core support

2016-11-07 Thread Eric Hyeung Dong Jeong
On Friday, October 28, 2016 5:11 AM, Linux Walleij wrote: > On Thu, Oct 27, 2016 at 3:03 AM, Eric Jeong > wrote: > > > From: Eric Jeong > > > > This patch adds supports for PV88080 MFD core device. > > > > It provides communication through the I2C interface. > > It contains the following compon

[PATCH 2/4] x86: Prepare vm86 tasks to handle User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
User-Mode Instruction Prevention (UMIP) is a security feature in new Intel processors that causes a general protection exception if certain instructions are executed in user mode (CPL > 0). Unfortunately, some of the instructions that are protected by UMIP (i.e., SGDT, SIDT and SMSW) are used by c

[PATCH 4/4] selftests/x86: Add tests for User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
Certain user space programs that run on virtual-8086 mode may utilize instructions protected by the User-Mode Instruction Prevention (UMIP) security feature present in new Intel processors: SGDT, SIDT and SMSW. In such a case, a general protection exception is issued if UMIP is enabled. For the af

[PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions

2016-11-07 Thread Ricardo Neri
User-Mode Instruction Prevention (UMIP) is a security feature present in new Intel Processors. If enabled, it prevents the execution of certain instructions if the Current Privilege Level (CPL) is greater than 0. If these instructions were executed while in CPL > 0, user space applications could ha

[PATCH 3/4] x86: Enable User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
User_mode Instruction Prevention (UMIP) is enabled by setting/clearing a bit in %cr4. It make sense to enable UMIP at some point while booting, before user spaces come up. Like SMAP and SMEP, is not critical to have it enabled very early during boot. This is because UMIP is relevant only when ther

[PATCH 0/4] x86: enable User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
User-Mode Instruction Prevention (UMIP) is a security feature present in new Intel Processors. If enabled, it prevents the execution of certain instructions if the Current Privilege Level (CPL) is greater than 0. If these instructions were executed while in CPL > 0, user space applications could ha

Re: [PATCH V5 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-07 Thread kbuild test robot
Hi zhichang.yuan, [auto build test WARNING on arm64/for-next/core] [also build test WARNING on v4.9-rc4 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/zhichang-yuan/ARM64-LPC-lega

[PATCH 2/4] sdio: mediatek: Support sdio feature

2016-11-07 Thread Yong Mao
From: yong mao 1. Add irqlock to protect accessing the shared register 2. Modify the implementation of msdc_card_busy due to SDIO 3. Implement enable_sdio_irq 4. Add msdc_recheck_sdio_irq mechanism to make sure all interrupts can be processed immediately Signed-off-by: Yong Mao Signed-off-by

[PATCH 3/4] sdio: mediatek: support sdr104_clk_delay in sdio

2016-11-07 Thread Yong Mao
From: yong mao In order to let sdio run stable with 200M clock, we should setup the value of clock delay. Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/mtk-sd.

[PATCH 4/4] dts: arm64: enable mmc3 for supporting sdio feature

2016-11-07 Thread Yong Mao
From: yong mao Add description of mmc3 for supporting sdio feature Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 82 +++ 1 file changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dt

[PATCH 0/4] Support sdio feature

2016-11-07 Thread Yong Mao
Fix CMD6 timeout issue Add irqlock to protect accessing the shared register Modify the implementation of msdc_card_busy Add msdc_recheck_sdio_irq mechanism Support sdr104_clk_delay in sdio Add description of mmc3 for supporting sdio feature yong mao (4): mmc: mediatek: Fix CMD6 timeout issue s

[PATCH 1/4] mmc: mediatek: Fix CMD6 timeout issue

2016-11-07 Thread Yong Mao
From: yong mao When initializing EMMC, after switch to HS400, it will issue CMD6 to change ext_csd, if first CMD6 got CRC error, the repeat CMD6 may get timeout, that's because SDCBSY was cleared by msdc_reset_hw() Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-

[PATCHv2 47/49] thermal: core: use kzalloc(sizeof(*ptr),...)

2016-11-07 Thread Eduardo Valentin
As a safety check, this patch changes thermal core to check for pointer content size, instead of type size, while allocating memory. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 7 +++ 1 file

Re: [Intel-wired-lan] [PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
On 11/08/2016 12:12 PM, Alexander Duyck wrote: On Monday, November 7, 2016, Cao jin mailto:caoj.f...@cn.fujitsu.com>> wrote: We removed head because it isn't really accessed very often, it is only really used for when the ring is configured. Tail is accessed every time we add a descrip

[PATCH] drm/armada: Fix NULL pointer comparison warning

2016-11-07 Thread Ravikant Bijendra Sharma
From: Ravikant B Sharma Replace direct comparisons to NULL i.e. 'x == NULL' with '!x'. As per coding standard. Signed-off-by: Ravikant B Sharma --- drivers/gpu/drm/armada/armada_debugfs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_debug

RE: [PATCH V2 3/4] regulator: pv88080: Update Regulator driver for MFD support

2016-11-07 Thread Eric Hyeung Dong Jeong
On Thursday, October 27, 2016 8:04 PM, Mark Brown wrote: > On Thu, Oct 27, 2016 at 10:03:14AM +0900, Eric Jeong wrote: > > > config REGULATOR_PV88080 > > - tristate "Powerventure Semiconductor PV88080 regulator" > > - depends on I2C > > - select REGMAP_I2C > > + bool "Powerventure Semico

linux-next: manual merge of the libata tree with the block tree

2016-11-07 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the libata tree got a conflict in: block/blk-core.c between commits: e806402130c9 ("block: split out request-only flags into a new namespace") ef295ecf090d ("block: better op and flags encoding") from the block tree and commit: 5dc8b362a237 ("bloc

[PATCH] drm/amd/amdgpu : Fix NULL pointer comparison

2016-11-07 Thread Ravikant Bijendra Sharma
From: Ravikant B Sharma Replace direct comparisons to NULL i.e. 'x == NULL' with '!x'. As per coding standard. Signed-off-by: Ravikant B Sharma --- drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c |2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c |3 +-- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c

RE: [PATCH kernel v4 7/7] virtio-balloon: tell host vm's unused page info

2016-11-07 Thread Li, Liang Z
> On 11/06/2016 07:37 PM, Li, Liang Z wrote: > >> Let's say we do a 32k bitmap that can hold ~1M pages. That's 4GB of RAM. > >> On a 1TB system, that's 256 passes through the top-level loop. > >> The bottom-level lists have tens of thousands of pages in them, even > >> on my laptop. Only 1/256 of

Re: [PATCH] net: alteon: acenic: use new api ethtool_{get|set}_link_ksettings

2016-11-07 Thread Jes Sorensen
On 11/05/16 11:17, Philippe Reynes wrote: > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes > --- > drivers/net/ethernet/alteon/acenic.c | 65 ++--- > 1 files changed, 35

Re: [PATCH 01/11] staging: wlan-ng: fix line style issue in macro WLAN_GET_FC_FSTYPE

2016-11-07 Thread Sergio Paracuellos
Thanks for pointing that Joe. There other files and macros where GENMASK stuff could be applied in wlan-ng driver. Maybe it should be better to apply this patch as it is now and send another patch later which changes all of them. What do you think? Cheers, Sergio Paracuellos El 2016年1

linux-next: manual merge of the scsi tree with the block tree

2016-11-07 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in: drivers/scsi/ufs/ufshcd.c between commit: e806402130c9 ("block: split out request-only flags into a new namespace") from the block tree and commit: 2266d5678ad1 ("scsi: ufs: fix sense buffer size to 18 bytes") from

net/sunrpc/clnt.c:2773 suspicious rcu_dereference_check() usage!

2016-11-07 Thread Ross Zwisler
I've got a virtual machine that has some NFS mounts, and with a newly compiled kernel based on v4.9-rc3 I see the following warning/info message: [ 42.750181] === [ 42.750192] [ INFO: suspicious RCU usage. ] [ 42.750203] 4.9.0-rc3-2-g7b6e7de #3 Not tainted [

[PATCH] cpufreq: governor: Don't use 'timer' keyword

2016-11-07 Thread Viresh Kumar
The earlier implementation of governors used background timers and so functions, mutex, etc had 'timer' keyword in their names. But that's not true anymore. Replace 'timer' with 'update', as those functions, variables are based around updates to frequency. Signed-off-by: Viresh Kumar --- driver

[PATCHv2 26/49] thermal: core: introduce thermal_helpers.c

2016-11-07 Thread Eduardo Valentin
Here we have a simple code organization. This patch moves functions that do not need to handle thermal core internal data structure to thermal_helpers.c file. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Makefile

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

2016-11-07 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: Documentation/VGA-softcursor.txt between commits: 27641b953c54 ("Documentation/VGA-softcursor.txt: convert to ReST markup") 9d85025b0418 ("docs-rst: create an user's manual book") from the jc_docs tree and commit: b9

[PATCHv2 45/49] thermal: core: remove style warnings and checks

2016-11-07 Thread Eduardo Valentin
Removing several style issues in thermal code code. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers

Re: [PATCH V5 2/3] ARM64 LPC: Add missing range exception for special ISA

2016-11-07 Thread kbuild test robot
Hi zhichang.yuan, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.9-rc4 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/zhichang-yuan/ARM64-LPC-legacy-I

[PATCHv2 13/49] thermal: core: create tz->device.groups dynamically

2016-11-07 Thread Eduardo Valentin
This is a patch to allow adding groups created dynamically. For now we create only the existing group. However, this is a preparation to allow creating trip groups, which are determined only when the number of trips are known at runtime. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel

[PATCHv2 31/49] thermal: core: move bind_cdev() to where it is used

2016-11-07 Thread Eduardo Valentin
Moving the helper to closer where it is used. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 76 +- 1 file changed, 38 insertions(+), 38 deletions(-) diff -

  1   2   3   4   5   6   7   8   9   10   >