Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-06 Thread Rob Herring
On Tue, Dec 6, 2016 at 2:48 AM, Benjamin Tissoires wrote: > On Dec 05 2016 or thereabouts, Rob Herring wrote: >> On Thu, Dec 01, 2016 at 09:24:50AM -0800, Brian Norris wrote: >> > Hi Benjamin and Rob, >> > >> > On Thu, Dec 01, 2016 at 03:34:34PM +0100, Benjamin Tissoires wrote: >> > > On Nov 30 20

Re: [PATCH] bitops: add equivalent of BIT(x) for bitfields

2016-12-06 Thread Sebastian Frias
Hi Geert, On 06/12/16 12:12, Geert Uytterhoeven wrote: >>> ... which means "generate a value"?? >>> >> >> Yes. >> Although I'm not sure if I understood the essence of your point. >> Are you suggesting that the name should be GENERATE_A_VALUE? > > No. I mean that "value" is a way too generic name.

[PATCH 00/16] FSI device driver introduction

2016-12-06 Thread christopher . lee . bostic
From: Chris Bostic Introduction of the IBM 'Flexible Support Interface' (FSI) bus device driver. FSI is a high fan out serial bus consisting of a clock and a serial data line capable of running at speeds up to 166 MHz. This set provides the basic framework to add FSI extensions to the Linux bus

Re: [PATCH 0/2 v2] usb-audio misc fix

2016-12-06 Thread Takashi Iwai
On Tue, 06 Dec 2016 06:46:13 +0100, Jiada Wang wrote: > > This patch set contains the following patches > > Andreas Pape (1): > ALSA: usb-audio: more tolerant packetsize > > Daniel Girnus (1): > ALSA: usb-audio: avoid setting of sample rate multiple times on bus Applied both patches, thanks

RE: [PATCH V2 03/13] perf/x86: output sampling overhead

2016-12-06 Thread Liang, Kan
> On Fri, Dec 02, 2016 at 04:19:11PM -0500, kan.li...@intel.com wrote: > > From: Kan Liang > > > > On x86, NMI handler is the most important part which brings overhead > > for sampling. Adding a pmu specific overhead type > > PERF_PMU_SAMPLE_OVERHEAD for it. > > > > For other architectures which

Re: [PATCH v5 11/14] ASoC: add simple-graph-card document

2016-12-06 Thread Rob Herring
On Mon, Dec 5, 2016 at 6:57 PM, Kuninori Morimoto wrote: > > Hi Rob > >> I'd expect the top level node to be the card node that knows how to find >> all the components. The graph should reflect the data flow. For example, >> the data goes to audio DSP to I2S host to codec to amp. > > Do you mean,

Re: [RESEND/PATCH v6 3/3] clk: qcom: Add A53 clock driver

2016-12-06 Thread Georgi Djakov
On 12/05/2016 11:26 PM, Bjorn Andersson wrote: On Mon 14 Nov 14:21 PST 2016, Stephen Boyd wrote: On 11/11, Georgi Djakov wrote: On 11/03/2016 08:28 PM, Bjorn Andersson wrote: [..] I'm in favour of us inventing a kicker API and it's found outside out use cases as well (e.g. virtio/rpmsg).

RE: [PATCH V2 04/13] perf/core: output multiplexing overhead

2016-12-06 Thread Liang, Kan
> On Fri, Dec 02, 2016 at 04:19:12PM -0500, kan.li...@intel.com wrote: > > From: Kan Liang > > > > Multiplexing overhead is one of the key overhead when the number of > > events is more than available counters. > > > > The multiplexing overhead PERF_CORE_MUX_OVERHEAD is a common > overhead > > t

Re: [PATCH v3 1/2] ARM: dts: da850-lcdk: add the dumb-vga-dac node

2016-12-06 Thread Bartosz Golaszewski
2016-12-06 16:03 GMT+01:00 Sekhar Nori : > On Tuesday 06 December 2016 06:32 PM, Bartosz Golaszewski wrote: >> 2016-12-05 13:49 GMT+01:00 Tomi Valkeinen : >>> On 29/11/16 13:57, Bartosz Golaszewski wrote: Add the dumb-vga-dac node to the board DT together with corresponding ports and vga

Re: [PATCH v2 02/11] locking/ww_mutex: Re-check ww->ctx in the inner optimistic spin loop

2016-12-06 Thread Peter Zijlstra
On Thu, Dec 01, 2016 at 03:06:45PM +0100, Nicolai Hähnle wrote: > +++ b/kernel/locking/mutex.c > @@ -350,7 +350,8 @@ ww_mutex_set_context_slowpath(struct ww_mutex *lock, > * access and not reliable. > */ > static noinline > -bool mutex_spin_on_owner(struct mutex *lock, struct task_struct *owne

Re: Avoid deadlock situation due to use of xmit_lock

2016-12-06 Thread David Miller
From: Lino Sanfilippo Date: Sat, 3 Dec 2016 00:06:04 +0100 > after stumbling over a potential deadlock situation in the altera driver > (see http://marc.info/?l=linux-netdev&m=148054615230447&w=2), I checked > all other ethernet drivers for the same issue and actually found it in 2 > more, name

RE: [PATCH V2 15/15] hyperv: Add a function to detect if the device is a vmbus dev

2016-12-06 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, December 6, 2016 2:54 AM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com; leann

Re: [PATCH v3 1/2] ARM: dts: da850-lcdk: add the dumb-vga-dac node

2016-12-06 Thread Sekhar Nori
On Tuesday 06 December 2016 06:32 PM, Bartosz Golaszewski wrote: > 2016-12-05 13:49 GMT+01:00 Tomi Valkeinen : >> On 29/11/16 13:57, Bartosz Golaszewski wrote: >>> Add the dumb-vga-dac node to the board DT together with corresponding >>> ports and vga connector. This allows to retrieve the edid inf

Re: [PATCH v2 04/11] locking/ww_mutex: Set use_ww_ctx even when locking without a context

2016-12-06 Thread Peter Zijlstra
On Thu, Dec 01, 2016 at 03:06:47PM +0100, Nicolai Hähnle wrote: > +++ b/include/linux/ww_mutex.h > @@ -222,11 +222,7 @@ extern int __must_check > __ww_mutex_lock_interruptible(struct ww_mutex *lock, > */ > static inline int ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx > *ctx) >

Re: [PATCH net-next] tools: hv: Enable network manager for bonding scripts on RHEL

2016-12-06 Thread David Miller
From: Haiyang Zhang Date: Fri, 2 Dec 2016 15:55:38 -0800 > From: Haiyang Zhang > > We found network manager is necessary on RHEL to make the synthetic > NIC, VF NIC bonding operations handled automatically. So, enabling > network manager here. > > Signed-off-by: Haiyang Zhang > Reviewed-by:

Re: [PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Lorenzo Pieralisi
On Tue, Dec 06, 2016 at 02:24:48PM +0100, Joerg Roedel wrote: > Hi Lorenzo, > > On Tue, Dec 06, 2016 at 09:37:10AM +, Lorenzo Pieralisi wrote: > > I can apply Rafael and Hanjun's tags and resend a v2 to you if you > > prefer, it would be great if you could apply this patch to your arm/smmu > >

Re: [PATCH 1/2] misc: atmel-ssc: register as sound DAI if #sound-dai-cells is present

2016-12-06 Thread Rob Herring
On Thu, Dec 01, 2016 at 12:59:08PM +0100, Peter Rosin wrote: > The SSC is currently not usable with the ASoC simple-audio-card, as > every SSC audio user has to build a platform driver that may do as > little as calling atmel_ssc_set_audio/atmel_ssc_put_audio (which > allocates the SSC and register

Re: [PATCH v4 6/7] IIO: add STM32 timer trigger driver

2016-12-06 Thread Benjamin Gaignard
[snip] >> + >> +static const char * const triggers0[] = { >> + TIM1_TRGO, TIM1_CH1, TIM1_CH2, TIM1_CH3, TIM1_CH4, NULL, >> +}; >> + >> +static const char * const triggers1[] = { >> + TIM2_TRGO, TIM2_CH1, TIM2_CH2, TIM2_CH3, TIM2_CH4, NULL, >> +}; >> + >> +static const char * const triggers2

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-06 Thread Catalin Marinas
On Mon, Dec 05, 2016 at 11:24:21AM +, Will Deacon wrote: > On Mon, Dec 05, 2016 at 01:39:53PM +0530, Maninder Singh wrote: > > This patch corrects format specifier for printing 64 bit addresses. > > > > Signed-off-by: Maninder Singh > > Signed-off-by: Vaneet Narang > > --- > > arch/arm64/ke

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-06 Thread Will Deacon
On Tue, Dec 06, 2016 at 03:26:37PM +, Catalin Marinas wrote: > On Mon, Dec 05, 2016 at 11:24:21AM +, Will Deacon wrote: > > On Mon, Dec 05, 2016 at 01:39:53PM +0530, Maninder Singh wrote: > > > This patch corrects format specifier for printing 64 bit addresses. > > > > > > Signed-off-by: M

Re: [PATCH v2 0/4] net: hix5hd2_gmac: add tx sg feature and reset/clock control signals

2016-12-06 Thread David Miller
From: Dongpo Li Date: Mon, 5 Dec 2016 21:27:57 +0800 > The "hix5hd2" is SoC name, add the generic ethernet driver compatible string. > The "hisi-gemac-v1" is the basic version and "hisi-gemac-v2" adds > the SG/TXCSUM/TSO/UFO features. > This patch set only adds the SG(scatter-gather) driver for t

Re: net/gadget: slab-out-of-bounds write in dev_config

2016-12-06 Thread Alan Stern
On Tue, 6 Dec 2016, Andrey Konovalov wrote: > Hi! > > I've got the following error report while running the syzkaller fuzzer. > > ep0_write() doesn't check the length, so a user can cause an > out-of-bounds with both size and data controlled. > There's a comment which says "IN DATA+STATUS caller

ATENCIÓN;

2016-12-06 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

Re: [PATCH v2 04/11] locking/ww_mutex: Set use_ww_ctx even when locking without a context

2016-12-06 Thread Peter Zijlstra
On Thu, Dec 01, 2016 at 03:06:47PM +0100, Nicolai Hähnle wrote: > @@ -640,10 +640,11 @@ __mutex_lock_common(struct mutex *lock, long state, > unsigned int subclass, > struct mutex_waiter waiter; > unsigned long flags; > bool first = false; > - struct ww_mutex *ww; > in

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Alex Williamson
On Tue, 6 Dec 2016 14:11:03 +0800 Cao jin wrote: > On 12/06/2016 12:17 AM, Alex Williamson wrote: > > On Mon, 5 Dec 2016 13:52:03 +0800 > > Cao jin wrote: > > > >> On 12/04/2016 11:30 PM, Alex Williamson wrote: > >>> On Sun, 4 Dec 2016 20:16:42 +0800 > >>> Cao jin wrote: > >>> >

Re: [PATCH V2 03/13] perf/x86: output sampling overhead

2016-12-06 Thread Peter Zijlstra
On Tue, Dec 06, 2016 at 03:02:20PM +, Liang, Kan wrote: > > > > On Fri, Dec 02, 2016 at 04:19:11PM -0500, kan.li...@intel.com wrote: > > > From: Kan Liang > > > > > > On x86, NMI handler is the most important part which brings overhead > > > for sampling. Adding a pmu specific overhead type

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

2016-12-06 Thread Mason
On 06/12/2016 14:14, Måns Rullgård wrote: > Mason wrote: > >> On 06/12/2016 06:12, Vinod Koul wrote: >> >>> On Tue, Nov 29, 2016 at 07:25:02PM +0100, Mason wrote: >>> Is there a way to write a driver within the existing framework? >>> >>> I think so, looking back at comments from Russell, I

Re: [PATCH v2 05/11] locking/ww_mutex: Add waiters in stamp order

2016-12-06 Thread Peter Zijlstra
On Thu, Dec 01, 2016 at 03:06:48PM +0100, Nicolai Hähnle wrote: > +static inline int __sched > +__ww_mutex_add_waiter(struct mutex_waiter *waiter, > + struct mutex *lock, > + struct ww_acquire_ctx *ww_ctx) > +{ > + struct mutex_waiter *cur; > + > + if (!w

Re: [PATCH] net: stmmac: clear reset value of snps,wr_osr_lmt/snps,rd_osr_lmt before writing

2016-12-06 Thread David Miller
From: Niklas Cassel Date: Mon, 5 Dec 2016 18:12:54 +0100 > From: Niklas Cassel > > WR_OSR_LMT and RD_OSR_LMT have a reset value of 1. > Since the reset value wasn't cleared before writing, the value in the > register would be incorrect if specifying an uneven value for > snps,wr_osr_lmt/snps,rd

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Alex Williamson
On Tue, 6 Dec 2016 18:46:04 +0800 Cao jin wrote: > On 12/06/2016 12:59 PM, Alex Williamson wrote: > > On Tue, 6 Dec 2016 05:55:28 +0200 > > "Michael S. Tsirkin" wrote: > > > >> On Mon, Dec 05, 2016 at 09:17:30AM -0700, Alex Williamson wrote: > >>> If you're going to take the lead for these

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

2016-12-06 Thread Måns Rullgård
Mason writes: > On 06/12/2016 14:14, Måns Rullgård wrote: > >> Mason wrote: >> >>> On 06/12/2016 06:12, Vinod Koul wrote: >>> On Tue, Nov 29, 2016 at 07:25:02PM +0100, Mason wrote: > Is there a way to write a driver within the existing framework? I think so, looking back

Re: [PATCHSET/RFC v2] Make legacy IO schedulers work with blk-mq

2016-12-06 Thread Jens Axboe
On 12/06/2016 03:01 AM, Paolo Valente wrote: > >> Il giorno 05 dic 2016, alle ore 19:26, Jens Axboe ha scritto: >> >> Version 2 of the hack/patchset, that enables blk-mq to use the legacy >> IO schedulers with single queue devices. Original posting is here: >> >> https://marc.info/?l=linux-block&

ATTENZIONE;

2016-12-06 Thread amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

Re: scsi: use-after-free in bio_copy_from_iter

2016-12-06 Thread Johannes Thumshirn
On Tue, Dec 06, 2016 at 10:43:57AM +0100, Dmitry Vyukov wrote: > On Tue, Dec 6, 2016 at 10:32 AM, Johannes Thumshirn > wrote: > > On Mon, Dec 05, 2016 at 07:03:39PM +, Al Viro wrote: > >> On Mon, Dec 05, 2016 at 04:17:53PM +0100, Johannes Thumshirn wrote: > >> > 633 hp = &srp->header;

[PATCH 06/10] vhost: add missing __user annotations

2016-12-06 Thread Michael S. Tsirkin
Several vhost functions were missing __user annotations on pointers, causing sparse warnings. Fix this up. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c inde

[PATCH 04/10] drm/virtio: annotate virtio_gpu_queue_ctrl_buffer_locked

2016-12-06 Thread Michael S. Tsirkin
virtio_gpu_queue_ctrl_buffer_locked is called with ctrlq.qlock taken, it releases and acquires this lock. This causes a sparse warning. Add appropriate annotations for sparse context checking. Signed-off-by: Michael S. Tsirkin --- drivers/gpu/drm/virtio/virtgpu_vq.c | 2 ++ 1 file changed, 2 i

[PATCH 08/10] vsock/virtio: mark an internal function static

2016-12-06 Thread Michael S. Tsirkin
virtio_transport_alloc_pkt is only used locally, make it static. Signed-off-by: Michael S. Tsirkin --- net/vmw_vsock/virtio_transport_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c in

[PATCH 00/10] virtio: sparse fixes

2016-12-06 Thread Michael S. Tsirkin
I run latest sparse from git on virtio drivers (turns out the version I had was rather outdated). This patchset fixes a couple of bugs this uncovered, and adds some annotations to make it sparse-clean. In particular, endian-ness is often tricky, so this patchset enabled endian-ness checks for spars

[PATCH 09/10] vsock/virtio: fix src/dst cid format

2016-12-06 Thread Michael S. Tsirkin
These fields are 64 bit, using le32_to_cpu and friends on these will not do the right thing. Fix this up. Cc: sta...@vger.kernel.org Signed-off-by: Michael S. Tsirkin --- net/vmw_vsock/virtio_transport_common.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ne

[PATCH 01/10] virtio_console: drop unused config fields

2016-12-06 Thread Michael S. Tsirkin
struct ports_device includes a config field including the whole virtio_console_config, but only max_nr_ports in there is ever updated or used. The rest is unused and in fact does not even mirror the device config. Drop everything except max_nr_ports, saving some memory. Signed-off-by: Michael S. T

[PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-06 Thread Michael S. Tsirkin
__CHECK_ENDIAN__ isn't on by default presumably because it triggers too many sparse warnings for correct code. But virtio is now clean of these warnings, and we want to keep it this way - enable this for sparse builds. Signed-off-by: Michael S. Tsirkin --- It seems that there should be a better

[PATCH 03/10] drm/virtio: fix lock context imbalance

2016-12-06 Thread Michael S. Tsirkin
When virtio_gpu_free_vbufs exits due to list empty, it does not drop the free_vbufs lock that it took. list empty is not expected to happen anyway, but it can't hurt to fix this and drop the lock. Signed-off-by: Michael S. Tsirkin --- drivers/gpu/drm/virtio/virtgpu_vq.c | 4 +++- 1 file changed,

[PATCH 07/10] vsock/virtio: add a missing __le annotation

2016-12-06 Thread Michael S. Tsirkin
guest cid is read from config space, therefore it's in little endian format and is treated as such, annotate it accordingly. Signed-off-by: Michael S. Tsirkin --- net/vmw_vsock/virtio_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/virtio_transport.c

[PATCH 02/10] drm/virtio: fix endianness in primary_plane_update

2016-12-06 Thread Michael S. Tsirkin
virtio_gpu_cmd_transfer_to_host_2d expects x and y parameters in LE, but virtio_gpu_primary_plane_update passes in the CPU format instead. Signed-off-by: Michael S. Tsirkin --- drivers/gpu/drm/virtio/virtgpu_plane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

Re: scsi: use-after-free in bio_copy_from_iter

2016-12-06 Thread Dmitry Vyukov
On Tue, Dec 6, 2016 at 4:38 PM, Johannes Thumshirn wrote: > On Tue, Dec 06, 2016 at 10:43:57AM +0100, Dmitry Vyukov wrote: >> On Tue, Dec 6, 2016 at 10:32 AM, Johannes Thumshirn >> wrote: >> > On Mon, Dec 05, 2016 at 07:03:39PM +, Al Viro wrote: >> >> On Mon, Dec 05, 2016 at 04:17:53PM +0100

[PATCH 05/10] vhost: make interval tree static inline

2016-12-06 Thread Michael S. Tsirkin
vhost_umem_interval_tree is only used locally within vhost.c, mark it static. As some functions generated go unused, this triggers warnings unless we also mark it inline. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] uapi glibc compat: fix outer guard of net device flags enum

2016-12-06 Thread David Miller
From: Mikko Rapeli Date: Mon, 5 Dec 2016 19:34:02 +0200 > On Sat, Dec 03, 2016 at 05:31:45PM +0100, Jonas Gorski wrote: >> Fix a wrong condition preventing the higher net device flags >> IFF_LOWER_UP etc to be defined if net/if.h is included before >> linux/if.h. >> >> The comment makes it clear

Re: [PATCH v3 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-12-06 Thread Laurentiu Tudor
On 12/05/2016 10:52 PM, Dan Carpenter wrote: > On Fri, Dec 02, 2016 at 12:12:14PM +, Laurentiu Tudor wrote: >>> +static inline bool dpaa2_sg_is_final(const struct dpaa2_sg_entry *sg) >>> +{ >>> + return !!(le16_to_cpu(sg->format_offset) >> SG_FINAL_FLAG_SHIFT); >> >> In other places in this f

RE: [PATCH V2 03/13] perf/x86: output sampling overhead

2016-12-06 Thread Liang, Kan
> On Tue, Dec 06, 2016 at 03:02:20PM +, Liang, Kan wrote: > > > > > > > On Fri, Dec 02, 2016 at 04:19:11PM -0500, kan.li...@intel.com wrote: > > > > From: Kan Liang > > > > > > > > On x86, NMI handler is the most important part which brings > > > > overhead for sampling. Adding a pmu specifi

Re: [RFC PATCH v3 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-12-06 Thread Thierry Reding
On Tue, Sep 20, 2016 at 03:02:51AM +0800, Randy Li wrote: > The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be > supported by the simple panel driver. > > Signed-off-by: Randy Li > --- > .../display/panel/chunghwa,claa070wp03xg.txt | 7 ++ > drivers/gpu/drm/panel/panel-si

[PATCH] x86/irq: Add additional unhandled IRQ debug information

2016-12-06 Thread Prarit Bhargava
The current unhandled IRQ warning doesn't output enough information on x86 to determine which device issued an interrupt. For example, irq 16: nobody cared (try booting with the "irqpoll" option) CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-rc6+ #19 Hardware name: Hewlett-Packard HP Z820 Works

Re: [PATCH] drm/panel: simple: Check against num_timings when setting preferred for timing

2016-12-06 Thread Thierry Reding
On Mon, Oct 24, 2016 at 09:21:15PM +0800, Chen-Yu Tsai wrote: > In the loop on .timings, we should check .num_timings to see if it's the > only mode specified, not .num_modes, which should be used with .modes. > > Fixes: cda553725c92 ("drm/panel: simple: Set appropriate mode type") > Signed-off-by

Re: [PATCH 2/2] ASoC: atmel: tse850: rely on the ssc to register as a cpu dai by itself

2016-12-06 Thread Rob Herring
On Thu, Dec 01, 2016 at 12:59:09PM +0100, Peter Rosin wrote: > Signed-off-by: Peter Rosin > --- > .../bindings/sound/axentia,tse850-pcm5142.txt | 5 ++--- > sound/soc/atmel/tse850-pcm5142.c | 23 > +++--- > 2 files changed, 5 insertions(+), 23 deletions(-)

Re: [PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-12-06 Thread Wolfgang Ocker
On Tue, 2016-12-06 at 14:36 +0100, Stefan Wahren wrote: > Hi Wolfgang, > > > --- a/drivers/tty/serial/mxs-auart.c > > +++ b/drivers/tty/serial/mxs-auart.c > > @@ -95,6 +95,7 @@ > >  #define AUART_LINECTRL_BAUD_DIVFRAC_SHIFT 8 > >  #define AUART_LINECTRL_BAUD_DIVFRAC_MASK 0x3f00 > >  #define

Re: [PATCH 1/1] arm/module: maximum utilization of module area.

2016-12-06 Thread Nicolas Pitre
On Tue, 6 Dec 2016, Maninder Singh wrote: > This patch defines new macro MODULE_START to ensure kernel text > and module remains within 32 MB of address range. > > Tried this patch by inserting 20 MB size module on 4.1 kernel:- > > Earlier:- > == > sh# insmod size.ko > > insmod: ERR

Re: [PATCH resend 0/8] irda: w83977af_ir: Neatening

2016-12-06 Thread David Miller
From: Joe Perches Date: Mon, 5 Dec 2016 11:00:40 -0800 > On top of Arnd's overly long udelay patch because I noticed a > misindented block. Joe, this doesn't apply cleanly to net-next, please respin. Thank you.

Re: [PATCH v2] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Joerg Roedel
On Tue, Dec 06, 2016 at 02:20:11PM +, Lorenzo Pieralisi wrote: > drivers/acpi/arm64/iort.c | 22 ++ > drivers/acpi/scan.c | 14 +- > include/linux/acpi_iort.h | 2 ++ > 3 files changed, 25 insertions(+), 13 deletions(-) Applied, thanks.

Re: [PATCH V3 01/11] megaraid_sas: Add new pci device Ids for SAS3.5 Generic Megaraid Controllers

2016-12-06 Thread Tomas Henzl
On 5.12.2016 17:27, Sasikumar Chandrasekaran wrote: > This patch contains new pci device ids for SAS3.5 Generic Megaraid Controllers > > Signed-off-by: Sasikumar Chandrasekaran > --- > drivers/scsi/megaraid/megaraid_sas.h| 11 ++- > drivers/scsi/megaraid/megaraid_sas_base.c | 20

[PATCH 1/1] mtd: spi-nor: improve macronix_quad_enable()

2016-12-06 Thread Cyrille Pitchen
The patch checks whether the Quad Enable bit is already set in the Status Register. If so, the function exits immediately with a successful return code. Signed-off-by: Cyrille Pitchen Reviewed-by: Jagan Teki --- drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: usb/gadget: use-after-free in gadgetfs_setup

2016-12-06 Thread Andrey Konovalov
On Tue, Dec 6, 2016 at 1:28 PM, Andrey Konovalov wrote: > On Mon, Dec 5, 2016 at 8:31 PM, Alan Stern wrote: >> On Mon, 5 Dec 2016, Andrey Konovalov wrote: >> >>> Hi! >>> >>> I've got the following error report while running the syzkaller fuzzer. >>> >>> On commit 3c49de52d5647cda8b42c4255cf8a29d1

Re: [PATCH v2 02/11] locking/ww_mutex: Re-check ww->ctx in the inner optimistic spin loop

2016-12-06 Thread Waiman Long
On 12/06/2016 10:06 AM, Peter Zijlstra wrote: > On Thu, Dec 01, 2016 at 03:06:45PM +0100, Nicolai Hähnle wrote: >> +++ b/kernel/locking/mutex.c >> @@ -350,7 +350,8 @@ ww_mutex_set_context_slowpath(struct ww_mutex *lock, >> * access and not reliable. >> */ >> static noinline >> -bool mutex_spin

Re: [PATCH v3] iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped

2016-12-06 Thread Joerg Roedel
On Mon, Dec 05, 2016 at 08:09:07PM +0800, Xunlei Pang wrote: > drivers/iommu/intel-iommu.c | 19 +++ > 1 file changed, 19 insertions(+) Applied, thanks.

Re: [PATCH v4 2/3] doc: dt: add cyclone-spi binding document

2016-12-06 Thread Rob Herring
On Thu, Dec 01, 2016 at 09:04:51AM -0800, Joshua Clayton wrote: > Describe a cyclonei-ps-spi devicetree entry, required features cyclonei? > > Signed-off-by: Joshua Clayton > --- > > .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 25 > ++ > 1 file changed, 25 insert

Re: [PATCHv4 05/10] arm64: Use __pa_symbol for kernel symbols

2016-12-06 Thread Mark Rutland
On Thu, Dec 01, 2016 at 12:04:27PM +, James Morse wrote: > On 29/11/16 18:55, Laura Abbott wrote: > > diff --git a/arch/arm64/kernel/hibernate.c b/arch/arm64/kernel/hibernate.c > > index d55a7b0..4f0c77d 100644 > > --- a/arch/arm64/kernel/hibernate.c > > +++ b/arch/arm64/kernel/hibernate.c > >

Re: [PATCHv2 0/4] perf tools: Force fixdep to be built first

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 06, 2016 at 02:18:47PM +0100, Jiri Olsa escreveu: > hi, > changing Makefile.perf to force building fixdep before everything > else, in order to avoid fixdep build races due to forgotten dependencies. > > And some build fixes that piled up around the fixdep change. > > Available also h

Re: [PATCH] drm/panel: simple: add 8bit-bps for Sharp lq123p1jx31

2016-12-06 Thread Thierry Reding
On Sat, Nov 19, 2016 at 10:27:16AM +0800, zain wang wrote: > Sharp lq123p1jx31 support 8bit bps. > > Signed-off-by: zain wang > --- > drivers/gpu/drm/panel/panel-simple.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. Thierry signature.asc Description: PGP signature

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-06 Thread Christoffer Dall
On Mon, Dec 05, 2016 at 01:39:53PM +0530, Maninder Singh wrote: > This patch corrects format specifier for printing 64 bit addresses. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang > --- > arch/arm64/kernel/signal.c | 2 +- > arch/arm64/kvm/sys_regs.c | 8 ++-- > arch/a

RE: [LINUX RFC v4 3/4] mtd: spi-nor: add stripe support

2016-12-06 Thread Naga Sureshkumar Relli
Hi Mark and Cyrille, > -Original Message- > From: Cyrille Pitchen [mailto:cyrille.pitc...@atmel.com] > Sent: Tuesday, December 06, 2016 4:30 PM > To: Naga Sureshkumar Relli ; broo...@kernel.org; > michal.si...@xilinx.com; Soren Brinkmann ; Harini > Katakam ; Punnaiah Choudary Kalluri > >

Re: [PATCH v2] perf sched timehist: Improve error message when analyzing wrong file

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 05, 2016 at 03:41:54PM -0800, David Ahern escreveu: > On 11/29/16 9:31 PM, Namhyung Kim wrote: > > On 11/30/16, David Ahern wrote: > >> Arnaldo reported an unhelpful error message when running perf sched > >> timehist on a file that did not contain sched tracepoints: > >> root@f21-

Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-06 Thread Doug Anderson
Hi, On Tue, Dec 6, 2016 at 6:56 AM, Rob Herring wrote: > On Tue, Dec 6, 2016 at 2:48 AM, Benjamin Tissoires > wrote: >> On Dec 05 2016 or thereabouts, Rob Herring wrote: >>> On Thu, Dec 01, 2016 at 09:24:50AM -0800, Brian Norris wrote: >>> > Hi Benjamin and Rob, >>> > >>> > On Thu, Dec 01, 2016

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

2016-12-06 Thread Stephen Hemminger
On Tue, 6 Dec 2016 00:37:08 + Long Li wrote: > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Monday, December 5, 2016 8:53 AM > > To: Long Li > > Cc: KY Srinivasan ; Haiyang Zhang > > ; Bjorn Helgaas ; > > de...@linuxdriverproject.org;

[PATCH] kernel/watchdog: Prevent false hardlockup on overloaded system

2016-12-06 Thread Don Zickus
On an overloaded system, it is possible that a change in the watchdog threshold can be delayed long enough to trigger a false positive. This can easily be achieved by having a cpu spinning indefinitely on a task, while another cpu updates watchdog threshold. What happens is while trying to park t

Re: Gigabit ethernet driver for Alacritechs SLIC devices (v4)

2016-12-06 Thread David Miller
From: Lino Sanfilippo Date: Mon, 5 Dec 2016 23:07:15 +0100 > this is the forth version of the slicoss gigabit ethernet driver (which is a > rework of the driver from Alacritech which can currently be found under > drivers/staging/slicoss). The driver is supposed to support Mojave, Oasis and > Ka

Re: [PATCH] i2c: rk3x: keep i2c irq ON in suspend

2016-12-06 Thread Doug Anderson
Hi, On Tue, Dec 6, 2016 at 12:12 AM, David.Wu wrote: > Hi Heiko, > > 在 2016/12/5 18:54, Heiko Stuebner 写道: >> >> Hi David, >> >> Am Montag, 5. Dezember 2016, 16:02:59 CET schrieb David Wu: >>> >>> During suspend there may still be some i2c access happening. >>> And if we don't keep i2c irq ON, th

Re: [PATCH] iommu/intel-iommu: fix pasid table size encoding

2016-12-06 Thread Joerg Roedel
Hi Jacob, On Thu, Dec 01, 2016 at 01:50:26PM -0800, Jacob Pan wrote: > diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c > index 27596e6..f112aa9 100644 > --- a/drivers/iommu/intel-iommu.c > +++ b/drivers/iommu/intel-iommu.c > @@ -5173,6 +5173,29 @@ static void intel_iommu_rem

Re: [PATCH] drivers: net: cpsw-phy-sel: Clear RGMII_IDMODE on "rgmii" links

2016-12-06 Thread David Miller
From: Alexandru Gagniuc Date: Mon, 5 Dec 2016 17:33:53 -0800 > Support for setting the RGMII_IDMODE bit was added in commit: > "drivers: net: cpsw-phy-sel: add support to configure rgmii internal delay" > However, that commit did not add the symmetrical clearing of the bit > by way of setting it

Re: [PATCH] net: ethernet: ti: cpsw: fix early budget split

2016-12-06 Thread David Miller
From: Ivan Khoronzhuk Date: Tue, 6 Dec 2016 03:45:00 +0200 > The budget split function requires the phy speed to be known. > While ndo open a phy speed identification is postponed till the > moment link is up. Hence, move it to appropriate callback, when link > is up. > > Reported-by: Grygorii

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-06 Thread Robin Murphy
On 06/12/16 16:11, Christoffer Dall wrote: > On Mon, Dec 05, 2016 at 01:39:53PM +0530, Maninder Singh wrote: >> This patch corrects format specifier for printing 64 bit addresses. >> >> Signed-off-by: Maninder Singh >> Signed-off-by: Vaneet Narang >> --- >> arch/arm64/kernel/signal.c | 2 +- >>

Re: [PATCH] virtio-net: Fix DMA-from-the-stack in virtnet_set_mac_address()

2016-12-06 Thread David Miller
From: Andy Lutomirski Date: Mon, 5 Dec 2016 18:10:58 -0800 > With CONFIG_VMAP_STACK=y, virtnet_set_mac_address() can be passed a > pointer to the stack and it will OOPS. Copy the address to the heap > to prevent the crash. > > Cc: Michael S. Tsirkin > Cc: Jason Wang > Cc: Laura Abbott > Rep

Re: Enabling peer to peer device transactions for PCIe devices

2016-12-06 Thread Jason Gunthorpe
> > I'm not opposed to mapping /dev/nvmeX. However, the lookup is trivial > > to accomplish in sysfs through /sys/dev/char to find the sysfs path of the > > device-dax instance under the nvme device, or if you already have the nvme > > sysfs path the dax instance(s) will appear under the "dax" sub

Re: Gigabit ethernet driver for Alacritechs SLIC devices (v4)

2016-12-06 Thread Greg KH
On Tue, Dec 06, 2016 at 11:30:04AM -0500, David Miller wrote: > From: Lino Sanfilippo > Date: Mon, 5 Dec 2016 23:07:15 +0100 > > > this is the forth version of the slicoss gigabit ethernet driver (which is a > > rework of the driver from Alacritech which can currently be found under > > drivers/

Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

2016-12-06 Thread Linus Torvalds
On Tue, Dec 6, 2016 at 5:44 AM, Adam Borowski wrote: > On Tue, Dec 06, 2016 at 08:31:01AM -0500, Jan Stancek wrote: >> Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols to >> zero") >> I'm running into issue with kernel built with CONFIG_MODVERSIONS=y >> and (older) binutil

Re: [patch net v4] net: fec: fix compile with CONFIG_M5272

2016-12-06 Thread David Miller
From: Nikita Yushchenko Date: Tue, 6 Dec 2016 09:26:53 +0300 > Commit 80cca775cdc4 ("net: fec: cache statistics while device is down") > introduced unconditional statistics-related actions. > > However, when driver is compiled with CONFIG_M5272, staticsics-related > definitions do not exist, wh

[PATCH v5] add macros for bitfield manipulation "à la" GENMASK

2016-12-06 Thread Sebastian Frias
Introduce GENVALUE(msb, lsb, value) macro to ease dealing with continuous bitfields, just as BIT(x) does for single bits. GENVALUE_ULL(msb, lsb, value) macro is also added. These are useful mostly for creating values to be packed together via OR operations, ex: u32 val = 0x; val |=

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-12-06 Thread Manuel Schölling
Hi Greg, On Di, 2016-12-06 at 11:02 +0100, Greg KH wrote: > On Sun, Dec 04, 2016 at 11:53:53AM +0100, Manuel Schölling wrote: > > Reviewed-by: Andrey Utkin > > Tested-by: Andrey Utkin > > Tested-by: Adam Borowski > > > > -- > > Changes in v7: > > - Add new callback to consw struct for flushi

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-06 Thread Robin Murphy
On 05/12/16 08:09, Maninder Singh wrote: > This patch corrects format specifier for printing 64 bit addresses. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang > --- > arch/arm64/kernel/signal.c | 2 +- > arch/arm64/kvm/sys_regs.c | 8 ++-- > arch/arm64/mm/fault.c |

Re: [PATCH V4 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-12-06 Thread David Miller
From: Salil Mehta Date: Tue, 6 Dec 2016 11:09:46 + > This patch introduces the RX checksum function to check the > status of the hardware calculated checksum and its error and > appropriately convey status to the upper stack in skb->ip_summed > field. > > In hardware, we only support checksu

Re: [PATCH v3 net-next v3 0/4] net: dsa: mv88e6xxx: rework reset and PPU code

2016-12-06 Thread David Miller
From: Vivien Didelot Date: Mon, 5 Dec 2016 17:30:24 -0500 > Old Marvell chips (like 88E6060) don't have a PHY Polling Unit (PPU). > > Next chips (like 88E6185) have a PPU, which has exclusive access to the > PHY registers, thus must be disabled before access. > > Newer chips (like 88E6352) hav

Re: [PATCH v4 09/13] net: ethernet: ti: cpts: rework initialization/deinitialization

2016-12-06 Thread Grygorii Strashko
On 12/06/2016 07:40 AM, Richard Cochran wrote: > On Mon, Dec 05, 2016 at 02:05:21PM -0600, Grygorii Strashko wrote: >> @@ -372,34 +354,27 @@ void cpts_tx_timestamp(struct cpts *cpts, struct >> sk_buff *skb) >> } >> EXPORT_SYMBOL_GPL(cpts_tx_timestamp); >> >> -int cpts_register(struct device

Re: Gigabit ethernet driver for Alacritechs SLIC devices (v4)

2016-12-06 Thread David Miller
From: Greg KH Date: Tue, 6 Dec 2016 17:40:39 +0100 > On Tue, Dec 06, 2016 at 11:30:04AM -0500, David Miller wrote: >> From: Lino Sanfilippo >> Date: Mon, 5 Dec 2016 23:07:15 +0100 >> >> > this is the forth version of the slicoss gigabit ethernet driver (which is >> > a >> > rework of the driv

Re: Enabling peer to peer device transactions for PCIe devices

2016-12-06 Thread Logan Gunthorpe
Hey, On 06/12/16 09:38 AM, Jason Gunthorpe wrote: >>> I'm not opposed to mapping /dev/nvmeX. However, the lookup is trivial >>> to accomplish in sysfs through /sys/dev/char to find the sysfs path of the >>> device-dax instance under the nvme device, or if you already have the nvme >>> sysfs path

[PATCH 0/2] mtd: spi-nor: add a stateless method to support memory size above 128Mib

2016-12-06 Thread Cyrille Pitchen
Hi all, this series of patches is based on next-20161206 and can also be applied to the git://github.com/spi-nor/linux.git tree. It has been extracted from the SFDP series and is resent as a standalone series. This series fixes compatibility issue between Linux and many bootloaders when using

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

2016-12-06 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: bio linked list corruption.

2016-12-06 Thread Linus Torvalds
On Tue, Dec 6, 2016 at 12:16 AM, Peter Zijlstra wrote: >> >> Of course, I'm really hoping that this shmem.c use is the _only_ such >> case. But I doubt it. > > $ git grep DECLARE_WAIT_QUEUE_HEAD_ONSTACK | wc -l > 28 Hmm. Most of them seem to be ok, because they use "wait_event()", which will alw

Re: [PATCH 2/5] x86: remove idle_notifier

2016-12-06 Thread Pavel Machek
Hi! > From: Len Brown > > Upon removal of the i7300_idle driver, the idle_notifer is unused. Actually... do we want to keep this this one? There's "cpu is loaded" led trigger, which is implemented on arm but not on x86. I tried to patch process.c, but this would be easier (and does not require

[PATCH 2/2] mtd: spi-nor: add a stateless method to support memory size above 128Mib

2016-12-06 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

Re: [PATCH v2 05/11] locking/ww_mutex: Add waiters in stamp order

2016-12-06 Thread Peter Zijlstra
On Thu, Dec 01, 2016 at 03:06:48PM +0100, Nicolai Hähnle wrote: > @@ -693,8 +748,12 @@ __mutex_lock_common(struct mutex *lock, long state, > unsigned int subclass, >* mutex_unlock() handing the lock off to us, do a trylock >* before testing the error conditions to m

[PATCH v4] add macros for bitfield manipulation ala GENMASK

2016-12-06 Thread Sebastian Frias
Introduce GENVALUE(msb, lsb, value) macro to ease dealing with continuous bitfields, just as BIT(x) does for single bits. GENVALUE_ULL(msb, lsb, value) macro is also added. These are useful mostly for creating values to be packed together via OR operations, ex: u32 val = 0x; val |=

Re: [RESEND][PATCH v4] cgroup: Use CAP_SYS_RESOURCE to allow a process to migrate other tasks between cgroups

2016-12-06 Thread Tejun Heo
Hello, On Mon, Dec 05, 2016 at 04:36:51PM -0800, Andy Lutomirski wrote: > I really don't know. The cgroupfs interface is a bit unfortunate in > that it doesn't really express the constraints. To safely migrate a > task, ISTM you ought to have some form of privilege over the task > *and* some for

Re: [PATCH 1/4] serial: core: Add LED trigger support

2016-12-06 Thread One Thousand Gnomes
> > If we have different UART drivers, only one of them provides ttyS*, no? > > Other drivers will have to use another namespace. > > I remember this was a problem a couple of years ago last I tried, with > the 8250 driver being actually preventing other drivers from using > ttyS*, but if you do

<    1   2   3   4   5   6   7   8   9   >