[PATCH] um: use %lx format specifiers for unsigned longs

2016-01-23 Thread Colin King
From: Colin Ian King static analysis from cppcheck detected %x being used for unsigned longs: [arch/x86/um/os-Linux/task_size.c:112]: (warning) %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. Use %lx instead of %x Signed-off-by: Colin Ian King

[PATCH] ARM: pxa: let PXA27x select PINCTRL

2016-01-23 Thread Masahiro Yamada
To use the newly added PXA27x pinctrl driver, this commit is needed as well as commit 4b15ec9d42b2 ("pinctrl: activate pxa architecture"). Signed-off-by: Masahiro Yamada --- arch/arm/mach-pxa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-p

Re: net: GPF in netlink_getsockbyportid

2016-01-23 Thread Florian Westphal
Dmitry Vyukov wrote: [ CC nf-devel, not sure if its nfnetlink fault or NETLINK_MMAP ] > The following program causes GPF in netlink_getsockbyportid: > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > #include > #include > #include > #include > #include > > int main()

[PATCH] pinctrl: pxa: export pxa2xx_pinctrl_init()

2016-01-23 Thread Masahiro Yamada
Building pinctrl-pxa27x.c as a module causes a link error: ERROR: "pxa2xx_pinctrl_init" [drivers/pinctrl/pxa/pinctrl-pxa27x.ko] undefined! Signed-off-by: Masahiro Yamada --- drivers/pinctrl/pxa/pinctrl-pxa2xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pxa/pinctrl-pxa

[PATCH] Staging: iio: adc: fix indent on break statement

2016-01-23 Thread Colin King
From: Colin Ian King Fix indent warning when building with gcc 6: drivers/staging/iio/adc/ad7192.c:239:4: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] Signed-off-by: Colin Ian King --- drivers/staging/iio/adc/ad7192.c | 2 +- 1 file changed, 1 inserti

Re: [PATCH] pinctrl: pxa: guard sub-directory with CONFIG_PINCTRL_PXA

2016-01-23 Thread Masahiro Yamada
> https://github.com/0day-ci/linux/commits/Masahiro-Yamada/pinctrl-pxa-guard-sub-directory-with-CONFIG_PINCTRL_PXA/20160123-233501 > config: x86_64-allmodconfig (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_

Re: struct pid memory leak

2016-01-23 Thread Eric Dumazet
On Sat, Jan 23, 2016 at 10:46 AM, Dmitry Vyukov wrote: > On Sat, Jan 23, 2016 at 7:40 PM, Willy Tarreau wrote: >> On Sat, Jan 23, 2016 at 07:14:33PM +0100, Dmitry Vyukov wrote: >>> I've attached my .config. >>> Also run this program in a parallel loop. I think it's leaking not >>> every time, pro

Re: [GIT PULL] Please pull bugfixes+cleanup for Linux 4.5

2016-01-23 Thread Linus Torvalds
On Sat, Jan 23, 2016 at 9:32 AM, Trond Myklebust wrote: > > are available in the git repository at: > > git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.5-2 You have some odd double-spacing issue in this pull request. It's fine, and I pulled, but I thought I'd mention the o

Re: [PATCH] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-23 Thread Guenter Roeck
On 01/23/2016 07:29 AM, William Breathitt Gray wrote: On 01/21/2016 10:42 PM, Guenter Roeck wrote: This implies that setting the timeout would start the watchdog, which is inappropriate (the timeout can be set while the watchdog is stopped). Also, setting the timeout sets both the resolution _a

Re: [PATCH] [v8]Input: evdev: fix bug of dropping valid packet after syn_dropped event

2016-01-23 Thread Aniroop Mathur
On Sun, Jan 24, 2016 at 12:09 AM, Dmitry Torokhov wrote: > On Sat, Jan 23, 2016 at 11:29:29PM +0530, Aniroop Mathur wrote: >> Hi Mr. Torokhov, >> >> On Fri, Jan 22, 2016 at 12:47 AM, Dmitry Torokhov >> wrote: >> > Hi Anoroop, >> > >> > On Thu, Jan 21, 2016 at 11:07:19PM +0530, Aniroop Mathur wrot

Re: net: GPF in netlink_getsockbyportid

2016-01-23 Thread Daniel Borkmann
On 01/23/2016 08:25 PM, Florian Westphal wrote: Dmitry Vyukov wrote: [ CC nf-devel, not sure if its nfnetlink fault or NETLINK_MMAP ] The following program causes GPF in netlink_getsockbyportid: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include

Re: [PATCH 3/4] tty: serial: 8250: omap: convert to using cyclic transfers

2016-01-23 Thread Sebastian Andrzej Siewior
On 01/22/2016 05:31 PM, Peter Hurley wrote: > Hi John, > > On 01/22/2016 02:27 AM, John Ogness wrote: >> Note that an ugly device-tree lookup hack is implemented in order >> to detect if the sDMA engine is being used. This is necessary >> because the sDMA driver does not implement pause/resume cor

[PATCH 1/2] f2fs: avoid multiple node page writes due to inline_data

2016-01-23 Thread Jaegeuk Kim
The sceanrio is: 1. create fully node blocks 2. flush node blocks 3. write inline_data for all the node blocks again 4. flush node blocks redundantly Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/data.c b

[PATCH 2/2] f2fs: fix to overcome inline_data floods

2016-01-23 Thread Jaegeuk Kim
The scenario is: 1. create lots of node blocks 2. sync 3. write lots of inline_data -> got panic due to no free space In that case, we should flush node blocks when writing inline_data in #3, and trigger gc as well. Signed-off-by: Jaegeuk Kim --- fs/f2fs/gc.c | 7 +++ 1 file changed, 7 inse

[PATCH 1/4] f2fs: give scheduling point in shrinking path

2016-01-23 Thread Jaegeuk Kim
It needs to give a chance to be rescheduled while shrinking slab entries. Signed-off-by: Jaegeuk Kim --- fs/f2fs/extent_cache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c index ccd5c63..325825b 100644 --- a/fs/f2fs/extent_cache.c +++ b/

[PATCH 4/4] f2fs: use writepages->lock for WB_SYNC_ALL

2016-01-23 Thread Jaegeuk Kim
If there are many writepages calls by multiple threads in background, we don't need to serialize to merge all the bios, since it's background. In such the case, it'd better to run writepages concurrently. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 3/4] f2fs: use wait_for_stable_page to avoid contention

2016-01-23 Thread Jaegeuk Kim
In write_begin, if storage supports stable_page, we don't need to wait for writeback to update its contents. This patch introduces to use wait_for_stable_page instead of wait_on_page_writeback. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 4 ++-- fs/f2fs/data.c | 7 --- fs/f

[PATCH 2/4] f2fs: remove needless condition check

2016-01-23 Thread Jaegeuk Kim
This patch removes needless condition variable. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index b118055..9a8edeb 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1477,13 +1477,9 @@ re

Re: [PATCH v2 2/4] f2fs: introduce f2fs_submit_merged_bio_cond

2016-01-23 Thread Jaegeuk Kim
Hi Chao, Could you review this patch again? I just got a panic from this patch. I have not much time to dig this, so couldn't remain more specific info. Let me test this later. Thanks, On Mon, Jan 18, 2016 at 06:28:11PM +0800, Chao Yu wrote: > f2fs use single bio buffer per type data (META/NODE/

Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap

2016-01-23 Thread One Thousand Gnomes
All a bit revisionist. Everyone else on the planet was upset about it because it broke things like calculating bit density because the prefixes for the bit capacity are not in metric form. BIPM (keeper of the SI units) never approved powers of two as an interpretation. IEC came into line in 1999, I

Re: [PATCH 4/4] tty: serial: 8250: omap: consume spurious interrupts

2016-01-23 Thread Sebastian Andrzej Siewior
On 01/22/2016 05:48 PM, Peter Hurley wrote: > Hi John, Hi Peter, > On 01/22/2016 02:27 AM, John Ogness wrote: >> It has been seen that spurious interrupts are generated when the >> DMA engine is in use. By disabling timeout interrupts (~IER_RDI) >> this phenomenon goes away, but this driver relie

Re: [PATCH v7 3/3] tty: 8250_omap: Use software emulated RS485 direction control

2016-01-23 Thread Matwey V. Kornilov
2016-01-23 18:20 GMT+03:00 Andy Shevchenko : > On Tue, Jan 19, 2016 at 10:33 PM, Matwey V. Kornilov > wrote: >> Use software emulated RS485 direction control to provide RS485 API existed in >> omap_serial driver. Note that 8250_omap issues interrupt on shift register >> empty which is single prer

[PATCH] hotplug: unlock in error path in acpiphp_enable_slot

2016-01-23 Thread Insu Yun
In acpiphp_enable_slot, there is a missing unlock path when error occurred. It needs to be unlocked before returning an error. Signed-off-by: Insu Yun --- drivers/pci/hotplug/acpiphp_glue.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pci/hotplug/acpiphp_glue.c

Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap

2016-01-23 Thread H. Peter Anvin
On January 23, 2016 12:29:26 PM PST, One Thousand Gnomes wrote: >All a bit revisionist. Everyone else on the planet was upset about it >because it broke things like calculating bit density because the >prefixes >for the bit capacity are not in metric form. BIPM (keeper of the SI >units) never app

[PATCH] vt: correctly check return value of class_create

2016-01-23 Thread Insu Yun
Since class_create can be failed in memory pressure, its return value should be checked and correctly handled. Signed-off-by: Insu Yun --- drivers/tty/vt/vc_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/vt/vc_screen.c b/drivers/tty/vt/vc_screen.c index 14a2b5f..5df4b

[PATCH v3] mm: warn about VmData over RLIMIT_DATA

2016-01-23 Thread Konstantin Khlebnikov
This patch fixes 84638335900f ("mm: rework virtual memory accounting") Before that commit RLIMIT_DATA have control only over size of the brk region. But that change have caused problems with all existing versions of valgrind, because it set RLIMIT_DATA to zero. This patch fixes rlimit check (limi

Re: [PATCH v2 3/3] mtd: nand: sunxi: add randomizer support

2016-01-23 Thread Brian Norris
On Sat, Jan 23, 2016 at 09:18:44AM +0100, Boris Brezillon wrote: > On Fri, 22 Jan 2016 18:57:13 -0800 > Brian Norris wrote: > > > > From: Brian Norris > > Date: Fri, 22 Jan 2016 18:54:02 -0800 > > Subject: [PATCH] mtd: nand: sunxi: use mtd_div_by_ws() helper > > > > Suggested-by: Richard Weinbe

Re: [PATCH v2 4/4] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-01-23 Thread Brian Norris
On Tue, Jan 12, 2016 at 04:09:04AM +, Yao Yuan wrote: > Hi Xu Han, David Woodhouse, Brian Norris > > By the way, there are some patches depend on this patch for QSPI Spansion > S25FS-S family flash support on ARMv8 platform. > in order to the completeness of the patch sets. I want to just sen

Re: [PATCH v3 1/3] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-01-23 Thread Brian Norris
On Thu, Jan 21, 2016 at 03:53:54PM +0800, Yuan Yao wrote: > Add R/W functions for big- or little-endian registers: > The qSPI controller's endian is independent of the CPU core's endian. > So far, the qSPI have two versions for big-endian and little-endian. > > Signed-off-by: Yuan Yao > Acked-by:

Re: mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-23 Thread Brian Norris
On Fri, Jan 22, 2016 at 11:30:55AM -0600, Han Xu wrote: > On Fri, Jan 22, 2016 at 3:01 AM, Yao Yuan wrote: > > On Thu, Jan 21, 2016 at 11:42 PM, Han Xu < xhnj...@gmail.com > wrote: > >> On Thu, Jan 21, 2016 at 1:53 AM, Yuan Yao wrote: > >> > Any extra information you can find them on the patchwor

Re: [PATCH REPOST] tty: serial: 8250: omap: restore registers on shutdown

2016-01-23 Thread Peter Hurley
On 01/22/2016 08:28 AM, John Ogness wrote: > If DMA is active during a shutdown, a delayed restore of the > registers may be pending. The restore must be performed after > the DMA is stopped, otherwise the delayed restore remains > pending and will fire upon the first DMA TX complete of a > totally

Re: [PATCH 3/4] tty: serial: 8250: omap: convert to using cyclic transfers

2016-01-23 Thread Peter Hurley
On 01/23/2016 12:14 PM, Sebastian Andrzej Siewior wrote: > On 01/22/2016 05:31 PM, Peter Hurley wrote: >> Hi John, >> >> On 01/22/2016 02:27 AM, John Ogness wrote: >>> Note that an ugly device-tree lookup hack is implemented in order >>> to detect if the sDMA engine is being used. This is necessary

Re: [PATCH] mtd: bcm47xxsflash: use devm_ioremap_nocache() instead of KSEG0ADDR()

2016-01-23 Thread Brian Norris
On Sat, Jan 16, 2016 at 01:38:11AM +0100, Rafał Miłecki wrote: > So I wanted to stick to the cached mapping, [...] I mentioned this earlier on, but I don't feel like I've gotten a clear answer. Is a cached mapping actually safe here? From the looks of it, the memory mapping is a read-only memory-m

Re: [Gta04-owner] [PATCH 0/4] UART slave device support - version 4

2016-01-23 Thread H. Nikolaus Schaller
Am 23.01.2016 um 18:28 schrieb One Thousand Gnomes : >>> There is lots of stuff we probe and bind via user space - most things >>> these days in fact. That's much of why we have notifiers and udev. It's >>> frequently a win in flexibility, security and configurability to do stuff >>> via user dae

Re: [PATCH] ARM: pxa: let PXA27x select PINCTRL

2016-01-23 Thread Robert Jarzmik
Masahiro Yamada writes: > To use the newly added PXA27x pinctrl driver, this commit is needed > as well as commit 4b15ec9d42b2 ("pinctrl: activate pxa architecture"). > > Signed-off-by: Masahiro Yamada No, that's a bit to narrow selecting pinctrl for only pxa27x architecture. I have this patch

Re: [PATCH 4/5] x86/fpu: Speed up lazy FPU restores slightly

2016-01-23 Thread Andy Lutomirski
On Sat, Jan 23, 2016 at 2:14 AM, Borislav Petkov wrote: > On Fri, Jan 22, 2016 at 04:56:05PM -0800, Andy Lutomirski wrote: >> If we have an FPU, there's no need to check CR0 for FPU emulation. >> >> Signed-off-by: Andy Lutomirski >> --- >> arch/x86/kernel/traps.c | 2 +- >> 1 file changed, 1 ins

Re: [PATCH] pinctrl: pxa: export pxa2xx_pinctrl_init()

2016-01-23 Thread Robert Jarzmik
Masahiro Yamada writes: > Building pinctrl-pxa27x.c as a module causes a link error: > > ERROR: "pxa2xx_pinctrl_init" [drivers/pinctrl/pxa/pinctrl-pxa27x.ko] > undefined! > > Signed-off-by: Masahiro Yamada Yeah, I see no other way out to spare namespace polution. Acked-by: Robert Jarzmik Che

Re: [PATCH] pinctrl: pxa: guard sub-directory with CONFIG_PINCTRL_PXA

2016-01-23 Thread Robert Jarzmik
to >> help improving the system] >> >> url: >> https://github.com/0day-ci/linux/commits/Masahiro-Yamada/pinctrl-pxa-guard-sub-directory-with-CONFIG_PINCTRL_PXA/20160123-233501 >> config: x86_64-allmodconfig (attached as .config) >> reproduce: >>

Re: [PATCH 07/13] aio: enabled thread based async fsync

2016-01-23 Thread Dave Chinner
On Fri, Jan 22, 2016 at 11:50:24PM -0500, Benjamin LaHaise wrote: > On Sat, Jan 23, 2016 at 03:24:49PM +1100, Dave Chinner wrote: > > On Wed, Jan 20, 2016 at 04:56:30PM -0500, Benjamin LaHaise wrote: > > > On Thu, Jan 21, 2016 at 08:45:46AM +1100, Dave Chinner wrote: > > > > Filesystems *must take

Re: [kernel-hardening] Re: [PATCH 1/2] sysctl: expand use of proc_dointvec_minmax_sysadmin

2016-01-23 Thread Jann Horn
On Fri, Jan 22, 2016 at 09:10:07PM -0600, Eric W. Biederman wrote: > Kees Cook writes: > > > Several sysctls expect a state where the highest value (in extra2) is > > locked once set for that boot. Yama does this, and kptr_restrict should > > be doing it. This extracts Yama's logic and adds it to

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Dave Chinner
On Sat, Jan 23, 2016 at 02:58:54PM +, Al Viro wrote: > ->i_mutex wrappers (with small prereq in lustre), fix for too Please explain, Al? I haven't heard anything about there being i_mutex changes pending, and this commit says "over the coming cycle ->i_mutex will become rwsem". That's

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Dave Chinner
On Sun, Jan 24, 2016 at 09:34:56AM +1100, Dave Chinner wrote: > On Sat, Jan 23, 2016 at 02:58:54PM +, Al Viro wrote: > > ->i_mutex wrappers (with small prereq in lustre), fix for too > > Please explain, Al? > > I haven't heard anything about there being i_mutex changes pending, > and this

Re: [PATCH v8 1/7] mtd: nand: gpmi: add gpmi dsm supend/resume support

2016-01-23 Thread Brian Norris
On Wed, Dec 02, 2015 at 04:47:40PM -0600, Han Xu wrote: > From: Huang Shijie > > i.MX6SX supports deep sleep mode(DSM) that may turn off GPMI/BCH power > during suspend, add gpmi nand suspend/resume function to release DMA > channel in suspend function and re-init GPMI/BCH controller during > res

Re: [PATCH v8 4/7] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2016-01-23 Thread Brian Norris
On Wed, Dec 02, 2015 at 04:47:43PM -0600, Han Xu wrote: > By default NAND driver will choose the highest ecc strength that oob > could contain, in this case, for some 8K+744 NAND flash, the ecc > strength will be up to 52bit, which beyonds the i.MX6QDL BCH capability > (40bit). > > This patch allo

Re: [PATCH v8 5/7] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-01-23 Thread Brian Norris
On Wed, Dec 02, 2015 at 04:47:44PM -0600, Han Xu wrote: > support GPMI NAND on i.MX7D > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- > drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 27

Re: [PATCH v8 6/7] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-01-23 Thread Brian Norris
+ Markus Pargmann On Wed, Dec 02, 2015 at 04:47:45PM -0600, Han Xu wrote: > i.MX6QP and i.MX7D BCH module integrated a new feature to detect the > bitflip number for erased NAND page. So for these two platform, set the > erase threshold to ecc_strength and if bitflip detected, GPMI driver will > c

Re: [PATCH] ARM: pxa: let PXA27x select PINCTRL

2016-01-23 Thread Arnd Bergmann
On Saturday 23 January 2016 23:07:44 Robert Jarzmik wrote: > I have this patch in my local tree for 2 monthes (see [1]). This is the patch > I'd rather have. I had not posted it as I didn't think the pinctrl work was > over > yet. I know at least that pxa3xx is ready (as pinctrl-single should be u

Re: [PATCH v8 7/7] mtd: nand: gpmi: support NAND on i.MX6UL

2016-01-23 Thread Brian Norris
On Wed, Dec 02, 2015 at 04:47:46PM -0600, Han Xu wrote: > support GPMI NAND on i.MX6UL > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + > drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 +++- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/d

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Al Viro
On Sun, Jan 24, 2016 at 09:44:35AM +1100, Dave Chinner wrote: > FWIW, I'm not opposed to making such a locking change - I'm more > concerned about the fact I'm finding out about plans for such a > fundamental locking change from a pull request on the last day of a > merge window Look at the c

Re: [PATCH v5 0/21] usb: dwc2: host: Fix and speed up all the stuff, especially with splits

2016-01-23 Thread Doug Anderson
Heiko, On Sat, Jan 23, 2016 at 9:52 AM, Heiko Stuebner wrote: > Hi, > > Am Freitag, 22. Januar 2016, 10:18:35 schrieb Douglas Anderson: >> This is a bit of catchall series for all the bug fix and performance >> patches I've been working on over the last few months. Note that for >> dwc2 we need

Re: [l2-mtd:next 457/463] DockBook: drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found

2016-01-23 Thread Brian Norris
On Sun, Jan 24, 2016 at 07:10:38AM +0800, kbuild test robot wrote: > tree: git://git.infradead.org/users/dedekind/l2-mtd.git next > head: b8b0e465ddb0c9cb16089ddfed68a8569e006465 > commit: 54ca3cd594db58d65b3670f2af452c1104b09ac6 [457/463] mtd: nand: remove > EXPORT_SYMBOL of nand_scan_bbt() >

Re: [PATCH 4/5] x86/fpu: Speed up lazy FPU restores slightly

2016-01-23 Thread Borislav Petkov
On Sat, Jan 23, 2016 at 02:09:59PM -0800, Andy Lutomirski wrote: > Maybe this will be just cpu_has some day if my theory about the new > improved static_cpu_has being shorter than boot_cpu_has pans out :) Yeah, I have the static_cpu_has() simplification patchset v2 ready, will send out tomorrow.

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Al Viro
On Sat, Jan 23, 2016 at 11:09:44PM +, Al Viro wrote: > On Sun, Jan 24, 2016 at 09:44:35AM +1100, Dave Chinner wrote: > > > FWIW, I'm not opposed to making such a locking change - I'm more > > concerned about the fact I'm finding out about plans for such a > > fundamental locking change from a

Re: [LSF/MM TOPIC] VM containers

2016-01-23 Thread Nakajima, Jun
> On Jan 22, 2016, at 7:56 AM, Rik van Riel wrote: > > Hi, > > I am trying to gauge interest in discussing VM containers at the LSF/MM > summit this year. Projects like ClearLinux, Qubes, and others are all > trying to use virtual machines as better isolated containers. > > That changes some o

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Linus Torvalds
On Sat, Jan 23, 2016 at 2:44 PM, Dave Chinner wrote: > > FWIW, I'm not opposed to making such a locking change - I'm more > concerned about the fact I'm finding out about plans for such a > fundamental locking change from a pull request on the last day of a > merge window It's actually not a

Re: [PATCH] vt: correctly check return value of class_create

2016-01-23 Thread Greg KH
On Sat, Jan 23, 2016 at 03:52:46PM -0500, Insu Yun wrote: > Since class_create can be failed in memory pressure, In this case, really? At init time? > its return value should be checked and correctly handled. You didn't correctly handle it, you leaked memory and other resources :(

[PATCH] 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try)

2016-01-23 Thread Martin Roth
This is an additional patch to the one already submitted recently. The previous patch was not complete, and the FCC port lock-up scenario has been reproduced in lab. I had an opportunity to check the current patch in lab and the FCC port lock no longer freezes, while the previous patch still locks-

connection failure after "tcp: remove max_qlen_log"

2016-01-23 Thread Kui Zhang
Hello, One of our java software would not start after this: # first bad commit: [ef547f2ac16bd9d77a780a0e7c70857e69e8f23f] tcp: remove max_qlen_log Log from software: STATUS | monitor | 2016/01/23 14:22:55 | Launching a Service... INFO | buserver | 2016/01/23 14:23:00 | WrapperManager class

Re: net: GPF in netlink_getsockbyportid

2016-01-23 Thread Florian Westphal
Daniel Borkmann wrote: > On 01/23/2016 08:25 PM, Florian Westphal wrote: > >Dmitry Vyukov wrote: > > > >[ CC nf-devel, not sure if its nfnetlink fault or NETLINK_MMAP ] > > > >>The following program causes GPF in netlink_getsockbyportid: [..] > >CONFIG_NETLINK_MMAP and nfnetlink batching strike

Re: connection failure after "tcp: remove max_qlen_log"

2016-01-23 Thread Eric Dumazet
On Sat, 2016-01-23 at 15:54 -0800, Kui Zhang wrote: > Hello, > > One of our java software would not start after this: > > # first bad commit: [ef547f2ac16bd9d77a780a0e7c70857e69e8f23f] tcp: > remove max_qlen_log > > > Log from software: > > STATUS | monitor | 2016/01/23 14:22:55 | Launching a

Re: [PATCH 1/5] scripts/gdb: Provide linux constants

2016-01-23 Thread Kieran Bingham
On 23/01/16 15:05, Jan Kiszka wrote: > On 2016-01-20 12:15, Kieran Bingham wrote: >> Some macro's and defines are needed when parsing memory, and without >> compiling the kernel as -g3 they are not available in the debug-symbols. >> >> We use the pre-processor here to extract constants to a dedic

Re: [PATCH 2/5] scripts/gdb: Provide a kernel list item generator

2016-01-23 Thread Kieran Bingham
On 23/01/16 15:08, Jan Kiszka wrote: > On 2016-01-20 12:15, Kieran Bingham wrote: >> Facilitate linked-list items by providing a generator to return >> the dereferenced, and type-cast objects from a kernel linked list >> >> Signed-off-by: Kieran Bingham >> --- >> >> This is quite a useful wrappe

Re: [PATCH 3/5] scripts/gdb: Add io resource readers

2016-01-23 Thread Kieran Bingham
On 23/01/16 15:12, Jan Kiszka wrote: > On 2016-01-20 12:15, Kieran Bingham wrote: >> Provide iomem_resource and ioports_resource printers and command hooks >> >> Signed-off-by: Kieran Bingham >> >> --- >> >> These two readers are a useful extract of kernel information. >> This shows the power of

Re: [PATCH 4/5] scripts/gdb: Add mount point list command

2016-01-23 Thread Kieran Bingham
On 23/01/16 15:27, Jan Kiszka wrote: > On 2016-01-20 12:15, Kieran Bingham wrote: >> lx-mounts will identify current mount points based on the 'init_task' >> namespace by default, as we do not yet have a kernel thread list >> implementation to select the current running thread. >> >> Optionally, a

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Dave Chinner
On Sat, Jan 23, 2016 at 03:48:30PM -0800, Linus Torvalds wrote: > On Sat, Jan 23, 2016 at 2:44 PM, Dave Chinner wrote: > > > > FWIW, I'm not opposed to making such a locking change - I'm more > > concerned about the fact I'm finding out about plans for such a > > fundamental locking change from a

Re: [PATCH 5/5] scripts/gdb: Add meminfo command

2016-01-23 Thread Kieran Bingham
On 23/01/16 15:21, Jan Kiszka wrote: > On 2016-01-20 12:15, Kieran Bingham wrote: >> Provide an equivalent of /proc/meminfo which should be available from >> core dumps, or crashed kernels. This should allow a debugger to identify >> if memory pressures were applicable in the instance of their is

Re: fast path cycle muncher (vmstat: make vmstat_updater deferrable again and shut down on idle)

2016-01-23 Thread Christoph Lameter
On Sat, 23 Jan 2016, Mike Galbraith wrote: > While you're fixing that commit up, can you perhaps find a better home > for quiet_vmstat()? It not only munches cycles when switching cross > -core mightily, for -rt it injects a sleeping lock into the idle task. Not sure what you are talking about.

[PATCH] mailmap: rewrite full name for Diego Elio Pettenò.

2016-01-23 Thread Diego Elio Pettenò
Current log includes at least a couple different spelling of my name, including the old one before I legally changed it. Also update to use my own controlled domain, rather than GMail. Signed-off-by: Diego Elio Pettenò --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Dave Chinner
On Sat, Jan 23, 2016 at 11:09:44PM +, Al Viro wrote: > On Sun, Jan 24, 2016 at 09:44:35AM +1100, Dave Chinner wrote: > > > FWIW, I'm not opposed to making such a locking change - I'm more > > concerned about the fact I'm finding out about plans for such a > > fundamental locking change from a

Re: [PATCH] hotplug: unlock in error path in acpiphp_enable_slot

2016-01-23 Thread Rafael J. Wysocki
On Saturday, January 23, 2016 03:44:19 PM Insu Yun wrote: > In acpiphp_enable_slot, there is a missing unlock path > when error occurred. It needs to be unlocked before returning an error. > > Signed-off-by: Insu Yun Applied, thanks! > --- > drivers/pci/hotplug/acpiphp_glue.c | 4 +++- > 1 fil

[REGRESSION] gpio: pxa: change initcall level second attempt

2016-01-23 Thread Marcel Ziswiler
Hi Robert I tried latest next-20160122 on Colibri PXA270 with a previously working device tree and got the following DM9000 Ethernet driver issue: [1.062495] dm9000 800.ethernet: insufficient resources [1.068439] dm9000 800.ethernet: not found (-2). [1.073451] dm9000: probe of

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Al Viro
On Sun, Jan 24, 2016 at 11:26:58AM +1100, Dave Chinner wrote: > That's fair enough. However, compare this to how core locking > changes occur in the mm subsystem - they go through multiple patch > postings and review so there's no surprise when the pull request > comes. ... and the thread in ques

Re: [PATCH RESEND] power: genpd: fix lockdep issue for all subdomains

2016-01-23 Thread Rafael J. Wysocki
On Wednesday, January 20, 2016 10:13:42 AM Marek Szyprowski wrote: > During genpd_poweron, genpd->lock is acquired recursively for each > parent (master) domain, which are separate objects. This confuses > lockdep, which considers every operation on genpd->lock as being done on > the same lock clas

Re: [kernel-hardening] Re: [PATCH 1/2] sysctl: expand use of proc_dointvec_minmax_sysadmin

2016-01-23 Thread Eric W. Biederman
Jann Horn writes: > On Fri, Jan 22, 2016 at 09:10:07PM -0600, Eric W. Biederman wrote: >> Kees Cook writes: >> >> > Several sysctls expect a state where the highest value (in extra2) is >> > locked once set for that boot. Yama does this, and kptr_restrict should >> > be doing it. This extracts

Re: [git pull] vfs.git - including i_mutex wrappers

2016-01-23 Thread Al Viro
On Sun, Jan 24, 2016 at 11:53:04AM +1100, Dave Chinner wrote: > > readdir() is another potential target for weaker exclusion (i.e. switching > > it to taking that thing shared), but that's a separate story and I'd prefer > > to deal with ->lookup() first. There are potentially hairy issues around

Re: [kernel-hardening] Re: [PATCH 1/2] sysctl: expand use of proc_dointvec_minmax_sysadmin

2016-01-23 Thread Al Viro
On Sat, Jan 23, 2016 at 07:20:17PM -0600, Eric W. Biederman wrote: > Yep. That is about the size of it. file * used to be passed to the > sysctl methods but it was removed several years ago because no one was > using it. Generally cred would be better... Alternatively we could eat one more poi

Re: [kernel-hardening] Re: [PATCH 1/2] sysctl: expand use of proc_dointvec_minmax_sysadmin

2016-01-23 Thread Jann Horn
On Sun, Jan 24, 2016 at 01:43:42AM +, Al Viro wrote: > On Sat, Jan 23, 2016 at 07:20:17PM -0600, Eric W. Biederman wrote: > > > Yep. That is about the size of it. file * used to be passed to the > > sysctl methods but it was removed several years ago because no one was > > using it. > > Gen

Problems with commit 'kallsyms: add support for relative offsets in kallsyms address table' (in mmotm)

2016-01-23 Thread Guenter Roeck
Hi, I see runtime problems with the current mmotm branch. All qemu mips targets (32 and 64 bit, big and little endian) are stuck in boot after this commit. Bisect points to commit d13682e4d9d2 ("kallsyms: add support for relative offsets in kallsyms address table". Disabling CONFIG_KALLSYMS_BAS

Re: connection failure after "tcp: remove max_qlen_log"

2016-01-23 Thread Kui Zhang
Per man page, listen(fd, 0) is valid. A backlog argument of 0 may allow the socket to accept connections, in which case the length of the listen queue may be set to an implementation-defined minimum value. http://pubs.opengroup.org/onlinepubs/009695399/functions/listen.html I just notice ad

Re: struct pid memory leak

2016-01-23 Thread Willy Tarreau
On Sat, Jan 23, 2016 at 07:46:45PM +0100, Dmitry Vyukov wrote: > On Sat, Jan 23, 2016 at 7:40 PM, Willy Tarreau wrote: > > On Sat, Jan 23, 2016 at 07:14:33PM +0100, Dmitry Vyukov wrote: > >> I've attached my .config. > >> Also run this program in a parallel loop. I think it's leaking not > >> ever

Re: [PATCH v2 01/16] dell-laptop: extract SMBIOS-related code to a separate module

2016-01-23 Thread kbuild test robot
Hi Michał, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on v4.4 next-20160122] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Micha-K-pie/Common-Dell-SMBIOS-

Re: Problems with commit 'kallsyms: add support for relative offsets in kallsyms address table' (in mmotm)

2016-01-23 Thread Guenter Roeck
On 01/23/2016 06:06 PM, Guenter Roeck wrote: Hi, I see runtime problems with the current mmotm branch. All qemu mips targets (32 and 64 bit, big and little endian) are stuck in boot after this commit. Bisect points to commit d13682e4d9d2 ("kallsyms: add support for relative offsets in kallsyms

Re: struct pid memory leak

2016-01-23 Thread Willy Tarreau
On Sun, Jan 24, 2016 at 03:11:45AM +0100, Willy Tarreau wrote: > It doesn't report this on 3.10. To be more precise, kmemleak reports the issue on 3.13 and not on 3.12. I'm not sure if it's reliable enough to run a bisect though. Willy

Re: connection failure after "tcp: remove max_qlen_log"

2016-01-23 Thread Eric Dumazet
On Sat, Jan 23, 2016 at 6:08 PM, Kui Zhang wrote: > Per man page, listen(fd, 0) is valid. > > A backlog argument of 0 may allow the socket to accept > connections, in which case the length of the listen queue may be set > to an implementation-defined minimum value. > > http://pubs.opengroup.or

Re: fast path cycle muncher (vmstat: make vmstat_updater deferrable again and shut down on idle)

2016-01-23 Thread Mike Galbraith
On Sat, 2016-01-23 at 18:33 -0600, Christoph Lameter wrote: > On Sat, 23 Jan 2016, Mike Galbraith wrote: > > > While you're fixing that commit up, can you perhaps find a better home > > for quiet_vmstat()? It not only munches cycles when switching cross > > -core mightily, for -rt it injects a sl

Re: struct pid memory leak

2016-01-23 Thread Eric Dumazet
On Sat, Jan 23, 2016 at 6:38 PM, Willy Tarreau wrote: > On Sun, Jan 24, 2016 at 03:11:45AM +0100, Willy Tarreau wrote: >> It doesn't report this on 3.10. > > To be more precise, kmemleak reports the issue on 3.13 and not on 3.12. > I'm not sure if it's reliable enough to run a bisect though. > > W

Re: struct pid memory leak

2016-01-23 Thread Willy Tarreau
On Sat, Jan 23, 2016 at 06:50:11PM -0800, Eric Dumazet wrote: > On Sat, Jan 23, 2016 at 6:38 PM, Willy Tarreau wrote: > > On Sun, Jan 24, 2016 at 03:11:45AM +0100, Willy Tarreau wrote: > >> It doesn't report this on 3.10. > > > > To be more precise, kmemleak reports the issue on 3.13 and not on 3.

Benachrichtigung

2016-01-23 Thread EMAIL LOTTERIE
Sehr geehrte / ter email Benützer ! Ihre email Adresse hat €1.20,00€ (EINEMILLIONZWEIHUNDERTAUSEND EURO) gewonnen . Mit den Glückszahlen 9-3-8-26-28-4-64 In der EURO MILLIONEN EMAIL LOTTERIE.Die Summe ergibt sich aus einer Gewinnausschuttung von. €22.800,000,00 ( ZWEIUNDZWANZIGMILLIONENACHT

Re: fast path cycle muncher (vmstat: make vmstat_updater deferrable again and shut down on idle)

2016-01-23 Thread Christoph Lameter
On Sun, 24 Jan 2016, Mike Galbraith wrote: > By switching cross-core, I'm referring to scheduling of communicating > tasks. ??? Its cancelling a work request. That is a "communicating task"? > Here's the sleeping lock for -rt: > > [2.279582] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.5.0-rt

Re: [PATCH 3/7] perf callchain: Add enum match_result for match_chain()

2016-01-23 Thread Namhyung Kim
Hi Jiri, On Sat, Jan 23, 2016 at 06:01:10PM +0100, Jiri Olsa wrote: > On Fri, Jan 22, 2016 at 10:41:36PM +0900, Namhyung Kim wrote: > > SNIP > > > /* lookup in childrens */ > > while (*p) { > > - s64 ret; > > + enum match_result ret; > > > > parent = *p;

Re: Problems with commit 'kallsyms: add support for relative offsets in kallsyms address table' (in mmotm)

2016-01-23 Thread Guenter Roeck
On 01/23/2016 06:06 PM, Guenter Roeck wrote: Hi, I see runtime problems with the current mmotm branch. All qemu mips targets (32 and 64 bit, big and little endian) are stuck in boot after this commit. Bisect points to commit d13682e4d9d2 ("kallsyms: add support for relative offsets in kallsyms

include/linux/sched.h:2157:56: warning: 'noio_flag' may be used uninitialized in this function

2016-01-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 048ccca8c1c8f583deec3367d7df521bb1f542ae commit: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker date: 3 days ago config: i386-randconfig-s0-01241136 (attached as

Re: [PATCHSET 0/7] perf tools: Check error during collapsing hist entries

2016-01-23 Thread Namhyung Kim
On Sat, Jan 23, 2016 at 06:01:21PM +0100, Jiri Olsa wrote: > On Fri, Jan 22, 2016 at 10:41:33PM +0900, Namhyung Kim wrote: > > Hi, > > > > This patchset checks error case during the process of collapsing hist > > entries. It's a preparation of upcoming hierarchy patchset which adds > > more work

Re: mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-23 Thread Yao Yuan
On Sun, Jan 24, 2016 05:17 AM +0800, Brian Norris wrote: On Fri, Jan 22, 2016 at 11:30:55AM -0600, Han Xu wrote: > On Fri, Jan 22, 2016 at 3:01 AM, Yao Yuan wrote: > > On Thu, Jan 21, 2016 at 11:42 PM, Han Xu < xhnj...@gmail.com > wrote: > >> On Thu, Jan 21, 2016 at 1:53 AM, Yuan Yao wrote: > >>

Re: [PATCH v3 04/12] acpi, numa: introduce ACPI_HAS_NUMA_ARCH_FIXUP

2016-01-23 Thread Hanjun Guo
On 01/23/2016 06:25 PM, Robert Richter wrote: On 23.01.16 17:39:19, Hanjun Guo wrote: From: Hanjun Guo acpi_numa_arch_fixup() is only used for IA64, x86 introduce a dummy function for it, when we came to a new architecture (such as ARM64), we need to introduce another dummy one to make the cod

Mis-backport in af_unix patch for Linux 3.10.95

2016-01-23 Thread Sultan Qasim
Hello all, I'm an outsider to the Linux kernel community, so I apologize if this is not the right channel to mention this. I noticed that the backported version of the patch "af_unix: Revert 'lock_interruptible' in stream receive code" in Linux 3.10.95 seems to have removed the mutex_lock_interrup

lib/raid6/int8.c:328:1: warning: the frame size of 1276 bytes is larger than 1024 bytes

2016-01-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 048ccca8c1c8f583deec3367d7df521bb1f542ae commit: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker date: 3 days ago config: i386-randconfig-s0-01241136 (attached as

Re: [PATCH v5 0/21] usb: dwc2: host: Fix and speed up all the stuff, especially with splits

2016-01-23 Thread Doug Anderson
Hi, On Sat, Jan 23, 2016 at 3:09 PM, Doug Anderson wrote: > Heiko, > > On Sat, Jan 23, 2016 at 9:52 AM, Heiko Stuebner wrote: >> Hi, >> >> Am Freitag, 22. Januar 2016, 10:18:35 schrieb Douglas Anderson: >>> This is a bit of catchall series for all the bug fix and performance >>> patches I've bee

Re: fast path cycle muncher (vmstat: make vmstat_updater deferrable again and shut down on idle)

2016-01-23 Thread Mike Galbraith
On Sat, 2016-01-23 at 21:46 -0600, Christoph Lameter wrote: > On Sun, 24 Jan 2016, Mike Galbraith wrote: > > > By switching cross-core, I'm referring to scheduling of communicating > > tasks. > > ??? Its cancelling a work request. That is a "communicating task"? No no no, pipe-test is two tasks

Re: [PATCH v5 20/21] usb: dwc2: host: Totally redo the microframe scheduler

2016-01-23 Thread Doug Anderson
Hi, On Fri, Jan 22, 2016 at 10:18 AM, Douglas Anderson wrote: > This totally reimplements the microframe scheduler in dwc2 to attempt to > handle periodic splits properly. The old code didn't even try, so this > was a significant effort since periodic splits are one of the most > complicated thi

<    1   2   3   4   >