Re: [PATCH 04/27] perf list: Add support for listing only json events

2016-10-15 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Andi Kleen > > Add an argument to only list json events. To be used for the command > line completion script. This requires adding a new flag to the alias > structure. > > Committer notes: > > Using it: > > $ perf list json Sigh, this is a pretty

v4.9-rc1: Build and qemu test results (3 build failures, 9 qemu test failures)

2016-10-15 Thread Guenter Roeck
Here are some build and qemu test results for v4.9-rc1. Details are available at http://kerneltests.org/builders/. Build results: total: 149 pass: 146 fail: 3 Failed builds: arm:allmodconfig arm64:allmodconfig powerpc:allmodconfig Qemu test results: total:

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

2016-10-15 Thread Christoph Hellwig
On Sat, Oct 15, 2016 at 03:59:34PM -0700, Joel Fernandes wrote: > Your patch changes the behavior of the original code I think. It does. And it does so as I don't think the existing behavior makes sense, as mentioned in the changelog. > With the > patch, for the case where you have 2 concurrent

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 (fi

[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. Testcase from D

[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. The release helper funct

[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 are executed at same l

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 date:

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 ag

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 > opera

[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 - 1 file changed, 8 insertio

[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(-) --- a/drivers/block/zram/zcomp.c +++

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) compiler

[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 Com

[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 @@ get_total_entries(struct trace_buffer

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"

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 mo

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 date

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 config:

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(&pir[i], 0); > > >>> - if (pir_val) > > >>> + pir_val =

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 written

[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 --- a/man2/perf_event_open.2 +++ b/man2/

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 1

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 [b

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(-)

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 tracepoint trace_mm_page_alloc in

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 warnings inevitable on sunqe an

[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 "52" for unused52, since the n

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: Christoph Hellwig > Date: S

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 (attached

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 > __read_mostly annotation. >

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 driver. > > The two patches in

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 NULL). > > The patch add

[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 !" \ `git

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> <201

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: qemu-system-i38

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 a

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 >>> DMA mask as well as the streaming DMA mask. On som

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 at its default value of 32

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: [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 : >> - patch 1/4 for Viresh and Raf

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() || machine_is_stargate2() || > +

[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 a/fs/nfs/write.c b/fs/n

[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 Elfring --- arch/arm/mach-omap2/

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 Gr

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 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/arm/mach-omap2/mux.c | 2 +

[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. Signed-off-by: Markus Elfring --- arch/ar

[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 omap_mux_dbg_signal_show() pm-debug: Use seq_putc() i

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 4th

[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 dependency --- drivers/cp

[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 insertions(+) diff --git

[PATCH v2 1/4] cpufreq: pxa: use generic platdev driver for device-tree

2016-10-15 Thread Robert Jarzmik
For device-tree based pxa25x and pxa27x platforms, cpufreq-dt driver is doing the job as well as pxa2xx-cpufreq, so add these platforms to the compatibility list. This won't work for legacy non device-tree platforms where pxa2xx-cpufreq is still required. Signed-off-by: Robert Jarzmik --- drive

[PATCH v2 2/4] ARM: dts: pxa: add pxa25x cpu operating points

2016-10-15 Thread Robert Jarzmik
Add the relevant data taken from the PXA 25x Electrical, Mechanical, and Thermal Specfication. This will be input data for cpufreq-dt driver. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa25x.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/bo

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

2016-10-15 Thread Robert Jarzmik
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 4th on is for review but not merge, as the clock changes must be fully reviewed and go

[PATCH] ARC-setup: Use seq_putc() in show_cpuinfo()

2016-10-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 15 Oct 2016 21:31:16 +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/arc/kernel/setup.c | 3 +--

Linux 4.9-rc1

2016-10-15 Thread Linus Torvalds
I usually do the releases on a Sunday afternoon, but occasionally cut the merge window short by a day just to keep people on their toes, and make sure people learn not to send in last-minute pull requests. No gaming the merge window to the last day. This is one such release. To be fair, the reason

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-15 Thread Robert Jarzmik
Robert Jarzmik writes: >> In that case, what about making this driver depends_on !CONFIG_OF ? So >> that the DT users don't use it anymore. > Good idea, let me try it. > I'll see if it actually works before make another iteration of this patch. Okay, it works all right. I'll split out this patc

Re: [PATCH 2/2] ARM: dts: da850: add a node for the LCD controller

2016-10-15 Thread Bartosz Golaszewski
2016-10-15 19:42 GMT+02:00 Sekhar Nori : > On Wednesday 05 October 2016 06:35 PM, Bartosz Golaszewski wrote: >> From: Karl Beldan >> >> Add pins used by the LCD controller and a disabled LCDC node to be >> reused in device trees including da850.dtsi. >> >> Signed-off-by: Karl Beldan >> [Bartosz:

Re: [PATCH 2/2] rds: Remove duplicate prefix from rds_conn_path_error use

2016-10-15 Thread Santosh Shilimkar
On 10/15/2016 11:53 AM, Joe Perches wrote: rds_conn_path_error already prefixes "RDS:" to the output. Signed-off-by: Joe Perches --- Acked-by: Santosh Shilimkar

Re: [PATCH 1/2] rds: Remove unused rds_conn_error

2016-10-15 Thread Santosh Shilimkar
On 10/15/2016 11:53 AM, Joe Perches wrote: This macro's last use was removed in commit d769ef81d5b59 ("RDS: Update rds_conn_shutdown to work with rds_conn_path") so make the macro and the __rds_conn_error function definition and declaration disappear. Signed-off-by: Joe Perches --- Had same pa

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

2016-10-15 Thread Robert Jarzmik
Writes to u16 has a special handling on 3 PXA platforms, where the hardware wiring forces these writes to be u32 aligned. This patch isolates this handling for PXA platforms as before, but enables this "workaround" to be set up dynamically, which will be the case in device-tree build types. This

[PATCH v2 2/3] net: smc91x: take into account half-word workaround

2016-10-15 Thread Robert Jarzmik
For device-tree builds, platforms such as mainstone, idp and stargate2 must have their u16 writes all aligned on 32 bit boundaries. This is already enabled in platform data builds, and this patch adds it to device-tree builds. Signed-off-by: Robert Jarzmik --- Since v1: rename dt property to pxa-

[PATCH v2 3/3] net: smsc91x: add u16 workaround for pxa platforms

2016-10-15 Thread Robert Jarzmik
Add a workaround for mainstone, idp and stargate2 boards, for u16 writes which must be aligned on 32 bits addresses. Signed-off-by: Robert Jarzmik Cc: Jeremy Linton --- Since v1: rename dt property to pxa-u16-align4 change the binding documentation file --- Documentation/devicetree/bi

[PATCH v2 0/3] support smc91x on mainstone and devicetree

2016-10-15 Thread Robert Jarzmik
This serie aims at bringing support to mainstone board on a device-tree based build, as what is already in place for legacy mainstone. The bulk of the mainstone "specific" behavior is that a u16 write doesn't work on a address of the form 4*n + 2, while it works on 4*n. The legacy workaround was

Re: [rds-devel] [PATCH 2/2] rds: Remove duplicate prefix from rds_conn_path_error use

2016-10-15 Thread Sowmini Varadhan
On (10/15/16 11:53), Joe Perches wrote: > > rds_conn_path_error already prefixes "RDS:" to the output. > > Signed-off-by: Joe Perches Acked-by: Sowmini Varadhan

Re: [rds-devel] [PATCH 1/2] rds: Remove unused rds_conn_error

2016-10-15 Thread Sowmini Varadhan
On (10/15/16 11:53), Joe Perches wrote: > This macro's last use was removed in commit d769ef81d5b59 > ("RDS: Update rds_conn_shutdown to work with rds_conn_path") > so make the macro and the __rds_conn_error function definition > and declaration disappear. > > Signed-off-by: Joe Perches Acked-by

[GIT PULL] fs/befs/

2016-10-15 Thread Luis de Bethencourt
Hi Linus, I recently took maintainership of the befs file system [0]. This is the first time I send you a git pull request, so please let me know if all the below is OK. Salah Triki and myself have been cleaning the code and fixing a few small bugs. Sorry I couldn't send this sooner in the merge

[PATCH 1/2] rds: Remove unused rds_conn_error

2016-10-15 Thread Joe Perches
This macro's last use was removed in commit d769ef81d5b59 ("RDS: Update rds_conn_shutdown to work with rds_conn_path") so make the macro and the __rds_conn_error function definition and declaration disappear. Signed-off-by: Joe Perches --- net/rds/connection.c | 15 --- net/rds/rds.h

[PATCH 2/2] rds: Remove duplicate prefix from rds_conn_path_error use

2016-10-15 Thread Joe Perches
rds_conn_path_error already prefixes "RDS:" to the output. Signed-off-by: Joe Perches --- net/rds/threads.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/rds/threads.c b/net/rds/threads.c index e42df11bf30a..e36e333a0aa0 100644 --- a/net/rds/threads.c +++ b/net/rds/th

[PATCH 0/2] rds: logging neatening

2016-10-15 Thread Joe Perches
Joe Perches (2): rds: Remove unused rds_conn_error rds: Remove duplicate prefix from rds_conn_path_error use net/rds/connection.c | 15 --- net/rds/rds.h| 4 net/rds/threads.c| 3 +-- 3 files changed, 1 insertion(+), 21 deletions(-) -- 2.10.0.rc2.1.g053435c

rockchip: drm: analogix_dp-rockchip would stock the kernel

2016-10-15 Thread ayaka
Hello: I meet a problem with eDP in rk3288 with the linux next 20161006, it is just like the early stage of 4.4 kernel. I have added a eDP panel entry in the firefly reload board, once the kernel loaded analogix_dp-rockchip.ko, after printed the following two lines, the kernel stop working.

[PATCH 1/2] i2c: bcm-iproc: constify i2c_adapter_quirks structures

2016-10-15 Thread Julia Lawall
Check for i2c_adapter_quirks structures that are only stored in the quirks field of an i2c_adapter structure. This field is declared const, so i2c_adapter_quirks structures that have this property can be declared as const also. The semantic patch that makes this change is as follows: (http://cocc

[PATCH 2/2] i2c: constify i2c_adapter_quirks structures

2016-10-15 Thread Julia Lawall
Check for i2c_adapter_quirks structures that are only stored in the quirks field of an i2c_adapter structure. This field is declared const, so i2c_adapter_quirks structures that have this property can be declared as const also. The semantic patch that makes this change is as follows: (http://cocc

[PATCH 0/2] constify i2c_adapter_quirks structures

2016-10-15 Thread Julia Lawall
Constify i2c_adapter_quirks structures. --- drivers/i2c/busses/i2c-axxia.c |2 +- drivers/i2c/busses/i2c-bcm-iproc.c |2 +- drivers/i2c/busses/i2c-dln2.c |2 +- drivers/i2c/busses/i2c-viperboard.c |2 +- 4 files changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH 2/2] ARM: dts: da850: add a node for the LCD controller

2016-10-15 Thread Sekhar Nori
On Wednesday 05 October 2016 06:35 PM, Bartosz Golaszewski wrote: > From: Karl Beldan > > Add pins used by the LCD controller and a disabled LCDC node to be > reused in device trees including da850.dtsi. > > Signed-off-by: Karl Beldan > [Bartosz: > - added the commit description > - changed

Re: [PATCH] clk: samsung: clk-exynos-audss: Fix module autoload

2016-10-15 Thread Krzysztof Kozlowski
On Fri, Oct 14, 2016 at 03:44:05PM -0300, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias inf

[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 calling

Re: [PATCH] iio: accel: mma8452: claim direct mode during write raw

2016-10-15 Thread Alison Schofield
On Sat, Oct 15, 2016 at 04:05:24PM +0100, Jonathan Cameron wrote: > On 15/10/16 15:55, Jonathan Cameron wrote: > > On 11/10/16 20:32, Alison Schofield wrote: > >> Driver was checking for direct mode but not locking it. Use > >> claim/release helper functions to guarantee the device stays > >> in d

Re: [PATCH 04/18] [media] RedRat3: One function call less in redrat3_transmit_ir() after error detection

2016-10-15 Thread SF Markus Elfring
>> diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c >> index 7ae2ced..71e901d 100644 >> --- a/drivers/media/rc/redrat3.c >> +++ b/drivers/media/rc/redrat3.c >> @@ -723,10 +723,10 @@ static int redrat3_transmit_ir(struct rc_dev *rcdev, >> unsigned *txbuf, >> { >> struct re

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

2016-10-15 Thread Sinan Kaya
Hi Rafael, On 10/15/2016 8:39 AM, Rafael J. Wysocki wrote: > 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

Re: [PATCH vmalloc] reduce purge_lock range and hold time of

2016-10-15 Thread Christoph Hellwig
On Sat, Oct 15, 2016 at 10:12:48PM +0800, zhouxianr...@huawei.com wrote: > From: z00281421 > > i think no need to place __free_vmap_area loop in purge_lock; > _free_vmap_area could be non-atomic operations with flushing tlb > but must be done after flush tlb. and the whole__free_vmap_area loops >

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

2016-10-15 Thread Christoph Hellwig
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: Christoph Hellwig Date: Sat, 15 Oct 2016 18:39:44 +0200 Subject: mm: rewrite __purge_vmap_area_lazy Remove the

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

2016-10-15 Thread Christoph Hellwig
atomic_t magic for llocking is always a bit iffy. The real question is: what is purge_lock even supposed to protect? - purge_fragmented_blocks seems to have it's own local protection. - all handling of of valist is implicity protected by the atomic list deletion in llist_del_all - the manip

Regression in ARM CLCD Fb

2016-10-15 Thread Amit Pundir
Hi, Commit 25348160e9a4 ("video: ARM CLCD: add special panel hook for Versatiles") broke CLCD framebuffer on my qemu-system-arm + vexpress-v2p-ca9.dtb + Android test setup. Android boot failed with: E/SurfaceFlinger( 1003): ERROR: failed to open framebuffer (No such file or directory), aborting

Re: [PATCH 4/5] [media] winbond-cir: One variable and its check less in wbcir_shutdown() after error detection

2016-10-15 Thread SF Markus Elfring
>> +/* Set CEIR_EN */ >> +wbcir_set_bits(data->wbase + WBCIR_REG_WCEIR_CTL, 0x01, 0x01); >> +set_irqmask: >> /* >> * ACPI will set the HW disable bit for SP3 which means that the >> * output signals are left in an undefined state which may cause >> @@ -876,6 +858,14 @@ wbci

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 me. Maybe you should wait for 4.9

*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 throu

Re: Why MSI is limited to 32 interrupts maximum

2016-10-15 Thread okaya
On 2016-10-15 06:30, Bharat Kumar Gogada wrote: On Sat, 15 Oct 2016 12:37:55 + Bharat Kumar Gogada wrote: Hi Bharat, > Can anyone tell why MSI interrupts are limited to maximum 32 > interrupts, even though we have 16bit message data register ? That's the very definition of the original PC

Re: [PATCH v1] seccomp: Fix documentation

2016-10-15 Thread Mickaël Salaün
Could someone push this please? On 20/09/2016 19:39, Mickaël Salaün wrote: > Fix struct seccomp_filter and seccomp_run_filters() signatures. > > Signed-off-by: Mickaël Salaün > Cc: Andy Lutomirski > Cc: James Morris > Cc: Kees Cook > Cc: Will Drewry > --- > kernel/seccomp.c | 7 +++ > 1

[PATCH][V2] ubi: fix swapped arguments to call to ubi_alloc_aeb

2016-10-15 Thread Colin King
From: Colin Ian King Static analysis by CoverityScan detected the ec and pnum arguments are in the wrong order on a call to ubi_alloc_aeb. Swap the order to fix this. Fixes: 91f4285fe389a27 ("UBI: provide helpers to allocate and free aeb elements") Signed-off-by: Colin Ian King --- drivers/mt

[PATCH] ipvlan: constify l3mdev_ops structure

2016-10-15 Thread Julia Lawall
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 __read_mostly annotation. The semantic patch that adds const is as follows: (http://coccinell

[PATCH] ubi: fix swapped arguments to call to ubi_alloc_aeb

2016-10-15 Thread Colin King
From: Colin Ian King Static analysis by CoverityScan detected the ec and pnum arguments are in the wrong order on a call to ubi_alloc_aeb. Swap the order to fix this. Fixes: 91f4285fe389a27 ("UBI: provide helpers to allocate and free aeb elements") Signed-off-by: Colin Ian King --- drivers/mt

[PATCH] ARM: dts: sunxi: Add cpu-supply for Olimex A20 EVB

2016-10-15 Thread Emmanuel Vadot
sun7i-a20-olimex-som-evb.dts doesn't contain cpu-supply needed for voltage-scaling with cpufreq-dt so define it. The default voltages are defined in sun7i-a20.dtsi. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 4 1 file changed, 4 insertions(+) diff --

Re: [PATCH] libnvdimm: fix dereference on null devs on error exit path

2016-10-15 Thread Dan Williams
On Sat, Oct 15, 2016 at 8:32 AM, Colin King wrote: > From: Colin Ian King > > If devs cannot be allocated then the error exit path jumps to > a cleanup loop that iterates over a null array of devs which > is incorrect. Fix this by jumping instead to the end of the > function where NULL is return

[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 --- a/Makefile +++ b/Makefile @@

[PATCH] libnvdimm: fix dereference on null devs on error exit path

2016-10-15 Thread Colin King
From: Colin Ian King If devs cannot be allocated then the error exit path jumps to a cleanup loop that iterates over a null array of devs which is incorrect. Fix this by jumping instead to the end of the function where NULL is returned. Signed-off-by: Colin Ian King --- drivers/nvdimm/namespa

[PATCH] kmemleak: fix reference to Documentation

2016-10-15 Thread Andreas Platschek
Documentation/kmemleak.txt was moved to Documentation/dev-tools/kmemleak.rst, this fixes the reference to the new location. Signed-off-by: Andreas Platschek --- mm/kmemleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kmemleak.c b/mm/kmemleak.c index a5e453c..d00fae0

  1   2   >