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

2016-10-31 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 v2 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-10-31 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-codec.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH v2 0/3] Add Mediatek JPEG Decoder

2016-10-31 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG hw for decoding JPEG image and Motion JPEG bitstream. changes since v1: - Rebase for v4.9-rc1. - Update Compliance test version and result - Remove redundant path in Makefile - Fix potential build error without CONFIG_PM_RUNTIME

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

2016-10-31 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 v10 18/19] docs: Sysfs ABI for mediated device framework

2016-10-31 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > Added details of sysfs ABI for mediated device framework > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: Icb0fd4ed58a2fa793fbcb1c3d5009a4403c1f3ac > --- > Documentation/ABI/testing/sysfs-bus-vfio-mdev | 111 > +

Re: [Xen-devel] [PATCH 1/1] xen-netfront: do not cast grant table reference to signed short

2016-10-31 Thread Jan Beulich
>>> On 31.10.16 at 06:38, wrote: > --- a/drivers/net/xen-netfront.c > +++ b/drivers/net/xen-netfront.c > @@ -304,7 +304,7 @@ static void xennet_alloc_rx_buffers(struct netfront_queue > *queue) > queue->rx_skbs[id] = skb; > > ref = gnttab_claim_grant_reference(&queue-

Re: [PATCH v3] staging: iio: cdc: ad7746: add additional config defines

2016-10-31 Thread Eva Rachel Retuya
On Sun, Oct 30, 2016 at 06:49:00PM +, Jonathan Cameron wrote: > On 30/10/16 17:46, Lars-Peter Clausen wrote: > > On 10/30/2016 06:41 PM, Jonathan Cameron wrote: > >> On 28/10/16 09:26, Eva Rachel Retuya wrote: > >>> Introduce defines for shifting and mask under the config register for > >>> bet

[PATCH v3 2/3] clocksource: update "fn" at CLOCKSOURCE_OF_DECLARE() of nps400 timer

2016-10-31 Thread Noam Camus
From: Noam Camus nps_setup_clocksource() should take node as only argument i.e.: replace int __init nps_setup_clocksource(struct device_node *node, struct clk *clk) with int __init nps_setup_clocksource(struct device_node *node) This is also serve as preperation for next patch which adds support

[PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-31 Thread Noam Camus
From: Noam Camus Till now we used clockevent from generic ARC driver. This was enough as long as we worked with simple multicore SoC. When we are working with multithread SoC each HW thread can be scheduled to receive timer interrupt using timer mask register. This patch will provide a way to con

[PATCH v3 0/3] Add clockevet for timer-nps driver to NPS400 SoC

2016-10-31 Thread Noam Camus
From: Noam Camus Change log --- V2 --> V3 Apply Rob Herring comment about backword compatibility V1 --> V2 Apply Daniel Lezcano comments: CLOCKSOURCE_OF_DECLARE return value update hotplug callbacks usage squash of 2 first commits. In this version I created new commit to

Re: [PATCHv2 3/4] mfd: altr-a10sr: Add Arria10 SR Monitor

2016-10-31 Thread Lee Jones
On Thu, 27 Oct 2016, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the Altera Arria10 DevKit System Resource Monitor functionality > to the MFD device. > > Signed-off-by: Thor Thayer > --- > v2 Change from -mon to -monitor for clarity > --- > drivers/mfd/altera-a10sr.c | 4

Re: [PATCH 3/3] NCR5380: Check for chip presence in NCR5380_init()

2016-10-31 Thread Ondrej Zary
On Monday 31 October 2016, Finn Thain wrote: > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > Read back MODE_REG after writing it in NCR5380_init() to check if the > > chip is really there. > > > > This prevents hang when incorrect I/O address was specified by user. > > > > Signed-off-by: Ondrej Zary

Re: [PATCH v3] staging: iio: cdc: ad7746: add additional config defines

2016-10-31 Thread Eva Rachel Retuya
On Mon, Oct 31, 2016 at 03:49:01PM +0800, Eva Rachel Retuya wrote: > On Sun, Oct 30, 2016 at 06:49:00PM +, Jonathan Cameron wrote: > > On 30/10/16 17:46, Lars-Peter Clausen wrote: > > > On 10/30/2016 06:41 PM, Jonathan Cameron wrote: > > >> On 28/10/16 09:26, Eva Rachel Retuya wrote: > > >>> In

[PATCH] staging: vc04_services: add vchiq_pagelist_info structure

2016-10-31 Thread Michael Zoran
The current dma_map_sg based implementation for bulk messages computes many offsets into a single allocation multiple times in both the create and free code paths. This is inefficient, error prone and in fact still has a few lingering issues with arm64. This change replaces a small portion of tha

Re: [PATCH 1/3] NCR5380: Use probe_irq_*() for IRQ probing

2016-10-31 Thread Ondrej Zary
On Monday 31 October 2016, Finn Thain wrote: > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > Use standard probe_irq_on() and probe_irq_off() functions instead of own > > implementation. > > Thanks for doing this. > > > This prevents warning messages like this in the kernel log: > > genirq: Flags mism

[PATCH v3 1/3] soc: Support for NPS HW scheduling

2016-10-31 Thread Noam Camus
From: Noam Camus This new header file is for NPS400 SoC (part of ARC architecture). The header file includes macros for save/restore of HW scheduling. The control of HW scheduling is acheived by writing core registers. This code was moved from arc/plat-eznps so it can be used from drivers/clockso

Re: [PATCH 1/4] mfd: ti_am335x_tscadc: store physical address

2016-10-31 Thread Lee Jones
On Sun, 30 Oct 2016, Jonathan Cameron wrote: > On 26/10/16 13:17, Lee Jones wrote: > > On Fri, 30 Sep 2016, Mugunthan V N wrote: > > > >> On Wednesday 28 September 2016 01:10 AM, Lee Jones wrote: > >>> On Wed, 21 Sep 2016, Mugunthan V N wrote: > >>> > store the physical address of the device

RE: [PATCH net] r8152: Fix broken RX checksums.

2016-10-31 Thread Hayes Wang
> >>> The r8152 driver has been broken since (approx) 3.16.xx > >>> when support was added for hardware RX checksums > >>> on newer chip versions. Symptoms include random > >>> segfaults and silent data corruption over NFS. > >>> > >>> The hardware checksum logig does not work on the VER_02 > >>>

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-31 Thread Lukasz Majewski
Hi Sascha, > On Thu, Oct 27, 2016 at 09:40:05AM +0200, Boris Brezillon wrote: > > On Thu, 27 Oct 2016 08:29:39 +0200 > > Lukasz Majewski wrote: > > > > > The code has been rewritten to remove "generic" calls to > > > imx_pwm_{enable|disable|config}. > > > > > > Such approach would facilitate sw

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

2016-10-31 Thread Lee Jones
On Fri, 28 Oct 2016, Enric Balletbo i Serra wrote: > 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 >

[PATCH v2] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread He Chen
The spec can be found in Intel Software Developer Manual or in Instruction Set Extensions Programming Reference. Signed-off-by: Luwei Kang Signed-off-by: He Chen --- Changes in v2: * add new macros for new AVX512 scattered features * add a cpuid_count_edx function to processor.h --- arch/x86/in

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-31 Thread Simon Horman
On Wed, Oct 26, 2016 at 02:00:24PM +0200, Geert Uytterhoeven wrote: > Hi Mike, Stephen, > > On Fri, Oct 21, 2016 at 3:17 PM, Geert Uytterhoeven > wrote: > > Currently the R-Car Clock Pulse Generator (CPG) drivers obtains the > > state of the mode pins either by a call from the platform code, or >

[PATCH] Staging:emxx_udc:emxx_udc: Compression of lines for immediate return

2016-10-31 Thread Nadim Almas
This patch compresses two lines into a single line if immediate return statement is found. Remove variable data as it is no longer needed. It is done using script Coccinelle. And coccinelle uses the following semantic patch for this compression function @@ local idexpression ret; expression e; @@

Re: [PATCH 1/2] ARM: oxnas: Add OX820 SMP support

2016-10-31 Thread Russell King - ARM Linux
On Mon, Oct 17, 2016 at 11:34:32AM +0200, Neil Armstrong wrote: > On 10/17/2016 11:06 AM, Arnd Bergmann wrote: > > On Monday, October 17, 2016 10:43:02 AM CEST Neil Armstrong wrote: > > This seems to have been copied from plat-versatile, but is really > > not needed here since you apparently have p

Re: [RESEND][PATCH] crypto: caam: add support for iMX6UL

2016-10-31 Thread Russell King - ARM Linux
On Mon, Oct 17, 2016 at 01:28:00PM +0200, Marcus Folkesson wrote: > i.MX6UL does only require three clocks to enable CAAM module. > > Signed-off-by: Marcus Folkesson > Acked-by: Rob Herring > Reviewed-by: Horia Geantă > --- > .../devicetree/bindings/crypto/fsl-sec4.txt| 20

Re: [PATCH 0/6] mfd: audit and demodule drivers/mfd/ab* drivers

2016-10-31 Thread Linus Walleij
On Sun, Oct 30, 2016 at 2:24 AM, Paul Gortmaker wrote: > Nothing new here ; just another instance where we had modular remove > and exit functions -- but the Makefile/Kconfig limited the use case to > being always built-in; hence the code is useless and needs removing. > > So we remove the dead c

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-31 Thread Pavel Machek
Hi! > On Fri, Oct 28, 2016 at 01:21:36PM +0200, Pavel Machek wrote: > > > Has this been tested on a system vulnerable to rowhammer, and if so, was > > > it reliable in mitigating the issue? > > > > > > Which particular attack codebase was it tested against? > > > > I have rowhammer-test here, >

Re: [PATCH v2] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2016-10-31 Thread Simon Horman
On Mon, Oct 31, 2016 at 12:15:16AM -0500, Rob Herring wrote: > On Thu, Oct 27, 2016 at 07:45:10PM +0900, Magnus Damm wrote: > > From: Magnus Damm > > > > Update the IPMMU DT binding documentation to include the r8a7796 compat > > string for R-Car M3-W. > > > > Signed-off-by: Magnus Damm > > Ack

Re: [Xen-devel] [PATCH 1/1] xen-netfront: do not cast grant table reference to signed short

2016-10-31 Thread Dongli Zhang
> > ref = gnttab_claim_grant_reference(&queue->gref_rx_head); > > -BUG_ON((signed short)ref < 0); > > +WARN_ON_ONCE(IS_ERR_VALUE((unsigned long)ref)); > You really need to cast to plain (or signed) long here - casting to > unsigned long will work on

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-31 Thread Geert Uytterhoeven
Hi Mike, Stephen, Arnd, Olof, Kevin, Is the merge strategy [see # below] OK for you? Thanks a lot! On Mon, Oct 31, 2016 at 9:19 AM, Simon Horman wrote: > On Wed, Oct 26, 2016 at 02:00:24PM +0200, Geert Uytterhoeven wrote: >> On Fri, Oct 21, 2016 at 3:17 PM, Geert Uytterhoeven >> wrote: >> >

Re: [PATCH V2] pinctrl: qcom: Add msm8994 pinctrl driver

2016-10-31 Thread Linus Walleij
On Sat, Oct 29, 2016 at 8:06 PM, Bjorn Andersson wrote: > Please add the compatible and you have my > > Acked-by: Bjorn Andersson Michael, please add this compatible, add the ACKs and resend and I'll queue the patch. Yours, Linus Walleij

Re: [PATCH 2/3] g_NCR5380: Test the IRQ before accepting it

2016-10-31 Thread Ondrej Zary
On Monday 31 October 2016, Finn Thain wrote: > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > Trigger an IRQ first with a test IRQ handler to find out if it really > > works. Disable the IRQ if not. > > > > This prevents hang when incorrect IRQ was specified by user. > > > > Signed-off-by: Ondrej Zary

[PATCH v2] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread He Chen
The spec can be found in Intel Software Developer Manual or in Instruction Set Extensions Programming Reference. Signed-off-by: Luwei Kang Signed-off-by: He Chen --- Changes in v2: * add new macros for new AVX512 scattered features * add a cpuid_count_edx function to processor.h --- arch/x86/in

Re: [PATCH 5/9] ASoC: pxa: switch to new ac97 bus support

2016-10-31 Thread Robert Jarzmik
Robert Jarzmik writes: > Switch to the new ac97 bus support in sound/ac97 instead of the legacy > snd_ac97 one. > > Signed-off-by: Robert Jarzmik I realized this one impacts sound/arm/pxa2xx-ac97.c. This deserves a v2, with this patch being split into 2 pieces : - one for pxa2xx-ac97-lib.* - o

Re: [PATCH V2 6/6] arm64: Add uprobe support

2016-10-31 Thread Pratyush Anand
Hi Catalin, On Sun, Oct 30, 2016 at 7:39 PM, Catalin Marinas wrote: > On Tue, Sep 27, 2016 at 01:18:00PM +0530, Pratyush Anand wrote: >> --- /dev/null >> +++ b/arch/arm64/kernel/probes/uprobes.c >> @@ -0,0 +1,221 @@ >> +/* >> + * Copyright (C) 2014-2016 Pratyush Anand >> + * >> + * This program

Re: [PATCH 0/5] drm/sun4i: Handle TV overscan

2016-10-31 Thread Russell King - ARM Linux
On Tue, Oct 18, 2016 at 12:03:49PM +0200, Maxime Ripard wrote: > The first one is that this overscanning should be reported by the > connector I guess? but this is really TV specific, so we need one way > to let the user tell how the image is displayed on its side, and we > cannot really autodetect

Re: [Xen-devel] [PATCH 1/1] xen-netfront: do not cast grant table reference to signed short

2016-10-31 Thread Jan Beulich
>>> On 31.10.16 at 09:28, wrote: >> > ref = gnttab_claim_grant_reference(&queue->gref_rx_head); >> > -BUG_ON((signed short)ref < 0); >> > +WARN_ON_ONCE(IS_ERR_VALUE((unsigned long)ref)); > >> You really need to cast to plain (or signed) long here -

Re: [RFC PATCH 3/5] gpio-dmec: gpio support for dmec

2016-10-31 Thread Zahari Doychev
On Sat, Oct 29, 2016 at 11:05:29AM +0200, Linus Walleij wrote: > On Thu, Oct 27, 2016 at 12:47 PM, Zahari Doychev > wrote: > > > This is support for the gpio functionality found on the Data Modul embedded > > controllers > > > > Signed-off-by: Zahari Doychev > > --- > > drivers/staging/dmec/Kco

Re: [PATCH 1/4] printk/NMI: Handle continuous lines and missing newline

2016-10-31 Thread David Sterba
On Thu, Oct 27, 2016 at 05:52:51PM +0200, Petr Mladek wrote: > +static int printk_nmi_flush_buffer(unsigned char *start, size_t len) > { > - const char *buf = s->buffer + start; > + unsigned char *c, *end; > + bool header; > + > + c = start; > + end = start + len; > + heade

Re: [PATCH] [ARM] Fix stack alignment when processing backtraces

2016-10-31 Thread Russell King - ARM Linux
On Tue, Oct 18, 2016 at 11:05:10AM -0600, Jason Gunthorpe wrote: > The dumpstm helper within c_backtrace pushed 5 dwords onto the stack > causing the stack to become unaligned and then calls printk. This > causes memory corruption in the kernel which assumes AAPCS calling > convention. > > Since t

Re: [PATCH 3/4] printk/btrfs: Handle more message headers

2016-10-31 Thread David Sterba
On Thu, Oct 27, 2016 at 05:52:53PM +0200, Petr Mladek wrote: > The commit 4bcc595ccd80decb4245096e ("printk: reinstate KERN_CONT for > printing continuation lines") allows to define more message headers > for a single message. The motivation is that continuous lines might > get mixed. Therefore it

Re: [PATCH] drm: tda998x: mali-dp: hdlcd: refactor connector registration

2016-10-31 Thread Russell King - ARM Linux
On Mon, Oct 24, 2016 at 10:24:42PM +0200, Daniel Vetter wrote: > On Mon, Oct 24, 2016 at 4:52 PM, Brian Starkey wrote: > >> > >>> diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c > >>> b/drivers/gpu/drm/i2c/tda998x_drv.c > >>> index f4315bc..6e6fca2 100644 > >>> --- a/drivers/gpu/drm/i2c/tda998x_drv

Re: [PATCH] drm: tda998x: mali-dp: hdlcd: refactor connector registration

2016-10-31 Thread Russell King - ARM Linux
On Tue, Oct 25, 2016 at 12:19:19PM +0200, Daniel Vetter wrote: > On Tue, Oct 25, 2016 at 10:52:33AM +0100, Brian Starkey wrote: > > Hi Daniel, > > > > On Mon, Oct 24, 2016 at 10:24:42PM +0200, Daniel Vetter wrote: > > > On Mon, Oct 24, 2016 at 4:52 PM, Brian Starkey > > > wrote: > > > > > > > >

双11预售专场已经开启!低至五折,双十一前囤货高峰!

2016-10-31 Thread 人眼
双11海量好货提前曝光 提前查看双11好货,抢先收藏,双11当天立即下单,避免排队付款,不止是五折! 电脑用户入口:http://s.click.taobao.com/0DPUWPx 手机用户入口:http://s.click.taobao.com/XQlUWPx

Re: [PATCH 5/5] irqchip: st: Remove obsolete platforms from dt binding doc

2016-10-31 Thread Peter Griffin
On Fri, 21 Oct 2016, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STiH415/6 SoC support is being removed from the kernel. > This patch updates the sti irchip and removes > references to these obsolete platforms. > > Signed-off-by: Patrice Chotard > Cc: > Cc: > Cc: > --- > .../

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread Luc, Piotr
On Sat, 2016-10-29 at 08:21 -0400, Paolo Bonzini wrote: > > Currently none of the bits in CPUID[7,0].edx is ever masked by the > host, so > this would be enough.  If we ever need to do some masking, I guess > I'll > practice my puss-in-boots look and submit a patch to add CPUID[7,0] > back > as a

Re: [PATCH v3] clkdev: Detect errors in clk_hw_register_clkdev() for mass registration

2016-10-31 Thread Russell King - ARM Linux
On Fri, Oct 21, 2016 at 09:02:38AM +0200, Geert Uytterhoeven wrote: > Unlike clk_register_clkdev(), clk_hw_register_clkdev() doesn't check for > passed error objects from a previous registration call. Hence the caller > of clk_hw_register_*() has to check for errors before calling > clk_hw_register

Re: [PATCH] clk: fix link error for rcar-gen2

2016-10-31 Thread Geert Uytterhoeven
On Tue, Oct 25, 2016 at 10:37 AM, Geert Uytterhoeven wrote: > On Fri, Oct 21, 2016 at 11:07 PM, Arnd Bergmann wrote: >> On Friday, October 21, 2016 8:01:49 PM CEST Geert Uytterhoeven wrote: >>> > diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile >>> > index 90dd0db7d9c6..76

Re: [PATCH 0/9] s390: remove modular usage from non-modular code

2016-10-31 Thread Heiko Carstens
On Sun, Oct 30, 2016 at 04:37:23PM -0400, Paul Gortmaker wrote: > My ongoing audit looking for non-modular code that needlessly uses > modular macros (vs. built-in equivalents) and/or has dead code > relating to module unloading that can never be executed led to the > creation of these s390 related

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-31 Thread Sascha Hauer
On Mon, Oct 31, 2016 at 09:06:00AM +0100, Lukasz Majewski wrote: > Hi Sascha, > > > On Thu, Oct 27, 2016 at 09:40:05AM +0200, Boris Brezillon wrote: > > > On Thu, 27 Oct 2016 08:29:39 +0200 > > > Lukasz Majewski wrote: > > > > > > > The code has been rewritten to remove "generic" calls to > > >

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-31 Thread Sascha Hauer
On Mon, Oct 31, 2016 at 06:59:04AM +0100, Sascha Hauer wrote: > On Thu, Oct 27, 2016 at 09:40:05AM +0200, Boris Brezillon wrote: > > On Thu, 27 Oct 2016 08:29:39 +0200 > > Lukasz Majewski wrote: > > > > > The code has been rewritten to remove "generic" calls to > > > imx_pwm_{enable|disable|confi

Re: [PATCH 12/15] ptp: use permission-specific DEVICE_ATTR variants

2016-10-31 Thread Richard Cochran
On Sat, Oct 29, 2016 at 09:37:06PM +0200, Julia Lawall wrote: > Use DEVICE_ATTR_RO for read only attributes. This simplifies the > source code, improves readbility, and reduces the chance of > inconsistencies. Acked-by: Richard Cochran

Re: [PATCH v3] clkdev: Detect errors in clk_hw_register_clkdev() for mass registration

2016-10-31 Thread Geert Uytterhoeven
Hi Russell, On Mon, Oct 31, 2016 at 10:22 AM, Russell King - ARM Linux wrote: > On Fri, Oct 21, 2016 at 09:02:38AM +0200, Geert Uytterhoeven wrote: >> Unlike clk_register_clkdev(), clk_hw_register_clkdev() doesn't check for >> passed error objects from a previous registration call. Hence the call

Re: [PATCH v2][RESEND] seq_file: don't set read position for invalid iterator

2016-10-31 Thread Tomasz Majchrzak
On Wed, Oct 26, 2016 at 11:17:13AM +0200, Miklos Szeredi wrote: > On Wed, Oct 12, 2016 at 2:07 PM, Tomasz Majchrzak > wrote: > > If kernfs file is empty on a first read, successive read operations > > using the same file descriptor will return no data, even when data is > > available. Default kern

Re: [PATCH 3/3] NCR5380: Check for chip presence in NCR5380_init()

2016-10-31 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > On Monday 31 October 2016, Finn Thain wrote: > > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > > Read back MODE_REG after writing it in NCR5380_init() to check if the > > > chip is really there. > > > > > > This prevents hang when incorrect I/O address was

[PATCH] gcov: support GCC 7.1

2016-10-31 Thread Martin Liška
Hello. Starting from GCC 7.1, __gcov_exit is a new symbol expected to be implemented in a profiling runtime. Thanks, Martin >From 84a106c16adc9591b546da7feb0fc539314e079d Mon Sep 17 00:00:00 2001 From: marxin Date: Fri, 30 Sep 2016 14:00:20 +0200 Subject: [PATCH] gcov: support GCC 7.1 Starting

Re: [PATCH v6 2/2] iio: adc: add support for Allwinner SoCs ADC

2016-10-31 Thread Quentin Schulz
Hi Jonathan and Lee, On 30/10/2016 17:59, Jonathan Cameron wrote: > On 15/09/16 13:44, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs AD

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-31 Thread Matt Fleming
On Sun, 30 Oct, at 08:59:58AM, Dan Williams wrote: > On Sun, Oct 30, 2016 at 5:08 AM, Thorsten Leemhuis > wrote: > > JFYI: I added this report to the list of regressions for Linux 4.9. I'll > > watch this thread for further updates on this issue to document progress > > in my weekly reports. Pleas

Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver

2016-10-31 Thread Bartosz Golaszewski
2016-10-31 5:30 GMT+01:00 Rob Herring : > On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewski wrote: >> Create the driver for the da8xx master peripheral priority >> configuration and implement support for writing to the three >> Master Priority registers on da850 SoCs. >> >> Signed-off-b

Re: [PATCH 1/3] NCR5380: Use probe_irq_*() for IRQ probing

2016-10-31 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > On Monday 31 October 2016, Finn Thain wrote: > > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > > Use standard probe_irq_on() and probe_irq_off() functions instead of own > > > implementation. > > > > Thanks for doing this. > > > > > This prevents warning me

Re: [RFC PATCH 01/13] pinctrl: meson: Add GXL pinctrl definitions

2016-10-31 Thread Neil Armstrong
On 10/24/2016 03:03 AM, Linus Walleij wrote: > On Fri, Oct 21, 2016 at 4:40 PM, Neil Armstrong > wrote: > >> Add support for the Amlogic Meson GXL SoC, this is a partially complete >> definition only based on the Amlogic Vendor tree. >> >> This definition differs a lot from the GXBB and needs a

Re: [PATCH 2/3] g_NCR5380: Test the IRQ before accepting it

2016-10-31 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > On Monday 31 October 2016, Finn Thain wrote: > > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > > Trigger an IRQ first with a test IRQ handler to find out if it really > > > works. Disable the IRQ if not. > > > > > > This prevents hang when incorrect IRQ was

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

2016-10-31 Thread Sergei Shtylyov
Hello. On 10/31/2016 2:02 AM, Paul Cercueil wrote: This commit adds documentation for the device-tree bindings of the jz4740-rtc driver, which supports the RTC unit present in the JZ4740 and JZ4780 SoCs from Ingenic. Signed-off-by: Paul Cercueil Acked-by: Maarten ter Huurne --- .../devicetr

Re: [PATCH] cxl: Fix error handling

2016-10-31 Thread Michael Ellerman
Andrew Donnellan writes: > On 31/10/16 08:34, Christophe JAILLET wrote: >> 'cxl_dev_context_init()' returns an error pointer in case of error, not >> NULL. So test it with IS_ERR. >> >> Signed-off-by: Christophe JAILLET > > Reviewed-by: Andrew Donnellan > >> --- >> un-compiled because I don't h

Re: [PATCH v2 5/7] MIPS: jz4740: DTS: Probe the jz4740-rtc driver from devicetree

2016-10-31 Thread Sergei Shtylyov
Hello. On 10/31/2016 2:02 AM, Paul Cercueil wrote: Now that the jz4740-rtc driver supports devicetree, we can add a devicetree node for it. Signed-off-by: Paul Cercueil Acked-by: Maarten ter Huurne --- arch/mips/boot/dts/ingenic/jz4740.dtsi | 11 +++ 1 file changed, 11 insertions(+)

Re: [PATCH] clk: fix link error for rcar-gen2

2016-10-31 Thread Simon Horman
On Mon, Oct 31, 2016 at 10:23:00AM +0100, Geert Uytterhoeven wrote: > On Tue, Oct 25, 2016 at 10:37 AM, Geert Uytterhoeven > wrote: > > On Fri, Oct 21, 2016 at 11:07 PM, Arnd Bergmann wrote: > >> On Friday, October 21, 2016 8:01:49 PM CEST Geert Uytterhoeven wrote: > >>> > diff --git a/drivers/cl

Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver

2016-10-31 Thread Sekhar Nori
Hi Bartosz, On Monday 31 October 2016 03:10 PM, Bartosz Golaszewski wrote: > 2016-10-31 5:30 GMT+01:00 Rob Herring : >> On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewski wrote: >>> Create the driver for the da8xx master peripheral priority >>> configuration and implement support for wr

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread Borislav Petkov
On Mon, Oct 31, 2016 at 09:15:43AM +, Luc, Piotr wrote: > I think that in v4.9-rc2 the CPUID[7,0].edx bits can be masked out by > applying noxsave to cmdline. Using directly cpu_count will result in > passing the bits in edx to a guest directly while the xsaveopt and rest > of AVX512 features b

Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver

2016-10-31 Thread Bartosz Golaszewski
2016-10-31 10:52 GMT+01:00 Sekhar Nori : > Hi Bartosz, > > On Monday 31 October 2016 03:10 PM, Bartosz Golaszewski wrote: >> 2016-10-31 5:30 GMT+01:00 Rob Herring : >>> On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewski wrote: Create the driver for the da8xx master peripheral priori

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-31 Thread Neil Armstrong
On 10/30/2016 09:41 PM, Rob Herring wrote: > On Fri, Oct 21, 2016 at 10:44:45AM +0200, Neil Armstrong wrote: >> Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. >> >> Signed-off-by: Neil Armstrong >> --- >> .../devicetree/bindings/net/oxnas-dwmac.txt| 44 + >

Re: [PATCH] clk: fix link error for rcar-gen2

2016-10-31 Thread Geert Uytterhoeven
On Mon, Oct 31, 2016 at 10:52 AM, Simon Horman wrote: > From: Simon Horman > Subject: [PATCH] ARM: shmobile: only call rcar_gen2_clocks_init() if present > > The RZ/G1M (r8a7743) uses the R-Car Gen2 core, but not the R-Car Gen2 clock > driver. This is a harbinger of a transition for R-Car Gen2 So

[PATCH 0/2] mm: remove get_user_pages_locked()

2016-10-31 Thread Lorenzo Stoakes
by adding an int *locked parameter to get_user_pages() callers to this function can now utilise VM_FAULT_RETRY functionality. Taken in conjunction with the patch series adding the same parameter to get_user_pages_remote() this means all slow-path get_user_pages*() functions will now have the abili

Re: [PATCH] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()

2016-10-31 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Wednesday, October 26, 2016 4:12 AM >> To: de...@linuxdriverproject.org >> Cc: linux-kernel@vger.kernel.org; KY Srinivasan ; >> Haiyang Zhang >> Subject: [PATCH] Drivers: hv: vmbus

Re: [PATCH] drm/i2c/tda998x: mark symbol static where possible

2016-10-31 Thread Russell King - ARM Linux
On Mon, Oct 24, 2016 at 04:27:45PM +0200, Daniel Vetter wrote: > On Mon, Oct 24, 2016 at 12:14:14PM +0200, Arnd Bergmann wrote: > > On Saturday, October 22, 2016 5:14:42 PM CEST Baoyou Xie wrote: > > > We get 1 warning when building kernel with W=1: > > > drivers/gpu/drm/i2c/tda998x_drv.c:1292:5: w

[PATCH 2/2] mm: remove get_user_pages_locked()

2016-10-31 Thread Lorenzo Stoakes
get_user_pages() now has an int *locked parameter which renders get_user_pages_locked() redundant, so remove it. This patch should not introduce any functional changes. Signed-off-by: Lorenzo Stoakes --- include/linux/mm.h | 2 -- mm/frame_vector.c | 4 ++-- mm/gup.c | 56 +

[PATCH 1/2] mm: add locked parameter to get_user_pages()

2016-10-31 Thread Lorenzo Stoakes
This patch adds an int *locked parameter to get_user_pages() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). It additionally clears the way for get_user_pages_locked() to be removed as its sole remaining useful characteristic was to allow for VM_FAULT_RETRY behav

Re: [PATCH V4 10/10] arm64: KVM: add guest SEA support

2016-10-31 Thread Russell King - ARM Linux
The subject line on this patch is misleading - it's not only ARM64 specific... On Fri, Oct 21, 2016 at 11:30:13AM -0600, Tyler Baicar wrote: > diff --git a/arch/arm/include/asm/system_misc.h > b/arch/arm/include/asm/system_misc.h > index a3d61ad..86e1faa 100644 > --- a/arch/arm/include/asm/system

RE: [PATCH] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()

2016-10-31 Thread Van De Ven, Arjan
> Ok, > > I actually tested boot time with my patch and didn't see a difference > (so I guess our first attempt to send messages usually succeeds) but if > we're concearned about less-than-a-second boot time we'd rather keep the > microseonds delay for first several attempts. I'll do v2. of cours

[PATCH] tracing: spelling fixes for CONFIG_HWLAT_TRACER

2016-10-31 Thread Jesper Dangaard Brouer
Trivial spelling fixes for Kconfig help text of config HWLAT_TRACER. Fixes: e7c15cd8a113 ("tracing: Added hardware latency tracer") Signed-off-by: Jesper Dangaard Brouer --- kernel/trace/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/Kconfig b/ker

Re: [PATCH] driver core: Make Kconfig text for DEBUG_TEST_DRIVER_REMOVE stronger

2016-10-31 Thread Geert Uytterhoeven
On Fri, Oct 7, 2016 at 6:09 PM, Laura Abbott wrote: > The current state of driver removal is not great. > CONFIG_DEBUG_TEST_DRIVER_REMOVE finds lots of errors. The help text > currently undersells exactly how many errors this option will find. Add > a bit more description to indicate this option s

Re: [PATCH] drm: tda998x: mali-dp: hdlcd: refactor connector registration

2016-10-31 Thread Russell King - ARM Linux
On Mon, Oct 31, 2016 at 09:00:08AM +, Russell King - ARM Linux wrote: > I need the patch against v4.8. I'm happy to pick it up and add it > to my drm-tda998x-devel branch, which you can then merge into > drm-misc if you wish. ... or if Brian wants to send a git pull request to us with the pat

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread Luc, Piotr
On Mon, 2016-10-31 at 10:53 +0100, Borislav Petkov wrote: > > I think that in v4.9-rc2 the CPUID[7,0].edx bits can be masked out > by > > applying noxsave to cmdline. Using directly cpu_count will result > in > > passing the bits in edx to a guest directly while the xsaveopt and > rest > > of AVX51

Re: [PATCH] ARM: davinci: da850: Fix pwm name matching

2016-10-31 Thread Sekhar Nori
On Tuesday 25 October 2016 11:24 PM, David Lechner wrote: > This fixes pwm name matching for DA850 familiy devices. When using device > tree, the da850_auxdata_lookup[] table caused pwm devices to have the exact > same name, which caused errors when trying to register the devices. > > The names fo

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-31 Thread Joachim Eastwood
Hi Neil, On 31 October 2016 at 10:55, Neil Armstrong wrote: > On 10/30/2016 09:41 PM, Rob Herring wrote: >> On Fri, Oct 21, 2016 at 10:44:45AM +0200, Neil Armstrong wrote: >>> Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. >>> >>> Signed-off-by: Neil Armstrong >>> ---

Re: [net-next PATCH RFC 04/26] arch/arm: Add option to skip sync on DMA map and unmap

2016-10-31 Thread Russell King - ARM Linux
On Mon, Oct 24, 2016 at 08:04:47AM -0400, Alexander Duyck wrote: > The use of DMA_ATTR_SKIP_CPU_SYNC was not consistent across all of the DMA > APIs in the arch/arm folder. This change is meant to correct that so that > we get consistent behavior. I'm really not convinced that this is anywhere cl

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-31 Thread Neil Armstrong
On 10/31/2016 11:20 AM, Joachim Eastwood wrote: > Hi Neil, > > On 31 October 2016 at 10:55, Neil Armstrong wrote: >> On 10/30/2016 09:41 PM, Rob Herring wrote: >>> On Fri, Oct 21, 2016 at 10:44:45AM +0200, Neil Armstrong wrote: Add Synopsys Designware MAC Glue layer for the Oxford Semiconduc

Re: [PATCH v2 1/3] soc: Support for NPS HW scheduling

2016-10-31 Thread Daniel Lezcano
On Sun, Oct 23, 2016 at 03:12:26PM +0300, Noam Camus wrote: > From: Noam Camus > > This new header file is for NPS400 SoC (part of ARC architecture). > The header file includes macros for save/restore of HW scheduling. > The control of HW scheduling is acheived by writing core registers. s/achei

Re: [PATCH v2 2/3] clocksource: update "fn" at CLOCKSOURCE_OF_DECLARE() of nps400 timer

2016-10-31 Thread Daniel Lezcano
On Sun, Oct 23, 2016 at 03:12:27PM +0300, Noam Camus wrote: > From: Noam Camus > > nps_setup_clocksource() should take node as only argument i.e.: > replace > int __init nps_setup_clocksource(struct device_node *node, struct clk *clk) > with > int __init nps_setup_clocksource(struct device_node *

Re: [PATCH/RFC 4/4] soc: renesas: Identify SoC and register with the SoC bus

2016-10-31 Thread Geert Uytterhoeven
Hi Arnd, On Sat, Oct 29, 2016 at 11:27 PM, Arnd Bergmann wrote: > On Saturday, October 22, 2016 9:44:11 AM CEST Geert Uytterhoeven wrote: >> On Fri, Oct 21, 2016 at 11:16 PM, Arnd Bergmann wrote: >> > On Friday, October 21, 2016 8:16:00 PM CEST Geert Uytterhoeven wrote: >> >> On Wed, Oct 19, 201

Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106

2016-10-31 Thread Peter Hutterer
On Sat, Oct 29, 2016 at 09:19:05PM -0700, Deepa Dinamani wrote: > > btw, where did you post the libevdev patch? I haven't seen it anywhere I'm > > subscribed to. > > The libevdev patch was posted to input-to...@lists.freedesktop.org : > https://www.mail-archive.com/y2038@lists.linaro.org/msg01824.

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread Borislav Petkov
On Mon, Oct 31, 2016 at 10:18:41AM +, Luc, Piotr wrote: > The cpuid_mask function, which usually used in kvm, read bit from this > x86_capabity and mask out. This prevents passing disabled features to > guest. If we use cpu_count instead, which reports bits directly from Ah, you mean cpuid_cou

Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver

2016-10-31 Thread Sekhar Nori
On Monday 31 October 2016 03:24 PM, Bartosz Golaszewski wrote: > 2016-10-31 10:52 GMT+01:00 Sekhar Nori : >> Hi Bartosz, >> >> On Monday 31 October 2016 03:10 PM, Bartosz Golaszewski wrote: >>> 2016-10-31 5:30 GMT+01:00 Rob Herring : On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewsk

[BUG][REGRESSION] mangled display since -rc1

2016-10-31 Thread Martin Kepplinger
so guys, I can't believe that nobody hits this: Since -rc1 Nautilus' list of elements or Firefox' website window or just photos in eog (probably among many more things) is mangled. Please have a look at the screenshot of nautilus. This is the same on a i3 laptop with intel graphics and a i7

Re: [BUG][REGRESSION] mangled display since -rc1

2016-10-31 Thread Martin Kepplinger
In case the screenshot doesn't make it to you, here it is: https://postimg.org/image/5wl2wemt9/ Am 31.10.2016 11:36 schrieb Martin Kepplinger: so guys, I can't believe that nobody hits this: Since -rc1 Nautilus' list of elements or Firefox' website window or just photos in eog (probably among

Re: [PATCH 1/6] Input: gpio_keys_polled - keep button data constant

2016-10-31 Thread Mika Westerberg
On Fri, Oct 28, 2016 at 04:14:39PM -0700, Dmitry Torokhov wrote: > diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h > index ee2d8c6..d1250ad 100644 > --- a/include/linux/gpio_keys.h > +++ b/include/linux/gpio_keys.h > @@ -2,7 +2,6 @@ > #define _GPIO_KEYS_H > > struct device; >

Re: [PATCH 6/6] Input: gpio_keys - switch to using generic device properties

2016-10-31 Thread Mika Westerberg
On Fri, Oct 28, 2016 at 04:14:44PM -0700, Dmitry Torokhov wrote: > Make use of the device property API in this driver so that both OF based > systems and ACPI based systems can use this driver. > > Suggested-by: Geert Uytterhoeven > Suggested-by: Mika Westerberg > Signed-off-by: Dmitry Torokhov

Re: [PATCH v2] NFSv4: replace seqcount_t with a seqlock_t

2016-10-31 Thread Sebastian Andrzej Siewior
On 2016-10-28 22:24:52 [+], Trond Myklebust wrote: > > diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c > > index 5f4281ec5f72..a442d9867942 100644 > > --- a/fs/nfs/nfs4state.c > > +++ b/fs/nfs/nfs4state.c > > @@ -1497,8 +1498,18 @@ static int nfs4_reclaim_open_state(struct > > nfs4_state_

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-31 Thread Paolo Bonzini
On 31/10/2016 11:30, Borislav Petkov wrote: > On Mon, Oct 31, 2016 at 10:18:41AM +, Luc, Piotr wrote: >> The cpuid_mask function, which usually used in kvm, read bit from this >> x86_capabity and mask out. This prevents passing disabled features to >> guest. If we use cpu_count instead, which

Re: [PATCH v2 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-31 Thread Daniel Lezcano
On Sun, Oct 23, 2016 at 03:12:28PM +0300, Noam Camus wrote: > From: Noam Camus > > Till now we used clockevent from generic ARC driver. > This was enough as long as we worked with simple multicore SoC. > When we are working with multithread SoC each HW thread can be > scheduled to receive timer i

[PATCH v2 0/2] net: stmmac: Add OXNAS DWMAC Glue

2016-10-31 Thread Neil Armstrong
This patchset add support for the Sysnopsys DWMAC Gigabit Ethernet controller Glue layer of the Oxford Semiconductor OX820 SoC. Changes since v1 at https://patchwork.kernel.org/patch/9388231/ : - Split dt-bindings in a separate patch - Add IP version in the dt-bindings compatible - Check return

  1   2   3   4   5   6   7   8   >