Re: [PATCH] net: stmmac: enable tx queue 0 for gmac4 IPs synthesized with multiple TX queues

2016-11-25 Thread Niklas Cassel
On 11/24/2016 07:11 PM, Alexandre Torgue wrote: > Hi Niklas, Hello Alexandre > > On 11/24/2016 03:36 PM, Niklas Cassel wrote: >> From: Niklas Cassel >> >> The dwmac4 IP can synthesized with 1-8 number of tx queues. >> On an IP synthesized with DWC_EQOS_NUM_TXQ > 1, all txqueues are disabled >> b

Re: [Intel-gfx] v4.9-rc3: graphical artefacts in X

2016-11-25 Thread Pavel Machek
On Fri 2016-11-18 11:14:16, Chris Wilson wrote: > On Fri, Nov 18, 2016 at 12:02:56PM +0100, Pavel Machek wrote: > > Hi! > > > > With v4.9, if I maximize "nowcast -x" application, I get broken > > display (as if someone split the window into rectangles and shuffled > > them a bit). Switching virtua

Re: [PATCH 01/29] fscrypt: Add in-place encryption mode

2016-11-25 Thread David Gstir
Eric, > On 15.11.2016, at 19:14, Eric Biggers wrote: > > Hi, > > On Sun, Nov 13, 2016 at 10:20:44PM +0100, Richard Weinberger wrote: >> From: David Gstir >> >> ext4 and f2fs require a bounce page when encrypting pages. However, not >> all filesystems will need that (eg. UBIFS). This is handle

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

2016-11-25 Thread Arnd Bergmann
On Friday, November 25, 2016 8:46:11 AM CET Gabriele Paoloni wrote: > > From: Arnd Bergmann [mailto:a...@arndb.de] > > > > On Wednesday, November 23, 2016 6:07:11 PM CET Arnd Bergmann wrote: > > > On Wednesday, November 23, 2016 3:22:33 PM CET Gabriele Paoloni > > wrote: > > > > From: Arnd Bergman

[PATCH] iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors

2016-11-25 Thread Enric Balletbo i Serra
From: Gwendal Grignou Handle Light and Proximity sensors presented by the ChromeOS EC Sensor hub. Creates an IIO device for each functions. Signed-off-by: Gwendal Grignou Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra --- drivers/iio/common/cros_ec_sensors/Kconfig

Re: [PATCH 5/7] efi: Get the secure boot status [ver #3]

2016-11-25 Thread David Howells
How about the attached additional patch? Should I be checking the UEFI version number if such is available? David --- commit 981110f45ba73798875af7639d0328dc2d6f9919 Author: David Howells Date: Fri Nov 25 11:52:05 2016 + efi: Handle secure boot from UEFI-2.6 UEFI-2.6 adds a n

Re: [PATCH V4 1/2] pinctrl: tegra: Add DT binding for io pads control

2016-11-25 Thread Laxman Dewangan
On Friday 25 November 2016 02:43 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Nov 24, 2016 at 02:08:53PM +0530, Laxman Dewangan wrote: + +The DT property of the IO pads must be under the node of pmc i.e. +pmc@7000e400 for Tegra124 onwards. The PMC is at a different address

Re: [PATCH 2/2] clk: uniphier: add clock data for cpufreq

2016-11-25 Thread Masahiro Yamada
Hi Stephen, 2016-11-24 11:10 GMT+09:00 Stephen Boyd : >> If I drop 32bit SoC things, and send v2 only for 64bit SoCs, >> is that acceptable for 4.10-rc1? > > Sure. That sounds fine for now. I'll reply to your other thread > with a plan of attack on how to do the framework changes. I think > we n

Re: Tearing down DMA transfer setup after DMA client has finished

2016-11-25 Thread Måns Rullgård
Vinod Koul writes: > On Wed, Nov 23, 2016 at 11:25:44AM +0100, Mason wrote: >> Hello, >> >> On my platform, setting up a DMA transfer is a two-step process: >> >> 1) configure the "switch box" to connect a device to a memory channel >> 2) configure the transfer details (address, size, command)

[PATCH v2 2/5] ia64: reuse append_elf_note() and final_note() functions

2016-11-25 Thread Hari Bathini
Get rid of multiple definitions of append_elf_note() & final_note() functions. Reuse these functions compiled under CONFIG_CRASH_CORE. Signed-off-by: Hari Bathini --- arch/ia64/kernel/crash.c | 22 -- include/linux/crash_core.h |4 kernel/crash_core.c|

[PATCH v2 3/5] powerpc/fadump: remove dependency with CONFIG_KEXEC

2016-11-25 Thread Hari Bathini
Now that crashkernel parameter parsing and vmcoreinfo related code is moved under CONFIG_CRASH_CORE instead of CONFIG_KEXEC_CORE, remove dependency with CONFIG_KEXEC for CONFIG_FA_DUMP. While here, get rid of definitions of fadump_append_elf_note() & fadump_final_note() functions to reuse similar f

[PATCH v2 5/5] powerpc/fadump: update documentation about crashkernel parameter reuse

2016-11-25 Thread Hari Bathini
As we are reusing crashkernel parameter instead of fadump_reserve_mem parameter to specify the memory to reserve for fadump's crash kernel, update the documentation accordingly. Signed-off-by: Hari Bathini --- Documentation/powerpc/firmware-assisted-dump.txt | 23 ++ 1 file

[PATCH v2 4/5] powerpc/fadump: reuse crashkernel parameter for fadump memory reservation

2016-11-25 Thread Hari Bathini
fadump supports specifying memory to reserve for fadump's crash kernel with fadump_reserve_mem kernel parameter. This parameter currently supports passing a fixed memory size, like fadump_reserve_mem= only. This patch aims to add support for other syntaxes like range-based memory size :[,:,:,...] w

[PATCH v2 1/5] crash: move crashkernel parsing and vmcore related code under CONFIG_CRASH_CORE

2016-11-25 Thread Hari Bathini
Traditionally, kdump is used to save vmcore in case of a crash. Some architectures like powerpc can save vmcore using architecture specific support instead of kexec/kdump mechanism. Such architecture specific support also needs to reserve memory, to be used by dump capture kernel. crashkernel param

[PATCH v2 0/5] kexec/fadump: remove dependency with CONFIG_KEXEC and reuse crashkernel parameter for fadump

2016-11-25 Thread Hari Bathini
Traditionally, kdump is used to save vmcore in case of a crash. Some architectures like powerpc can save vmcore using architecture specific support instead of kexec/kdump mechanism. Such architecture specific support also needs to reserve memory, to be used by dump capture kernel. crashkernel param

Re: [PATCH v5 2/2] DW DMAC: add multi-block property to device tree

2016-11-25 Thread Andy Shevchenko
On Fri, 2016-11-25 at 11:40 +, Eugeniy Paltsev wrote: > On Thu, 2016-11-24 at 17:58 +0200, Andy Shevchenko wrote: > > On Thu, 2016-11-24 at 17:52 +0200, Andy Shevchenko wrote: > > > > > > On Thu, 2016-11-24 at 18:04 +0300, Eugeniy Paltsev wrote: > > > > > > > > Several versions of DW DMAC hav

Re: [PATCH 00/11] hisi_sas: some fixes, improvements, and new features

2016-11-25 Thread John Garry
On 22/11/2016 22:01, Martin K. Petersen wrote: "John" == John Garry writes: John, John> Are you happy with this patchset now that I've got an external John> review? Zhangfei Geo asked a question about patch 1/11 that has yet to be answered. Patch 5/11 is still unreviewed. Hi Martin, I th

Re: mm: BUG in pgtable_pmd_page_dtor

2016-11-25 Thread Andrey Ryabinin
On 11/25/2016 11:42 AM, Vlastimil Babka wrote: > pr_emerg("page:%p count:%d mapcount:%d mapping:%p index:%#lx", > page, page_ref_count(page), mapcount, > @@ -59,6 +61,21 @@ void __dump_page(struct page *page, const char *reason) > > pr_emerg("flags: %#lx(%pGp)\n", p

Re: [PATCH v5 2/2] DW DMAC: add multi-block property to device tree

2016-11-25 Thread Eugeniy Paltsev
On Thu, 2016-11-24 at 17:58 +0200, Andy Shevchenko wrote: > On Thu, 2016-11-24 at 17:52 +0200, Andy Shevchenko wrote: > > > > On Thu, 2016-11-24 at 18:04 +0300, Eugeniy Paltsev wrote: > > > > > > Several versions of DW DMAC have multi block transfers hardware > > > support. Hardware support of mu

Re: [PATCH V7 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-11-25 Thread Lorenzo Pieralisi
Hi Agustin, On Thu, Nov 24, 2016 at 04:15:48PM +, Lorenzo Pieralisi wrote: [...] > > @@ -448,6 +449,7 @@ bool acpi_dev_resource_interrupt(struct acpi_resource > > *ares, int index, > > { > > struct acpi_resource_irq *irq; > > struct acpi_resource_extended_irq *ext_irq; > > + stru

[SchedTune] Summary of LPC SchedTune discussion in Santa Fe

2016-11-25 Thread Patrick Bellasi
The topic of a single simple power-performance tunable, that is wholly scheduler centric, and has well defined and predictable properties has come up on several occasions in the past. With techniques such as scheduler driven DVFS available in the mainline kernel via the schedutil cpufreq governor,

Re: mptbase: fix printk output using pr_cont

2016-11-25 Thread Joe Perches
On Fri, 2016-11-25 at 01:02 +, Jongman Heo wrote: > With current linus git, Fusion MPT driver prints out unnecessary new lines. > > [2.090255] Fusion MPT base driver 3.04.20 > [2.090257] Copyright (c) 1999-2008 LSI Corporation > [2.090262] Fusion MPT SPI Host driver 3.04.20 > [

Re: [PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()

2016-11-25 Thread Christian Borntraeger
On 11/25/2016 12:22 PM, Mark Rutland wrote: > On Thu, Nov 24, 2016 at 10:36:58PM +0200, Michael S. Tsirkin wrote: >> On Thu, Nov 24, 2016 at 10:25:11AM +, Mark Rutland wrote: >>> For several reasons, it would be beneficial to kill off ACCESS_ONCE() >>> tree-wide, in favour of {READ,WRITE}_ONCE(

Re: [PATCH] arm64: mm: Fix memmap to be initialized for the entire section

2016-11-25 Thread Robert Richter
On 24.11.16 19:42:47, Ard Biesheuvel wrote: > On 24 November 2016 at 19:26, Robert Richter > wrote: > > I revisited the code and it is working well already since: > > > > e7cd190385d1 arm64: mark reserved memblock regions explicitly in iomem > > > > Now, try_ram_remap() is only called if the re

Re: [PATCH v3 2/3] powerpc/reloc64: add support for 32-bit CRC pseudo-symbols

2016-11-25 Thread Michael Ellerman
Ard Biesheuvel writes: > diff --git a/arch/powerpc/relocs_check.sh b/arch/powerpc/relocs_check.sh > index ec2d5c835170..2f510fbc87da 100755 > --- a/arch/powerpc/relocs_check.sh > +++ b/arch/powerpc/relocs_check.sh > @@ -43,7 +43,8 @@ R_PPC_ADDR16_HA > R_PPC_RELATIVE > R_PPC_NONE' | > grep

[GIT PULL] More MFD fixes for v4.9

2016-11-25 Thread Lee Jones
Hi Linus, These patches from Viresh are causing issues displayed in KernelCI. The following changes since commit 9c763584b7c8911106bb77af7e648bef09af9d80: Linux 4.9-rc6 (2016-11-20 13:52:19 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd

RE: [PATCH] btusb: fix zero BD address problem during stress test

2016-11-25 Thread Amitkumar Karwar
Hi Marcel, > From: Amitkumar Karwar > Sent: Wednesday, November 23, 2016 3:14 PM > To: 'Marcel Holtmann' > Cc: linux-blueto...@vger.kernel.org; linux-kernel@vger.kernel.org; > Cathy Luo; Nishant Sarmukadam; Ganapathi Bhat > Subject: RE: [PATCH] btusb: fix zero BD address problem during stress > te

Re: [PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()

2016-11-25 Thread Mark Rutland
On Thu, Nov 24, 2016 at 10:36:58PM +0200, Michael S. Tsirkin wrote: > On Thu, Nov 24, 2016 at 10:25:11AM +, Mark Rutland wrote: > > For several reasons, it would be beneficial to kill off ACCESS_ONCE() > > tree-wide, in favour of {READ,WRITE}_ONCE(). These work with aggregate > > types, > > mo

Re: [PATCH v3 0/3] modversions: Fix CRC mangling under CONFIG_RELOCATABLE=y

2016-11-25 Thread Michael Ellerman
Ard Biesheuvel writes: > On 15 November 2016 at 09:13, Ard Biesheuvel > wrote: >> On 10 November 2016 at 05:22, Michael Ellerman wrote: >>> Ard Biesheuvel writes: >>> On 27 October 2016 at 17:27, Ard Biesheuvel wrote: > This series is a followup to the single patch 'modversion

[PATCH] x86/head/64: Skip fixmap page fixup

2016-11-25 Thread Borislav Petkov
From: Borislav Petkov Single-stepping through head_64.S made me look at the fixmap page PTEs fixup loop: So we're going through the whole level2_fixmap_pgt 4K page, looking at whether PAGE_PRESENT is set in those PTEs and add the delta between where we're compiled to run and where we actually en

[PATCH RESEND 1/4] platform/chrome: cros_ec_lightbar - Add lightbar program feature to sysfs

2016-11-25 Thread Enric Balletbo i Serra
From: Eric Caruso Add a program feature so we can upload and run programs for lightbar sequences. We should be able to use this to shift sequences out of the EC and save space there. $ cat > /sys/devices/.../cros_ec/program $ echo program > /sys/devices/.../cros_ec/sequence Signed-off-by:

[PATCH RESEND 2/4] platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence

2016-11-25 Thread Enric Balletbo i Serra
From: Eric Caruso Don't let EC control suspend/resume sequence. If the EC controls the lightbar and sets the sequence when it notices the chipset transitioning between states, we can't make exceptions for cases where we don't want to activate the lightbar. Instead, let's move the suspend/resume n

Re: [RFC][PATCHv4 4/6] printk: report lost messages in printk safe/nmi contexts

2016-11-25 Thread Petr Mladek
On Fri 2016-10-28 00:49:31, Sergey Senozhatsky wrote: > Account lost messages in pritk-safe and printk-safe-nmi > contexts and report those numbers during printk_safe_flush(). > > Signed-off-by: Sergey Senozhatsky > --- > kernel/printk/internal.h| 17 --- > kernel/printk/printk.c

[PATCH RESEND 4/4] platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend

2016-11-25 Thread Enric Balletbo i Serra
From: Jeffery Yu A Mutex lock in cros_ec_cmd_xfer which may be held by frozen Userspace thread during system suspending. So should not call this routine in suspend thread. Signed-off-by: Jeffery Yu Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome

[PATCH RESEND 3/4] platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC

2016-11-25 Thread Enric Balletbo i Serra
From: Eric Caruso Some devices might want to turn off the lightbar if e.g. the system turns the screen off due to idleness. This prevents the kernel from going through its normal suspend/resume pathways. Signed-off-by: Eric Caruso Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Se

[PATCH RESEND 0/4] platform/chrome: cros_ec_lightbar - Add new features

2016-11-25 Thread Enric Balletbo i Serra
Dear all, The following patches taken from the ChromeOS 4.4 tree adds more features to the cros_ec_lightbar driver. The patches were forward ported to current mainline and were tested on a Chromebook Pixel 2015. Note that the patches depends on [1] to apply cleanly, these cros-ec-sensors patches

Re: [PATCH 01/10] power: supply: axp20x_usb_power: use of_device_id data field instead of device_is_compatible

2016-11-25 Thread kbuild test robot
-current-and-min-voltage-limits-AXP20X-and-AXP22X-PMICs/20161125-172224 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: x86_64-randconfig-s5-11251757 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached

Re: mm: BUG in pgtable_pmd_page_dtor

2016-11-25 Thread Kirill A. Shutemov
On Fri, Nov 25, 2016 at 09:42:07AM +0100, Vlastimil Babka wrote: > On 11/24/2016 03:23 PM, Dmitry Vyukov wrote: > > On Thu, Nov 24, 2016 at 2:49 PM, Vlastimil Babka wrote: > >> On 11/18/2016 11:19 AM, Dmitry Vyukov wrote: > >>> > >>> Hello, > >>> > >>> I've got the following BUG while running syzk

[PATCH v10 13/13] drm/mediatek: add support for Mediatek SoC MT2701

2016-11-25 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 8 drivers/gpu/drm/mediatek/mtk_disp_rdma.c| 6 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 17 +

[PATCH v10 12/13] drm/mediatek: update DSI sub driver flow for sending commands to panel

2016-11-25 Thread YT Shen
This patch update enable/disable flow of DSI module. Original flow works on there is a bridge chip: DSI -> bridge -> panel. In this case: DSI -> panel, the DSI sub driver flow should be updated. We need to initialize DSI first so that we can send commands to panel. Signed-off-by: shaoming chen Si

[PATCH v10 09/13] drm/mediatek: add mipi_tx data rate check

2016-11-25 Thread YT Shen
modify data rate limitation (>lGbps/lane) for mipitx Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c b/drivers/gpu/drm/mediatek/mtk_mipi_

[PATCH v10 07/13] drm/mediatek: add dsi interrupt control

2016-11-25 Thread YT Shen
From: shaoming chen add dsi interrupt control Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 92 ++ 1 file changed, 92 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index 4efeb38..

[PATCH v10 11/13] drm/mediatek: add dsi rxtx control

2016-11-25 Thread YT Shen
add non-continuous clock mode and EOT packet control for dsi Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index 01df829..

[PATCH v10 10/13] drm/mediatek: add dsi ulp mode control

2016-11-25 Thread YT Shen
modify dsi enter ultra low power mode method Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index d03a0f1.

Re: [PATCH V4] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-11-25 Thread Lee Jones
On Fri, 25 Nov 2016, Viresh Kumar wrote: > On 25-11-16, 10:14, Lee Jones wrote: > > On Thu, 27 Oct 2016, Viresh Kumar wrote: > > > > > The kernel WARNs and then crashes today if wm8994_device_init() fails > > > after calling devm_regulator_bulk_get(). > > > > > > That happens because there are m

[PATCH v10 06/13] drm/mediatek: cleaning up and refine

2016-11-25 Thread YT Shen
cleaning up unused define and refine function name and variable Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 77 -- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 8 ++-- 2 files changed, 41 insertions(+), 44 deletio

[PATCH v10 08/13] drm/mediatek: add dsi transfer function

2016-11-25 Thread YT Shen
From: shaoming chen add dsi read/write commands for transfer function Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 168 - 1 file changed, 166 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/g

[PATCH v10 05/13] drm/mediatek: update display module connections

2016-11-25 Thread YT Shen
update connections for OVL, RDMA, BLS, DSI Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index b77d456..a9b209c 1006

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-11-25 Thread Peter Zijlstra
On Fri, Nov 25, 2016 at 10:23:26AM +0100, Peter Zijlstra wrote: > On Thu, Nov 24, 2016 at 07:58:07PM +0100, Peter Zijlstra wrote: > > > OK, so clearly I'm confused. So let me try again. > > > > LOCK_PI, does in one function: lookup_pi_state, and fixup_owner. If > > fixup_owner fails with -EAGAIN,

Re: [PATCH V4] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-11-25 Thread Viresh Kumar
On 25-11-16, 10:41, Lee Jones wrote: > On Fri, 25 Nov 2016, Viresh Kumar wrote: > > > On 25-11-16, 10:14, Lee Jones wrote: > > > On Thu, 27 Oct 2016, Viresh Kumar wrote: > > > > > > > The kernel WARNs and then crashes today if wm8994_device_init() fails > > > > after calling devm_regulator_bulk_g

[PATCH v10 02/13] drm/mediatek: add *driver_data for different hardware settings

2016-11-25 Thread YT Shen
There are some hardware settings changed, between MT8173 & MT2701: DISP_OVL address offset changed, color format definition changed. DISP_RDMA fifo size changed. DISP_COLOR offset changed. MIPI_TX pll setting changed. And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod. Signed-off-by: YT She

[PATCH v10 03/13] drm/mediatek: add shadow register support

2016-11-25 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 76 - drivers/gpu/drm/mediatek/mtk_drm_ddp.

[PATCH v10 04/13] drm/mediatek: add BLS component

2016-11-25 Thread YT Shen
Add BLS component for PWM + GAMMA function Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 5 - drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gp

[PATCH v10 01/13] drm/mediatek: add helpers for coverting from the generic components

2016-11-25 Thread YT Shen
define helpers for converting from 'mtk_ddp_comp' to 'mtk_disp_ovl' define helpers for converting from 'mtk_ddp_comp' to 'mtk_disp_rdma' Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 15 +-- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 15 +-- 2 file

[PATCH v10 00/13] MT2701 DRM support

2016-11-25 Thread YT Shen
This is MT2701 DRM support PATCH v10, based on 4.9-rc1. We add DSI interrupt control, transfer function for MIPI DSI panel support. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size change

Re: [PATCH 3/8] irda: w83977af_ir: Remove unnecessary blank lines

2016-11-25 Thread Sergei Shtylyov
Hello. On 11/24/2016 10:10 PM, Joe Perches wrote: These just add unnecessary vertical whitespace. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_i

Re: [PATCH 07/10] ARM: dts: sun8i-a33-olinuxino: use AXP223 DTSI

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > Previously, the Olimex A33-OlinuXino used everything declared in AXP221 > DTSI while it has an AXP223 PMIC. > > This corrects that so the Olimex A33-OlinuXino can get some features the > AXP223 has (at the moment, ability to have 100mA as ma

Re: [PATCH 05/10] mfd: axp20x: add separate MFD cell for AXP223

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > The AXP223 shares most of its logic with the AXP221 but has some > differences for the VBUS power supply driver. Thus, to probe the driver > with the correct compatible, the AXP221 and the AXP223 now have separate > MFD cells. > > Signed-off

Re: [PATCH V4 1/2] pinctrl: tegra: Add DT binding for io pads control

2016-11-25 Thread Thierry Reding
On Thu, Nov 24, 2016 at 02:08:53PM +0530, Laxman Dewangan wrote: > NVIDIA Tegra124 and later SoCs support the multi-voltage level and > low power state of some of its IO pads. The IO pads can work in > the voltage of the 1.8V and 3.3V of IO voltage from IO power rail > sources. When IO interfaces a

Re: [PATCH V4] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-11-25 Thread Viresh Kumar
On 25-11-16, 10:14, Lee Jones wrote: > On Thu, 27 Oct 2016, Viresh Kumar wrote: > > > The kernel WARNs and then crashes today if wm8994_device_init() fails > > after calling devm_regulator_bulk_get(). > > > > That happens because there are multiple devices involved here and the > > order in which

Aw: Re: [PATCH v2 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-25 Thread Lino Sanfilippo
Hi, > > On Fri, Nov 25, 2016 at 12:13:04AM +0100, Lino Sanfilippo wrote: > > --- a/include/linux/pci_ids.h > > +++ b/include/linux/pci_ids.h > > @@ -2015,6 +2015,24 @@ > > #define PCI_SUBDEVICE_ID_CCD_OV4S 0xE888 > > #define PCI_SUBDEVICE_ID_CCD_OV8S 0xE998 > > > > +#define PCI_VENDOR_ID_ALA

[GIT PULL for v4.9] media fix for xc2028 driver

2016-11-25 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.9-4 For a fix at the firmware load logic at the tuner-xc2028 driver. Regards, Mauro --- The following changes since commit 9c763584b7c8911106bb77af7e648bef09af9d80: Linux 4.9-rc6 (

[PATCH 0/2] more quirks for hid-sensor-hub

2016-11-25 Thread Benjamin Tissoires
Hi Jiri, here are 2 more quirks for the sensor-hub. Srinivas, I am wondering if we can not detect those automatically. Looking at the report_fixup, it looks like the buggy report descriptors have a logical max of 5 (which would correspond to an enum of 0 to 5). But there are 6 fields in the enum,

[PATCH 1/2] HID: sensor-hub add quirk for Microsoft Surface 3

2016-11-25 Thread Benjamin Tissoires
One more device requiring a quirk :/ Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-sensor-hub.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 50aad26..f9440b6 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/driver

[PATCH 2/2] HID: sensor-hub: add quirk for Microchip MM7150

2016-11-25 Thread Benjamin Tissoires
One more device requiring a quirk :/ Reported-by: Christian-Nils Boda Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-sensor-hub.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index f9440b6..9a1c5db 100644 --- a/drivers

Re: [PATCH 06/10] ARM: dtsi: add DTSI for AXP223

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > The AXP223 shares most of its logic with the AXP221 but it has some > differences for the VBUS driver. You could also mention this in the dtsi file itself. Otherwise, Acked-by: Chen-Yu Tsai > > Signed-off-by: Quentin Schulz > --- > ar

Re: [PATCH V4] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-11-25 Thread Lee Jones
On Thu, 27 Oct 2016, Viresh Kumar wrote: > The kernel WARNs and then crashes today if wm8994_device_init() fails > after calling devm_regulator_bulk_get(). > > That happens because there are multiple devices involved here and the > order in which managed resources are freed isn't correct. > > Th

[PATCH] HID: multitouch: handle external buttons for Precision Touchpads

2016-11-25 Thread Benjamin Tissoires
According to https://msdn.microsoft.com/en-us/library/windows/hardware/mt604195(v=vs.85).aspx external buttons have some weird usage mapping: - Button 2 Indicates Button State for external button for primary (default left) clicking. - Button 3 Indicates Button State for external button for secon

Re: [PATCH 08/10] ARM: dts: sun8i-a33-sinlinx-sina33: use AXP223 DTSI

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > Previously, the Sinlinx SinA33 used everything declared in AXP221 DTSI > while it has an AXP223 PMIC. > > This corrects that so the Sinlinx SinA33 can get some features the > AXP223 has (at the moment, ability to have 100mA as maximal curren

Re: [PATCH 10/10] ARM: dtsi: sun8i-reference-design-tablet: use AXP223 DTSI

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > Previously, the sun8i tablets used everything declared in AXP221 DTSI > while they have an AXP223 PMIC. > > This corrects that so the sun8i tablets can get some features the AXP223 > has (at the moment, ability to have 100mA as maximal curre

Re: Synopsys Ethernet QoS Driver

2016-11-25 Thread Giuseppe CAVALLARO
On 11/23/2016 12:43 PM, Joao Pinto wrote: > Rabin Vincent can review and test that the port works properly on our Artpec-chips that use dwc_eth_qos.c today. > > The main porting step is to implement the device tree binding in bindings/net/snps,dwc-qos-ethernet.txt. Also our chip has a strict re

Re: [PATCH 09/10] ARM: dts: sun8i-r16-parrot: use AXP223 DTSI

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > Previously, the Allwinner Parrot R16 used everything declared in AXP221 > DTSI while it has an AXP223 PMIC. > > This corrects that so the Allwinner Parrot R16 can get some features the > AXP223 has (at the moment, ability to have 100mA as ma

[PATCH v2 3/4] Documentation/local_ops.txt: convert to ReST markup

2016-11-25 Thread Silvio Fricke
... and move to core-api folder. Signed-off-by: Silvio Fricke --- Documentation/core-api/index.rst| 1 +- Documentation/local_ops.txt => Documentation/core-api/local_ops.rst | 275 +++ 2 files changed, 147 insertions(+), 129 deletions(-) diff --git a/D

[PATCH v2 1/4] Documentation/assoc_array.txt: convert to ReST markup

2016-11-25 Thread Silvio Fricke
... and move to Documentation/core-api folder. Signed-off-by: Silvio Fricke --- Documentation/assoc_array.txt => Documentation/core-api/assoc_array.rst | 617 ++-- Documentation/core-api/index.rst

[PATCH v2 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-25 Thread Silvio Fricke
... and move to core-api folder. Signed-off-by: Silvio Fricke --- Documentation/atomic_ops.txt => Documentation/core-api/atomic_ops.rst | 745 +--- Documentation/core-api/index.rst | 1 +-

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

2016-11-25 Thread Andy Shevchenko
On Fri, Nov 25, 2016 at 6:14 AM, Vadim Pasternak wrote: >> Thanks for reply. >> >> > First of all, please avoid top posting. >> >> Sorry for that. >> I posted on top, because it doesn't come as reply to something (but it seems >> I >> should post at bottom in suc case). >> >> > I will process the

[PATCH v2 4/4] firmware: remove warning at documentation generation time

2016-11-25 Thread Silvio Fricke
This patch removes following error at for `make htmldocs`. No functional change. ./drivers/base/firmware_class.c:1348: WARNING: Bullet list ends without a blank line; unexpected unindent. Signed-off-by: Silvio Fricke --- drivers/base/firmware_class.c | 6 +++--- 1 file changed, 3 inser

[PATCH v2 0/4] core-api ReST: assoc_array, atomic_ops, local_ops

2016-11-25 Thread Silvio Fricke
Hi, Some more ReSTification of core-api's: assoc_array, atomic_ops and local_ops. A fourth patch removes a warning about a bullet list without ending at firmware_class.c v1 -> v2 * use format-patch with a rename_threshold of 10%, no other changes Thanks for review. BR Silvio Silvio Fricke (4):

[PATCH] net: fec: turn on device when extracting statistics

2016-11-25 Thread Nikita Yushchenko
Execution 'ethtool -S' on fec device that is down causes OOPS on Vybrid board: Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0898200 pgd = ddecc000 [e0898200] *pgd=9e406811, *pte=400d1653, *ppte=400d1453 Internal error: : 1008 [#1] SMP ARM ... Reason of OOPS is that fec_enet_get

Re: Getting at gpio- and pinctrl-devices as a consumer

2016-11-25 Thread Peter Rosin
On 2016-11-25 00:29, Linus Walleij wrote: > On Thu, Nov 24, 2016 at 10:35 PM, Peter Rosin wrote: > >> The background is that the gpio- and pinctrl-based i2c-mux drivers >> need to know if the device that is used to control the mux of the >> i2c-bus is also sitting on that very same i2c-bus. If it

Re: [PATCH v2 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-25 Thread Greg KH
On Fri, Nov 25, 2016 at 12:13:04AM +0100, Lino Sanfilippo wrote: > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -2015,6 +2015,24 @@ > #define PCI_SUBDEVICE_ID_CCD_OV4S0xE888 > #define PCI_SUBDEVICE_ID_CCD_OV8S0xE998 > > +#define PCI_VENDOR_ID_ALACRITECH

Re: [PATCH V4 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-25 Thread Thierry Reding
On Thu, Nov 24, 2016 at 02:08:54PM +0530, Laxman Dewangan wrote: > NVIDIA Tegra124 and later SoCs support the multi-voltage level and > low power state of some of its IO pads. The IO pads can work in > the voltage of the 1.8V and 3.3V of IO voltage from IO power rail > sources. When IO interfaces a

Re: [PATCH 04/10] power: supply: axp20x_usb_power: add 100mA max current limit for AXP223

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > The X-Powers AXP223 shares most of its behaviour with the AXP221 PMIC > but allows the VBUS power supply max current to be set to 100mA (like > the AXP209 PMIC). > > This basically adds a new compatible to the VBUS power supply driver and >

Re: [PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS

2016-11-25 Thread Lee Jones
On Fri, 25 Nov 2016, Mugunthan V N wrote: > Hi Dmitry Torokhov, > > On Thursday 10 November 2016 10:05 PM, Mugunthan V N wrote: > > This patch series enables ADC to be clocked at 24MHz as the > > TI AM335x ADC driver has already adopted to use DMA to transfer > > ADC samples. Now ADC can generate

Re: [RFC PATCH net v2 0/3] Fix OdroidC2 Gigabit Tx link issue

2016-11-25 Thread Jerome Brunet
On Thu, 2016-11-24 at 18:10 +0100, Martin Blumenstingl wrote: > On Thu, Nov 24, 2016 at 5:01 PM, Jerome Brunet > wrote: > > > > On Thu, 2016-11-24 at 15:40 +0100, Martin Blumenstingl wrote: > > > > > > Hi Jerome, > > > > > > On Mon, Nov 21, 2016 at 4:35 PM, Jerome Brunet > > com> > > > wrote:

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-25 Thread Greg KH
On Thu, Nov 24, 2016 at 10:49:33PM -0500, Mark Lord wrote: > There is no possibility for them to be used for anything other than > USB receive buffers, for this driver only. Nothing in the driver > or kernel ever writes to those buffers after initial allocation, > and only the driver and USB host

Re: [PATCH 5/7] efi: Get the secure boot status [ver #3]

2016-11-25 Thread Ard Biesheuvel
On 25 November 2016 at 09:30, David Howells wrote: > James Bottomley wrote: > >> Since you seem to be using this to mean "is the platform locked down?", >> this looks to be no longer complete in the UEFI 2.6 world. If >> DeployedMode == 0, even if SecureBoot == 1 and SetupMode == 0, you can >> r

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-25 Thread Hayes Wang
Mark Lord [mailto:ml...@pobox.com] > Sent: Friday, November 25, 2016 3:11 AM [...] > On 16-11-24 02:00 PM, Greg KH wrote: > > On Thu, Nov 24, 2016 at 01:34:08PM -0500, Mark Lord wrote: > >> One thought: bulk data streams are byte streams, not packets. > >> Scheduling on the USB bus can break up la

[PATCH] auxdisplay: ht16k33: select required CONFIG_FB_CFB_* helpers

2016-11-25 Thread Robin van der Gracht
This selects the respective helpers required in addition to the one Arnd Bergmann pointer out earlier. Signed-off-by: Robin van der Gracht --- This is a responce to https://lkml.org/lkml/2016/11/25/66 This patch complements the changes Arnd submitted earlier. drivers/auxdisplay/Kconfig | 3 +++

[PATCH v2 1/1] staging: ks7010: fixed 'space prohibited after that *' erros.

2016-11-25 Thread Yamanappagouda Patil
Fixed checkpatch.pl errors related to "space prohibited after that '*' or '&'" in ks_wlan_net.c file. Signed-off-by: Yamanappagouda Patil --- drivers/staging/ks7010/ks_wlan_net.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c

Re: [PATCH 02/10] power: supply: axp20x_usb_power: set min voltage and max current from sysfs

2016-11-25 Thread Thomas Petazzoni
Quentin, On Fri, 25 Nov 2016 10:09:13 +0100, Quentin Schulz wrote: > +static int axp20x_usb_power_set_property(struct power_supply *psy, > + enum power_supply_property psp, > + const union power_supply_propval *val) > +{ >

Re: [PATCH] cpuset: Remove unused 'struct cpuset*' variable

2016-11-25 Thread Arnd Bergmann
On Friday, November 25, 2016 1:46:04 PM CET Zefan Li wrote: > On 2016/11/25 12:55, Kirtika Ruchandani wrote: > > 'struct cpuset* cs' that is set but not used, was introduced in commit > > 1f7dd3e5a6e4 ("cgroup: fix handling of multi-destination migration from > > subtree_control enabling"). > > cp

Re: [PATCH 4.8 00/67] 4.8.11-stable review

2016-11-25 Thread Greg Kroah-Hartman
On Thu, Nov 24, 2016 at 09:20:40PM -0800, kernelci.org bot wrote: > stable-rc boot: 207 boots: 8 failed, 196 passed with 3 offline > (v4.8.10-68-g5b1cb43a9ac7) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/kernel/v4.8.10-68-g5b1cb43a9ac7/ > Full Build Summary: > https://k

Re: [PATCH 4.4 00/31] 4.4.35-stable review

2016-11-25 Thread Greg Kroah-Hartman
On Thu, Nov 24, 2016 at 08:40:40PM -0800, kernelci.org bot wrote: > stable-rc boot: 216 boots: 7 failed, 208 passed with 1 offline > (v4.4.34-32-gcd586a7eea80) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/kernel/v4.4.34-32-gcd586a7eea80/ > Full Build Summary: > https://k

Re: [PATCH 5/7] efi: Get the secure boot status [ver #3]

2016-11-25 Thread David Howells
James Bottomley wrote: > Since you seem to be using this to mean "is the platform locked down?", > this looks to be no longer complete in the UEFI 2.6 world. If > DeployedMode == 0, even if SecureBoot == 1 and SetupMode == 0, you can > remove the platform key by writing 1 to AuditMode and gain c

Re: [PATCH 02/10] power: supply: axp20x_usb_power: set min voltage and max current from sysfs

2016-11-25 Thread Chen-Yu Tsai
On Fri, Nov 25, 2016 at 5:09 PM, Quentin Schulz wrote: > AXP20X and AXP22X PMICs allow setting the min voltage and max current of > VBUS power supply. This adds entries in sysfs to allow to do so. > > Signed-off-by: Quentin Schulz > --- > drivers/power/supply/axp20x_usb_power.c | 72 > +

Re: [PATCH 4.8 00/67] 4.8.11-stable review

2016-11-25 Thread Greg Kroah-Hartman
On Thu, Nov 24, 2016 at 04:48:23PM -0800, Guenter Roeck wrote: > On 11/24/2016 07:26 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.11 release. > > There are 67 patches in this series, all will be posted as a response > > to this one. If anyone has any i

pull-request: wireless-drivers-next 2016-11-25

2016-11-25 Thread Kalle Valo
Hi Dave, here's a pull request for 4.10. ath9k has now been converted to use mac80211 intermediate software queues to fix bufferbloat problems. rsi has become active again and latevy mwifiex has been getting a _lot_ of love. I'm not expecting to see any problems with this pull request. When you p

Re: [PATCH v4 3/3] sound/usb: Use Media Controller API to share media resources

2016-11-25 Thread Mauro Carvalho Chehab
Em Wed, 16 Nov 2016 07:29:11 -0700 Shuah Khan escreveu: > Change ALSA driver to use Media Controller API to share media resources > with DVB, and V4L2 drivers on a AU0828 media device. > > Media Controller specific initialization is done after sound card is > registered. ALSA creates Media inte

Re: [PATCH v2 2/2] dmaengine: omap-dma: Support for slave devices with data port window

2016-11-25 Thread Peter Ujfalusi
On 11/25/2016 08:12 AM, Vinod Koul wrote: > On Thu, Nov 17, 2016 at 02:50:17PM +0200, Peter Ujfalusi wrote: >> @@ -921,11 +931,45 @@ static struct dma_async_tx_descriptor >> *omap_dma_prep_slave_sg( >> >> d->ccr = c->ccr | CCR_SYNC_FRAME; >> if (dir == DMA_DEV_TO_MEM) { >> -

<    1   2   3   4   5   6   7   8   9   >