[PATCH 38/45] include/uapi/linux/agpgart.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/agpgart.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/agpgart.h b/include/uapi/linux/agpgart.h index 4e828cf..f525104 100644 --- a/include/uapi/linux/ag

[PATCH 35/45] include/uapi/sound/asound.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler errors like: error: field ‘trigger_tstamp’ has incomplete type error: invalid application of ‘sizeof’ to incomplete t ype ‘struct timespec’ Signed-off-by: Mikko Rapeli --- include/uapi/sound/asound.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/sound/asound.

[PATCH 33/45] include/uapi/asm-generic/signal.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler warning: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/signal.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 9df61f1..8a341a2 100644 --- a/include/u

[PATCH 44/45] nf_conntrack_tuple_common.h: include linux/types.h and linux/netfilter.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: unknown type name ‘__be16’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter/nf_conntrack_tuple_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/netfilter/nf_conntrack_tuple_common.h b/include/uapi/linu

[PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-02-16 Thread Mikko Rapeli
This libc header has sockaddr definition for userspace. Fixes compilation errors like: error: field ‘ifru_addr’ has incomplete type struct sockaddr ifru_addr; Signed-off-by: Mikko Rapeli --- include/uapi/linux/socket.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/so

[PATCH 42/45] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h always

2015-02-16 Thread Mikko Rapeli
Fixes compilation errors in userspace like: error: unknown type name ‘__be32’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/rds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 7ff0c70..47b1ede 100644 --- a/

[PATCH 30/45] include/uapi/asm-generic/shmbuf.h: include fixes

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘shm_perm’ has incomplete type struct ipc64_perm shm_perm; /* operation perms */ error: unknown type name ‘size_t’ error: unknown type name ‘__kernel_time_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/shmbuf.h | 6 ++ 1 fil

[PATCH 41/45] include/uapi/sound/emu10k1.h: hide gpr_valid, tram_valid and code_valid in userspace

2015-02-16 Thread Mikko Rapeli
The DECLARE_BITMAP macro is not available in userspace headers. Fixes userspace compile error: error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’ Signed-off-by: Mikko Rapeli --- include/uapi/sound/emu10k1.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/soun

[PATCH 34/45] include/uapi/asm-generic/signal.h: hide sigset_t definition in userspace

2015-02-16 Thread Mikko Rapeli
It is already defined by libc headers in /usr/include/i386-linux-gnu/sys/select.h Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/signal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 8a341a2..af4d83a

[PATCH 36/45] include/uapi/linux/netfilter.h: include in.h and in6.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compile errors like: error: field ‘in’ has incomplete type error: field ‘in6’ has incomplete type Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/netfilter.h b/include/uapi/lin

[PATCH 23/45] scsi_netlink_fc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_netlink_fc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/scsi/scsi_netlink_fc.h b/include/uapi/scsi

[PATCH 22/45] scsi_netlink.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_netlink.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi/scsi/scsi_netlink.h ind

[PATCH 32/45] drm/i810_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: array type has incomplete element type struct drm_clip_rect boxes[I810_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/i810_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/i810_drm.h b/include/uapi/drm/

[PATCH 25/45] gntalloc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- include/uapi/xen/gntalloc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntalloc.h b/include/uapi/xen/gntalloc.h index 76bd580..184df7e 100644 --- a/i

[PATCH 24/45] hdspm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/sound/hdspm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index d956c35..f799828 100644 --- a/inclu

[PATCH 28/45] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘__kernel_key_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/ipcbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/asm-generic/ipcbuf.h b/include/uapi/asm-generic/ipcbuf.h index 3dbcc1e..909f825 1006

[PATCH 39/45] include/uapi/sound/asequencer.h: include sound/asound.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘snd_seq_client_type_t’ snd_seq_client_type_t type; /* client type */ Signed-off-by: Mikko Rapeli --- include/uapi/sound/asequencer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/sound/asequencer.h b/include/uapi/sou

[PATCH 20/45] sctp.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/sctp.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index ce70fe6..9fd31cf 100644 --- a/include/ua

[PATCH 19/45] rds.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/rds.h:96:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/rds.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 9195095..7ff0c70 100644 --- a/include/uapi/lin

[PATCH 21/45] scsi_bsg_fc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_bsg_fc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h index 3031b90..5cc25df

[PATCH 26/45] gntdev.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/xen/gntdev.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntdev.h b/include/uapi/xen/gntdev.h index 5304bd3..f724f75 100644 --- a/include/u

[PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/dm-log-userspace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/dm-log-userspace.h b/include/uapi/linux/dm-log-userspac

[PATCH 16/45] hsi_char.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/hsi/hsi_char.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/hsi/hsi_char.h b/include/uapi/linux/hsi/hsi_char.h

[PATCH 18/45] cld.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/nfsd/cld.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/nfsd/cld.h b/include/uapi/linux/nfsd/cld.h index f14a9ab..9f60f9c 100644

[PATCH 11/45] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 8b05

[PATCH 10/45] r128_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/r128_drm.h b/includ

[PATCH 06/45] drm_mode.h: include stdint.h and linux/types.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index a0db2d4a..c55dfdf 100644 --- a/

[PATCH 08/45] nouveau_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/nouveau_drm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index 0d7608d..4baf959 10

[PATCH 02/45] scripts/headers.sh: add verbose option to make calls if defined

2015-02-16 Thread Mikko Rapeli
Useful when debugging the scripts. Signed-off-by: Mikko Rapeli --- scripts/headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/headers.sh b/scripts/headers.sh index 95ece06..aa62fd8 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh @@ -7,7 +7,7 @@ set -e

Re: [PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mike Snitzer
On Mon, Feb 16 2015 at 6:05pm -0500, Mikko Rapeli wrote: > Fixes compilation error: > > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ What userspace code are you compiling? Do you have a feel for when this stopped working? -- To unsubscribe from this list: send the line

Re: [PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
On Mon, Feb 16, 2015 at 06:32:54PM -0500, Mike Snitzer wrote: > On Mon, Feb 16 2015 at 6:05pm -0500, > Mikko Rapeli wrote: > > > Fixes compilation error: > > > > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ > > What userspace code are you compiling? Do you have a feel f

Re: [PATCH RESEND 1/12] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:48AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > FALLOC_FL_INSERT_RANGE command is the opposite command of > FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want to > add some data in the middle of file. FALLOC_FL_INSERT_RANGE will create

Re: [PATCH] module: do not print allocation-fail warning on bogus user buffer size

2015-02-16 Thread Rusty Russell
"Kirill A. Shutemov" writes: > init_module(2) passes user-specified buffer length directly to > vmalloc(). It makes warn_alloc_failed() to print out a lot of info into > dmesg if user specified insane size, like -1. > > Let's silence the warning. It doesn't add much value to -ENOMEM return > code.

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Rusty Russell
Andrey Ryabinin writes: > On 02/16/2015 05:58 AM, Rusty Russell wrote: >> Andrey Ryabinin writes: >>> This feature let us to detect accesses out of bounds of >>> global variables. This will work as for globals in kernel >>> image, so for globals in modules. Currently this won't work >>> for symbo

Re: [PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Chanwoo Choi
Hi Charles, On 02/17/2015 01:48 AM, Chanwoo Choi wrote: > Hi Charles, > > > On Tue, Feb 17, 2015 at 12:41 AM, Charles Keepax > wrote: >> arizona_extcon_do_magic does not lend a lot of clarity to the purpose >> of the function, and as all the registers used are described in the >> datasheet ther

Re: [PATCH 43/45] include/uapi/linux/netfilter_bridge.h: include if.h

2015-02-16 Thread Jan Engelhardt
On Tuesday 2015-02-17 00:05, Mikko Rapeli wrote: >Fixes userspace compilation errors like: > >error: field ‘in’ has incomplete type >struct in_addr in; > >+#include Patch 36/45 included linux/in.h instead of linux/if.h for addressing "in has incomplete type". Should this be used here too? -- T

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Jeff Layton
On Mon, 16 Feb 2015 11:24:03 -0800 Linus Torvalds wrote: > On Mon, Feb 16, 2015 at 10:46 AM, Linus Torvalds > wrote: > > > > This code is so broken that my initial reaction is "We need to just > > revert the crap". > > How the hell is flock_lock_file() supposed to work at all, btw? > > Say we

Re: [git pull] drm pull for 3.20-rc1

2015-02-16 Thread Linus Torvalds
On Sun, Feb 15, 2015 at 10:43 PM, Dave Airlie wrote: > > This is the main drm pull, it has a shared branch with some alsa crossover > but everything should be acked by relevant people. Ugh. Your diffstat is crap, because you don't show the inexact renames that are very abundant in the nouveau dri

RE: [PATCH v3] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU.

2015-02-16 Thread Wang, Xiaoming
Dear Wilk > -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Tuesday, February 17, 2015 6:13 AM > To: Wang, Xiaoming > Cc: r...@linux-mips.org; boris.ostrov...@oracle.com; > david.vra...@citrix.com; linux-m...@linux-mips.org; linux- > ker...@vger.ker

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Linus Torvalds
On Mon, Feb 16, 2015 at 4:02 PM, Jeff Layton wrote: > > Now that I look, it may be best to just revert this whole set for now. > Linus, are you amenable to doing that? Sure. But I'd prefer seeing how hard it would be to fix things first. If this was at the end of the release cycle, I'd revert it

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Jeff Layton
On Mon, 16 Feb 2015 16:21:30 -0800 Linus Torvalds wrote: > On Mon, Feb 16, 2015 at 4:02 PM, Jeff Layton wrote: > > > > Now that I look, it may be best to just revert this whole set for now. > > Linus, are you amenable to doing that? > > Sure. But I'd prefer seeing how hard it would be to fix th

Re: [RFC v2 01/10] fsl_bman: Add drivers for the Freescale DPAA BMan

2015-02-16 Thread Scott Wood
On Mon, 2015-02-16 at 09:46 -0600, Emil Medve wrote: > From: Geoff Thorpe > > Change-Id: I075944acf740dbaae861104c17a9ff7247dec1be > Signed-off-by: Geoff Thorpe Remove Change-Id. Provide a description of what BMan is. > diff --git a/drivers/soc/freescale/Kconfig b/drivers/soc/freescale/Kconfig

Re: [PATCH RESEND 2/12] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:49AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. > > 1) Make sure that both offset and len are block size aligned. > 2) Update the i_size of inode by len bytes. > 3) Compute the file's logical b

Re: [PATCH RESEND 4/12] xfsprog: xfsio: update xfs_io manpage for FALLOC_FL_INSERT_RANGE

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:51AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > Update xfs_io manpage for FALLOC_FL_INSERT_RANGE. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan Looks good. That'll fix up the complaining fstest ;) Reviewed-by: Dave Chinner -Dave -- Dav

Re: [PATCH RESEND 11/12] xfstests: fsx: Add fallocate insert range operation

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:58AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan > Reviewed-by: Brian Foster > --- > ltp/fsx.c | 124 > +

Re: [PATCH RESEND 3/12] ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:50AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for Ext4. > > 1) Make sure that both offset and len are block size aligned. > 2) Update the i_size of inode by len bytes. > 3) Compute the file's logical

[PATCH net-next] netfilter: Remove uses of return value of seq_printf/puts/putc

2015-02-16 Thread Joe Perches
These functions are soon going to return void so remove the return value uses. Convert the return value to test seq_has_overflowed() instead. Signed-off-by: Joe Perches --- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c | 4 +++- net/netfilter/nf_conntrack_acct.c |

[PATCH] batman-adv: Remove uses of return value of seq_printf

2015-02-16 Thread Joe Perches
This function is soon going to return void so remove the return value use. Convert the return value to test seq_has_overflowed() instead. Signed-off-by: Joe Perches --- net/batman-adv/gateway_client.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/net/b

Re: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-02-16 Thread Viet Nga Dao
Hi Brian, Could you please help me to review through this 2nd version? On Wed, Feb 11, 2015 at 12:53 PM, Viet Nga Dao wrote: > From: Viet Nga Dao > > Altera EPCQ Controller is a soft IP which enables access to Altera EPCQ and > EPCS flash chips. This patch adds driver for these devices. > > Sign

Re: [PATCH V6 03/10] USB: f81232: implement RX bulk-in ep

2015-02-16 Thread Peter Hung
Hello, Greg KH 於 2015/2/17 上午 03:41 寫道: + if (unlikely(data[i+0] & UART_LSR_BRK_ERROR_BITS)) { Never use unlikely() unless you can prove that it actually matters if you use it. Hint, it's almost impossible to prove, so don't use it, the compiler and processor look-ahead is almo

RE: [PATCH RESEND 11/12] xfstests: fsx: Add fallocate insert range operation

2015-02-16 Thread Namjae Jeon
> > On Tue, Feb 17, 2015 at 12:47:58AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. > > > > Signed-off-by: Namjae Jeon > > Signed-off-by: Ashish Sangwan > > Reviewed-by: Brian Foster > > --- > > ltp/fsx.c | 124 >

[PATCH] usb: move definition of PCI_VENDOR_ID_SYNOPSYS to linux/pci_ids.h

2015-02-16 Thread Joseph Kogut
Signed-off-by: Joseph Kogut --- drivers/usb/dwc2/pci.c | 1 - drivers/usb/dwc3/dwc3-pci.c | 2 -- include/linux/pci_ids.h | 2 ++ 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c index a4e724b..6646adb 100644 --- a/drivers/usb

RE: [PATCH RESEND 2/12] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
Hi Dave, I did totally check your review points. I will share the patch soon. Thanks for your review! > On Tue, Feb 17, 2015 at 12:47:49AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. > > > > 1) Make sure that both of

RE: [PATCH RESEND 1/12] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
> On Tue, Feb 17, 2015 at 12:47:48AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > FALLOC_FL_INSERT_RANGE command is the opposite command of > > FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want > > to > > add some data in the middle of file. FALLOC_FL_INSERT_R

[PATCH 3.2 011/152] KVM: s390: flush CPU on load control

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 2dca485f8740208604543c3960be31a5dd3ea603 upstream. some control register changes will flush some aspects of the CPU, e.g. POP explicitely mentions that for CR9-CR11

[PATCH 3.2 078/152] Revert "tcp: Apply device TSO segment limit earlier"

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 9f871e883277cc22c6217db806376dce52401a31, which was commit 1485348d2424e1131ea42efc033cbd9366462b01 upstream. It can cause connections to stall when a PMTU eve

[PATCH 3.2 036/152] Add a new PID/VID 0227/0930 for AR3012.

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Vincent Zwanenburg commit 89d2975fa06e66ea0d3665d91f799fb1ce4b8bad upstream. usb devices info: T: Bus=01 Lev=02 Prnt=05 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Su

[PATCH 3.2 021/152] mfd: tc6393xb: Fail ohci suspend if full state restore is required

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 1a5fb99de4850cba710d91becfa2c65653048589 upstream. Some boards with TC6393XB chip require full state restore during system resume thanks to chip's VCC being cut o

[PATCH 3.2 052/152] fib_trie: Fix /proc/net/fib_trie when CONFIG_IP_MULTIPLE_TABLES is not defined

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck commit a5a519b2710be43fce3cf9ce7bd8de8db3f2a9de upstream. In recent testing I had disabled CONFIG_IP_MULTIPLE_TABLES and as a result when I ran "cat /proc/net/fib_trie" the main

[PATCH 3.2 027/152] Bluetooth: Enable Atheros 0cf3:311e for firmware upload

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit b131237ca3995edad9efc162d0bc959c3b1dddc2 upstream. The device will bind to btusb without firmware, but with the original buggy firmware device discovery does not work. No d

[PATCH 3.2 064/152] ALSA: usb-audio: extend KEF X300A FU 10 tweak to Arcam rPAC

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Jaburek commit d70a1b9893f820fdbcdffac408c909c50f2e6b43 upstream. The Arcam rPAC seems to have the same problem - whenever anything (alsamixer, udevd, 3.9+ kernel from 60af3d037eb8c, ..) a

[PATCH 3.2 051/152] KEYS: Fix stale key registration at error path

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b26bdde5bb27f3f900e25a95e33a0c476c8c2c48 upstream. When loading encrypted-keys module, if the last check of aes_get_sizes() in init_encrypted() fails, the driver just return

[PATCH 3.2 053/152] Btrfs: fix fs corruption on transaction abort if device supports discard

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 678886bdc6378c1cbd5072da2c5a3035000214e3 upstream. When we abort a transaction we iterate over all the ranges marked as dirty in fs_info->freed_extents[0] and fs_info->free

[PATCH 3.2 048/152] drm/vmwgfx: Don't use memory accounting for kernel-side fence objects

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 1f563a6a46544602183e7493b6ef69769d3d76d9 upstream. Kernel side fence objects are used when unbinding resources and may thus be created as part of a memory reclaim operat

[PATCH 3.2 049/152] hp_accel: Add support for HP ZBook 15

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dominique Leuenberger commit 6583659e0f92e38079a8dd081e0a1181a0f37747 upstream. HP ZBook 15 laptop needs a non-standard mapping (x_inverted). BugLink: http://bugzilla.opensuse.org/show_bug.cgi

[PATCH 3.2 050/152] ALSA: usb-audio: Don't resubmit pending URBs at MIDI error recovery

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 66139a48cee1530c91f37c145384b4ee7043f0b7 upstream. In snd_usbmidi_error_timer(), the driver tries to resubmit MIDI input URBs to reactivate the MIDI stream, but this causes

[PATCH 3.2 041/152] USB: adutux: NULL dereferences on disconnect

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit fc625960edecfb57e62c2975d1f155155e28e6ba upstream. Both "dev->udev" and "interface->dev" are NULL. These printks are not very interesting so I just deleted them. Fixes: 0

[PATCH 3.2 040/152] eCryptfs: Remove buggy and unnecessary write in file name decode routine

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Halcrow commit 942080643bce061c3dd9d5718d3b745dcb39a8bc upstream. Dmitry Chernenkov used KASAN to discover that eCryptfs writes past the end of the allocated buffer during encrypted fil

[PATCH 3.2 060/152] isofs: Fix infinite looping over CE entries

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit f54e18f1b831c92f6512d2eedb224cd63d607d3d upstream. Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Cor

[PATCH 3.2 033/152] Bluetooth: Ignore isochronous endpoints for Intel USB bootloader

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit d92f2df0565ea04101d6ac04bdc10feeb1d93c94 upstream. The isochronous endpoints are not valid when the Intel Bluetooth controller boots up in bootloader mode. So just mark t

[PATCH 3.2 029/152] Bluetooth: btusb: Add IMC Networks (Broadcom based)

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jurgen Kramer commit 9113bfd82dc8ece9cbb898df8794f58a78a36e97 upstream. Add support for IMC Networks (Broadcom based) to btusb driver. Below the output of /sys/kernel/debug/usb/devices for thi

[PATCH 3.2 151/152] KVM: x86 emulator: reject SYSENTER in compatibility mode on AMD guests

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Avi Kivity commit 1a18a69b762374c423305772500f36eb8984ca52 upstream. If the guest thinks it's an AMD, it will not have prepared the SYSENTER MSRs, and if the guest executes SYSENTER in compatib

[PATCH 3.2 042/152] ALSA: hda - using uninitialized data

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 69eba10e606a80665f8573221fec589430d9d1cb upstream. In olden times the snd_hda_param_read() function always set "*start_id" but in 2007 we introduced a new return and it cau

Re: [PATCH 0/2] ASoC: pcm512x: Add knobs to allow and control overclocking

2015-02-16 Thread Mark Brown
On Mon, Feb 16, 2015 at 10:02:46PM +0100, Peter Rosin wrote: > I wasn't sure if I should add Documentation/* for these sysfs knobs > or not? A lot of knobs do not have docs... And I'm not sure how I > should name the doc-file since the pcm512x driver handles devices > connected with both i2c and s

[PATCH 3.2 034/152] Bluetooth: Add support for Acer [13D3:3432]

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Anantha Krishnan commit fa2f1394fe9c1a217213f02df77812701de6362f upstream. Add support for the QCA6174 chip. T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 30 Spd=12 MxCh= 0 D: Ver=

[PATCH 3.2 030/152] Bluetooth: sort the list of IDs in the source code

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 0b8800623d3f12dd40a039aa191d52bfa4eef5b4 upstream. This will help to manage table of supported IDs. There is no functional change. Signed-off-by: Andy Shevchenko Signe

[PATCH 3.2 063/152] x86/tls: Don't validate lm in set_thread_area() after all

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 upstream. It turns out that there's a lurking ABI issue. GCC, when compiling this in a 32-bit program: struct user_desc desc =

Re: [PATCH] usb: move definition of PCI_VENDOR_ID_SYNOPSYS to linux/pci_ids.h

2015-02-16 Thread Greg KH
On Mon, Feb 16, 2015 at 06:45:53PM -0700, Joseph Kogut wrote: > Signed-off-by: Joseph Kogut You need a changelog description here please. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http:

Re: [PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Mark Brown
On Mon, Feb 16, 2015 at 03:41:02PM +, Charles Keepax wrote: > arizona_extcon_do_magic does not lend a lot of clarity to the purpose > of the function, and as all the registers used are described in the > datasheet there is no need to obfuscate the code. This patch renames the > function to ariz

[PATCH 3.2 109/152] ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 237d28db036e411f22c03cfd5b0f6dc2aa9bf3bc upstream. If the function graph tracer traces a jprobe callback, the system will crash. This can easily be demonstrate

Re: [PATCH V4] tick/hotplug: Handover time related duties before cpu offline

2015-02-16 Thread Michael Ellerman
On Sat, 2015-01-31 at 09:44 +0530, Preeti U Murthy wrote: > These duties include do_timer to update jiffies and broadcast wakeups on those > platforms which do not have an external device to handle wakeup of cpus from > deep > idle states. The handover of these duties is not robust against a cpu o

[GIT PULL] arch/nios2 update for 3.20

2015-02-16 Thread Ley Foon Tan
Hi Linus Here is the nios2 update for 3.20: - add early printk support - add kgdb support - add compressed kernel support - bugfixes Please consider pulling. Regards Ley Foon The following changes since commit bfa76d49576599a4b9f9b7a71f23d73d6dcff735: Linux 3.19 (2015-02-08 18:54:22 -0800)

[PATCH 3.2 072/152] udf: Check component length before reading it

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit e237ec37ec154564f8690c5bd1795339955eeef9 upstream. Check that length specified in a component of a symlink fits in the input buffer we are reading. Also properly ignore componen

[PATCH 3.2 080/152] spi: dw: Fix detecting FIFO depth

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit d297933cc7fcfbaaf2d37570baac73287bf0357d upstream. Current code tries to find the highest valid fifo depth by checking the value it wrote to DW_SPI_TXFLTR. There are a few probl

[PATCH 3.2 105/152] crypto: prefix module autoloading with "crypto-"

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 5d26a105b5a73e5635eae0629b42fa0a90e07b7b upstream. This prefixes all crypto module loading with "crypto-" so we never run the risk of exposing module auto-loading to userspace

[PATCH 3.2 070/152] udf: Check path length when reading symlink

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 0e5cc9a40ada6046e6bc3bdfcd0c0d7e4b706b14 upstream. Symlink reading code does not check whether the resulting path fits into the page provided by the generic code. This isn't as

[PATCH 3.2 071/152] x86_64, vdso: Fix the vdso address randomization algorithm

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 394f56fe480140877304d342dec46d50dc823d46 upstream. The theory behind vdso randomization is that it's mapped at a random offset above the top of the stack. To avoid wasti

[PATCH 3.2 066/152] isofs: Fix unchecked printing of ER records

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 4e2024624e678f0ebb916e6192bd23c1f9fdf696 upstream. We didn't check length of rock ridge ER records before printing them. Thus corrupted isofs image can cause us to access and pr

[PATCH 3.2 068/152] udf: Verify symlink size before loading it

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a1d47b262952a45aae62bd49cfaf33dd76c11a2c upstream. UDF specification allows arbitrarily large symlinks. However we support only symlinks at most one block large. Check the lengt

[PATCH 3.2 086/152] ASoC: wm8960: Fix capture sample rate from 11250 to 11025

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Zidan Wang commit 22ee76daddb87f88d2336d1b4737ef27c4f307ac upstream. wm8960 codec can't support sample rate 11250, it must be 11025. Signed-off-by: Zidan Wang Acked-by: Charles Keepax Signed

[PATCH 3.2 082/152] virtio: use dev_to_virtio wrapper in virtio

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanlong Gao commit 9bffdca8c64a72ac54c47a552734ab457bc720d4 upstream. Use dev_to_virtio wrapper in virtio to make code clearly. Cc: Rusty Russell Cc: "Michael S. Tsirkin" Signed-off-by: Wanl

[PATCH 3.2 099/152] usb: gadget: udc: atmel: change setting for DMA

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Bo Shen commit f40afdddeb6c54ffd1e2920a5e93e363d6748db6 upstream. According to the datasheet, when transfer using DMA, the control setting for IN packet only need END_BUF_EN, END_BUF_IE, CH_EN,

[PATCH 3.2 067/152] udf: Verify i_size when loading inode

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit e159332b9af4b04d882dbcfe1bb0117f0a6d4b58 upstream. Verify that inode size is sane when loading inode with data stored in ICB. Otherwise we may get confused later when working wi

[PATCH 3.2 100/152] usb: gadget: udc: atmel: fix possible IN hang issue

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Bo Shen commit 6785a1034461c2d2c205215f63a50a740896e55b upstream. When receive data, the RXRDY in status register set by hardware after a new packet has been stored in the endpoint FIFO. When i

[PATCH 3.2 062/152] ceph: introduce global empty snap context

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: "Yan, Zheng" commit 97c85a828f36bbfffe9d77b977b65a5872b6cad4 upstream. Current snaphost code does not properly handle moving inode from one empty snap realm to another empty snap realm. After c

[PATCH 3.2 073/152] crypto: af_alg - fix backlog handling

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit 7e77bdebff5cb1e9876c561f69710b9ab8fa1f7e upstream. If a request is backlogged, it's complete() handler will get called twice: once with -EINPROGRESS, and once with the fina

[PATCH 3.2 094/152] mm: prevent endless growth of anon_vma hierarchy

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 7a3ef208e662f4b63d43a23f61a64a129c525bbc upstream. Constantly forking task causes unlimited grow of anon_vma chain. Each next child allocates new level of anon_vma

[PATCH 3.2 096/152] mm: protect set_page_dirty() from ongoing truncation

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 2d6d7f98284648c5ed113fe22a132148950b140f upstream. Tejun, while reviewing the code, spotted the following race condition between the dirtying and truncation of a page: _

[PATCH 3.2 085/152] USB: cp210x: add IDs for CEL USB sticks and MeshWorks devices

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: David Peterson commit 1ae78a4870989a354028cb17dabf819b595e70e3 upstream. Added virtual com port VID/PID entries for CEL USB sticks and MeshWorks devices. Signed-off-by: David Peterson Signed-

[PATCH 0/4] hw_random: bcm63xx-rng: misc cleanups and reorg

2015-02-16 Thread Florian Fainelli
Hi, This patchset prepares the driver to be built on non-MIPS bcm63xx architectures such as the ARM bcm63xx variants, thanks! Although patch 3 touches a MIPS header file, there should be little to no conflicts there if all patches went through the hw_random tree (is there one?) Thanks! Florian

<    1   2   3   4   5   6   7   8   >