Re: [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets

2016-03-07 Thread Jaehoon Chung
Hi Shawn, On 03/07/2016 06:35 PM, Shawn Lin wrote: > Hi Jaehoon, > > On 2016/3/7 8:53, Jaehoon Chung wrote: >> Hi Goudong, >> >> On 03/06/2016 05:47 PM, Guodong Xu wrote: >>> Add resets property to synopsys-dw-mshc bindings. It is intended to >>> represent the hardware reset signal present intern

Re: [TRIVIAL PATCH] treewide: Remove unnecessary 0x prefixes before %pa extension uses

2016-03-07 Thread Nicolas Ferre
Le 05/03/2016 08:46, Joe Perches a écrit : > Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code > to special_hex_number()") %pa uses have been ouput with a 0x prefix. > > These 0x prefixes in the formats are unnecessary. > > Signed-off-by: Joe Perches > --- > drivers/dma/at_hdmac

[PATCH v4 30/52] mtd: nand: denali: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/denali.c | 50 +-- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/drivers/mtd/nand

Re: [PATCH 1/4] ovl: honor flag MS_SILENT at mount

2016-03-07 Thread Miklos Szeredi
On Mon, Jun 29, 2015 at 7:18 PM, Konstantin Khlebnikov wrote: > This patch hides error about missing lowerdir if MS_SILENT is set. > > We use mount(NULL, "/", "overlay", MS_SILENT, NULL) for testing support of > overlayfs: syscall returns -ENODEV if it's not supported. Otherwise kernel > automatic

Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support

2016-03-07 Thread Marc Zyngier
On Mon, 7 Mar 2016 11:36:22 +0800 Minghuan Lian wrote: > Some kind of NXP Layerscape SoC provides a MSI > implementation which uses two SCFG registers MSIIR and > MSIR to support 32 MSI interrupts for each PCIe controller. > The patch is to support it. > > Signed-off-by: Minghuan Lian Acked-by

Re: [PATCH] rt2x00: add new rt2800usb device Buffalo WLI-UC-G450

2016-03-07 Thread Stanislaw Gruszka
On Tue, Feb 23, 2016 at 11:09:22PM +0800, Anthony Wong wrote: > Add USB ID 0411:01fd for Buffalo WLI-UC-G450 wireless adapter, > RT chipset 3593 > > Signed-off-by: Anthony Wong > Cc: sta...@vger.kernel.org Acked-by: Stanislaw Gruszka

[PATCH v4 42/52] mtd: nand: omap2: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/omap2.c | 194 +++ 1 file changed, 113 insertions(+), 81 deletions(-) diff --git a/drivers/mtd/nan

Re: [PATCH 01/17] dt-bindings: vendor-prefixes: Add PLX Technology

2016-03-07 Thread Philipp Zabel
Am Freitag, den 04.03.2016, 22:29 -0600 schrieb Rob Herring: > On Thu, Mar 03, 2016 at 04:02:15PM +0100, Philipp Zabel wrote: > > Am Donnerstag, den 03.03.2016, 12:39 +0100 schrieb Neil Armstrong: > > > Add PLX Technology vendor prefix. > > > > > > Signed-off-by: Neil Armstrong > > > --- > > > D

[PATCH v4 26/52] mtd: nand: bf5xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/bf5xx_nand.c | 51 --- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/drivers/mtd/nand

Re: [PATCH 2/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-07 Thread Peter Zijlstra
On Tue, Mar 01, 2016 at 11:01:42AM -0500, Chris Metcalf wrote: > +++ b/kernel/sched/idle.c > @@ -52,15 +52,25 @@ static int __init cpu_idle_nopoll_setup(char *__unused) > __setup("hlt", cpu_idle_nopoll_setup); > #endif > +static DEFINE_PER_CPU(bool, cpu_idling); > + > +/* Was the cpu was in the l

[PATCH v4 35/52] mtd: nand: fsmc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 298 --- 1 file changed, 82 insertions(+), 216 deletions(-) diff --git a/drivers/mtd/nan

[PATCH v4 40/52] mtd: nand: lpc32xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/lpc32xx_mlc.c | 50 -- drivers/mtd/nand/lpc32xx_slc.c | 41 +++--- 2 files

[PATCH v4 36/52] mtd: nand: fsmc: get rid of the fsmc_nand_eccplace struct

2016-03-07 Thread Boris Brezillon
Now that mtd_ooblayout_ecc() returns the ECC byte position using the OOB free method, we can get rid of the fsmc_nand_eccplace struct. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 60 +++- include/linux/mtd/fsmc.h | 18

[PATCH v4 38/52] mtd: nand: hisi504: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/hisi504_nand.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/hisi504_nand.c

[PATCH v4 32/52] mtd: nand: docg4: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/docg4.c | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/nand/docg4.c b/drive

[PATCH v4 12/52] mtd: nand: omap2: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/omap2.c

[PATCH v4 34/52] mtd: nand: fsl_ifc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_ifc_nand.c | 230 1 file changed, 66 insertions(+), 164 deletions(-) diff --git a/drivers/mtd/nan

[PATCH v4 23/52] mtd: nand: sharpsl: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- arch/arm/mach-pxa/spitz.c | 55 - drivers/mtd/nand/sharpsl.c | 2 +- include/linux/mtd/sharpsl.h | 2 +- 3 file

[PATCH v4 08/52] mtd: nand: atmel: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/atmel_n

[PATCH v4 25/52] mtd: nand: atmel: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/atmel_nand.c | 84 --- 1 file changed, 38 insertions(+), 46 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 29/52] mtd: nand: davinci: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/davinci_nand.c | 118 +++- 1 file changed, 44 insertions(+), 74 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 20/52] mtd: docg3: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik --- drivers/mtd/devices/docg3.c | 46 ++--- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/drive

[PATCH v4 24/52] mtd: nand: jz4740: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- arch/mips/include/asm/mach-jz4740/jz4740_nand.h | 2 +- arch/mips/jz4740/board-qi_lb60.c| 87 +++-- drivers/mtd/nand/jz4740

Re: 4.4.3: OOPS when running "stress-ng --sock 5"

2016-03-07 Thread Holger Schurig
I have rejoiced prematurely, it just now took way longer I hit the segfault. Previously 1m or at max 2m was enough. root@ptxc:~# stress-ng --sock 20 stress-ng: info: [359] dispatching hogs: 0 I/O-Sync, 0 CPU, 0 VM-mmap, 0 HDD-Write, 0 Fork, 0 Context-switch, 0 Pipe, 0 Cache, 20 Socket, 0 Yield, 0

[PATCH v4 19/52] mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition

2016-03-07 Thread Boris Brezillon
ECC layout definitions are currently exposed using the nand_ecclayout struct which embeds oobfree and eccpos arrays with predefined size. This approach was acceptable when NAND chips were providing relatively small OOB regions, but MLC and TLC now provide OOB regions of several hundreds of bytes, w

[PATCH v4 13/52] mtd: onenand: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onen

[PATCH v4 18/52] mtd: docg3: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik --- drivers/mtd/devices/docg3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/device

[PATCH v4 10/52] mtd: nand: gpmi: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/gpmi-na

[PATCH] HID: multitouch: force retrieving of Win8 signature blob

2016-03-07 Thread Benjamin Tissoires
The Synaptics 0x11e5 over I2C found in the Asus T100-CHI requires to fetch the signature blob to actually start sending events. With this patch, we should be close enough to the Windows driver which checks the content of the blob at plugin to validate or not the touchscreen. Fixes: https://bugzil

[PATCH v4 17/52] mtd: onenand: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_b

[PATCH v4 16/52] mtd: nand: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 39696f7

[PATCH v4 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_ba

[PATCH v4 05/52] mtd: add mtd_ooblayout_xxx() helper functions

2016-03-07 Thread Boris Brezillon
In order to make the ecclayout definition completely dynamic we need to rework the way the OOB layout are defined and iterated. Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation and hide ecclayout internals to their users. Signed-off-by: Boris Brezillon --- drivers/mtd/mtd

Re: [PATCH v5 13/26] memory: omap-gpmc: Support general purpose input for WAITPINs

2016-03-07 Thread Roger Quadros
Hi Boris, On 07/03/16 11:34, Boris Brezillon wrote: > Hi Roger, > > On Fri, 19 Feb 2016 23:15:35 +0200 > Roger Quadros wrote: > >> OMAPs can have 2 to 4 WAITPINs that can be used as general purpose >> input if not used for memory wait state insertion. >> >> The first user will be the OMAP NAND

[PATCH v4 06/52] mtd: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdchar.c |

[PATCH v4 03/52] mtd: mtdswap: remove useless if (!mtd->ecclayout) test

2016-03-07 Thread Boris Brezillon
If the MTD device does not have OOB, the mtd->oobsize and mtd->oobavail fields are set to zero, and we are testing those values in the following test. Remove the useless if (!mtd->ecclayout) test. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdswap.c | 8 1 file changed, 8 deletions(

[PATCH v4 04/52] mtd: nand: simplify nand_bch_init() usage

2016-03-07 Thread Boris Brezillon
nand_bch_init() requires several arguments which could directly be deduced from the mtd device. Get rid of those useless parameters. nand_bch_init() is also requiring the caller to provide a proper eccbytes value, while this value could be deduced from the ecc.size and ecc.strength value. Fallback

Re: Troubles with smatch and jiffies

2016-03-07 Thread Dan Carpenter
I pushed a fix for this. Thanks. http://repo.or.cz/smatch.git/commitdiff/e6f67e92f3a81e5f7a06e60b17477c77ec5ec287 regards, dan carpenter

Re: How to merge? (was Re: [PATCH][v4] livepatch/ppc: Enable livepatching on powerpc)

2016-03-07 Thread Michael Ellerman
On Fri, 2016-03-04 at 09:56 +0100, Jiri Kosina wrote: > On Fri, 4 Mar 2016, Michael Ellerman wrote: > > > Obviously it depends heavily on the content of my series, which will go into > > powerpc#next, so it would make sense if this went there too. > > > > I don't see any changes in linux-next for l

Re: [PATCH v10 5/6] add TC G210 platform driver

2016-03-07 Thread Joao Pinto
Hi, On 3/4/2016 9:12 PM, Arnd Bergmann wrote: > On Friday 04 March 2016 17:22:18 Joao Pinto wrote: >> This patch adds a glue platform driver for the Synopsys G210 Test Chip. >> >> Signed-off-by: Joao Pinto > > Looks basically ok, but I think it can be simplified a little: > >> +/** >> + * struc

Re: [alsa-devel] ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!

2016-03-07 Thread Takashi Iwai
On Mon, 07 Mar 2016 09:20:37 +0100, Tomi Valkeinen wrote: > > On 06/03/16 14:38, kbuild test robot wrote: > > Hi Nicolai, > > > > FYI, the error/warning still remains. > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 67944024c1cdd897e49a0

Re: [PATCH] overlayfs: Warn on copy up if a process has a R/O fd open to the lower file

2016-03-07 Thread Miklos Szeredi
On Tue, Jul 7, 2015 at 4:04 PM, David Howells wrote: > > Print a warning when overlayfs copies up a file if the process that triggered > the copy up has a R/O fd open to the lower file being copied up. > > This can help catch applications that do things like the following: > > fd1 = open("

Re: [PATCH net-next 1/9] bpf: prevent kprobe+bpf deadlocks

2016-03-07 Thread Daniel Borkmann
On 03/07/2016 02:58 AM, Alexei Starovoitov wrote: if kprobe is placed within update or delete hash map helpers that hold bucket spin lock and triggered bpf program is trying to grab the spinlock for the same bucket on the same cpu, it will deadlock. Fix it by extending existing recursion preventi

Re: perf, tools: Refactor and support interval and CSV metrics

2016-03-07 Thread Jiri Olsa
On Thu, Mar 03, 2016 at 03:57:31PM -0800, Andi Kleen wrote: SNIP > > % perf stat -x, --metric-only -a -I 1000 > 1.001381652,frontend cycles idle,insn per cycle,stalled cycles per > insn,branch-misses of all branches, > 1.001381652,173.32,0.83,2.09,1.73, > 2.002073343,199.47,1.07

[PATCH 0/5] x86/microcode/intel: Microcode verification cleanups

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov Hi, here's a small set which makes sure the microcode data checksum verification is done using u32s, as the SDM says and not what we did. The interesting part is that Chris Bainbridge caught this with UBSAN even though the SDM has been proclaiming using unsigned dwords alre

Re: [PATCH] PM / Runtime: Only force-resume device if it has been force-suspended

2016-03-07 Thread Ulf Hansson
[...] >> I agree, that's a better idea. Drivers shouldn't call >> pm_runtime_force_resume() if they haven't called pm_runtime_force_suspend(), >> so checking the PM use count should be fine. I'll modify the patch, test it >> and resubmit. > > I gave it an unfortunately unsuccessful try. The proble

[PATCH 3/5] x86/microcode/intel: Merge two consecutive if-statements

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov Merge the two consecutive "if (ext_table_size)". No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/intel_lib.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/intel_lib.c

[PATCH 2/5] x86/microcode/intel: Get rid of DWSIZE

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov sizeof(u32) is perfectly clear as it is. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/microcode_intel.h| 1 - arch/x86/kernel/cpu/microcode/intel_lib.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/microcode_i

[PATCH 5/5] x86/microcode/intel: Drop orig_sum from ext signature checksum

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov It is 0 because for !0 values we would have exited already. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/intel_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/intel_lib.c b/arch/x86/kernel/

[PATCH 1/5] x86/microcode/intel: Change checksum variables to u32

2016-03-07 Thread Borislav Petkov
From: Chris Bainbridge Microcode checksum verification should be done using unsigned 32-bit values otherwise the calculation overflow results in undefined behaviour. This is also nicely documented in the SDM, section "Microcode Update Checksum": "To check for a corrupt microcode update, softw

[PATCH 4/5] x86/microcode/intel: Improve microcode sanity-checking error messages

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov Turn them into proper sentences. Add comments to microcode_sanity_check() to explain what it does. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/intel_lib.c | 36 ++- 1 file changed, 26 insertions(+), 10 deletions(-) diff --

[PATCH] nfsd: recover: fix memory leak

2016-03-07 Thread Sudip Mukherjee
nfsd4_cltrack_grace_start() will allocate the memory for grace_start but when we returned due to error we missed freeing it. Signed-off-by: Sudip Mukherjee --- fs/nfsd/nfs4recover.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c index 195fe26..6

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Sergey Senozhatsky
Hello, On (03/07/16 09:22), Jan Kara wrote: [..] > > hm, just for note, none of system-wide wqs seem to have a ->rescuer thread > > (WQ_MEM_RECLAIM). > > > > [..] > > > Even if you use printk_wq with WQ_MEM_RECLAIM for printing_work work item, > > > printing_work_func() will not be called until c

Re: [PATCH] ACPICA: Events: Execute some _REG methods in early boot

2016-03-07 Thread Chris Bainbridge
On Mon, Mar 07, 2016 at 06:36:05AM +, Zheng, Lv wrote: > Hi, > > First of all, why don't you respond on the kernel bugzilla? > Posting a fix here directly without communication doesn't look like a > constructive help but more like a destructive attack to me. Sorry if it appears to be an atta

[PATCH] [media] cx231xx: fix memory leak

2016-03-07 Thread Sudip Mukherjee
When we returned on error we missed freeing p_current_fw and p_buffer. Signed-off-by: Sudip Mukherjee --- drivers/media/usb/cx231xx/cx231xx-417.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c b/drivers/media/usb/cx231xx/cx231xx-417.c index

Re: [PATCH v3 0/8] i2c mux cleanup and locking update

2016-03-07 Thread Wolfram Sang
> My offer is going to be this, I'll look after any unforeseen future problems > caused by this rework, and I can be the i2c-mux maintainer. But if being Yay, thanks a lot! > the i2c-mux maintainer turns out to be a huge time-sink, there is no way I > can stay on in the long run. But I guess tha

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-03-07 Thread Peter Zijlstra
On Thu, Mar 03, 2016 at 03:40:49PM -0800, Stephane Eranian wrote: > On Thu, Mar 3, 2016 at 1:43 PM, Andi Kleen wrote: > > > > > + /* > > > + * There are cases where, even though, the PEBS ovfl bit is > > > set in > > > + * GLOBAL_OVF_STATUS, the PEBS events m

[PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Boris Brezillon
Some drivers might need to tweak the block size and wait cycles values to get better performances. Create and export the sun4i_dma_set_chan_config() to do that. Signed-off-by: Boris Brezillon --- drivers/dma/sun4i-dma.c | 44 ++- include/linux/dma/su

[PATCH] [media] dw2102: fix unreleased firmware

2016-03-07 Thread Sudip Mukherjee
On the particular case when the product id is 0x2101 we have requested for a firmware but after processing it we missed releasing it. Signed-off-by: Sudip Mukherjee --- drivers/media/usb/dvb-usb/dw2102.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/usb/dvb-usb/dw2102.c b

Re: [PATCH v5 13/26] memory: omap-gpmc: Support general purpose input for WAITPINs

2016-03-07 Thread Boris Brezillon
On Mon, 7 Mar 2016 12:02:02 +0200 Roger Quadros wrote: > Hi Boris, > > On 07/03/16 11:34, Boris Brezillon wrote: > > Hi Roger, > > > > On Fri, 19 Feb 2016 23:15:35 +0200 > > Roger Quadros wrote: > > > >> OMAPs can have 2 to 4 WAITPINs that can be used as general purpose > >> input if not used

[PATCH v6 10/26] mtd: nand: omap: Update DT binding documentation

2016-03-07 Thread Roger Quadros
Add compatible id and interrupts. The NAND interrupts are provided by the GPMC controller node. Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bin

Re: [PATCH net-next 2/9] bpf: introduce percpu_freelist

2016-03-07 Thread Daniel Borkmann
On 03/07/2016 02:58 AM, Alexei Starovoitov wrote: Introduce simple percpu_freelist to keep single list of elements spread across per-cpu singly linked lists. /* push element into the list */ void pcpu_freelist_push(struct pcpu_freelist *, struct pcpu_freelist_node *); /* pop element from the li

[PATCH] tools/perf: Document perf-stat's --detailed option

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov I'm surprised this remained undocumented since at least 2011. And it is actually a very useful switch, as Steve and I came to realize recently. Add the text from 2cba3ffb9a9d ("perf stat: Add -d -d and -d -d -d options to show more CPU events") which added the incremen

Re: [PATCH 2/2] PM / clk: Add support for obtaining clocks from device-tree

2016-03-07 Thread Jon Hunter
On 07/03/16 08:48, Geert Uytterhoeven wrote: > Hi Jon, > > On Fri, Mar 4, 2016 at 4:33 PM, Jon Hunter wrote: >> The PM clocks framework requires clients to pass either a con-id or a >> valid clk pointer in order to add a clock to a device. Add a new >> function pm_clk_add_clks_of() to allows dev

Re: [PATCH] gpio: xgene: Fix kconfig for standby GIPO contoller

2016-03-07 Thread Matthias Brugger
On 07/03/16 08:41, Linus Walleij wrote: On Fri, Mar 4, 2016 at 6:42 PM, Matthias Brugger wrote: The standby GPIO controller can be used as a interrupt controller. Select GPIOLIB_IRQCHIP when compiling this driver. Otherwise we get a compilation error: drivers/gpio/gpio-xgene-sb.c: In functi

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Leizhen (ThunderTown)
Suppose: CONFIG_SPARSEMEM is opened. CONFIG_DMA_API_DEBUG or CONFIG_CMA is opened. Then virt_to_page or phys_to_page will be called. Finally, in __pfn_to_page, __sec = __pfn_to_section(__pfn) is NULL. So access section->section_mem_map will trigger exception. - #define __pfn_to_page(pfn

Re: [PATCH 0/2] Fix hardlinks in overlay

2016-03-07 Thread Miklos Szeredi
On Fri, Oct 9, 2015 at 9:34 PM, Alexander Morozov wrote: > There were reports that overlay doesn't work very well with unix-sockets. > In particular you can't access unix-socket through hardlink on overlay fs. > Problem is that overlay creates different inodes for hardlinks and code in > net/unix/

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Jan Kara
On Mon 07-03-16 19:12:33, Sergey Senozhatsky wrote: > Hello, > > On (03/07/16 09:22), Jan Kara wrote: > [..] > > > hm, just for note, none of system-wide wqs seem to have a ->rescuer thread > > > (WQ_MEM_RECLAIM). > > > > > > [..] > > > > Even if you use printk_wq with WQ_MEM_RECLAIM for printing

RE: [v3 PATCH 1/3] panic: Change nmi_panic from macro to function

2016-03-07 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Borislav Petkov [mailto:b...@alien8.de] > On Thu, Mar 03, 2016 at 07:57:44PM +0900, Hidehiro Kawai wrote: > > Change nmi_panic() macro to a normal function for the portability. > > portability? I wanted to say encapsulating things into a function makes modules only have to know about the

[PATCH] scsi: storvsc: fix SRB_STATUS_ABORTED handling

2016-03-07 Thread Vitaly Kuznetsov
Commit 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling of SRB status flags") filtered SRB_STATUS_AUTOSENSE_VALID out effectively making the (SRB_STATUS_ABORTED | SRB_STATUS_AUTOSENSE_VALID) case a dead code. The logic from this branch (e.g. storvsc_device_scan() call) is still required, fix

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-07 Thread Felipe Balbi
Hi, Felipe Ferreri Tonello writes: "Felipe F. Tonello" writes: > [ text/plain ] > This gadget uses a bmAttributes and MaxPower that requires the USB bus to be > powered from the host, which is not correct because this configuration is device > specific, not a USB-

Re: 4.4.3: OOPS when running "stress-ng --sock 5"

2016-03-07 Thread Tetsuo Handa
Holger Schurig wrote: > So I did an "arm-linux-gnueabihf-objdump -Sgd linux/vmlinux", not sure > if that helps: > > c00972ec <__rmqueue>: > * Do the hard work of removing an element from the buddy allocator. > * Call me with the zone->lock already held. > */ > static struct page *__rmqueue(stru

Re: [PATCH 09/13] efi/arm64: Check for h/w support before booting a >4 KB granule kernel

2016-03-07 Thread Matt Fleming
On Sun, 06 Mar, at 04:35:32AM, Ard Biesheuvel wrote: > > Hi Matt, > > This patch turned up in -next with 'granule' replaced with 'granular', > both in the commit log and in the patch itself. The term 'granule' is > part of the idiom used by the ARM Architecture Reference Manual, and > so changing

Re: [PATCH v10 6/6] add TC G210 pci driver

2016-03-07 Thread Joao Pinto
Hi, On 3/4/2016 9:17 PM, Arnd Bergmann wrote: > On Friday 04 March 2016 17:22:19 Joao Pinto wrote: >> This patch adds a glue pci driver for the Synopsys G210 Test Chip. >> >> Signed-off-by: Joao Pinto > > Mostly ok, just a few suggestions: > >> + >> +/* Test Chip type expected values */ >> +#de

Re: [PATCH 09/13] efi/arm64: Check for h/w support before booting a >4 KB granule kernel

2016-03-07 Thread Ard Biesheuvel
On 7 March 2016 at 18:02, Matt Fleming wrote: > On Sun, 06 Mar, at 04:35:32AM, Ard Biesheuvel wrote: >> >> Hi Matt, >> >> This patch turned up in -next with 'granule' replaced with 'granular', >> both in the commit log and in the patch itself. The term 'granule' is >> part of the idiom used by the

Re: [PATCH 2/2] PM / clk: Add support for obtaining clocks from device-tree

2016-03-07 Thread Geert Uytterhoeven
Hi Jon, On Mon, Mar 7, 2016 at 11:45 AM, Jon Hunter wrote: > On 07/03/16 08:48, Geert Uytterhoeven wrote: >> On Fri, Mar 4, 2016 at 4:33 PM, Jon Hunter wrote: >>> The PM clocks framework requires clients to pass either a con-id or a >>> valid clk pointer in order to add a clock to a device. Add

Re: [PATCH] iio: adc: imx25-gcq: fix do_div

2016-03-07 Thread Sudip Mukherjee
arkus, can you take a quick look at this. > > Thanks. I think this was already fixed by Arnd. > "iio: adc/imx25-gcq: move incorrect do_div" It should. But I still have the same build failure with next-20160307 and not only tilepro, even m32r is also having the same build failure. regards sudip

Re: Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree

2016-03-07 Thread Laxman Dewangan
On Monday 07 March 2016 01:14 PM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Mar 07, 2016 at 12:06:46PM +0530, Laxman Dewangan wrote: Following will not help depends on THERMAL_OF if THERMAL_OF because THERMAL_OF is always "y" even if THERMAL is "m". Build error can

RE: [Openipmi-developer] [v3 PATCH 3/3] hpwdt: Use nmi_panic() when kernel panics in NMI handler

2016-03-07 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Phil Pokorny [mailto:ppoko...@penguincomputing.com] > > While you are in drivers/watchdog/hpwdt.c replacing panic() with > nmi_panic() can you also fix a few more of the broken strings? The > Linux style guide specfiically says NOT to break strings that are user > visible because it break

Re: linux-next: manual merge of the crypto tree with the net-next tree

2016-03-07 Thread David Howells
Stephen Rothwell wrote: > Today's linux-next merge of the crypto tree got a conflict in: > > net/rxrpc/rxkad.c > > between commit: > > 0d12f8a4027d ("rxrpc: Keep the skb private record of the Rx header in host > byte order") > > from the net-next tree and commit: > > 1afe593b4239 ("rx

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Tetsuo Handa
Sergey Senozhatsky wrote: > Hello, > > On (03/07/16 09:22), Jan Kara wrote: > [..] > > > hm, just for note, none of system-wide wqs seem to have a ->rescuer thread > > > (WQ_MEM_RECLAIM). > > > > > > [..] > > > > Even if you use printk_wq with WQ_MEM_RECLAIM for printing_work work > > > > item,

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-07 Thread Felipe Ferreri Tonello
Hi Balbi, how are you? On 07/03/16 10:59, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: > "Felipe F. Tonello" writes: >> [ text/plain ] >> This gadget uses a bmAttributes and MaxPower that requires the USB > bus to be >> powered from the host, which is not

Re: [v3 PATCH 1/3] panic: Change nmi_panic from macro to function

2016-03-07 Thread Borislav Petkov
On Mon, Mar 07, 2016 at 10:53:51AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > From: Borislav Petkov [mailto:b...@alien8.de] > > On Thu, Mar 03, 2016 at 07:57:44PM +0900, Hidehiro Kawai wrote: > > > Change nmi_panic() macro to a normal function for the portability. > > > > portability? > > I wanted t

Re: [PATCH v10 1/9] dt-bindings: phy: Add NVIDIA Tegra XUSB pad controller binding

2016-03-07 Thread Thierry Reding
On Fri, Mar 04, 2016 at 10:31:45PM -0600, Rob Herring wrote: > On Fri, Mar 04, 2016 at 05:19:31PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > The NVIDIA Tegra XUSB pad controller provides a set of pads, each with a > > set of lanes that are used for PCIe, SATA and USB. > > > >

Re: [PATCH 08/17] clk: Add PLX Technology OXNAS Standard Clocks

2016-03-07 Thread Neil Armstrong
On 03/04/2016 03:25 AM, Stephen Boyd wrote: > On 03/03, Neil Armstrong wrote: >> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig >> index eca8e01..b75ef5c 100644 >> --- a/drivers/clk/Kconfig >> +++ b/drivers/clk/Kconfig >> @@ -192,6 +192,12 @@ config COMMON_CLK_PXA >> ---help--- >>

Re: [ceph] what's going on with d_rehash() in splice_dentry()?

2016-03-07 Thread Sage Weil
On Mon, 7 Mar 2016, Al Viro wrote: > On Wed, Mar 02, 2016 at 11:00:01AM +0800, Yan, Zheng wrote: > > > > This code dates back to when Ceph was originally upstreamed, so the > > > history is murky, but I expect at that point I wanted to avoid hashing in > > > the no-lease case. But I don't think

[PATCH] Kernel: Power: main.c: Cleaned up a comment block

2016-03-07 Thread Philippe Loctaux
Removed a * in the beginning of the block, and removed an unnecessary space. Signed-off-by: Philippe Loctaux --- kernel/power/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/main.c b/kernel/power/main.c index 2794697..d7386cb 100644 --- a/kernel/power/

Re: [PATCH] scripts/dtc: Update to upstream version 53bf130b1cdd

2016-03-07 Thread Geert Uytterhoeven
Hi Rob, On Fri, Mar 4, 2016 at 4:13 PM, Rob Herring wrote: > Sync to upstream dtc commit 53bf130b1cdd ("libfdt: simplify > fdt_node_check_compatible()"). This adds the following commits from > upstream: > > 53bf130 libfdt: simplify fdt_node_check_compatible() > c9d9121 Warn on node name unit-addr

[PATCH v2] sched/deadline: remove dl_new from sched_dl_entity

2016-03-07 Thread Luca Abeni
The dl_new field of the sched_dl_entity is currently used to identify new deadline tasks, so that their deadline and runtime can be properly initialised. However, these tasks can be easily identified by checking if their deadline is smaller than the current time when they switch to SCHED_DEADLINE.

[PATCH v2] simplify new deadline tasks detection

2016-03-07 Thread Luca Abeni
This is v2 of my previous patch removing dl_new; repect to the previos version, I (hopeflly) fixed all the coding style issues (now scripts/checkpatch.pl reports 0 warinngs and 0 errors). The patch has been tested with Juri's deadline tests and some other tests based on periodic real-time threads,

Re: [alsa-devel] ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!

2016-03-07 Thread Nicolai Stange
Takashi Iwai writes: > On Mon, 07 Mar 2016 09:20:37 +0100, > Tomi Valkeinen wrote: >> >> On 06/03/16 14:38, kbuild test robot wrote: >> > Hi Nicolai, >> > >> > FYI, the error/warning still remains. >> > >> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> > maste

Re: [PATCH net-next 3/9] bpf: pre-allocate hash map elements

2016-03-07 Thread Daniel Borkmann
On 03/07/2016 02:58 AM, Alexei Starovoitov wrote: [...] --- include/linux/bpf.h | 1 + include/uapi/linux/bpf.h | 3 + kernel/bpf/hashtab.c | 264 ++- kernel/bpf/syscall.c | 2 +- 4 files changed, 196 insertions(+), 74 deletions

Re: [PATCH v1 1/1] mfd: intel-lpss: save register context on suspend

2016-03-07 Thread Heikki Krogerus
Hi Lee, Gentle ping. On Tue, Jan 26, 2016 at 01:42:26PM +0200, Andy Shevchenko wrote: > From: Heikki Krogerus > > All configurations are lost and the registers will have > default values when the hardware is suspended and resumed, > so saving the private register space context on suspend, and >

[PATCH] spmi: do not use bus internal data

2016-03-07 Thread Sudip Mukherjee
The variable p is a data structure which is used by the driver core internally and it is not expected that busses will be directly accessing these driver core internal only data. Signed-off-by: Sudip Mukherjee --- Reference of Greg's comment about it at: https://lkml.org/lkml/2016/3/5/171 driv

Re: [PATCH 1/3] crypto: authenc - add TLS type encryption

2016-03-07 Thread Cristian Stoica
Hi Tadeusz, +static int crypto_encauth_dgst_verify(struct aead_request *req, + unsigned int flags) +{ + struct crypto_aead *tfm = crypto_aead_reqtfm(req); + unsigned int authsize = crypto_aead_authsize(tfm); + struct aead_instance *inst = aead

Re: [alsa-devel] ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!

2016-03-07 Thread Takashi Iwai
On Mon, 07 Mar 2016 12:28:05 +0100, Nicolai Stange wrote: > > Takashi Iwai writes: > > > On Mon, 07 Mar 2016 09:20:37 +0100, > > Tomi Valkeinen wrote: > >> > >> On 06/03/16 14:38, kbuild test robot wrote: > >> > Hi Nicolai, > >> > > >> > FYI, the error/warning still remains. > >> > > >> > tre

Re: [PATCH RESEND] 8021q:Add missing statements to switch case in the function, register_vlan_device

2016-03-07 Thread Patrick McHardy
On 06.03, Nicholas Krause wrote: > This adds the proper snprintf and break statement for formatting > the vlan_net structure pointer, vn's name using snprintf for if > the switch case, VLAN_NAME_TYPE_PLUS_VID occurs for this particular > switch statement inside the function, register_vlan_device. >

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-07 Thread Michael S. Tsirkin
On Mon, Mar 07, 2016 at 06:49:19AM +, Li, Liang Z wrote: > > > No. And it's exactly what I mean. The ballooned memory is still > > > processed during live migration without skipping. The live migration code > > > is > > in migration/ram.c. > > > > So if guest acknowledged VIRTIO_BALLOON_F_MUS

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread One Thousand Gnomes
On Mon, 7 Mar 2016 17:21:25 +0800 Zhen Lei wrote: > Do this to keep consistent with kfree, which tolerate ptr is NULL. > > Signed-off-by: Zhen Lei This is inlined code so you are adding extra logic to every single instance of a call to the function. What is it's total effect on kernel size ?

Re: [PATCH v9 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-03-07 Thread Purna Chandra Mandal
Hi Michael, Ping! Need an ack for this or pull it upstream. DT bindings have long been acked. Purna On 02/25/2016 11:37 PM, Joshua Henderson wrote: > From: Purna Chandra Mandal > > This clock driver implements PIC32 specific clock-tree. clock-tree > entities can only be configured through devi

<    1   2   3   4   5   6   7   8   9   10   >