Re: [PATCH 1/8] block: add WRITE_BG

2016-10-28 Thread Jens Axboe
On 10/27/2016 12:37 AM, Christoph Hellwig wrote: * non-volatile media on completion. + * WRITE_BGBackground write. This is for background activity like + * the periodic flush and background threshold writeback * */ #define RW_MASK

Re: [PATCH] scripts/checkpatch: Check for Reviewed-by under --strict

2016-10-28 Thread Joe Perches
On Fri, 2016-10-28 at 13:49 +0100, Chris Wilson wrote: > Some subsystem polices have a strict requirement that every patch must > have at least one reviewer before being approved for upstream. Since > encouraging review is good policy (great review is even better policy!) > enforce checking for a R

[PATCH] m68k: Fix ndelay() macro

2016-10-28 Thread Boris Brezillon
The current ndelay() macro definition has an extra semi-colon at the end of the line thus leading to a compilation error when ndelay is used in a conditional block with curly braces like this one: if (cond) ndelay(t); else ... which, after the prepr

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

2016-10-28 Thread Mark Salter
On Mon, 2016-10-24 at 08:05 -0400, Alexander Duyck wrote: > This change allows us to pass DMA_ATTR_SKIP_CPU_SYNC which allows us to > avoid invoking cache line invalidation if the driver will just handle it > later via a sync_for_cpu or sync_for_device call. > > Cc: Mark Salter > Cc: Aurelien Jac

[PATCH] staging: vc04_services: tie up loose ends with dma_map_sg conversion

2016-10-28 Thread Michael Zoran
The conversion to dma_map_sg left a few loose ends. This change ties up those loose ends. 1. Settings the DMA mask is mandatory on 64 bit even though it is optional on 32 bit. Set the mask so that DMA space is always in the lower 32 bit range of data on both platforms. 2. The scatterlist was no

Re: [PATCH v3 0/5] Cavium ThunderX uncore PMU support

2016-10-28 Thread Will Deacon
On Thu, Oct 20, 2016 at 01:23:51PM +0200, Jan Glauber wrote: > On Thu, Oct 20, 2016 at 12:37:07PM +0200, Peter Zijlstra wrote: > > On Thu, Oct 20, 2016 at 11:30:36AM +0200, Jan Glauber wrote: > > > Note: > > > I'm using perf_sw_context in difference to perf_invalid_context > > > (see WARN_ON in per

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Christoph Hellwig
On Fri, Oct 28, 2016 at 11:32:21AM +0200, Linus Walleij wrote: > So I'm not just complaining by the way, I'm trying to fix this. Also > Bartlomiej from Samsung has done some stabs at switching MMC/SD > to blk-mq. I just rebased my latest stab at a naïve switch to blk-mq > to v4.9-rc2 with these res

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

2016-10-28 Thread Deepa Dinamani
On Fri, Oct 28, 2016 at 5:43 AM, Arnd Bergmann wrote: > On Monday, October 17, 2016 8:27:32 PM CEST Deepa Dinamani wrote: >> @@ -55,24 +60,24 @@ struct ff_effect_compat { >> >> static inline size_t input_event_size(void) >> { >> - return (in_compat_syscall() && !COMPAT_USE_64BIT_TIME) ? >>

Re: [PATCH v6 0/3] LSM: security module information improvements

2016-10-28 Thread Casey Schaufler
On 10/28/2016 2:28 AM, James Morris wrote: > On Thu, 27 Oct 2016, Casey Schaufler wrote: > >> The 3/3 patch is forward looking, I'll admit. Userspace >> can start getting ready for the combined format in >> advance of multiple major modules. When complete module >> stacking patches are available I

Re: [PATCH] staging: vc04_services: tie up loose ends with dma_map_sg conversion

2016-10-28 Thread Greg KH
On Fri, Oct 28, 2016 at 08:16:51AM -0700, Michael Zoran wrote: > The conversion to dma_map_sg left a few loose ends. This change > ties up those loose ends. > > 1. Settings the DMA mask is mandatory on 64 bit even though it > is optional on 32 bit. Set the mask so that DMA space is always > in t

[PATCH 0/3] ASoC: lpass-platform: Fixes and Cleanup.

2016-10-28 Thread Srinivas Kandagatla
Hi Mark, This patchset fixes broken lpass-platform driver in v4.9-rc1, and also fixes problem while using lpass as kernel module. There is also a cleanup patch in this series just to tidy up the code in the same area where there is regression. Tested this patchset with msm8916 codec patchset in l

[PATCH 1/3] ASoC: lpass-platform: use dma_ch instead of rdma_ch/wrdma_ch

2016-10-28 Thread Srinivas Kandagatla
This patch cleans up usage of wrdma_ch and rdma_ch variables into a common variable dma_ch, As there is no real use of tracking the dma channel in two different variables based on stream direction. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-platform.c | 53 +-

[PATCH 2/3] ASoC: lpass-platform: Fix broken pcm data usage

2016-10-28 Thread Srinivas Kandagatla
This patch fixes lpass-platform driver which was broken in v4.9-rc1. lpass_pcm_data data structure holds information specific to stream. Holding a single private pointer to it in global lpass_data will not work, because it would be overwritten by for each pcm instance. This code was breaking playb

[PATCH 3/3] ASoC: lpass-cpu: add module licence and description

2016-10-28 Thread Srinivas Kandagatla
This patch adds module licence to lpass-cpu driver, without this patch lpass-cpu module would taint with below error: snd_soc_lpass_cpu: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint snd_soc_lpass_cpu: Unknown symbol regmap_write (err 0) snd_soc_lpass_cpu

[PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Arnd Bergmann
The newly added nft fib code produces two warnings: net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': net/ipv4/netfilter/nft_fib_ipv4.c:80:6: error: unused variable 'i' [-Werror=unused-variable] net/ipv4/netfilter/nft_fib_ipv4.c: In function ‘nft_fib4_eval’: net/ipv4/netfilter/nft_f

Re: [PATCH] staging: vc04_services: tie up loose ends with dma_map_sg conversion

2016-10-28 Thread Michael Zoran
On Fri, 2016-10-28 at 11:31 -0400, Greg KH wrote: > On Fri, Oct 28, 2016 at 08:16:51AM -0700, Michael Zoran wrote: > > The conversion to dma_map_sg left a few loose ends.  This change > > ties up those loose ends. > > > > 1. Settings the DMA mask is mandatory on 64 bit even though it > > is option

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Jens Axboe
On 10/28/2016 03:32 AM, Linus Walleij wrote: The patch to enable MQ looks like this: https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-stericsson.git/commit/?h=mmc-mq&id=8f79b527e2e854071d8da019451da68d4753f71d BTW, another viable "hack" for the depth issue would be to expose more than

Re: [PATCH] staging: vc04_services: tie up loose ends with dma_map_sg conversion

2016-10-28 Thread Greg KH
On Fri, Oct 28, 2016 at 08:36:34AM -0700, Michael Zoran wrote: > On Fri, 2016-10-28 at 11:31 -0400, Greg KH wrote: > > On Fri, Oct 28, 2016 at 08:16:51AM -0700, Michael Zoran wrote: > > > The conversion to dma_map_sg left a few loose ends.  This change > > > ties up those loose ends. > > > > > > 1

Re: [PATCH v3 0/5] Cavium ThunderX uncore PMU support

2016-10-28 Thread Mark Rutland
On Fri, Oct 28, 2016 at 05:36:46PM +0200, Jan Glauber wrote: > On Fri, Oct 28, 2016 at 04:17:49PM +0100, Will Deacon wrote: > > On Thu, Oct 20, 2016 at 01:23:51PM +0200, Jan Glauber wrote: > > > On Thu, Oct 20, 2016 at 12:37:07PM +0200, Peter Zijlstra wrote: > > > > On Thu, Oct 20, 2016 at 11:30:36

Re: [PATCH v12 RESEND 0/4] generic TEE subsystem

2016-10-28 Thread Andrew F. Davis
On 10/28/2016 05:19 AM, Jens Wiklander wrote: > Hi, > > This patch set introduces a generic TEE subsystem. The TEE subsystem will > contain drivers for various TEE implementations. A TEE (Trusted Execution > Environment) is a trusted OS running in some secure environment, for > example, TrustZone

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

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 8:19:46 AM CEST Deepa Dinamani wrote: > On Fri, Oct 28, 2016 at 5:43 AM, Arnd Bergmann wrote: > > On Monday, October 17, 2016 8:27:32 PM CEST Deepa Dinamani wrote: > >> @@ -55,24 +60,24 @@ struct ff_effect_compat { > >> > >> static inline size_t input_event_size(void)

Re: [PATCH] mac80211: Ignore VHT IE from peer with wrong rx_mcs_map

2016-10-28 Thread Johannes Berg
On Fri, 2016-10-28 at 16:38 +0200, Filip Matusiak wrote: > This is a workaround for VHT-enabled STAs which break the spec > and have the VHT-MCS Rx map filled in with value 3 for all eight > spacial streams. > > As per spec, in section 22.1.1 Introduction to the VHT PHY > A VHT STA shall support a

Re: [net-next PATCH 00/27] Add support for DMA writable pages being writable by the network stack

2016-10-28 Thread Alexander Duyck
On Tue, Oct 25, 2016 at 8:36 AM, Alexander Duyck wrote: > The first 22 patches in the set add support for the DMA attribute > DMA_ATTR_SKIP_CPU_SYNC on multiple platforms/architectures. This is needed > so that we can flag the calls to dma_map/unmap_page so that we do not > invalidate cache lines

Re: [PATCH v6 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-10-28 Thread Lorenzo Pieralisi
On Tue, Oct 18, 2016 at 05:04:07PM +0100, Lorenzo Pieralisi wrote: > In ARM ACPI systems, IOMMU components are specified through static > IORT table entries. In order to create platform devices for the > corresponding ARM SMMU components, IORT kernel code should be made > able to parse IORT table e

[PATCH] Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization"

2016-10-28 Thread Leo Yan
This reverts commit aa381a7259c3f53727bcaa8c5f9359e940a0e3fd. Reverting this patch, as it incorrectly assumes TX FIFO size is fixed and cannot change FIFO size; it removes all related dt binding code and have no chance to set FIFO size at init phase. As result, Hi6220 cannot set correct FIFO size

Re: [PATCH v2] irqchip/bcm2836: Prevent spurious interrupts

2016-10-28 Thread Eric Anholt
Thomas Gleixner writes: > On Thu, 27 Oct 2016, Eric Anholt wrote: > >> From: Phil Elwell >> >> The old arch-specific IRQ macros included a dsb to ensure the >> write to clear the mailbox interrupt completed before returning >> from the interrupt. The BCM2836 irqchip driver needs the same >> pre

[PATCHv4 3/3] xenfs: Use proc_create_mount_point() to create /proc/xen

2016-10-28 Thread David Vrabel
From: Seth Forshee Mounting proc in user namespace containers fails if the xenbus filesystem is mounted on /proc/xen because this directory fails the "permanently empty" test. proc_create_mount_point() exists specifically to create such mountpoints in proc but is currently proc-internal. Export t

[PATCH v4 0/3] libfs,xenfs: replace /proc/xen/xenbus with a symlink

2016-10-28 Thread David Vrabel
Using /proc/xen/xenbus can cause deadlocks on the atomic file position mutex since this file should behave like a character device and not a regular file. This is easiest to achive by making it a symlink to the existing /dev/xen/xenbus device. This requires extending simple_fill_super() to add sy

Re: [PATCH v2] net: cpsw: fix obtaining mac address for am3517

2016-10-28 Thread Tony Lindgren
* Jeroen Hofstee [161028 08:33]: > Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac > id to common file") did not only move the code for an am3517, it also > added the slave parameter, resulting in an invalid (all zero) mac address > being returned for an am3517, since it o

[PATCHv4 1/3] libfs: allow simple_fill_super() to add symlinks

2016-10-28 Thread David Vrabel
simple_fill_super() will add symlinks if an entry has mode & S_IFLNK. The target is provided in the new "link" field. Signed-off-by: David Vrabel --- v4: - Use switch for file type. v2: - simplified. --- fs/libfs.c | 27 --- include/linux/fs.h | 2 +- 2 files ch

[PATCHv4 2/3] xenfs: replace xenbus and privcmd with symlinks

2016-10-28 Thread David Vrabel
/proc/xen/xenbus does not work correctly. A read blocked waiting for a xenstore message holds the mutex needed for atomic file position updates. This blocks any writes on the same file handle, which can deadlock if the write is needed to unblock the read. /proc/xen/xenbus is supposed to be ident

Re: [PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Florian Westphal
Arnd Bergmann wrote: > The newly added nft fib code produces two warnings: > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > net/ipv4/netfilter/nft_fib_ipv4.c:80:6: error: unused variable 'i' > [-Werror=unused-variable] > net/ipv4/netfilter/nft_fib_ipv4.c: In function ‘nft_fi

[PATCH 1/2] mmc: sdhci: dt: Add device tree properties sdhci-caps and sdhci-caps-mask

2016-10-28 Thread Zach Brown
On some systems the sdhci capabilty register is incorrect for one reason or another. The sdhci-caps-mask property specifies which bits in the register are incorrect and should be turned off before using sdhci-caps to turn on bits. The sdhci-caps property specifies which bits should be turned on.

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-28 Thread Ville Syrjälä
On Thu, Oct 27, 2016 at 10:41:18PM +0200, Thomas Gleixner wrote: > On Thu, 27 Oct 2016, Ville Syrjälä wrote: > > On Thu, Oct 27, 2016 at 09:25:05PM +0200, Thomas Gleixner wrote: > > > So it would be interesting whether that hunk in resume_broadcast() is > > > sufficient. > > > > So far it looks li

[PATCH 2/2] mmc: sdhci: Use sdhci-caps-mask and sdhci-caps to change the caps read during __sdhci_read_caps

2016-10-28 Thread Zach Brown
The sdhci capabilities register can be incorrect. The sdhci-caps-mask and sdhci-caps dt properties specify which bits of the register are incorrect and what their values should be. This patch makes the sdhci driver use those properties to correct the caps during __sdhci_read_caps. During __sdhci_r

[PATCH 0/2] mmc: sdhci: Fix sdhci caps register bits with corrections provided by dt

2016-10-28 Thread Zach Brown
For various reasons the sdhci caps register can be incorrect. This patch set introduces a general way to correct the bits when they are read to accurately reflect the capabilties of the controller/board combo. The first patch creates sdhci-caps and sdhci-caps-mask dt properties that combined repre

Re: xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-10-28 Thread Greg KH
On Fri, Oct 07, 2016 at 10:38:17AM -0300, Gaston Gonzalez wrote: > On Wed, Oct 05, 2016 at 07:23:23AM +0200, Greg KH wrote: > > On Tue, Oct 04, 2016 at 08:43:03PM -0300, Gaston Gonzalez wrote: > > > Hi, > > > > > > After hibernation I get the following error when I tried to connect to > > > monit

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, October 28, 2016 09:30:07 AM Jens Axboe wrote: > On 10/28/2016 03:32 AM, Linus Walleij wrote: > > The patch to enable MQ looks like this: > > https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-stericsson.git/commit/?h=mmc-mq&id=8f79b527e2e854071d8da019451da68d4753f71d > > B

[GIT PULL] arm64: fixes for -rc3

2016-10-28 Thread Will Deacon
Hi Linus, Please pull these three arm64 fixes for -rc3. They're all pretty straightforward: a couple of NUMA issues from the Huawei folks and a thinko in __page_to_voff that seems to be benign, but is certainly better off fixed. Thanks, Will --->8 The following changes since commit 07d9a380680

[PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

2016-10-28 Thread Eugeniy Paltsev
This series is to address a proposal by Andy in these threads: http://www.spinics.net/lists/dmaengine/msg11506.html http://www.spinics.net/lists/dmaengine/msg11541.html Split platform data to actual hardware properties, and platform quirks. Now we able to use quirks and hardware properties separate

Re: [PATCH v6] soc: qcom: add l2 cache perf events driver

2016-10-28 Thread Will Deacon
On Tue, Oct 04, 2016 at 12:25:54PM -0400, Neil Leeder wrote: > Thanks Mark. I'll move it, rebase on 4.9-rc1 and run perf fuzzer. Did the fuzzer explode, or do you have a new version you can post? Will

[PATCH v3 1/3] dmaengine: DW DMAC: split pdata to hardware properties and platform quirks

2016-10-28 Thread Eugeniy Paltsev
Split platform data to actual hardware properties, and platform quirks. Now we able to use quirks and hardware properties separately from different sources (pdata, device tree or autoconfig registers) Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/core.c| 23 ++

[PATCH v3 2/3] dmaengine: DW DMAC: convert to unified device property API

2016-10-28 Thread Eugeniy Paltsev
Convert device tree properties reading to unified device property API, update properties names as ordered by DT policy. Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/platform.c | 33 ++--- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/drivers/dma

[PATCH v3 3/3] dmaengine: DW DMAC: move "nollp" to "dwc->flags"

2016-10-28 Thread Eugeniy Paltsev
Add "DW_DMA_IS_LLP_SUPPORTED" flag. Use this flag to get rid of "dwc->nollp" as separate variable. Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/core.c | 11 ++- drivers/dma/dw/regs.h | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/dma/dw/core.c b/driv

Re: [PATCH] staging: vc04_services: tie up loose ends with dma_map_sg conversion

2016-10-28 Thread Michael Zoran
On Fri, 2016-10-28 at 11:42 -0400, Greg KH wrote: > On Fri, Oct 28, 2016 at 08:36:34AM -0700, Michael Zoran wrote: > > On Fri, 2016-10-28 at 11:31 -0400, Greg KH wrote: > > > On Fri, Oct 28, 2016 at 08:16:51AM -0700, Michael Zoran wrote: > > > > The conversion to dma_map_sg left a few loose ends.  

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 9:30:07 AM CEST Jens Axboe wrote: > On 10/28/2016 03:32 AM, Linus Walleij wrote: > > The patch to enable MQ looks like this: > > https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-stericsson.git/commit/?h=mmc-mq&id=8f79b527e2e854071d8da019451da68d4753f71d > > BTW

Re: [RFC 0/8] Define coherent device memory node

2016-10-28 Thread Jerome Glisse
On Fri, Oct 28, 2016 at 11:17:31AM +0530, Anshuman Khandual wrote: > On 10/27/2016 08:35 PM, Jerome Glisse wrote: > > On Thu, Oct 27, 2016 at 12:33:05PM +0530, Anshuman Khandual wrote: > >> On 10/27/2016 10:08 AM, Anshuman Khandual wrote: > >>> On 10/26/2016 09:32 PM, Jerome Glisse wrote: > On

Re: [PATCH] m68k: Fix ndelay() macro

2016-10-28 Thread Geert Uytterhoeven
Hi Boris, On Fri, Oct 28, 2016 at 5:12 PM, Boris Brezillon wrote: > The current ndelay() macro definition has an extra semi-colon at the > end of the line thus leading to a compilation error when ndelay is used > in a conditional block with curly braces like this one: > > if (cond) >

Re: [PATCH v2 5/6] sparc64: Enable sun4v dma ops to use IOMMU v2 APIs

2016-10-28 Thread tndave
On 10/27/2016 05:41 PM, Joe Perches wrote: On Thu, 2016-10-27 at 17:23 -0700, Tushar Dave wrote: Add Hypervisor IOMMU v2 APIs pci_iotsb_map(), pci_iotsb_demap() and enable sun4v dma ops to use IOMMU v2 API for all PCIe devices with 64bit DMA mask. trivia: diff --git a/arch/sparc/kernel/pci

[PATCH 0/2] kthread: make struct kthread kmalloc'ed

2016-10-28 Thread Oleg Nesterov
Sorry for delay, I was distracted... On 10/26, Thomas Gleixner wrote: > > On Wed, 26 Oct 2016, Oleg Nesterov wrote: > > On 10/26, Thomas Gleixner wrote: > > > > > > On Wed, 26 Oct 2016, Oleg Nesterov wrote: > > > > +static inline void set_kthread_struct(void *kthread) > > > > +{ > > > > + /*

[PATCH 1/2] kthread: make struct kthread kmalloc'ed

2016-10-28 Thread Oleg Nesterov
I still think we should kill struct kthread in its current form, but this needs cleanups outside of kthread.c. So make it kmalloc'ed for now to avoid the problems with stack corruption, for example the crashed kthread will likely OOPS again because its .exited was destroyed by rewind_stack_do_exit

[PATCH 2/2] Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"

2016-10-28 Thread Oleg Nesterov
This reverts commit 23196f2e5f5d810578a772785807dcdc2b9fdce9. After the previous change struct kthread can't go away, no need to pin the stack. TODO: kill to_live_kthread(). Signed-off-by: Oleg Nesterov --- kernel/kthread.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-10-28 Thread Al Viro
On Tue, Oct 25, 2016 at 09:34:47AM +0200, Miklos Szeredi wrote: > Current code returns EXDEV when a directory would need to be copied up to > move. We could copy up the directory tree in this case, but there's > another solution: point to old lower directory from moved upper directory. > > This i

Re: [PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 5:50:31 PM CEST Florian Westphal wrote: > Arnd Bergmann wrote: > > The newly added nft fib code produces two warnings: > > > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > > net/ipv4/netfilter/nft_fib_ipv4.c:80:6: error: unused variable 'i' > > [-

Re: [RFC 0/8] Define coherent device memory node

2016-10-28 Thread Jerome Glisse
On Fri, Oct 28, 2016 at 10:59:52AM +0530, Aneesh Kumar K.V wrote: > Jerome Glisse writes: > > > On Wed, Oct 26, 2016 at 04:39:19PM +0530, Aneesh Kumar K.V wrote: > >> Jerome Glisse writes: > >> > >> > On Tue, Oct 25, 2016 at 09:56:35AM +0530, Aneesh Kumar K.V wrote: > >> >> Jerome Glisse write

[PATCH] staging: dgnc: Fix lines longer than 80 chars.

2016-10-28 Thread Fernando Apesteguia
Done by either unindenting some comments or converting them to multi line comments. This fixes some checkpatch warnings. Signed-off-by: Fernando Apesteguia --- drivers/staging/dgnc/dgnc_neo.h | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/

Re: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

2016-10-28 Thread Andy Shevchenko
On Fri, 2016-10-28 at 18:59 +0300, Eugeniy Paltsev wrote: > This series is to address a proposal by Andy in these threads: > http://www.spinics.net/lists/dmaengine/msg11506.html > http://www.spinics.net/lists/dmaengine/msg11541.html > Split platform data to actual hardware properties, and platform

Re: [PATCH] ubifs: Fix regression in ubifs_readdir()

2016-10-28 Thread Jörg Krause
Hi, On Fri, 2016-10-28 at 11:53 +0200, Richard Weinberger wrote: > Commit c83ed4c9dbb35 ("ubifs: Abort readdir upon error") broke > overlayfs support because the fix exposed an internal error > code to VFS. > > Reported-by: Peter Rosin > Tested-by: Peter Rosin > Reported-by: Ralph Sennhauser >

Re: [PATCH] x86/AMD: Apply erratum 688 on machines without a BIOS fix

2016-10-28 Thread Borislav Petkov
On Mon, Oct 24, 2016 at 07:14:50PM +0200, Borislav Petkov wrote: > > Yes, using Ubuntu 16.04 will just crash everything! For example I had > > crashes with the software updater program. Moreover firefox would become > > unresponsive even with one tab. > > Ok, lemme install 16.04 on that box and se

Re: [PATCH v4 0/3] libfs,xenfs: replace /proc/xen/xenbus with a symlink

2016-10-28 Thread Al Viro
On Fri, Oct 28, 2016 at 04:52:36PM +0100, David Vrabel wrote: > Using /proc/xen/xenbus can cause deadlocks on the atomic file position > mutex since this file should behave like a character device and not a > regular file. This is easiest to achive by making it a symlink to the > existing /dev/xen

Re: [Intel-gfx] xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-10-28 Thread Ville Syrjälä
On Fri, Oct 28, 2016 at 11:53:40AM -0400, Greg KH wrote: > On Fri, Oct 07, 2016 at 10:38:17AM -0300, Gaston Gonzalez wrote: > > On Wed, Oct 05, 2016 at 07:23:23AM +0200, Greg KH wrote: > > > On Tue, Oct 04, 2016 at 08:43:03PM -0300, Gaston Gonzalez wrote: > > > > Hi, > > > > > > > > After hibernat

Re: [PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Florian Westphal
Arnd Bergmann wrote: > On Friday, October 28, 2016 5:50:31 PM CEST Florian Westphal wrote: > > Arnd Bergmann wrote: > > > The newly added nft fib code produces two warnings: > > > > > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > > > net/ipv4/netfilter/nft_fib_ipv4.c:80:6:

[PATCH v2 2/2] x86/AMD: Group cpu_llc_id assignment by topology feature and family

2016-10-28 Thread Yazen Ghannam
Currently, we assume that a system has multiple last level caches only if there are multiple nodes, and that the cpu_llc_id is equal to the node_id. This no longer applies since Fam17h can have multiple last level caches within a node. So group the cpu_llc_id assignment by topology feature and fam

Re: [PATCH v2 02/16] scsi: don't use fc_bsg_job::request and fc_bsg_job::reply directly

2016-10-28 Thread Andreas Krebbel1
> On 10/28/2016 01:31 PM, Hannes Reinecke wrote: > > On 10/28/2016 11:53 AM, Steffen Maier wrote: > >> On 10/13/2016 06:24 PM, Johannes Thumshirn wrote: > >>> On Thu, Oct 13, 2016 at 05:15:25PM +0200, Steffen Maier wrote: ... > fc_bsg_request_handler() > req->errors = -ENXI

Re: [PATCH] fpga: zynq-fpga: Delete not needed variable

2016-10-28 Thread Matthias Brugger
On 28/10/16 13:27, Matthias Brugger wrote: Variable count is never changed in the write path, we don't need to save it for freeing the dma memory. Signed-off-by: Matthias Brugger This is obsolete, as Jason already has this in his patch [1]. Sorry for the noise. [1] http://www.spinics.net/l

[PATCH] staging: dgnc: Fix multi-line comment alignment

2016-10-28 Thread Fernando Apesteguia
This fixes a checkpatch warning. Also, change the line above so it is aligned to the others in the same block. Signed-off-by: Fernando Apesteguia --- drivers/staging/dgnc/digi.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/dgnc/digi.h b/drivers/

Re: [PATCH v6 2/2] x86/apic: x2apic write eoi msr notrace

2016-10-28 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 12:38:42PM +0800, Wanpeng Li wrote: ... > This patch converts x2apic write eoi msr to notrace to avoid the debug > codes splash and reverts irq_enter/irq_exit dance to avoid to make a very > frequent interrupt slower because of debug code. > > Suggested-by: Peter Zijlst

Re: [PATCH v6 1/2] x86/msr: Add write msr notrace

2016-10-28 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 12:38:41PM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > Add write msr notrace, it will be used by later patch. > > Suggested-by: Peter Zijlstra > Suggested-by: Paolo Bonzini > Cc: Ingo Molnar > Cc: Mike Galbraith > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Cc: P

Re: [RESEND/PATCH v6 1/3] clk: qcom: Add A53 PLL support

2016-10-28 Thread Georgi Djakov
Hi Stephen, thanks for reviewing! On 10/28/2016 04:49 AM, Stephen Boyd wrote: On 10/19, Georgi Djakov wrote: Add support for the PLL, which generates the higher range of CPU frequencies on MSM8916 platforms. Signed-off-by: Georgi Djakov Please Cc dt reviewers. Ok, sure! --- .../devic

Re: [RFC v1 06/14] bus1: util - queue utility library

2016-10-28 Thread Peter Zijlstra
On Fri, Oct 28, 2016 at 04:33:50PM +0200, Tom Gundersen wrote: > Ah, I see, we are talking past each other. Ah I see where my reasoning went wobbly, not sure how to fully express that yet. I think your solution is stronger than strictly required though, but I'm not sure there's a better one. I'll

Re: xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-10-28 Thread Matt Roper
On Fri, Oct 28, 2016 at 11:53:40AM -0400, Greg KH wrote: > On Fri, Oct 07, 2016 at 10:38:17AM -0300, Gaston Gonzalez wrote: > > On Wed, Oct 05, 2016 at 07:23:23AM +0200, Greg KH wrote: > > > On Tue, Oct 04, 2016 at 08:43:03PM -0300, Gaston Gonzalez wrote: > > > > Hi, > > > > > > > > After hibernat

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-10-28 Thread Tony Lindgren
* Tony Lindgren [161027 07:59]: > * Linus Walleij [161027 00:57]: > > On Tue, Oct 25, 2016 at 6:45 PM, Tony Lindgren wrote: > > > +/* > > > + * For pinctrl binding, typically #pinctrl-cells is for the pin > > > controller > > > + * device, so either parent or grandparent. See pinctrl-bindings.t

Re: [RESEND/PATCH v6 2/3] clk: qcom: Add regmap mux-div clocks support

2016-10-28 Thread Georgi Djakov
On 10/28/2016 04:59 AM, Stephen Boyd wrote: On 10/19, Georgi Djakov wrote: diff --git a/drivers/clk/qcom/clk-regmap-mux-div.c b/drivers/clk/qcom/clk-regmap-mux-div.c new file mode 100644 index ..ec87f496606a --- /dev/null +++ b/drivers/clk/qcom/clk-regmap-mux-div.c @@ -0,0 +1,254 @@

Re: [PATCH 2/4] pinctrl: single: Use generic parser and #pinctrl-cells for pinctrl-single,pins

2016-10-28 Thread Tony Lindgren
* Tony Lindgren [161026 07:17]: > * Tony Lindgren [161025 09:51]: > > We can now use generic parser. To support the legacy binding without > > #pinctrl-cells, add pcs_quirk_missing_pinctrl_cells() and warn about > > missing #pinctrl-cells. > ... > > > +/** > > + * pcs_quirk_missing_pinctrl_cells

[PATCH 4/4] platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend

2016-10-28 Thread Enric Balletbo i Serra
From: Jeffery Yu A Mutex lock in cros_ec_cmd_xfer which may be held by frozen Userspace thread during system suspending. So should not call this routine in suspend thread. Signed-off-by: Jeffery Yu Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome

[PATCH v2 0/4] Altera Cyclone Passive Serial SPI FPGA Manager

2016-10-28 Thread Joshua Clayton
This series adds an FPGA manager for Altera cyclone FPGAs that can program them using an spi port and a couple of gpios, using Alteras passive serial protocol. Changes from v1: - Changed the name from cyclone-spi-fpga-mgr to cyclone-ps-spi-fpga-mgr This name change was requested by Alan Tull, to

[PATCH v2 5/5] fpga manager: cyclone-ps-spi: make delay variable

2016-10-28 Thread Joshua Clayton
The status pin may not show ready in the time described in the Altetera manual. check the value several times before giving up For the hardware I am working on, the status pin takes 250 us, 5 times as long as described by Altera. Signed-off-by: Joshua Clayton --- drivers/fpga/cyclone-ps-spi.c |

[PATCH v2 1/5] lib: add bitrev8x4()

2016-10-28 Thread Joshua Clayton
Add a function to reverse bytes within a 32 bit word. This function is more efficient than using the 8 bit version when iterating over an array Signed-off-by: Joshua Clayton --- arch/arm/include/asm/bitrev.h | 5 + include/linux/bitrev.h| 26 ++ 2 files chang

[PATCH 2/4] platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence

2016-10-28 Thread Enric Balletbo i Serra
From: Eric Caruso Don't let EC control suspend/resume sequence. If the EC controls the lightbar and sets the sequence when it notices the chipset transitioning between states, we can't make exceptions for cases where we don't want to activate the lightbar. Instead, let's move the suspend/resume n

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

2016-10-28 Thread Enric Balletbo i Serra
From: Eric Caruso Add a program feature so we can upload and run programs for lightbar sequences. We should be able to use this to shift sequences out of the EC and save space there. $ cat > /sys/devices/.../cros_ec/program $ echo program > /sys/devices/.../cros_ec/sequence Signed-off-by:

Re: [PATCH v2 1/2] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-10-28 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 10:51:57AM -0500, Yazen Ghannam wrote: > The current Fam17h cpu_llc_id derivation has an underflow bug when ^ (Last Level Cache ID) Let's write it out the first time. > extracting the socket_id value. The socket_id v

[PATCH 3/4] platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC

2016-10-28 Thread Enric Balletbo i Serra
From: Eric Caruso Some devices might want to turn off the lightbar if e.g. the system turns the screen off due to idleness. This prevents the kernel from going through its normal suspend/resume pathways. Signed-off-by: Eric Caruso Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Se

[PATCH v2 2/5] doc: dt: add cyclone-spi binding document

2016-10-28 Thread Joshua Clayton
Describe a cyclonei-ps-spi devicetree entry, required features Signed-off-by: Joshua Clayton --- .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/cyclone-ps-spi-fpga-mgr.tx

[PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-10-28 Thread Joshua Clayton
cyclone-ps-spi loads FPGA firmware over spi, using the "passive serial" interface on Altera Cyclone FPGAS. This is one of the simpler ways to set up an FPGA at runtime. The signal interface is close to unidirectional spi with lsb first. Signed-off-by: Joshua Clayton --- drivers/fpga/Kconfig

[PATCH v2 4/5] ARM: dts: imx6q-evi: support cyclonespi

2016-10-28 Thread Joshua Clayton
Add support for Altera cyclone V FPGA connected to an spi port Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6q-evi.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts index 6de21ff..bd0b85c 100644 -

[PATCH 4/4] jbd2: use mutex_lock_io() for journal->j_checkpoint_mutex

2016-10-28 Thread Tejun Heo
When an ext4 fs is bogged down by a lot of metadata IOs (in the reported case, it was deletion of millions of files, but any massive amount of journal writes would do), after the journal is filled up, tasks which try to access the filesystem and aren't currently performing the journal writes end up

[PATCH 3/4] mutex: add mutex_lock_io()

2016-10-28 Thread Tejun Heo
We sometimes end up propagating IO blocking through mutexes; however, because there currently is no way of annotating mutex sleeps as iowait, there are cases where iowait and /proc/stat:procs_blocked report misleading numbers obscuring the actual state of the system. This patch adds mutex_lock_io(

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

2016-10-28 Thread Georgi Djakov
On 10/28/2016 04:54 AM, Stephen Boyd wrote: On 10/19, Georgi Djakov wrote: Add a driver for the A53 Clock Controller. It is a hardware block that implements a combined mux and half integer divider functionality. It can choose between a fixed-rate clock or the dedicated A53 PLL. The source and th

Compliment

2016-10-28 Thread Carsten Andrew
Greetings to you! I am Carsten Andrew. I have a business proposal but due to language difference i haven't been able to communicate with the concern. I am looking for a mediator who speaks at least a little bit of English as well as Hindi from India. Please if you are interested kindly contact

[PATCHv2] clk: xgene: Don't call __pa on ioremaped address

2016-10-28 Thread Laura Abbott
ioremaped addresses are not linearly mapped so the physical address can not be figured out via __pa. More generally, there is no guarantee that backing value of an ioremapped address is a physical address at all. The value here is only used for debugging so just drop the call to __pa on the ioremap

[PATCHSET RFC] sched, jbd2: mark sleeps on journal->j_checkpoint_mutex as iowait

2016-10-28 Thread Tejun Heo
Hello, When there's heavy metadata operation traffic on ext4, the journal gets filled soon and majority of filesystem users end up blocking on journal->j_checkpoint_mutex with a stacktrace similar to the following. [] __jbd2_log_wait_for_space+0xb8/0x1d0 [] add_transaction_credits+0x286/0x2a0

[PATCH 2/4] sched: separate out io_schedule_prepare() and io_schedule_finish()

2016-10-28 Thread Tejun Heo
Now that IO schedule accounting is done inside __schedule(), io_schedule() can be split into three steps - prep, schedule, and finish - where the schedule part doesn't need any special annotation. This allows marking a sleep as iowait by simply wrapping an existing blocking function with io_schedul

[PATCH 1/4] sched: move IO scheduling accounting from io_schedule_timeout() to __schedule()

2016-10-28 Thread Tejun Heo
For an interface to support blocking for IOs, it must call io_schedule() instead of schedule(). This makes it tedious to add IO blocking to existing interfaces as the switching between schedule() and io_schedule() is often buried deep. As we already have a way to mark the task as IO scheduling, t

[PATCH 0/4] platform/chrome: cros_ec_lightbar - Add new features

2016-10-28 Thread Enric Balletbo i Serra
Dear all, The following patches taken from the ChromeOS 4.4 tree adds more features to the cros_ec_lightbar driver. The patches were forward ported to current mainline and were tested on a Chromebook Pixel 2015. Note that the patches depends on [1] to apply cleanly, these cros-ec-sensors patches

Re: [PATCH 1/2] of, numa: Add function to disable of_node_to_nid().

2016-10-28 Thread David Daney
On 10/28/2016 03:19 AM, Will Deacon wrote: On Tue, Oct 25, 2016 at 02:31:00PM -0700, David Daney wrote: From: David Daney On arm64 NUMA kernels we can pass "numa=off" on the command line to disable NUMA. A side effect of this is that kmalloc_node() calls to non-zero nodes will crash the syste

[PATCH v2 2/2] serial: 8250_dw: Add support for IrDA SIR mode

2016-10-28 Thread Ed Blake
Add a set_ldisc function to enable/disable IrDA SIR mode according to the new line discipline, if IrDA SIR mode is supported by the hardware configuration. Signed-off-by: Ed Blake --- drivers/tty/serial/8250/8250_dw.c | 24 1 file changed, 24 insertions(+) diff --git a/

Applied "regmap: include from include/linux/regmap.h" to the regmap tree

2016-10-28 Thread Mark Brown
The patch regmap: include from include/linux/regmap.h has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

[PATCH v2 0/2] serial: Add IrDA support to 8250_dw driver

2016-10-28 Thread Ed Blake
This patch set adds IrDA support to the 8250_dw driver. The first patch exposes the set_ldisc() function in the 8250 driver so it can be overridden, and the second patch adds a set_ldisc() function to the 8250_dw driver which enables / disables IrDA SIR mode if supported. v2: The 8250_dw set_ldi

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-10-28 Thread Mark Brown
On Fri, Oct 28, 2016 at 08:51:41PM +0800, Baolin Wang wrote: > On 28 October 2016 at 06:00, NeilBrown wrote: > > 1/ I think we agreed that it doesn't make sense for there to be > > two chargers registered in a system. > Yes, until now... > > However usb_charger_register() still allows that, a

[PATCH v2 1/2] serial: 8250: Expose set_ldisc function

2016-10-28 Thread Ed Blake
Expose set_ldisc() function so that it can be overridden with a platform specific implementation. Signed-off-by: Ed Blake --- drivers/tty/serial/8250/8250_core.c | 3 +++ drivers/tty/serial/8250/8250_port.c | 12 ++-- include/linux/serial_8250.h | 4 include/linux/serial_c

<    1   2   3   4   5   6   7   >