Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function from x86

2017-09-11 Thread Dave Young
Hi, On 09/08/17 at 12:16pm, AKASHI Takahiro wrote: [snip] > --- a/include/linux/kexec.h > +++ b/include/linux/kexec.h > @@ -162,6 +162,25 @@ int __weak arch_kexec_walk_mem(struct kexec_buf *kbuf, > int (*func)(u64, u64, void *)); > extern int kexec_add_buffer(struct

Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function from x86

2017-09-11 Thread Dave Young
Hi, On 09/08/17 at 12:16pm, AKASHI Takahiro wrote: [snip] > --- a/include/linux/kexec.h > +++ b/include/linux/kexec.h > @@ -162,6 +162,25 @@ int __weak arch_kexec_walk_mem(struct kexec_buf *kbuf, > int (*func)(u64, u64, void *)); > extern int kexec_add_buffer(struct

[PATCH] video: fbdev: Fix an errro handling path in 'au1200fb_drv_probe()'

2017-09-11 Thread Christophe JAILLET
If 'dmam_alloc_attrs()' fails, we must go through the error handling code, as done elsewhere in this function. Otherwise, there is a resource leak. Signed-off-by: Christophe JAILLET --- I'm also puzzled by the 'framebuffer_alloc()' call a few lines above. 'ret' is

[PATCH] video: fbdev: Fix an errro handling path in 'au1200fb_drv_probe()'

2017-09-11 Thread Christophe JAILLET
If 'dmam_alloc_attrs()' fails, we must go through the error handling code, as done elsewhere in this function. Otherwise, there is a resource leak. Signed-off-by: Christophe JAILLET --- I'm also puzzled by the 'framebuffer_alloc()' call a few lines above. 'ret' is known to be 0 at this point. I

Re: [PATCH -tip v2] kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT

2017-09-11 Thread Paul E. McKenney
On Tue, Sep 12, 2017 at 10:10:51AM +0900, Masami Hiramatsu wrote: > To enable jump optimized probe with CONFIG_PREEMPT, use > synchronize_rcu_tasks() to wait for all tasks preempted > on trampoline code back on track. > > Since the jump optimized kprobes can replace multiple > instructions, there

Re: [PATCH -tip v2] kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT

2017-09-11 Thread Paul E. McKenney
On Tue, Sep 12, 2017 at 10:10:51AM +0900, Masami Hiramatsu wrote: > To enable jump optimized probe with CONFIG_PREEMPT, use > synchronize_rcu_tasks() to wait for all tasks preempted > on trampoline code back on track. > > Since the jump optimized kprobes can replace multiple > instructions, there

Re: usb/joystick: warnings in xpad_start_input and xpad_try_sending_next_out_packet

2017-09-11 Thread Dmitry Vyukov
On Tue, Sep 12, 2017 at 5:42 AM, Cameron Gutman wrote: > On 09/11/2017 05:26 AM, Andrey Konovalov wrote: >> Hi! >> >> I've got the following crashes while fuzzing the kernel with syzkaller. >> >> On commit 81a84ad3cb5711cec79f4dd53a4ce026b092c432 (Sep 3). >> >> usb 1-1:

Re: usb/joystick: warnings in xpad_start_input and xpad_try_sending_next_out_packet

2017-09-11 Thread Dmitry Vyukov
On Tue, Sep 12, 2017 at 5:42 AM, Cameron Gutman wrote: > On 09/11/2017 05:26 AM, Andrey Konovalov wrote: >> Hi! >> >> I've got the following crashes while fuzzing the kernel with syzkaller. >> >> On commit 81a84ad3cb5711cec79f4dd53a4ce026b092c432 (Sep 3). >> >> usb 1-1: BOGUS urb xfer, pipe 1 !=

Re: [PATCH 4/5] mm:swap: respect page_cluster for readahead

2017-09-11 Thread Huang, Ying
Minchan Kim writes: > page_cluster 0 means "we don't want readahead" so in the case, > let's skip the readahead detection logic. > > Cc: "Huang, Ying" > Signed-off-by: Minchan Kim > --- > include/linux/swap.h | 3 ++- > 1 file

Re: [PATCH 4/5] mm:swap: respect page_cluster for readahead

2017-09-11 Thread Huang, Ying
Minchan Kim writes: > page_cluster 0 means "we don't want readahead" so in the case, > let's skip the readahead detection logic. > > Cc: "Huang, Ying" > Signed-off-by: Minchan Kim > --- > include/linux/swap.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

Re: btusb "firmware request while host is not available" at resume

2017-09-11 Thread Marcel Holtmann
Hi Luis, To confirm, reverting this fixes the problem I was seeing in 4.13. I've queued it up for the next 4.13-stable release as well. >>> >>> Commit 81f95076281f ("firmware: add sanity check on shutdown/suspend") may >>> seem kludgy but the reason for it was to cleanup the horrible

Re: btusb "firmware request while host is not available" at resume

2017-09-11 Thread Marcel Holtmann
Hi Luis, To confirm, reverting this fixes the problem I was seeing in 4.13. I've queued it up for the next 4.13-stable release as well. >>> >>> Commit 81f95076281f ("firmware: add sanity check on shutdown/suspend") may >>> seem kludgy but the reason for it was to cleanup the horrible

[PATCH v2 4/5] ext4: add ext4_should_use_dax()

2017-09-11 Thread Ross Zwisler
This helper, in the spirit of ext4_should_dioread_nolock() et al., replaces the complex conditional in ext4_set_inode_flags(). Signed-off-by: Ross Zwisler --- fs/ext4/inode.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git

[PATCH v2 4/5] ext4: add ext4_should_use_dax()

2017-09-11 Thread Ross Zwisler
This helper, in the spirit of ext4_should_dioread_nolock() et al., replaces the complex conditional in ext4_set_inode_flags(). Signed-off-by: Ross Zwisler --- fs/ext4/inode.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/fs/ext4/inode.c

[PATCH v2 5/5] ext4: remove duplicate extended attributes defs

2017-09-11 Thread Ross Zwisler
The following commit: commit 9b7365fc1c82 ("ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support") added several defines related to extended attributes to ext4.h. They were added within an #ifndef FS_IOC_FSGETXATTR block with the comment: /* Until the uapi changes get merged for

[PATCH v2 1/5] ext4: prevent data corruption with inline data + DAX

2017-09-11 Thread Ross Zwisler
If an inode has inline data it is currently prevented from using DAX by a check in ext4_set_inode_flags(). When the inode grows inline data via ext4_create_inline_data() or removes its inline data via ext4_destroy_inline_data_nolock(), the value of S_DAX can change. Currently these changes are

[PATCH v2 5/5] ext4: remove duplicate extended attributes defs

2017-09-11 Thread Ross Zwisler
The following commit: commit 9b7365fc1c82 ("ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support") added several defines related to extended attributes to ext4.h. They were added within an #ifndef FS_IOC_FSGETXATTR block with the comment: /* Until the uapi changes get merged for

[PATCH v2 1/5] ext4: prevent data corruption with inline data + DAX

2017-09-11 Thread Ross Zwisler
If an inode has inline data it is currently prevented from using DAX by a check in ext4_set_inode_flags(). When the inode grows inline data via ext4_create_inline_data() or removes its inline data via ext4_destroy_inline_data_nolock(), the value of S_DAX can change. Currently these changes are

[PATCH v2 0/5] ext4: DAX data corruption fixes

2017-09-11 Thread Ross Zwisler
This series prevents a pair of data corruptions with ext4 + DAX. The first such corruption happens when combining the inline data feature with DAX, and the second happens when combining data journaling with DAX. Both can be reliably reproduced with the fstests that I have posted here:

[PATCH v2 0/5] ext4: DAX data corruption fixes

2017-09-11 Thread Ross Zwisler
This series prevents a pair of data corruptions with ext4 + DAX. The first such corruption happens when combining the inline data feature with DAX, and the second happens when combining data journaling with DAX. Both can be reliably reproduced with the fstests that I have posted here:

[PATCH v2 3/5] ext4: add sanity check for encryption + DAX

2017-09-11 Thread Ross Zwisler
We prevent DAX from being used on inodes which are using ext4's built in encryption via a check in ext4_set_inode_flags(). We do have what appears to be an unsafe transition of S_DAX in ext4_set_context(), though, where S_DAX can get disabled without us doing a proper writeback + invalidate.

[PATCH v2 3/5] ext4: add sanity check for encryption + DAX

2017-09-11 Thread Ross Zwisler
We prevent DAX from being used on inodes which are using ext4's built in encryption via a check in ext4_set_inode_flags(). We do have what appears to be an unsafe transition of S_DAX in ext4_set_context(), though, where S_DAX can get disabled without us doing a proper writeback + invalidate.

[PATCH v2 2/5] ext4: prevent data corruption with journaling + DAX

2017-09-11 Thread Ross Zwisler
The current code has the potential for data corruption when changing an inode's journaling mode, as that can result in a subsequent unsafe change in S_DAX. I've captured an instance of this data corruption in the following fstest: https://patchwork.kernel.org/patch/9948377/ Prevent this data

[PATCH v2 2/5] ext4: prevent data corruption with journaling + DAX

2017-09-11 Thread Ross Zwisler
The current code has the potential for data corruption when changing an inode's journaling mode, as that can result in a subsequent unsafe change in S_DAX. I've captured an instance of this data corruption in the following fstest: https://patchwork.kernel.org/patch/9948377/ Prevent this data

[PATCH 2/2] zram: remove zlib from the list of recommended algorithms

2017-09-11 Thread Sergey Senozhatsky
ZSTD tends to outperform deflate/inflate, thus we remove zlib from the list of recommended algorithms and recommend zstd instead. Signed-off-by: Sergey Senozhatsky Suggested-by: Minchan Kim --- drivers/block/zram/zcomp.c | 3 --- 1 file

[PATCH 2/2] zram: remove zlib from the list of recommended algorithms

2017-09-11 Thread Sergey Senozhatsky
ZSTD tends to outperform deflate/inflate, thus we remove zlib from the list of recommended algorithms and recommend zstd instead. Signed-off-by: Sergey Senozhatsky Suggested-by: Minchan Kim --- drivers/block/zram/zcomp.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 1/2] zram: add zstd to the supported algorithms list

2017-09-11 Thread Sergey Senozhatsky
Add ZSTD to the list of supported compression algorithms. ZRAM fio perf test: LZO DEFLATE ZSTD #jobs1 WRITE: (2180MB/s) (77.2MB/s) (1429MB/s) WRITE: (1617MB/s) (77.7MB/s) (1202MB/s) READ:(426MB/s)

[PATCH 1/2] zram: add zstd to the supported algorithms list

2017-09-11 Thread Sergey Senozhatsky
Add ZSTD to the list of supported compression algorithms. ZRAM fio perf test: LZO DEFLATE ZSTD #jobs1 WRITE: (2180MB/s) (77.2MB/s) (1429MB/s) WRITE: (1617MB/s) (77.7MB/s) (1202MB/s) READ:(426MB/s)

Re: [PATCH v2] openvswitch: Fix an error handling path in 'ovs_nla_init_match_and_action()'

2017-09-11 Thread Pravin Shelar
On Mon, Sep 11, 2017 at 12:56 PM, Christophe JAILLET wrote: > All other error handling paths in this function go through the 'error' > label. This one should do the same. > > Fixes: 9cc9a5cb176c ("datapath: Avoid using stack larger than 1024.") > Signed-off-by:

Re: [PATCH v2] openvswitch: Fix an error handling path in 'ovs_nla_init_match_and_action()'

2017-09-11 Thread Pravin Shelar
On Mon, Sep 11, 2017 at 12:56 PM, Christophe JAILLET wrote: > All other error handling paths in this function go through the 'error' > label. This one should do the same. > > Fixes: 9cc9a5cb176c ("datapath: Avoid using stack larger than 1024.") > Signed-off-by: Christophe JAILLET > --- > I think

Re: [PATCH 3/5] mm:swap: introduce SWP_SYNCHRONOUS_IO

2017-09-11 Thread Sergey Senozhatsky
On (09/12/17 11:37), Minchan Kim wrote: [..] > If rw-page based fast storage is used for swap devices, we need to > detect it to enhance swap IO operations. > This patch is preparation for optimizing of swap-in operation with > next patch. > > Signed-off-by: Minchan Kim > ---

Re: [PATCH 3/5] mm:swap: introduce SWP_SYNCHRONOUS_IO

2017-09-11 Thread Sergey Senozhatsky
On (09/12/17 11:37), Minchan Kim wrote: [..] > If rw-page based fast storage is used for swap devices, we need to > detect it to enhance swap IO operations. > This patch is preparation for optimizing of swap-in operation with > next patch. > > Signed-off-by: Minchan Kim > --- >

[PATCH 2/3] ext4: test for DAX + journaling corruption

2017-09-11 Thread Ross Zwisler
Add a regression test for the following kernel commit: ext4: prevent data corruption with journaling + DAX The test passes if either we successfully compare the data between the mmap with journaling turned on and the one with journaling turned off, or if we fail the chattr command to turn on

[PATCH 2/3] ext4: test for DAX + journaling corruption

2017-09-11 Thread Ross Zwisler
Add a regression test for the following kernel commit: ext4: prevent data corruption with journaling + DAX The test passes if either we successfully compare the data between the mmap with journaling turned on and the one with journaling turned off, or if we fail the chattr command to turn on

[PATCH 1/3] .gitignore: ignore cscope files

2017-09-11 Thread Ross Zwisler
Signed-off-by: Ross Zwisler --- .gitignore | 4 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 28fe84d..2accc37 100644 --- a/.gitignore +++ b/.gitignore @@ -238,3 +238,7 @@ /tests/xfs/033.out /tests/xfs/071.out /tests/xfs/096.out

[PATCH 1/3] .gitignore: ignore cscope files

2017-09-11 Thread Ross Zwisler
Signed-off-by: Ross Zwisler --- .gitignore | 4 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 28fe84d..2accc37 100644 --- a/.gitignore +++ b/.gitignore @@ -238,3 +238,7 @@ /tests/xfs/033.out /tests/xfs/071.out /tests/xfs/096.out + +# cscope files +cscope.*

[PATCH 3/3] ext4: test for inline data + DAX corruption

2017-09-11 Thread Ross Zwisler
Add a regression test for the following kernel commit: ext4: prevent data corruption with inline data + DAX The test passes either if we don't encounter corruption, or if mounting with DAX + inline data fails. The latter is the way that we prevent this issue in the kernel. Signed-off-by:

[PATCH 3/3] ext4: test for inline data + DAX corruption

2017-09-11 Thread Ross Zwisler
Add a regression test for the following kernel commit: ext4: prevent data corruption with inline data + DAX The test passes either if we don't encounter corruption, or if mounting with DAX + inline data fails. The latter is the way that we prevent this issue in the kernel. Signed-off-by:

Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and purgatory segments

2017-09-11 Thread AKASHI Takahiro
On Mon, Sep 11, 2017 at 02:47:54PM +0800, Dave Young wrote: > Hi, > > On 09/08/17 at 12:16pm, AKASHI Takahiro wrote: > > load_other_segments() sets up and adds all the memory segments necessary > > other than kernel, including initrd, device-tree blob and purgatory. > > Most of the code was

Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and purgatory segments

2017-09-11 Thread AKASHI Takahiro
On Mon, Sep 11, 2017 at 02:47:54PM +0800, Dave Young wrote: > Hi, > > On 09/08/17 at 12:16pm, AKASHI Takahiro wrote: > > load_other_segments() sets up and adds all the memory segments necessary > > other than kernel, including initrd, device-tree blob and purgatory. > > Most of the code was

Re: [PATCH 8/9] arm64: enable KEXEC_FILE config

2017-09-11 Thread AKASHI Takahiro
On Sun, Sep 10, 2017 at 11:41:47PM +0800, kbuild test robot wrote: > Hi AKASHI, > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.13 next-20170908] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url:

Re: [PATCH 8/9] arm64: enable KEXEC_FILE config

2017-09-11 Thread AKASHI Takahiro
On Sun, Sep 10, 2017 at 11:41:47PM +0800, kbuild test robot wrote: > Hi AKASHI, > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.13 next-20170908] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url:

Re: [PATCH] Fix: xtensa: add missing sync_core

2017-09-11 Thread Max Filippov
Hi Mathieu, On Tue, Aug 29, 2017 at 11:55 AM, Mathieu Desnoyers wrote: > - On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: >> On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers >> wrote: >>> The membarrier

Re: [PATCH] Fix: xtensa: add missing sync_core

2017-09-11 Thread Max Filippov
Hi Mathieu, On Tue, Aug 29, 2017 at 11:55 AM, Mathieu Desnoyers wrote: > - On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: >> On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers >> wrote: >>> The membarrier system call now requires all architectures to implement >>>

Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands

2017-09-11 Thread Daeho Jeong
> Yeah, that's exactly like what I made a mistake before. > I should have mentioned that earlier. :) Or I think the previous code which used "iter++" might be right. You might just want to check the fixed number of small discards, DISCARD_ISSUE_RATE, when issue_cond is "true". Anyways, I have

Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands

2017-09-11 Thread Daeho Jeong
> Yeah, that's exactly like what I made a mistake before. > I should have mentioned that earlier. :) Or I think the previous code which used "iter++" might be right. You might just want to check the fixed number of small discards, DISCARD_ISSUE_RATE, when issue_cond is "true". Anyways, I have

Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands

2017-09-11 Thread Jaegeuk Kim
On 09/12, Chao Yu wrote: > On 2017/9/12 9:53, Chao Yu wrote: > > On 2017/9/11 11:38, Jaegeuk Kim wrote: > >> If issue_cond is true, it does double count for # of issued commands. > >> > >> Signed-off-by: Jaegeuk Kim > > > > Reviewed-by: Chao Yu > > As

Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands

2017-09-11 Thread Jaegeuk Kim
On 09/12, Chao Yu wrote: > On 2017/9/12 9:53, Chao Yu wrote: > > On 2017/9/11 11:38, Jaegeuk Kim wrote: > >> If issue_cond is true, it does double count for # of issued commands. > >> > >> Signed-off-by: Jaegeuk Kim > > > > Reviewed-by: Chao Yu > > As Daeho Jeong mentioned, the change makes

linux-next: Tree for Sep 12

2017-09-11 Thread Stephen Rothwell
Hi all, Please do not add any v4.15 related material to your linux-next included branches until after v4.14-rc1 has been released. Changes since 20170911: Non-merge commits (relative to Linus' tree): 1124 1423 files changed, 55946 insertions(+), 14234 deletions

linux-next: Tree for Sep 12

2017-09-11 Thread Stephen Rothwell
Hi all, Please do not add any v4.15 related material to your linux-next included branches until after v4.14-rc1 has been released. Changes since 20170911: Non-merge commits (relative to Linus' tree): 1124 1423 files changed, 55946 insertions(+), 14234 deletions

Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands

2017-09-11 Thread Chao Yu
On 2017/9/12 9:53, Chao Yu wrote: > On 2017/9/11 11:38, Jaegeuk Kim wrote: >> If issue_cond is true, it does double count for # of issued commands. >> >> Signed-off-by: Jaegeuk Kim > > Reviewed-by: Chao Yu As Daeho Jeong mentioned, the change makes 'iter

Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands

2017-09-11 Thread Chao Yu
On 2017/9/12 9:53, Chao Yu wrote: > On 2017/9/11 11:38, Jaegeuk Kim wrote: >> If issue_cond is true, it does double count for # of issued commands. >> >> Signed-off-by: Jaegeuk Kim > > Reviewed-by: Chao Yu As Daeho Jeong mentioned, the change makes 'iter > DISCARD_ISSUE_RATE' dead code, I just

[PATCH v2 2/4] ARM: dts: omap3-evm: Add OMAP3530 specific device tree processor data

2017-09-11 Thread Derald D. Woods
This commit allows OMAP3530 variants to use common data that is available in 'omap3-evm-processor-common.dtsi'. It adds proper pinmux macros for 'omap3_pmx_core2' on OMAP3430. The Micron NAND chip is also added for the TMDSEVM3530 processor module. Signed-off-by: Derald D. Woods

[PATCH v2 2/4] ARM: dts: omap3-evm: Add OMAP3530 specific device tree processor data

2017-09-11 Thread Derald D. Woods
This commit allows OMAP3530 variants to use common data that is available in 'omap3-evm-processor-common.dtsi'. It adds proper pinmux macros for 'omap3_pmx_core2' on OMAP3430. The Micron NAND chip is also added for the TMDSEVM3530 processor module. Signed-off-by: Derald D. Woods ---

[PATCH v2 1/4] ARM: dts: omap3-evm-37xx: Add common processor module support

2017-09-11 Thread Derald D. Woods
This commit moves common OMAP3-EVM processor module device tree data to a separate include file. This will allow for 'omap3-evm.dts' to use device tree data that is unique to the OMAP3530 version of the processor module, while making use of the work already done for the 'omap3-evm-37xx.dts'.

[PATCH v2 3/4] ARM: dts: omap3: Fix Sharp LS037V7DW01 compatible string and envdd supply

2017-09-11 Thread Derald D. Woods
The Sharp panel driver and regulator are now selected properly. This commit eliminates a dummy regulator assignment. Signed-off-by: Derald D. Woods --- arch/arm/boot/dts/omap3-panel-sharp-ls037v7dw01.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v2 1/4] ARM: dts: omap3-evm-37xx: Add common processor module support

2017-09-11 Thread Derald D. Woods
This commit moves common OMAP3-EVM processor module device tree data to a separate include file. This will allow for 'omap3-evm.dts' to use device tree data that is unique to the OMAP3530 version of the processor module, while making use of the work already done for the 'omap3-evm-37xx.dts'.

[PATCH v2 3/4] ARM: dts: omap3: Fix Sharp LS037V7DW01 compatible string and envdd supply

2017-09-11 Thread Derald D. Woods
The Sharp panel driver and regulator are now selected properly. This commit eliminates a dummy regulator assignment. Signed-off-by: Derald D. Woods --- arch/arm/boot/dts/omap3-panel-sharp-ls037v7dw01.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 0/4] Update TMDSEVM3530 support for omap3-evm

2017-09-11 Thread Derald D. Woods
This patch set allows TMDSEVM3530(omap3-evm.dts) to boot using common processor module data that is shared with 'omap3-evm-37xx.dts'. A new common file for processor module data is introduced to help facilitate the updated OMAP3530 support. Changes in v2 - - Pull in change from

[PATCH v2 4/4] ARM: dts: omap3-evm: Add DSS {vdds_dsi,vdda_video}-supply references

2017-09-11 Thread Derald D. Woods
This commit eliminates two dummy regulator assignments. Signed-off-by: Derald D. Woods --- arch/arm/boot/dts/omap3-evm-processor-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/omap3-evm-processor-common.dtsi

[PATCH v2 0/4] Update TMDSEVM3530 support for omap3-evm

2017-09-11 Thread Derald D. Woods
This patch set allows TMDSEVM3530(omap3-evm.dts) to boot using common processor module data that is shared with 'omap3-evm-37xx.dts'. A new common file for processor module data is introduced to help facilitate the updated OMAP3530 support. Changes in v2 - - Pull in change from

[PATCH v2 4/4] ARM: dts: omap3-evm: Add DSS {vdds_dsi,vdda_video}-supply references

2017-09-11 Thread Derald D. Woods
This commit eliminates two dummy regulator assignments. Signed-off-by: Derald D. Woods --- arch/arm/boot/dts/omap3-evm-processor-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/omap3-evm-processor-common.dtsi

Re: [PATCH v2 2/3] livepatch: add atomic replace

2017-09-11 Thread Jason Baron
On 09/11/2017 09:53 AM, Petr Mladek wrote: > On Wed 2017-08-30 17:38:44, Jason Baron wrote: >> When doing cumulative patches, if patch A introduces a change to function 1, >> and patch B reverts the change to function 1 and introduces changes to say >> function 2 and 3 as well, the change that

Re: [PATCH v2 2/3] livepatch: add atomic replace

2017-09-11 Thread Jason Baron
On 09/11/2017 09:53 AM, Petr Mladek wrote: > On Wed 2017-08-30 17:38:44, Jason Baron wrote: >> When doing cumulative patches, if patch A introduces a change to function 1, >> and patch B reverts the change to function 1 and introduces changes to say >> function 2 and 3 as well, the change that

[PATCH] nios2: time: Read timer in get_cycles only if initialized

2017-09-11 Thread Guenter Roeck
Mainline crashes as follows when running nios2 images. On node 0 totalpages: 65536 free_area_init_node: node 0, pgdat c8408fa0, node_mem_map c8726000 Normal zone: 512 pages used for memmap Normal zone: 0 pages reserved Normal zone: 65536 pages, LIFO batch:15 Unable to handle kernel NULL

[PATCH] nios2: time: Read timer in get_cycles only if initialized

2017-09-11 Thread Guenter Roeck
Mainline crashes as follows when running nios2 images. On node 0 totalpages: 65536 free_area_init_node: node 0, pgdat c8408fa0, node_mem_map c8726000 Normal zone: 512 pages used for memmap Normal zone: 0 pages reserved Normal zone: 65536 pages, LIFO batch:15 Unable to handle kernel NULL

Re: usb/joystick: warnings in xpad_start_input and xpad_try_sending_next_out_packet

2017-09-11 Thread Cameron Gutman
On 09/11/2017 05:26 AM, Andrey Konovalov wrote: > Hi! > > I've got the following crashes while fuzzing the kernel with syzkaller. > > On commit 81a84ad3cb5711cec79f4dd53a4ce026b092c432 (Sep 3). > > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 > WARNING: CPU: 1 PID: 2574 at

Re: usb/joystick: warnings in xpad_start_input and xpad_try_sending_next_out_packet

2017-09-11 Thread Cameron Gutman
On 09/11/2017 05:26 AM, Andrey Konovalov wrote: > Hi! > > I've got the following crashes while fuzzing the kernel with syzkaller. > > On commit 81a84ad3cb5711cec79f4dd53a4ce026b092c432 (Sep 3). > > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 > WARNING: CPU: 1 PID: 2574 at

[PATCH v3 2/5] staging: typec: tcpm: Document data structures

2017-09-11 Thread Guenter Roeck
Document struct tcpc_config and struct tcpc_dev. Drop unused TCPC_USB_SWITCH_RESTORE. Signed-off-by: Guenter Roeck --- v2, v3: No change drivers/staging/typec/tcpm.h | 57 ++-- 1 file changed, 50 insertions(+), 7 deletions(-) diff

[PATCH v3 2/5] staging: typec: tcpm: Document data structures

2017-09-11 Thread Guenter Roeck
Document struct tcpc_config and struct tcpc_dev. Drop unused TCPC_USB_SWITCH_RESTORE. Signed-off-by: Guenter Roeck --- v2, v3: No change drivers/staging/typec/tcpm.h | 57 ++-- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git

[PATCH v3 5/5] usb: typec: fusb302: Move out of staging

2017-09-11 Thread Guenter Roeck
The driver is in good enough shape to be moved out of staging. Do it. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M v3: No change drivers/staging/typec/Kconfig| 2 -- drivers/staging/typec/Makefile | 1 -

[PATCH v3 5/5] usb: typec: fusb302: Move out of staging

2017-09-11 Thread Guenter Roeck
The driver is in good enough shape to be moved out of staging. Do it. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M v3: No change drivers/staging/typec/Kconfig| 2 -- drivers/staging/typec/Makefile | 1 -

[PATCH v3 4/5] typec: tcpm: Move out of staging

2017-09-11 Thread Guenter Roeck
Move tcpm (USB Type-C Port Manager) out of staging. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M v3: No change drivers/staging/typec/Kconfig | 8 drivers/staging/typec/Makefile| 1 -

[PATCH v3 4/5] typec: tcpm: Move out of staging

2017-09-11 Thread Guenter Roeck
Move tcpm (USB Type-C Port Manager) out of staging. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M v3: No change drivers/staging/typec/Kconfig | 8 drivers/staging/typec/Makefile| 1 - drivers/staging/typec/TODO

[PATCH v3 1/5] staging: typec: tcpm: Drop commented out code

2017-09-11 Thread Guenter Roeck
Commented out code can be added as needed. Drop it. Also drop TODO and an obsolete XXX comment. Signed-off-by: Guenter Roeck --- v2, v3: No change drivers/staging/typec/tcpm.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff

[PATCH v3 1/5] staging: typec: tcpm: Drop commented out code

2017-09-11 Thread Guenter Roeck
Commented out code can be added as needed. Drop it. Also drop TODO and an obsolete XXX comment. Signed-off-by: Guenter Roeck --- v2, v3: No change drivers/staging/typec/tcpm.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git

[PATCH v3 3/5] staging: typec: pd: Document struct pd_message

2017-09-11 Thread Guenter Roeck
struct pd_message is the format of a PD message as seen on the wire. Signed-off-by: Guenter Roeck --- v2: No change v3: Fix document tag drivers/staging/typec/pd.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/typec/pd.h

[PATCH v3 3/5] staging: typec: pd: Document struct pd_message

2017-09-11 Thread Guenter Roeck
struct pd_message is the format of a PD message as seen on the wire. Signed-off-by: Guenter Roeck --- v2: No change v3: Fix document tag drivers/staging/typec/pd.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h index

Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

2017-09-11 Thread Max Filippov
On Sun, Sep 10, 2017 at 6:58 PM, Max Filippov wrote: > On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck wrote: >> xtensa:allmodconfig fails to build in mainline with compiler errors >> as follows. >> >> drivers/staging/rtl8723bs/core/rtw_ap.c: In function

Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

2017-09-11 Thread Max Filippov
On Sun, Sep 10, 2017 at 6:58 PM, Max Filippov wrote: > On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck wrote: >> xtensa:allmodconfig fails to build in mainline with compiler errors >> as follows. >> >> drivers/staging/rtl8723bs/core/rtw_ap.c: In function ‘expire_timeout_chk’: >>

[PATCH 2/7] Minor changes in hid-alps.c for support new Alps device(Separate U1 device code)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, separate U1 device code Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 120 +++-- 1 file changed, 67 insertions(+), 53 deletions(-) diff --git

[PATCH 2/7] Minor changes in hid-alps.c for support new Alps device(Separate U1 device code)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, separate U1 device code Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 120 +++-- 1 file changed, 67 insertions(+), 53 deletions(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c

[PATCH 1/7] Minor changes in hid-alps.c for support new Alps device(Delete unnecessary structure)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, clean up the source code -Delete unnecessary structure Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 69 +- 1 file changed, 34 insertions(+), 35

[PATCH 1/7] Minor changes in hid-alps.c for support new Alps device(Delete unnecessary structure)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, clean up the source code -Delete unnecessary structure Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 69 +- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git

[PATCH 7/7] Support Alps U1 USB device

2017-09-11 Thread Masaki Ota
From: Masaki Ota -Add T4 USB device code and Product ID -This device is used on HP Elite x2 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 35 +-- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h

[PATCH 7/7] Support Alps U1 USB device

2017-09-11 Thread Masaki Ota
From: Masaki Ota -Add T4 USB device code and Product ID -This device is used on HP Elite x2 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 35 +-- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 27 insertions(+), 10

[PATCH 4/7] Minor changes in hid-alps.c for support new Alps device(replace some variables)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, replace some variables Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 67 -- 1 file changed, 27 insertions(+), 40 deletions(-) diff --git

[PATCH 4/7] Minor changes in hid-alps.c for support new Alps device(replace some variables)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, replace some variables Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 67 -- 1 file changed, 27 insertions(+), 40 deletions(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c

[PATCH 3/7] Minor changes in hid-alps.c for support new Alps device(Add some variables)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, add x_min, y_min, max_fingers variables Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git

[PATCH 3/7] Minor changes in hid-alps.c for support new Alps device(Add some variables)

2017-09-11 Thread Masaki Ota
From: Masaki Ota -To support Alps T4 device, add x_min, y_min, max_fingers variables Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c

[PATCH 6/7] Add new U1 device ID for supporting it

2017-09-11 Thread Masaki Ota
From: Masaki Ota -Add new U1 device Product ID -This device is used on HP Elite book x360 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 3 +++ drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 5

[PATCH 6/7] Add new U1 device ID for supporting it

2017-09-11 Thread Masaki Ota
From: Masaki Ota -Add new U1 device Product ID -This device is used on HP Elite book x360 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 3 +++ drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-alps.c

[PATCH 5/7] Support new Alps device that name is T4

2017-09-11 Thread Masaki Ota
From: Masaki Ota -Add T4 device code and Product ID -This device is used on HP EliteBook 1000 series and Zbook Stduio Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 343 ++---

[PATCH 5/7] Support new Alps device that name is T4

2017-09-11 Thread Masaki Ota
From: Masaki Ota -Add T4 device code and Product ID -This device is used on HP EliteBook 1000 series and Zbook Stduio Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 343 ++--- drivers/hid/hid-core.c | 3 +- drivers/hid/hid-ids.h | 1 + 3

[GIT PULL] Thermal management updates for v4.14-rc1

2017-09-11 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.14-rc1 with top-most commit b32b5e14b4e0d40e06f094d2593b447e00acdf37:   Merge branches 'thermal-core', 'thermal-soc', 'thermal-intel' and

[GIT PULL] Thermal management updates for v4.14-rc1

2017-09-11 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.14-rc1 with top-most commit b32b5e14b4e0d40e06f094d2593b447e00acdf37:   Merge branches 'thermal-core', 'thermal-soc', 'thermal-intel' and

[PATCH] Support new Alps HID Touchpad device

2017-09-11 Thread Masaki Ota
Hi, Jiri, Benjamin, This is the patch for support new Alps HID Touchpad device. I submitted these patch before, but it was not completed. So I separate the patch to some parts and release it again. Best Regards, Masaki Ota

[PATCH] Support new Alps HID Touchpad device

2017-09-11 Thread Masaki Ota
Hi, Jiri, Benjamin, This is the patch for support new Alps HID Touchpad device. I submitted these patch before, but it was not completed. So I separate the patch to some parts and release it again. Best Regards, Masaki Ota

[PATCH 0/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag and improve Denali driver

2017-09-11 Thread Masahiro Yamada
Currently, Denali NAND driver always expects 3 row address cycle devices because the driver init code hard-code the register setting. I will fix it in 2/2. Many drivers check chip->chipsize if the third row address cycle is needed or not. This is not nice because 32MB, 128MB are magic numbers.

[PATCH 0/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag and improve Denali driver

2017-09-11 Thread Masahiro Yamada
Currently, Denali NAND driver always expects 3 row address cycle devices because the driver init code hard-code the register setting. I will fix it in 2/2. Many drivers check chip->chipsize if the third row address cycle is needed or not. This is not nice because 32MB, 128MB are magic numbers.

  1   2   3   4   5   6   7   8   9   10   >