Re: [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected

2016-11-21 Thread Matthias May
On 21/11/16 14:54, Krzysztof Hałasa wrote: > miaoq...@codeaurora.org writes: > >>> rmmod ath9k >>> modprobe ath9k >>> iw dev wlan0 set type ibss >>> iw phy phyX set antenna 2 >> >> 2 is a bad mask. We use bitmap, the valid masks are 1, 3, 7. > > Thanks for your response. > > I have two antenna c

Re: [PATCH] HID: lg: fix noderef.cocci warnings

2016-11-21 Thread Benjamin Tissoires
On Nov 21 2016 or thereabouts, kbuild test robot wrote: > drivers/hid/hid-lg.c:780:47-53: ERROR: application of sizeof to pointer > > sizeof when applied to a pointer typed expression gives the size of > the pointer > > Generated by: scripts/coccinelle/misc/noderef.cocci > > CC: Benjamin Tisso

Re: [PATCH] scsi: hisi_sas: Add a missing call to kfree

2016-11-21 Thread John Garry
On 21/11/2016 13:20, Quentin Lambert wrote: On 11/21/2016 01:53 PM, John Garry wrote: However I have noticed that we should do a call to hisi_sas_free() for this failure, and later failures in the probe. I don't understand why, and would welcome the opportunity to learn something. We call

Re: [Patch v7 6/7] irqchip: xilinx: Try to fall back if xlnx,kind-of-intr not provided

2016-11-21 Thread Marc Zyngier
On 21/11/16 14:05, Zubair Lutfullah Kakakhel wrote: > Hi, > > On 11/18/2016 01:29 PM, Thomas Gleixner wrote: >> On Mon, 14 Nov 2016, Zubair Lutfullah Kakakhel wrote: >> >>> The powerpc dts file does not have the xlnx,kind-of-intr property. >>> Instead of erroring out, give a warning instead. And a

[PATCH v4 3/8] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-11-21 Thread Cyrille Pitchen
This patch provides an alternative mean to support memory above 16MiB (128Mib) by replacing 3byte address op codes by their associated 4byte address versions. Using the dedicated 4byte address op codes doesn't change the internal state of the SPI NOR memory as opposed to using other means such as

[PATCH v4 2/8] mtd: spi-nor: rename SPINOR_OP_* macros of the 4-byte address op codes

2016-11-21 Thread Cyrille Pitchen
This patch renames the SPINOR_OP_* macros of the 4-byte address instruction set so the new names all share a common pattern: the 4-byte address name is built from the 3-byte address name appending the "_4B" suffix. The patch also introduces new op codes to support other SPI protocols such as SPI 1

Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

2016-11-21 Thread Steven Rostedt
On Mon, 21 Nov 2016 13:58:30 +0100 Peter Zijlstra wrote: > On Mon, Nov 21, 2016 at 10:34:25AM +0100, Jiri Olsa wrote: > > > > diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c > > > index 0888a879120f..d6c6aa80675f 100644 > > > --- a/arch/x86/kernel/process.c > > > +++ b/arch/x8

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-21 Thread Michal Hocko
On Mon 21-11-16 06:01:22, Paul E. McKenney wrote: > On Mon, Nov 21, 2016 at 02:41:31PM +0100, Michal Hocko wrote: [...] > > To the patch. I cannot say I would like it. cond_resched_rcu_qs sounds > > way too lowlevel for this usage. If anything cond_resched somewhere inside > > mem_cgroup_iter would

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-21 Thread Peter Zijlstra
On Mon, Nov 21, 2016 at 01:53:08PM +, Juri Lelli wrote: > On 21/11/16 13:26, Peter Zijlstra wrote: > > So the limited decay would be the dominant factor in ramp-up time, > > leaving the regular PELT period the dominant factor for ramp-down. > > > > Hmmm, AFAIU the limited decay will help not

[PATCH v4 7/8] mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables

2016-11-21 Thread Cyrille Pitchen
This patch adds support the the JESD216B standard and parse the SFDP tables to dynamically initialize the spi_nor_basic_flash_parameter structure. Signed-off-by: Cyrille Pitchen --- drivers/mtd/spi-nor/spi-nor.c | 468 +- include/linux/mtd/spi-nor.h |

[PATCH v4 8/8] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2016-11-21 Thread Cyrille Pitchen
This patch adds supports for SFDP (JESD216B) 4-byte Address Instruction Table. This table is optional but when available, we parse it to get the 4-byte address op codes supported by the memory. Using these op codes is stateless as opposed to entering the 4-byte address mode or setting the Base Addr

[PATCH v2] HID: i2c-hid: force the IRQ level trigger only when not set

2016-11-21 Thread Benjamin Tissoires
Instead of forcing the level trigger of the IRQ, we can count on ACPI or OF to set it up for us. The first release of the HID over I2C specification mentioned that the level trigger needed to be active low. In the latest version of the specification, there is no such explicit mention, so it's bett

Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

2016-11-21 Thread Steven Rostedt
On Mon, 21 Nov 2016 13:58:30 +0100 Peter Zijlstra wrote: > On Mon, Nov 21, 2016 at 10:34:25AM +0100, Jiri Olsa wrote: > > > > diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c > > > index 0888a879120f..d6c6aa80675f 100644 > > > --- a/arch/x86/kernel/process.c > > > +++ b/arch/x8

Re: [PATCHv11 2/3] usb: USB Type-C connector class

2016-11-21 Thread Heikki Krogerus
On Mon, Nov 21, 2016 at 03:11:03PM +0200, Heikki Krogerus wrote: > Hi Greg, > > On Mon, Nov 21, 2016 at 11:35:28AM +0100, Greg KH wrote: > > > +static void typec_partner_release(struct device *dev) > > > +{ > > > + struct typec_port *port = to_typec_port(dev->parent); > > > + > > > + typec_unregis

[PATCH v4 6/8] mtd: m25p80: add support of dual and quad spi protocols to all commands

2016-11-21 Thread Cyrille Pitchen
Before this patch, m25p80_read() supported few SPI protocols: - regular SPI 1-1-1 - SPI Dual Output 1-1-2 - SPI Quad Output 1-1-4 On the other hand, all other m25p80_*() hooks only supported SPI 1-1-1. This patch adds support to all currently existing SPI protocols to cover as many protocols as po

[PATCH v4 4/8] mtd: spi-nor: add support of SPI protocols like SPI 1-2-2 and SPI 1-4-4

2016-11-21 Thread Cyrille Pitchen
This patch changes the prototype of spi_nor_scan(): its 3rd parameter is replaced by a const struct spi_nor_modes pointer, which tells the spi-nor framework about which SPI protocols are supported by the SPI controller. Besides, this patch also introduces a new spi_nor_basic_flash_parameter struct

Re: [RFC 0/3] ABI spec - verification

2016-11-21 Thread Dmitry Vyukov
On Wed, Nov 16, 2016 at 6:37 PM, wrote: > As discussed at plumbers, having a standard spec for the kernel's ABI has > quite a few uses and enough people wanted it to get the ball rolling. > > We agreed that it's desirable to have something that can be used from code > rather than just a spec on p

Re: [PATCH v5 1/3] spi-nor: Add support for Intel SPI serial flash controller

2016-11-21 Thread Cyrille Pitchen
Hi Mika, Le 14/11/2016 à 11:24, Mika Westerberg a écrit : > Add support for the SPI serial flash host controller found on many Intel > CPUs including Baytrail and Braswell. The SPI serial flash controller is > used to access BIOS and other platform specific information. By default the > driver exp

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Giuseppe CAVALLARO
On 11/21/2016 2:28 PM, Lars Persson wrote: 21 nov. 2016 kl. 13:53 skrev Giuseppe CAVALLARO : Hello Joao On 11/21/2016 1:32 PM, Joao Pinto wrote: Hello, On 21-11-2016 05:29, Rayagond Kokatanur wrote: On Sat, Nov 19, 2016 at 7:26 PM, Rabin Vincent wrote: On Fri, Nov 18, 2016 at 02:20:27P

Re: [PATCH] scsi: hisi_sas: Add a missing call to kfree

2016-11-21 Thread Quentin Lambert
On 11/21/2016 03:16 PM, John Garry wrote: On 21/11/2016 13:20, Quentin Lambert wrote: On 11/21/2016 01:53 PM, John Garry wrote: However I have noticed that we should do a call to hisi_sas_free() for this failure, and later failures in the probe. I don't understand why, and would welcome the

Re: [PATCH v9 02/10] drm/mediatek: add *driver_data for different hardware settings

2016-11-21 Thread YT Shen
Hi Daniel, On Fri, 2016-11-18 at 12:56 +0800, Daniel Kurtz wrote: > Hi YT, > > I don't see a reason to handle device_data in such a generic way at > the generic mtk_ddp_comp layer. > The device data is very component specific, so just define different > structs for different comp types, ie: > >

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-21 Thread Paul E. McKenney
On Mon, Nov 21, 2016 at 03:18:19PM +0100, Michal Hocko wrote: > On Mon 21-11-16 06:01:22, Paul E. McKenney wrote: > > On Mon, Nov 21, 2016 at 02:41:31PM +0100, Michal Hocko wrote: > [...] > > > To the patch. I cannot say I would like it. cond_resched_rcu_qs sounds > > > way too lowlevel for this us

Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available

2016-11-21 Thread One Thousand Gnomes
> > increase in timestamp resoultion of at least another 10e-3 is > > likely > > Is it, though? To be useful, surely you have to be able to jam quite a few > instructions into a 1ns block, including memory accesses. > > Rather than providing: > > struct timestamp { > _

Re: [PATCH] scsi: hisi_sas: Add a missing call to kfree

2016-11-21 Thread John Garry
On 21/11/2016 14:25, Quentin Lambert wrote: On 11/21/2016 03:16 PM, John Garry wrote: On 21/11/2016 13:20, Quentin Lambert wrote: On 11/21/2016 01:53 PM, John Garry wrote: However I have noticed that we should do a call to hisi_sas_free() for this failure, and later failures in the probe.

Re: [PATCH v3 5/7] iio: multiplexer: new iio category and iio-mux driver

2016-11-21 Thread kbuild test robot
-abstraction-and-iio-i2c-muxes/20161121-215311 config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drive

Re: [RFC] [media] Add Synopsys Designware HDMI RX PHY e405 driver

2016-11-21 Thread Hans Verkuil
On 14/11/16 17:46, Jose Abreu wrote: Hi Hans, On 11-11-2016 14:52, Hans Verkuil wrote: Hi Jose, On 11/09/2016 06:43 PM, Jose Abreu wrote: Hi All, This is a RFC patch for Synopsys Designware HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. The co

[PATCH v4] xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing

2016-11-21 Thread Boris Ostrovsky
Commit 9c17d96500f7 ("xen/gntdev: Grant maps should not be subject to NUMA balancing") set VM_IO flag to prevent grant maps from being subjected to NUMA balancing. It was discovered recently that this flag causes get_user_pages() to always fail with -EFAULT. check_vma_flags __get_user_pages __get

Re: [Patch v7 6/7] irqchip: xilinx: Try to fall back if xlnx,kind-of-intr not provided

2016-11-21 Thread Zubair Lutfullah Kakakhel
Hi, On 11/21/2016 02:17 PM, Marc Zyngier wrote: On 21/11/16 14:05, Zubair Lutfullah Kakakhel wrote: Hi, On 11/18/2016 01:29 PM, Thomas Gleixner wrote: On Mon, 14 Nov 2016, Zubair Lutfullah Kakakhel wrote: The powerpc dts file does not have the xlnx,kind-of-intr property. Instead of erroring

Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

2016-11-21 Thread Peter Zijlstra
On Mon, Nov 21, 2016 at 09:15:43AM -0500, Steven Rostedt wrote: > On Mon, 21 Nov 2016 13:58:30 +0100 > Peter Zijlstra wrote: > > > On Mon, Nov 21, 2016 at 10:34:25AM +0100, Jiri Olsa wrote: > > > > > > diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c > > > > index 0888a879120f.

Re: [PATCH v16 08/15] clocksource/drivers/arm_arch_timer: Refactor arch_timer_needs_probing, and call it only if acpi disabled.

2016-11-21 Thread Fu Wei
Hi Mark, On 19 November 2016 at 03:56, Mark Rutland wrote: > On Wed, Nov 16, 2016 at 09:49:01PM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> The patch refactor original arch_timer_needs_probing function: >> (1) Separate out arch_timer_needs_probing from arch_timer_common_init, >>

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Giuseppe CAVALLARO
Hello Joao On 11/21/2016 2:48 PM, Joao Pinto wrote: Synopsys QoS IP is a separated hardware component, so it should be reusable by all implementations using it and so have its own "core driver" and platform + pci glue drivers. This is necessary for example in hardware validation, where you proto

Re: [PATCHv11 2/3] usb: USB Type-C connector class

2016-11-21 Thread Greg KH
On Mon, Nov 21, 2016 at 03:27:41PM +0200, Heikki Krogerus wrote: > On Mon, Nov 21, 2016 at 11:33:11AM +0100, Greg KH wrote: > > On Thu, Nov 17, 2016 at 12:50:35PM +0200, Heikki Krogerus wrote: > > > The purpose of USB Type-C connector class is to provide > > > unified interface for the user space t

Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls

2016-11-21 Thread Dmitry Vyukov
On Wed, Nov 16, 2016 at 6:37 PM, wrote: > This is a very simple definition of the syscall ABI we can build on. The idea > is to have a generic description of syscalls, their arguments and return > values we can use to audit the kernel's implementation vs the specs. > > Signed-off-by: Sasha Levin

Re: [PATCH 06/12] dm: crypt: use bio_add_page()

2016-11-21 Thread Mike Snitzer
On Fri, Nov 11 2016 at 7:05am -0500, Ming Lei wrote: > We have the standard interface to add page to bio, so don't > do that in hacking way. > > Reviewed-by: Christoph Hellwig > Signed-off-by: Ming Lei I've staged this for 4.10

Re: [PATCH 07/12] dm: use bvec iterator helpers to implement .get_page and .next_page

2016-11-21 Thread Mike Snitzer
On Fri, Nov 11 2016 at 7:05am -0500, Ming Lei wrote: > Firstly we have mature bvec/bio iterator helper for iterate each > page in one bio, not necessary to reinvent a wheel to do that. > > Secondly the coming multipage bvecs requires this patch. > > Also add comments about the direct access to

Re: [PATCH 08/12] dm: dm.c: replace 'bio->bi_vcnt == 1' with !bio_multiple_segments

2016-11-21 Thread Mike Snitzer
On Fri, Nov 11 2016 at 7:05am -0500, Ming Lei wrote: > Avoid to access .bi_vcnt directly, because the bio can be > splitted from block layer, and .bi_vcnt should never have > been used here. > > Signed-off-by: Ming Lei I've staged this for 4.10

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-21 Thread Peter Zijlstra
On Mon, Nov 21, 2016 at 02:37:27PM +, Juri Lelli wrote: > On 21/11/16 15:17, Peter Zijlstra wrote: > > Not sure I follow. So by limiting decay to the task value, the moment we > > add it back to the accumulated signal (wakeup), the accumulated signal > > jumps up quickly and ramp-up is achieve

Re: [PATCHv11 2/3] usb: USB Type-C connector class

2016-11-21 Thread Greg KH
On Mon, Nov 21, 2016 at 03:11:03PM +0200, Heikki Krogerus wrote: > Hi Greg, > > On Mon, Nov 21, 2016 at 11:35:28AM +0100, Greg KH wrote: > > > +static void typec_partner_release(struct device *dev) > > > +{ > > > + struct typec_port *port = to_typec_port(dev->parent); > > > + > > > + typec_unregis

Re: [PATCH v1 2/3] kvm: svm: Add kvm_fast_pio_in support

2016-11-21 Thread Paolo Bonzini
On 14/11/2016 23:15, Brijesh Singh wrote: > + /* For size less than 4 we merge, else we zero extend */ > + val = (size < 4) ? kvm_register_read(vcpu, VCPU_REGS_RAX) : 0; Are you sure it shouldn't always zero extend the high 32-bits? So "val" should be declared as u32. Paolo > + re

Re: [PATCH v5 5/9] IB/isert: Replace semaphore sem with completion

2016-11-21 Thread Arnd Bergmann
On Monday, November 21, 2016 2:33:02 PM CET Sagi Grimberg wrote: > >>> diff --git a/drivers/infiniband/ulp/isert/ib_isert.c > >>> b/drivers/infiniband/ulp/isert/ib_isert.c > >>> index 6dd43f6..de80f56 100644 > >>> --- a/drivers/infiniband/ulp/isert/ib_isert.c > >>> +++ b/drivers/infiniband/ulp/ise

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

2016-11-21 Thread Hans Verkuil
On 17/11/16 04:38, Rick Chang wrote: 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/201

Re: [PATCH v6 0/3] Add Mediatek JPEG Decoder

2016-11-21 Thread Hans Verkuil
I'm missing a MAINTAINERS patch for this new driver. Can you post a patch for that? It's the only thing preventing this from being merged. Regards, Hans On 17/11/16 04:38, Rick Chang wrote: This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPE

[PATCH reworded] x86/kbuild: enable modversions for symbols exported from asm

2016-11-21 Thread Adam Borowski
Commit 4efca4ed ("kbuild: modversions for EXPORT_SYMBOL() for asm") adds modversion support for symbols exported from asm files. Architectures must include C-style declarations for those symbols in asm/asm-prototypes.h in order for them to be versioned. Add these declarations for x86, and an archi

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-21 Thread Patrick Bellasi
On 21-Nov 13:53, Juri Lelli wrote: > On 21/11/16 13:26, Peter Zijlstra wrote: > > On Mon, Nov 21, 2016 at 12:14:32PM +, Juri Lelli wrote: > > > On 21/11/16 11:19, Peter Zijlstra wrote: > > > > > > So no tunables and rate limits here at all please. > > > > > > > > During LPC we discussed the r

Re: [PATCH] USB: serial: cp210x: Use tcflag_t to fix incompatible pointer type

2016-11-21 Thread Johan Hovold
On Mon, Nov 21, 2016 at 01:19:31PM +0100, Geert Uytterhoeven wrote: > On sparc32, tcflag_t is unsigned long, unlike all other architectures: > > drivers/usb/serial/cp210x.c: In function 'cp210x_get_termios': > drivers/usb/serial/cp210x.c:717:3: warning: passing argument 2 of > 'cp210x_get

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-21 Thread Juri Lelli
On 21/11/16 15:43, Peter Zijlstra wrote: > On Mon, Nov 21, 2016 at 02:37:27PM +, Juri Lelli wrote: > > On 21/11/16 15:17, Peter Zijlstra wrote: > > > > Not sure I follow. So by limiting decay to the task value, the moment we > > > add it back to the accumulated signal (wakeup), the accumulated

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-21 Thread Juri Lelli
On 21/11/16 15:17, Peter Zijlstra wrote: > On Mon, Nov 21, 2016 at 01:53:08PM +, Juri Lelli wrote: > > On 21/11/16 13:26, Peter Zijlstra wrote: > > > > So the limited decay would be the dominant factor in ramp-up time, > > > leaving the regular PELT period the dominant factor for ramp-down. >

Re: [PATCH v3 4/9] media: venus: vdec: add video decoder files

2016-11-21 Thread Hans Verkuil
On 18/11/16 10:11, Stanimir Varbanov wrote: Hi Hans, + +static int +vdec_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *b) +{ + struct vb2_queue *queue = to_vb2q(file, b->type); + + if (!queue) + return -EINVAL; + + return vb2_reqbufs(queue, b);

Re: [PATCH 0/8] firmware: arm_scpi: add support for legacy SCPI protocol

2016-11-21 Thread Ryan Harkin
On 8 November 2016 at 17:46, Russell King - ARM Linux wrote: > On Tue, Nov 08, 2016 at 05:37:25PM +, Sudeep Holla wrote: >> >> >> On 08/11/16 16:06, Russell King - ARM Linux wrote: >> >On Tue, Nov 08, 2016 at 03:40:38PM +, Russell King - ARM Linux wrote: >> >>As it contains a zero sized Im

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Giuseppe CAVALLARO
On 11/21/2016 4:00 PM, Joao Pinto wrote: On 21-11-2016 14:36, Giuseppe CAVALLARO wrote: Hello Joao On 11/21/2016 2:48 PM, Joao Pinto wrote: Synopsys QoS IP is a separated hardware component, so it should be reusable by all implementations using it and so have its own "core driver" and platform

[PATCH 3/5] staging: emxx_udc: emxx_udc.c {} Single statement blocks

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Walt Feasel --- drivers/staging/emxx_udc/emxx_udc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/stag

[PATCH 0/5] staging: emxx_udc: emxx_udc.c checkpatch modifications

2016-11-21 Thread Walt Feasel
Make Linux kernel style modifications for emxx_udc.c to include: Blank lines after { Logical continuation Single statement blocks Spaces preferred around operators Align parenthesis Walt Feasel (5): staging: emxx_udc: emxx_udc.c Blank lines after { staging: emxx_udc: emxx_udc.c Logical contin

[PATCH 1/5] staging: emxx_udc: emxx_udc.c Blank lines after {

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Walt Feasel --- drivers/staging/emxx_udc/emxx_udc.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_

[PATCH 4/5] staging: emxx_udc: emxx_udc.c Spaces preferred around operators

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: Walt Feasel --- drivers/staging/emxx_udc/emxx_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c ind

[PATCH 5/5] staging: emxx_udc: emxx_udc.c Align parenthesis

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/emxx_udc/emxx_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emx

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 14:25, Giuseppe CAVALLARO wrote: > On 11/21/2016 2:28 PM, Lars Persson wrote: >> >> >>> 21 nov. 2016 kl. 13:53 skrev Giuseppe CAVALLARO : >>> >>> Hello Joao >>> On 11/21/2016 1:32 PM, Joao Pinto wrote: Hello, > On 21-11-2016 05:29, Rayagond Kokatanur wrote: >> O

Re: [PATCH reworded] x86/kbuild: enable modversions for symbols exported from asm

2016-11-21 Thread Peter Wu
On Mon, Nov 21, 2016 at 03:52:20PM +0100, Adam Borowski wrote: > Commit 4efca4ed ("kbuild: modversions for EXPORT_SYMBOL() for asm") adds > modversion support for symbols exported from asm files. Architectures > must include C-style declarations for those symbols in asm/asm-prototypes.h > in order

[PATCH v5 0/2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-11-21 Thread Peter Rosin
Hi! This patch seems to have been forgotten? Thierry said that a resend was not needed, but time is passing and the merge window is nearing, so I'm resending anyway with the squashed .bpc-fix. v4 -> v5 changes: - change sharp_lq150x1lg11.bpc to 6 as noted by Thierry - rebased onto v4.9-rc6 v3 ->

Re: [PATCH 3/3] locking/percpu-rwsem: Avoid unnecessary writer wakeups

2016-11-21 Thread Oleg Nesterov
On 11/21, Oleg Nesterov wrote: > > No, no, I meant that afaics both readers can see per_cpu_sum() != 0 and > thus the writer won't be woken up. Till the next down_read/up_read. > > Suppose that we have 2 CPU's, both counters == 1, both readers decrement. > its counter at the same time. > > RE

[PATCH v5 2/2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-11-21 Thread Peter Rosin
From: Gustaf Lindström The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. The simple-panel driver is used to get support for essential functionality of the panel. Signed-off-by: Gustaf Lindström Signed-off-by: Peter Rosin --- drivers/gpu/drm/panel/panel-simple.c | 27 ++

[PATCH v5 1/2] dt-bindings: display: Add Sharp LQ150X1LG11 panel binding

2016-11-21 Thread Peter Rosin
The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. Signed-off-by: Peter Rosin --- .../bindings/display/panel/sharp,lq150x1lg11.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.txt dif

Re: [PATCH v1 3/3] kvm: svm: Use the hardware provided GPA instead of page walk

2016-11-21 Thread Paolo Bonzini
On 14/11/2016 23:16, Brijesh Singh wrote: > From: Tom Lendacky > > When a guest causes a NPF which requires emulation, KVM sometimes walks > the guest page tables to translate the GVA to a GPA. This is unnecessary > most of the time on AMD hardware since the hardware provides the GPA in > EXITI

Re: Formal description of system call interface

2016-11-21 Thread Dmitry Vyukov
On Mon, Nov 7, 2016 at 1:28 AM, Szabolcs Nagy wrote: > * Dmitry Vyukov [2016-11-06 14:39:28 -0800]: >> This is notes from the discussion we had at Linux Plumbers this week >> regarding providing a formal description of system calls (user API). > yes a database of the syscall abis would be useful

[PATCH 2/5] staging: emxx_udc: emxx_udc.c Logical continuation

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Logical continuations should be on the previous line Signed-off-by: Walt Feasel --- drivers/staging/emxx_udc/emxx_udc.c | 37 +++-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/drivers/staging/em

Re: [PATCH v4 2/2] Add support for OV5647 sensor

2016-11-21 Thread Ramiro Oliveira
Hi Pavel! On 11/15/2016 12:10 PM, Pavel Machek wrote: > Hi! > >> Add support for OV5647 sensor. >> > >> +static int ov5647_write(struct v4l2_subdev *sd, u16 reg, u8 val) >> +{ >> +int ret; >> +unsigned char data[3] = { reg >> 8, reg & 0xff, val}; >> +struct i2c_client *client = v4l2_

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 14:36, Giuseppe CAVALLARO wrote: > Hello Joao > > On 11/21/2016 2:48 PM, Joao Pinto wrote: >> Synopsys QoS IP is a separated hardware component, so it should be reusable >> by >> all implementations using it and so have its own "core driver" and platform + >> pci glue drivers. This

[PATCH v2 2/2] staging: speakup: spk_types.h Align parenthesis

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/spk_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH v2 0/2] staging: speakup: spk_types.h checkpatch modifications

2016-11-21 Thread Walt Feasel
Make Linux kernel style modifications to spk_types.h to include: Comment modifications Align parenthesis Walt Feasel (2): staging: speakup: spk_types.h Comment modifications staging: speakup: spk_types.h Align parenthesis drivers/staging/speakup/spk_types.h | 16 +++- 1 file cha

[PATCH v2 1/2] staging: speakup: spk_types.h Comment modifications

2016-11-21 Thread Walt Feasel
Make modifications to comment style Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/spk_types.h | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/speakup/spk_types.h b/drivers/

Re: [PATCH 0/8] firmware: arm_scpi: add support for legacy SCPI protocol

2016-11-21 Thread Sudeep Holla
On 21/11/16 15:04, Ryan Harkin wrote: [...] Switching to u-boot won't solve any thermal sensor calibration problems. Indeed. The board Russell had was one of those early ones which was not calibrated properly. He is now able to use the 16.10 release after calibration. -- Regards, Sudeep

[PATCH v2 0/2] stageing: speakup: spk_priv_keyinfo.h checkpatch modifications

2016-11-21 Thread Walt Feasel
Make Linux kernel style modifications to spk_priv_keyinfo.h to include: align columns Space around operator Walt Feasel (2): staging: speakup: spk_priv_keyinfo.h align columns staging: speakup: spk_priv_keyinfo.h Space around operator drivers/staging/speakup/spk_priv_keyinfo.h | 148 +++

[PATCH v2 2/2] staging: speakup: spk_priv_keyinfo.h Space around operator

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: spaces preferred around that '+' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/spk_priv_keyinfo.h | 44 +++--- 1 file changed, 22 insertions(+), 22 de

[PATCH v2 1/2] staging: speakup: spk_priv_keyinfo.h align columns

2016-11-21 Thread Walt Feasel
Make modifications to align columns Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/spk_priv_keyinfo.h | 104 ++--- 1 file changed, 51 insertions(+), 53 deletions(-) diff --git a/drivers/staging/speaku

Re: [PATCH] watchdog: wdat_wdt: Select WATCHDOG_CORE

2016-11-21 Thread Guenter Roeck
On 11/21/2016 05:33 AM, Mika Westerberg wrote: The WDAT watchdog driver uses functionality provided by the watchdog timer core but it did not select it explicitly. This results following linker error when only WDAT_WDT is enabled in Kconfig: drivers/built-in.o: In function `wdat_wdt_probe':

Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding

2016-11-21 Thread Rob Herring
On Fri, Nov 18, 2016 at 02:53:12PM +0530, Viresh Kumar wrote: > Some platforms have the capability to configure the performance state of > their Power Domains. The performance levels are represented by positive > integer values, a lower value represents lower performance state. > > The power-domai

Re: Formal description of system call interface

2016-11-21 Thread Dmitry Vyukov
On Mon, Nov 7, 2016 at 11:38 AM, Cyril Hrubis wrote: > Hi! >> We identified a surprisingly large number of potential users for such >> descriptions: >> - fuzzers (syzkaller, trinity, iknowthis) >> - strace/syscall tracepoints (capturing indirect arguments and >>printing human-readable info)

[PATCH v2 2/2] staging: speakup: speakup_txprt.c Spaces preferred around operator

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_txprt.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-)

[PATCH v2 1/2] staging: speakup: speakup_txprt.c Comment modifications

2016-11-21 Thread Walt Feasel
Make modifications to comments Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_txprt.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/speakup/speakup_txprt.c b/drivers/stagi

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 15:03, Giuseppe CAVALLARO wrote: > On 11/21/2016 4:00 PM, Joao Pinto wrote: >> On 21-11-2016 14:36, Giuseppe CAVALLARO wrote: >>> Hello Joao >>> >>> On 11/21/2016 2:48 PM, Joao Pinto wrote: Synopsys QoS IP is a separated hardware component, so it should be reusable by

[PATCH v2 0/2] staging: speakup: speakup_txprt.c checkpatch modifications

2016-11-21 Thread Walt Feasel
Make Linux kernel style modifications to speakup-txprt.c to include: Comment modifications Spaces preferred around operator Walt Feasel (2): staging: speakup: speakup_txprt.c Comment modifications staging: speakup: speakup_txprt.c Spaces preferred around operator drivers/staging/speakup/sp

Re: [PATCH 02/16] efi: Get the secure boot status

2016-11-21 Thread Lukas Wunner
On Mon, Nov 21, 2016 at 01:14:52PM +, Ard Biesheuvel wrote: > On 21 November 2016 at 12:41, David Howells wrote: > > Ard Biesheuvel wrote: > >> > Looking in efi_get_secureboot(), is there a reason: > >> > > >> > efi_guid_t var_guid = EFI_GLOBAL_VARIABLE_GUID; > >> > > >> > isn't stati

Re: [PATCH 4/9] KEYS: Allow unrestricted boot-time addition of keys to secondary keyring

2016-11-21 Thread David Howells
Mimi Zohar wrote: > > > > This allows keys in the UEFI database to be added in secure boot mode > > > > for the purposes of module signing. > > > > > > The key import should not be automatic, it should be optional. > > > > You can argue this either way. There's a config option to allow you to

Re: [RFC PATCH] scsi: libsas: fix WARN on device removal

2016-11-21 Thread John Garry
@Maintainers, would you be willing to accept this patch as an interim fix for the dastardly WARN while we try to fix the flutter issue? To me this adds a bug to quiet a benign, albeit noisy, warning. What is the bug which is being added? The bug where we queue a port teardown, but see a po

[PATCH v2 2/2] staging: speakup: speakup_spkout.c Space around operator

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_spkout.c | 24 1 file changed, 12 insertions(+), 12 deletions(

Re: Formal description of system call interface

2016-11-21 Thread Dmitry Vyukov
On Fri, Nov 11, 2016 at 6:10 PM, Andy Lutomirski wrote: > On Sun, Nov 6, 2016 at 2:39 PM, Dmitry Vyukov wrote: >> Hello, >> >> This is notes from the discussion we had at Linux Plumbers this week >> regarding providing a formal description of system calls (user API). >> >> The idea come up in the

[PATCH v2 0/2] staging: speakup: speakup_spkout.c checkpatch modifications

2016-11-21 Thread Walt Feasel
Make Linux kernel style modifications for speakup_spkout.c to include: comment modifications Space around operator Walt Feasel (2): staging: speakup: speakup_spkout.c comment modifications staging: speakup: speakup_spkout.c Space around operator drivers/staging/speakup/speakup_spkout.c | 31

[PATCH v2 4/6] staging: speakup: speakup_soft.c Blank line after {

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_soft.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s

[PATCH v2 6/6] staging: speakup: speakup_soft.c Align parenthesis

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_soft.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dri

[PATCH v2 0/6] staging: speakup: speakup_soft.c checkpatch modifications

2016-11-21 Thread Walt Feasel
Make Linux kernel style modifications for speak_soft.c to include: Space around operator Logical continuation Multiple blank lines Blank line after { comment modifications Align parenthesis Walt Feasel (6): staging: speakup: speakup_soft.c Space around operator staging: speakup: speakup_soft.

[PATCH v2 5/6] staging: speakup: speakup_soft.c comment modifications

2016-11-21 Thread Walt Feasel
Make modifications to comment style Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_soft.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/speakup/speakup_soft.c b/drivers/

[PATCH v2 3/6] staging: speakup: speakup_soft.c Multiple blank lines

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Please don't use multiple blank lines Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_soft.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/speakup/

[PATCH v2 2/6] staging: speakup: speakup_soft.c Logical continuation

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Logical continuations should be on the previous line Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_soft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH v2 1/6] staging: speakup: speakup_soft.c Space around operator

2016-11-21 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_soft.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletion

[PATCH v2 1/2] staging: speakup: speakup_spkout.c comment modifications

2016-11-21 Thread Walt Feasel
Make modifications to comments Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/speakup/speakup_spkout.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/speakup/speakup_spkout.c b/drivers/sta

Re: [PATCH 02/16] efi: Get the secure boot status

2016-11-21 Thread Ard Biesheuvel
> On 21 Nov 2016, at 15:17, Lukas Wunner wrote: > >> On Mon, Nov 21, 2016 at 01:14:52PM +, Ard Biesheuvel wrote: >>> On 21 November 2016 at 12:41, David Howells wrote: >>> Ard Biesheuvel wrote: > Looking in efi_get_secureboot(), is there a reason: > >efi_guid_t var_gui

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-21 Thread Peter Zijlstra
On Mon, Nov 21, 2016 at 02:59:19PM +, Patrick Bellasi wrote: > A fundamental problem in IMO is that we are trying to use a "dynamic > metric" to act as a "predictor". > > PELT is a "dynamic metric" since it continuously change while a task > is running. Thus it does not really provides an ans

Re: spin_lock behavior with ARM64 big.Little/HMP

2016-11-21 Thread Sudeep Holla
On 18/11/16 20:22, Vikram Mulukutla wrote: Hi Sudeep, Thanks for taking a look! On 2016-11-18 02:30, Sudeep Holla wrote: Hi Vikram, On 18/11/16 02:22, Vikram Mulukutla wrote: Hello, This isn't really a bug report, but just a description of a frequency/IPC dependent behavior that I'm curi

Re: [PATCH v3 4/9] media: venus: vdec: add video decoder files

2016-11-21 Thread Stanimir Varbanov
Hi Hans, On 11/21/2016 05:04 PM, Hans Verkuil wrote: > On 18/11/16 10:11, Stanimir Varbanov wrote: >> Hi Hans, >> > + > +static int > +vdec_reqbufs(struct file *file, void *fh, struct > v4l2_requestbuffers *b) > +{ > +struct vb2_queue *queue = to_vb2q(file, b->type); >>

JBD2: Spotted dirty metadata buffer....

2016-11-21 Thread Wolfgang Walter
Hello, I'm testing EXT4 with an external journal (data=journal). When writing I rather often get JBD2: Spotted dirty metadata buffer (dev = dm-22, blocknr = 1008028301). There's a risk of filesystem corruption in case of system crash. Now other message is logged. If I unmount the files

Re: [PATCH v3 4/9] media: venus: vdec: add video decoder files

2016-11-21 Thread Hans Verkuil
On 21/11/16 16:29, Stanimir Varbanov wrote: Hi Hans, On 11/21/2016 05:04 PM, Hans Verkuil wrote: On 18/11/16 10:11, Stanimir Varbanov wrote: Hi Hans, + +static int +vdec_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *b) +{ +struct vb2_queue *queue = to_vb2q(file, b->typ

<    1   2   3   4   5   6   7   8   9   >