Re: [PATCH] p54: memset(0) whole array

2016-10-15 Thread Christian Lamparter
On Friday, October 14, 2016 11:23:09 AM CEST Jiri Slaby wrote: > gcc 7 complains: > drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_scan': > drivers/net/wireless/intersil/p54/fwio.c:491:4: warning: 'memset' used with > length equal to number of elements without multiplication by

Re: [PATCH v5] kprobes: unpoison stack in jprobe_return() for KASAN

2016-10-15 Thread Ingo Molnar
* Dmitry Vyukov wrote: > KASAN stack instrumentation poisons stack redzones on function entry > and unpoisons them on function exit. If a function exits abnormally > (e.g. with a longjmp like jprobe_return()), stack redzones are left > poisoned. Later this leads to random

Re: [patch] perf_event_open.2: PERF_SAMPLE_BRANCH_IND_JUMP branch_sample_type

2016-10-15 Thread Michael Kerrisk (man-pages)
On 10/14/2016 10:31 PM, Vince Weaver wrote: > > Linux 4.2 added a new branch_sample_type: PERF_SAMPLE_BRANCH_IND_JUMP Thanks, Vince. Applied! Cheers, Michael > Signed-off-by: Vince Weaver > > diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 > index

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-15 Thread Cheng Chao
On 10/15/2016 01:33 AM, Marc Zyngier wrote: on 10/13/2016 11:31 PM, Marc Zyngier wrote: On Thu, 13 Oct 2016 18:57:14 +0800 Cheng Chao wrote: GIC can distribute an interrupt to more than one cpu, but now, gic_set_affinity sets only one cpu to handle interrupt. What

Re: [PATCH v2] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-10-15 Thread Michal Hocko
On Sat 15-10-16 00:26:33, Minchan Kim wrote: > On Fri, Oct 14, 2016 at 05:03:55PM +0200, Michal Hocko wrote: [...] > > diff --git a/mm/compaction.c b/mm/compaction.c > > index 0409a4ad6ea1..6584705a46f6 100644 > > --- a/mm/compaction.c > > +++ b/mm/compaction.c > > @@ -685,7 +685,8 @@ static bool

Re: [PATCH 1/5] KVM: x86: avoid atomic operations on APICv vmentry

2016-10-15 Thread Paolo Bonzini
> > On Oct 14, 2016, at 11:56 AM, Paolo Bonzini wrote: > >>> > >>> for (i = 0; i <= 7; i++) { > >>> - pir_val = xchg([i], 0); > >>> - if (pir_val) > >>> + pir_val = READ_ONCE(pir[i]); > >> > >> Out of curiosity, do you really need this READ_ONCE?

Re: [PATCH 3/4] ARM: bcm2835: Add #define for VCHIQ property message.

2016-10-15 Thread Stefan Wahren
Hi Greg, > Eric Anholt hat am 3. Oktober 2016 um 20:52 geschrieben: > > > This comes from the downstream tree and is needed for the new VCHIQ > driver in staging. maybe it's not clear from the commit message, but RPI_FIRMWARE_VCHIQ_INIT is already used in

Re: [PATCH 3/4] ARM: bcm2835: Add #define for VCHIQ property message.

2016-10-15 Thread Stefan Wahren
> Stefan Wahren hat am 15. Oktober 2016 um 09:53 > geschrieben: > > > Hi Greg, > > > Eric Anholt hat am 3. Oktober 2016 um 20:52 geschrieben: > > > > > > This comes from the downstream tree and is needed for the new VCHIQ > > driver in staging. > >

Re: [PATCH] DAX: enable iostat for read/write

2016-10-15 Thread Dave Chinner
On Fri, Oct 14, 2016 at 11:25:13AM -0600, Toshi Kani wrote: > DAX IO path does not support iostat, but its metadata IO path does. > Therefore, iostat shows metadata IO statistics only, which has been > confusing to users. > > Add iostat support to the DAX read/write path. > > Note, iostat still

Re: [PATCH v5] kprobes: unpoison stack in jprobe_return() for KASAN

2016-10-15 Thread Dmitry Vyukov
On Sat, Oct 15, 2016 at 8:30 AM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> KASAN stack instrumentation poisons stack redzones on function entry >> and unpoisons them on function exit. If a function exits abnormally >> (e.g. with a longjmp like

[PATCH] modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs

2016-10-15 Thread Ard Biesheuvel
The symbol CRCs are emitted as ELF symbols, which allows us to easily populate the kcrctab sections by relying on the linker to associate each kcrctab slot with the correct value. This has two downsides: - given that the CRCs are treated as pointers, we waste 4 bytes for each CRC on 64 bit

[PATCH] mm: vmalloc: Replace purge_lock spinlock with atomic refcount

2016-10-15 Thread Joel Fernandes
The purge_lock spinlock causes high latencies with non RT kernel. This has been reported multiple times on lkml [1] [2] and affects applications like audio. In this patch, I replace the spinlock with an atomic refcount so that preemption is kept turned on during purge. This Ok to do since [3]

Re: [PATCH 4/4] staging/vchi: Remove dependency on CONFIG_BROKEN.

2016-10-15 Thread Stefan Wahren
> Greg Kroah-Hartman hat am 13. Oktober 2016 um > 09:05 geschrieben: > > > On Mon, Oct 03, 2016 at 11:52:09AM -0700, Eric Anholt wrote: > > The driver builds now. > > > > Signed-off-by: Eric Anholt > > --- > >

Re: [PATCH v4 1/4] block: Add iocontext priority to request

2016-10-15 Thread Hannes Reinecke
On 10/14/2016 08:35 PM, Adam Manzananares wrote: The 10/14/2016 07:54, Hannes Reinecke wrote: On 10/13/2016 09:53 PM, Adam Manzanares wrote: Patch adds an association between iocontext ioprio and the ioprio of a request. This value is set in blk_rq_set_prio which takes the request and the ioc

[GIT PULL] sound fixes for 4.9-rc1

2016-10-15 Thread Takashi Iwai
Linus, please pull sound fixes for v4.9-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-4.9-rc1 The topmost commit is fdd8218d7d1bd0ccb9a3f4c58bf3691a56cc sound fixes for 4.9-rc1

Re: [PATCH] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-10-15 Thread Archit Taneja
Hi, On 10/14/2016 6:57 PM, Eugeniy Paltsev wrote: ARC PGU driver starts crashing on initialization after 'commit e12c2f645557 ("drm/i2c: adv7511: Convert to drm_bridge")' This happenes because in "arcpgu_drm_hdmi_init" function we get pointer of "drm_i2c_encoder_driver" structure, which doesn't

USB GADGET: have a question about usb2eth

2016-10-15 Thread Lipengcheng
Hi, I have a question about usb2eth. In the function gen_ndis_set_resp of the rndis.c, the value of *params->filter may be 0x20 from the pc set command; Howerver the value is used cdc_filter = dev->port_usb->cdc_filter in the function eth_start_xmit of the u_ether.c. If we do not judge

Re: Oops on Power8 (was Re: [PATCH v2 1/7] workqueue: make workqueue available early during boot)

2016-10-15 Thread Michael Ellerman
Tejun Heo writes: > Hello, Michael. > > On Tue, Oct 11, 2016 at 10:22:13PM +1100, Michael Ellerman wrote: >> The oops happens because we're in enqueue_task_fair() and p->se->cfs_rq >> is NULL. >> >> The cfs_rq is NULL because we did set_task_rq(p, 2048), where 2048 is >>

[PATCH] staging: unisys: visorbus: add missing include

2016-10-15 Thread Laurent Navet
this removes lots of sparse warnings : warning: symbol 'visorchannel_destroy' was not declared. Should it be static? warning: symbol 'visorchannel_get_physaddr' was not declared. Should it be static? warning: symbol 'visorchannel_get_nbytes' was not declared. Should it be static? warning: symbol

[PATCH v2] mm: vmalloc: Replace purge_lock spinlock with atomic refcount

2016-10-15 Thread Joel Fernandes
The purge_lock spinlock causes high latencies with non RT kernel. This has been reported multiple times on lkml [1] [2] and affects applications like audio. In this patch, I replace the spinlock with an atomic refcount so that preemption is kept turned on during purge. This Ok to do since [3]

Re: please, where has xconfig KConf option documentation gone with linux 4.8's Qt5 / Qt4 xconfig ?

2016-10-15 Thread Jason Vas Dias
Aha, thanks! I never would have known this without being told - there is no visible indication that the symbol info pane exists at all until one tries to drag the lower right corner of the window notth-eastwards - is this meant to be somehow an intuitive thing to do these days to view more

Re: [PATCH v2] RFC: staging: greybus: shape up greybus GPIO

2016-10-15 Thread Johan Hovold
On Mon, Oct 10, 2016 at 10:39:32AM +0200, Linus Walleij wrote: > Greybus GPIO seems to reimplement the already existing generic > gpiolib irqchip. Also use gpiochip_get_data(). Also use > devm_gpiochip_add_data(). > > Cc: Viresh Kumar > Cc: Axel Haslam

Re: [PATCH 1/2] Staging: greybus: gpio: Use gbphy_dev->dev instead of bundle->dev

2016-10-15 Thread Johan Hovold
On Wed, Oct 12, 2016 at 08:02:21AM +0530, Viresh Kumar wrote: > Some of the print messages are using the incorrect device pointer, fix > them. > > Signed-off-by: Viresh Kumar Acked-by: Johan Hovold

Re: [PATCH 2/2] Staging: greybus: uart: Use gbphy_dev->dev instead of bundle->dev

2016-10-15 Thread Johan Hovold
On Wed, Oct 12, 2016 at 08:02:22AM +0530, Viresh Kumar wrote: > Some of the print messages are using the incorrect device pointer, fix > them. > > Signed-off-by: Viresh Kumar Acked-by: Johan Hovold

Re: [PATCH 4/4] staging/vchi: Remove dependency on CONFIG_BROKEN.

2016-10-15 Thread Greg Kroah-Hartman
On Sat, Oct 15, 2016 at 10:35:25AM +0200, Stefan Wahren wrote: > > > Greg Kroah-Hartman hat am 13. Oktober 2016 um > > 09:05 geschrieben: > > > > > > On Mon, Oct 03, 2016 at 11:52:09AM -0700, Eric Anholt wrote: > > > The driver builds now. > > > > > >

Re: [PATCH v2] Staging:ks7010:eap_packet: fixed 80 character line limit coding style issue

2016-10-15 Thread Greg KH
On Sat, Oct 15, 2016 at 12:49:31AM +0530, Nadim Almas wrote: > So please tall me how to do? I have already done so, but you seem to be ignoring my suggestions for some reason. Also please do not post with html, the mailing lists reject it. I recommend going and learning C better and getting

Re: [PATCH 4.8 00/37] 4.8.2-stable review

2016-10-15 Thread Greg Kroah-Hartman
On Fri, Oct 14, 2016 at 01:07:12PM -0700, kernelci.org bot wrote: > stable-rc boot: 8 boots: 0 failed, 4 passed with 4 offline > (v4.8.1-38-g9ccca26a1585) That's not many boots, what went wrong here? What happened to the 100+ that 4.7 was getting? thanks, greg k-h

[PATCH v5] z3fold: add shrinker

2016-10-15 Thread Vitaly Wool
This patch set implements shrinker for z3fold, preceded by some code optimizations and preparations that I thought would be reasonable to have as separate patches. This patch set has been verified on x86 and on Qemu emulating Versatile Express. fio results for the resulting code are: Run status

[PATCH v5 1/3] z3fold: make counters atomic

2016-10-15 Thread Vitaly Wool
This patch converts pages_nr per-pool counter to atomic64_t. It also introduces a new counter, unbuddied_nr, which is also atomic64_t, to track the number of unbuddied (shrinkable) pages, as a step to prepare for z3fold shrinker implementation. Signed-off-by: Vitaly Wool

Re: [PATCH 4.8 00/37] 4.8.2-stable review

2016-10-15 Thread Greg Kroah-Hartman
On Fri, Oct 14, 2016 at 12:16:04PM -0700, Guenter Roeck wrote: > On Fri, Oct 14, 2016 at 02:26:46PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.2 release. > > There are 37 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH] leds: leds-pca963x: workaround group blink scaling issue

2016-10-15 Thread Matt Ranostay
On Fri, Oct 14, 2016 at 7:20 AM, Tony Lindgren wrote: > * Jacek Anaszewski [161013 23:37]: >> On 10/13/2016 04:20 PM, Matt Ranostay wrote: >> > On Thu, Oct 13, 2016 at 4:05 PM, Jacek Anaszewski >> > wrote: >> > > Why DT

Re: [PATCH 4.8 00/37] 4.8.2-stable review

2016-10-15 Thread Greg Kroah-Hartman
On Fri, Oct 14, 2016 at 12:53:19PM -0600, Shuah Khan wrote: > On 10/14/2016 06:26 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.2 release. > > There are 37 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4/4] staging/vchi: Remove dependency on CONFIG_BROKEN.

2016-10-15 Thread Stefan Wahren
Hi Greg, > Greg Kroah-Hartman hat am 15. Oktober 2016 um > 13:27 geschrieben: > > > On Sat, Oct 15, 2016 at 10:35:25AM +0200, Stefan Wahren wrote: > > > > > Greg Kroah-Hartman hat am 13. Oktober 2016 um > > > 09:05 geschrieben: > > > >

[PATCH v5 3/3] z3fold: add shrinker

2016-10-15 Thread Vitaly Wool
This patch implements shrinker for z3fold. This shrinker implementation does not free up any pages directly but it allows for a denser placement of compressed objects which results in less actual pages consumed and higher compression ratio therefore. This update removes z3fold page compaction

Re: [PATCH][v10] PM / hibernate: Verify the consistent of e820 memory map by md5 digest

2016-10-15 Thread Chen Yu
Hi, On Thu, Oct 13, 2016 at 03:10:18PM +0200, Denys Vlasenko wrote: > On Fri, Sep 9, 2016 at 2:21 PM, Chen Yu wrote: > > On some platforms, there is occasional panic triggered when trying to > > resume from hibernation, a typical panic looks like: > > > > "BUG: unable to

[PATCH v5 2/3] z3fold: remove redundant locking

2016-10-15 Thread Vitaly Wool
The per-pool z3fold spinlock should generally be taken only when a non-atomic pool variable is modified. There's no need to take it to map/unmap an object. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-)

[RFC v2 1/2] proc connector: add namespace events

2016-10-15 Thread Alban Crequy
From: Alban Crequy The act of a process creating or joining a namespace via clone(), unshare() or setns() is a useful signal for monitoring applications. I am working on a monitoring application that keeps track of all the containers and all processes inside each container.

[RFC v2 2/2] proc connector: add a "get feature" op

2016-10-15 Thread Alban Crequy
From: Alban Crequy As more kinds of events are being added in the proc connector, userspace needs a way to detect whether the kernel supports those new events. When a kind of event is not supported, userspace should report an error propertly, or fallback to other methods

[RFC v2 0/2] proc connector: get namespace events

2016-10-15 Thread Alban Crequy
This is v2 of the patch set to add namespace events in the proc connector. The act of a process creating or joining a namespace via clone(), unshare() or setns() is a useful signal for monitoring applications. I am working on a monitoring application that keeps track of all the containers and

Re: Kildall

2016-10-15 Thread Ove Bjørn Karlsen
Den 10/6/2016 10:37, skrev Ove Bjørn Karlsen: Den 10/3/2016 17:10, skrev Ove Bjørn Karlsen: Den 10/3/2016 14:29, skrev Ove Bjørn Karlsen: I tried Linux in 2010, with the peak of the Ubuntu distribution, Karmic Koala. And soon compiled my own kernel for it. But little recognition of my later

Re: [PATCH V3 1/3] ACPI, PCI IRQ: add PCI_USING penalty for ISA interrupts

2016-10-15 Thread Rafael J. Wysocki
On Sat, Oct 15, 2016 at 6:31 AM, Sinan Kaya wrote: > The change introduced in commit 103544d86976 ("ACPI,PCI,IRQ: reduce > resource requirements") removed PCI_USING penalty from > acpi_pci_link_allocate function as there is no longer a fixed size penalty > array for both PCI

[PATCH v3] mm: vmalloc: Replace purge_lock spinlock with atomic refcount

2016-10-15 Thread Joel Fernandes
The purge_lock spinlock causes high latencies with non RT kernel. This has been reported multiple times on lkml [1] [2] and affects applications like audio. In this patch, I replace the spinlock with an atomic refcount so that preemption is kept turned on during purge. This Ok to do since [3]

[PATCH] regulator: pwm: fix syntax errors in the examples

2016-10-15 Thread Peter Rosin
While at it, clean up some other things as well. Signed-off-by: Peter Rosin --- .../devicetree/bindings/regulator/pwm-regulator.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH V3 2/3] Revert "ACPI,PCI,IRQ: remove SCI penalize function"

2016-10-15 Thread Rafael J. Wysocki
On Sat, Oct 15, 2016 at 6:31 AM, Sinan Kaya wrote: > The SCI function was removed in two steps (first refactor and then remove). > This patch does the revert in one step. "The SCI penalize function was removed in two steps (first refactor and then remove) and these changes

[PATCH 0/3] ARM-OMAP2+: Fine-tuning for five function implementations

2016-10-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 15 Oct 2016 22:44:22 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): mux: Replace three seq_printf() calls by seq_puts() mux: Use seq_putc() in

[PATCH] sunrpc & nfs: Add and use dprintk_cont macros

2016-10-15 Thread Joe Perches
Allow line continuations to work properly with KERN_CONT. Signed-off-by: Joe Perches --- fs/nfs/write.c | 6 ++--- include/linux/sunrpc/debug.h | 57 ++-- 2 files changed, 42 insertions(+), 21 deletions(-) diff --git

ca54678efb: BUG: kernel hang in boot stage

2016-10-15 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Grzegorz-Andrejczuk/Enabling-Ring-3-MONITOR-MWAIT-feature-for-Knights-Landing/20161012-202414 commit ca54678efb1a9e8b0ff83fb488175103d6616a81 ("Add R3MWAIT to CPU features") in testcase: boot on test machine:

WARNING: SOMEONE RECEIVING THIS HAS BEEN HACKED (was: Re: [PATCH v2 0/4] PXA cpufreq conversion to clock API)

2016-10-15 Thread Russell King - ARM Linux
Guys, Looks like gmail's been hacked (or something). Within 50 minutes of sending the reply below, I've received at least 10 replies with the following headers: In-Reply-To: <20161015203421.gg1...@n2100.armlinux.org.uk> References: <1476561450-28407-1-git-send-email-robert.jarz...@free.fr>

Re: [PATCH 0/2] net: Fix compiler warnings

2016-10-15 Thread tndave
On 10/15/2016 02:48 PM, David Miller wrote: From: Tushar Dave Date: Fri, 14 Oct 2016 17:06:04 -0700 Recently, ATU (iommu) changes are submitted to linux-sparc that enables 64bit DMA on SPARC. However, this change also makes 'incompatible pointer type' compiler

Re: when to size_t for representing length instead of int ?

2016-10-15 Thread none
Le 2016-10-14 01:37, Al Viro a écrit : On Fri, Oct 14, 2016 at 12:12:43AM +0200, none wrote: Hello, I wanted to known the rules in coding guidelines concerning the use of size_t. It seems the signed int type is used most of the time for representing string sizes, including in some parts

[patch] perf_event_open.2: PERF_RECORD_LOST_SAMPLES record type

2016-10-15 Thread Vince Weaver
Linux 4.2 added a new record type: PERF_RECORD_LOST_SAMPLES It is generated when hardware samples (currently only Intel PEBS) are lost. Signed-off-by: Vince Weaver diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 9f33122..a47df2d 100644 ---

Re: [PATCH 1/5] KVM: x86: avoid atomic operations on APICv vmentry

2016-10-15 Thread Michael S. Tsirkin
On Fri, Oct 14, 2016 at 08:21:27PM +0200, Paolo Bonzini wrote: > On some benchmarks (e.g. netperf with ioeventfd disabled), APICv > posted interrupts turn out to be slower than interrupt injection via > KVM_REQ_EVENT. > > This patch optimizes a bit the IRR update, avoiding expensive atomic >

Re: [PATCH v2] r8169: set coherent DMA mask as well as streaming DMA mask

2016-10-15 Thread David Miller
From: Ard Biesheuvel Date: Fri, 14 Oct 2016 14:40:33 +0100 > PCI devices that are 64-bit DMA capable should set the coherent > DMA mask as well as the streaming DMA mask. On some architectures, > these are managed separately, and so the coherent DMA mask will be > left

Re: [PATCH v2] r8169: set coherent DMA mask as well as streaming DMA mask

2016-10-15 Thread David Miller
From: Ard Biesheuvel Date: Fri, 14 Oct 2016 14:48:51 +0100 > >> On 14 Oct 2016, at 14:42, David Laight wrote: >> >> From: Of Ard Biesheuvel >>> Sent: 14 October 2016 14:41 >>> PCI devices that are 64-bit DMA capable should set the coherent

Re: [PATCH v2] vmxnet3: avoid assumption about invalid dma_pa in vmxnet3_set_mc()

2016-10-15 Thread David Miller
From: Alexey Khoroshilov Date: Sat, 15 Oct 2016 00:01:20 +0300 > vmxnet3_set_mc() checks new_table_pa returned by dma_map_single() > with dma_mapping_error(), but even there it assumes zero is invalid pa > (it assumes dma_mapping_error(...,0) returns true if new_table is

Re: [PATCH 0/2] net: Fix compiler warnings

2016-10-15 Thread David Miller
From: Tushar Dave Date: Fri, 14 Oct 2016 17:06:04 -0700 > Recently, ATU (iommu) changes are submitted to linux-sparc that > enables 64bit DMA on SPARC. However, this change also makes > 'incompatible pointer type' compiler warnings inevitable on sunqe > and sunbmac

[PATCH] uapi: adfs_fs: Clean up code

2016-10-15 Thread chengang
From: Chen Gang Use tab instead of 4 white spaces for indent, and remove redundant empty line. Put constant macro definition before structure definition, so that the structure definition can use the constant macro, e.g. ADFS_DR_SIZE. And still left hardcode number

[patch] drivers/zram: Don't disable preemption in zcomp_stream_get/put()

2016-10-15 Thread Mike Galbraith
In v4.7, the driver switched to percpu compression streams, disabling preemption (get/put_cpu_ptr()). Use get/put_cpu_light() instead. Signed-off-by: Mike Galbraith --- drivers/block/zram/zcomp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---

cc1: error: '-march=r3900' requires '-mfp32'

2016-10-15 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 5 days ago config: mips-jmr3927_defconfig (attached as .config)

[PATCH 1/3] ARM-OMAP2+: mux: Replace three seq_printf() calls by seq_puts()

2016-10-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 15 Oct 2016 22:22:09 +0200 Strings which did not contain data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software.

[patch] drivers,connector: Protect send_msg() with a local lock for RT

2016-10-15 Thread Mike Galbraith
[ 6496.323071] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:931 [ 6496.323072] in_atomic(): 1, irqs_disabled(): 0, pid: 31807, name: sleep [ 6496.323077] Preemption disabled at:[] proc_exit_connector+0xbb/0x140 [ 6496.323077] [ 6496.323080] CPU: 4 PID: 31807

linux-next: manual merge of the net tree with Linus' tree

2016-10-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net tree got a conflict in: drivers/net/ethernet/qlogic/Kconfig between commit: 2e0cbc4dd077 ("qedr: Add RoCE driver framework") from Linus' tree and commit: 0189efb8f4f8 ("qed*: Fix Kconfig dependencies with INFINIBAND_QEDR") from the net tree.

Re: [PATCH v2 1/3] net: smc91x: isolate u16 writes alignment workaround

2016-10-15 Thread Robert Jarzmik
Sorry David, I just noticed you weren't in the "To:" of this serie, but I won't forget you for the v3 I need to release anyway (https://lkml.org/lkml/2016/10/15/104). Robert Jarzmik writes: > + lp->half_word_align4 = > + machine_is_mainstone() ||

[git pull] tree-wide switch to linux/uaccess.h

2016-10-15 Thread Al Viro
Now everything can be switched from asm/uaccess.h to linux/uaccess.h *and* the merges of this window have settled, we can do the actual switchover. The thing is automatically generated (by PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*' sed -i -e "s!$PATT!#include !" \

drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes

2016-10-15 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: 0766f788eb727e2e330d55d30545db65bcf2623f latent_entropy: Mark functions with __latent_entropy date: 5 days ago config: i386-randconfig-c0-10160635

Re: [RFC] scripts: Include postprocessing script for memory allocation tracing

2016-10-15 Thread Janani Ravichandran
> On Oct 11, 2016, at 10:43 AM, Janani Ravichandran > wrote: > > Alright. I’ll add a starting tracepoint, change the script accordingly and > send a v2. Thanks! > I looked at it again and I think that the context information we need can be obtained from the

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-15 Thread Omar Sandoval
On Fri, Oct 14, 2016 at 10:12:46PM +0200, Michal Marek wrote: > Hi Linus, > > please pull these kbuild changes for v4.9-rc1: > > - EXPORT_SYMBOL for asm source by Al Viro. This does bring a regression, > because genksyms no longer generates checksums for these symbols > (CONFIG_MODVERSIONS).

linux-next: Tree for Oct 16

2016-10-15 Thread Stephen Rothwell
Hi all, Changes since 20161014: The net tree gained a conflict against Linus' tree. The akpm-current tree still had its build failures for which I applied 2 patches. Non-merge commits (relative to Linus' tree): 389 614 files changed, 17748 insertions(+), 3167 deletions(-)

drivers/regulator/lp872x.c:773: undefined reference to `devm_gpio_request_one'

2016-10-15 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 8 weeks

[PATCH v2 3/4] ARM: dts: pxa: add pxa27x cpu operating points

2016-10-15 Thread Robert Jarzmik
Add the relevant data taken from the PXA27x Electrical, Mechanical, and Thermal Specfication. This will be input data for cpufreq-dt driver. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa27x.dtsi | 40 1 file changed, 40

[PATCH v2 4/4] cpufreq: pxa: convert to clock API

2016-10-15 Thread Robert Jarzmik
As the clock settings have been introduced into the clock pxa drivers, which are now available to change the CPU clock by themselves, remove the clock handling from this driver, and rely on pxa clock drivers. Signed-off-by: Robert Jarzmik --- Since v1: added !OF Kconfig

Re: [PATCH v2 0/4] PXA cpufreq conversion to clock API

2016-10-15 Thread Russell King - ARM Linux
On Sat, Oct 15, 2016 at 09:57:26PM +0200, Robert Jarzmik wrote: > Hi, > > This serie is a preparation to shift the cpufreq of pxa2xx platforms to clocks > API. > > The first 3 patches are review and merge material : > - patch 1/4 for Viresh and Rafael > - patches 2/4 and 3/4 for me > > The

Re: [PATCH] perf: Fix typo "No enough" to "Not enough"

2016-10-15 Thread Alexander Alemayhu
On Fri, Oct 14, 2016 at 12:46:04PM -0300, Arnaldo Carvalho de Melo wrote: > > Thanks, applied, but please next time add to the CC list people that > last touched this code, like Wang, that I'm CC'ing here and in the patch > I just applied. > Sorry, will do that next time. -- Mit freundlichen

Re: [PATCH v2 0/4] PXA cpufreq conversion to clock API

2016-10-15 Thread Robert Jarzmik
Russell King - ARM Linux writes: > On Sat, Oct 15, 2016 at 09:57:26PM +0200, Robert Jarzmik wrote: >> Hi, >> >> This serie is a preparation to shift the cpufreq of pxa2xx platforms to >> clocks >> API. >> >> The first 3 patches are review and merge material : >> -

arch/mips/kernel/mips-cpc.c:47: undefined reference to `mips_cpc_default_phys_base'

2016-10-15 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: eed0eabd12ef061821cbfa20d903476e07645320 MIPS: generic: Introduce generic DT-based board support date: 9 days ago config: mips-generic_defconfig (attached

virtio-rng scatterlist null pointer dereference with VMAP_STACK=y

2016-10-15 Thread Matt Mullins
With VMAP_STACK=y and HW_RANDOM_VIRTIO=y, I get the following crash: [1.470437] BUG: unable to handle kernel NULL pointer dereference at (null) [1.473350] IP: [] sg_init_one+0x65/0x90 [1.474658] PGD 0 [1.475169] Oops: [#1] SMP Entering kdb (current=0x880069b0c980, pid

vgacon.c:undefined reference to `screen_info'

2016-10-15 Thread kbuild test robot
Hi Chen, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h"

[patch ]mm/zs_malloc: Fix bit spinlock replacement

2016-10-15 Thread Mike Galbraith
Do not alter HANDLE_SIZE, memory corruption ensues. The handle is a pointer, allocate space for the struct it points to and align it ZS_ALIGN. Also, when accessing the struct, mask HANDLE_PIN_BIT. Signed-off-by: Mike Galbraith --- mm/zsmalloc.c | 13 -

Re: [PATCH] ipvlan: constify l3mdev_ops structure

2016-10-15 Thread David Miller
From: Julia Lawall Date: Sat, 15 Oct 2016 17:40:30 +0200 > This l3mdev_ops structure is only stored in the l3mdev_ops field of a > net_device structure. This field is declared const, so the l3mdev_ops > structure can be declared as const also. Additionally drop the >

Re: [PATCH v3] mm: vmalloc: Replace purge_lock spinlock with atomic refcount

2016-10-15 Thread Joel Fernandes
Hi Christoph, On Sat, Oct 15, 2016 at 9:54 AM, Christoph Hellwig wrote: > And now with a proper changelog, and the accidentall dropped call to > flush_tlb_kernel_range reinstated: > > --- > From f720cc324498ab5e7931c7ccb1653bd9b8cddc63 Mon Sep 17 00:00:00 2001 > From:

Re: [PATCH v2 02/31] cinergyT2-core: don't do DMA on stack

2016-10-15 Thread Johannes Stezenbach
On Tue, Oct 11, 2016 at 07:09:17AM -0300, Mauro Carvalho Chehab wrote: > --- a/drivers/media/usb/dvb-usb/cinergyT2-core.c > +++ b/drivers/media/usb/dvb-usb/cinergyT2-core.c > @@ -41,6 +41,8 @@ DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); > > struct cinergyt2_state { > u8 rc_counter; > +

[PATCH 3/3] ARM-OMAP2+: pm-debug: Use seq_putc() in two functions

2016-10-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 15 Oct 2016 22:30:44 +0200 A single character (line break) should be put into a sequence at the end. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus

[PATCH 2/3] ARM-OMAP2+: mux: Use seq_putc() in omap_mux_dbg_signal_show()

2016-10-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 15 Oct 2016 22:24:29 +0200 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-10-15 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Re:Private Donation To You(Reply)

2016-10-15 Thread Mrs Julie Leach
Dear Beneficiary, I am Julie Leach, 50 years old lucky woman from Three Rivers, Michigan who won $310.5 Million Dollars Powerball Jackpot on September 30, 2015. I wish to inform you that your email was randomly selected via Google & Facebook sponsored email-draws as one of our beneficiaries to

Re: btrfs bio linked list corruption.

2016-10-15 Thread Dave Jones
On Thu, Oct 13, 2016 at 05:18:46PM -0400, Chris Mason wrote: > > > > .. and of course the first thing that happens is a completely > > different > > > > btrfs trace.. > > > > > > > > > > > > WARNING: CPU: 1 PID: 21706 at fs/btrfs/transaction.c:489 > > start_transaction+0x40a/0x440

Re: [PATCH 1/5] KVM: x86: avoid atomic operations on APICv vmentry

2016-10-15 Thread Michael S. Tsirkin
On Sat, Oct 15, 2016 at 03:47:45AM -0400, Paolo Bonzini wrote: > > > > On Oct 14, 2016, at 11:56 AM, Paolo Bonzini wrote: > > >>> > > >>> for (i = 0; i <= 7; i++) { > > >>> - pir_val = xchg([i], 0); > > >>> - if (pir_val) > > >>> +

arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-10-15 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 11 months ago

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-10-15 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new lightweight SGL iterators date: 5

[patch] ftrace: Fix latency trace header alignment

2016-10-15 Thread Mike Galbraith
Line up helper arrows to the right column. Signed-off-by: Mike Galbraith --- kernel/trace/trace.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2896,17 +2896,17 @@

Re: [RFC PATCH-tip v4 02/10] locking/rwsem: Stop active read lock ASAP

2016-10-15 Thread Christoph Hellwig
On Wed, Oct 12, 2016 at 08:06:40AM +1100, Dave Chinner wrote: > Um, I seem to have completely missed that change - when did that > happen and why? > > Oh, it was part of the misguided "enable DAX on block devices" > changes - o, that commit just switched it to use ->f_mapping: - return

cris-linux-objcopy: error: the input file 'arch/cris/boot/rescue/rescue.o' has no sections

2016-10-15 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: f9f3f864b5e8c09d7837d8980edba4ad52969819 cris: Fix section mismatches in architecture startup code

[PATCH v2] iio: light: ltr501: claim direct mode during raw writes

2016-10-15 Thread Alison Schofield
Driver was checking for direct mode but not locking it. Use claim/release helper functions to guarantee the device stays in direct mode during all raw write operations. Signed-off-by: Alison Schofield --- Changes in v2: Replaced 'goto release' statements with breaks.

[PATCH v2] iio: light: ltr501: claim direct mode during select raw reads

2016-10-15 Thread Alison Schofield
Driver was checking for direct mode but not locking it. Use claim/release helper functions to guarantee the device stays in direct mode during required raw read cases. Signed-off-by: Alison Schofield --- Changes in v2: Reworked IIO_CHAN_INFO_RAW case so claim and release

[PATCH] aio: fix a use after free (and fix freeze protection of aio writes)

2016-10-15 Thread Christoph Hellwig
From: Jan Kara Currently we dropped freeze protection of aio writes just after IO was submitted. Thus aio write could be in flight while the filesystem was frozen and that could result in unexpected situation like aio completion wanting to convert extent type on frozen filesystem.

Re: [PATCH v8 2/3] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-10-15 Thread 陈豪
2016-09-25 2:50 GMT+08:00 Randy Li : > On the rk3288 USB host-only port (the one that's not the OTG-enabled > port) the PHY can get into a bad state when a wakeup is asserted (not > just a wakeup from full system suspend but also a wakeup from > autosuspend). > > We can get the

[PATCH] Makefile: fix reference to sparse documentation

2016-10-15 Thread Andreas Platschek
Documenation/sparse.txt was moved to Documentation/dev-tools/sparse.rst, this fixes the reference. Signed-off-by: Andreas Platschek --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8c784d..d7157a1 100644

Re: [PATCH v7 0/5] mxs-lradc: Split driver into MFD

2016-10-15 Thread Stefan Wahren
Hi Ksenija, > Ksenija Stanojevic hat am 2. Oktober 2016 um > 16:15 geschrieben: > > > Split existing driver mxs-lradc into MFD with touchscreen and > IIO part. i'm back from holidays and wanted to test your patch series. Unfortunately patch 1-3 looks broken to

*Important Notice*

2016-10-15 Thread Western Union India
How are you today? I write to inform you that we have already sent you USD5000.00 dollars through Western union as we have been given the mandate to transfer your full compensation payment of USD1.800,000.00 via western union by the indian government. I called to give you the information

[PATCH] crypto: ccm - avoid scatterlist for MAC encryption

2016-10-15 Thread Ard Biesheuvel
The CCM code goes out of its way to perform the CTR encryption of the MAC using the subordinate CTR driver. To this end, it tweaks the input and output scatterlists so the aead_req 'odata' and/or 'auth_tag' fields [which may live on the stack] are prepended to the CTR payload. This involves

  1   2   >