[PATCH][v2] cpufreq: Bring CPUs up even if cpufreq_online failed

2017-04-08 Thread Chen Yu
There is a report that after commit 27622b061eb4 ("cpufreq: Convert to hotplug state machine"), the normal CPU offline/online cycle failed on some platforms. According to the ftrace result, this problem was triggered on platforms using acpi-freq as the default cpufreq driver, and due to the lack

[PATCH][v2] cpufreq: Bring CPUs up even if cpufreq_online failed

2017-04-08 Thread Chen Yu
There is a report that after commit 27622b061eb4 ("cpufreq: Convert to hotplug state machine"), the normal CPU offline/online cycle failed on some platforms. According to the ftrace result, this problem was triggered on platforms using acpi-freq as the default cpufreq driver, and due to the lack

net/core/dev.c:4508:19-26: ERROR: PTR_ERR applied after initialization to constant on line 4452

2017-04-08 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 78d91a75b40fcf6a08506d308abf2413a29b7e30 commit: 25393d3fc055b76587fcc91627aee8c345400c3a net: Prepare gro for packet consuming gro callbacks date: 8 weeks ago coccinelle warnings: (new ones prefixed by

net/core/dev.c:4508:19-26: ERROR: PTR_ERR applied after initialization to constant on line 4452

2017-04-08 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 78d91a75b40fcf6a08506d308abf2413a29b7e30 commit: 25393d3fc055b76587fcc91627aee8c345400c3a net: Prepare gro for packet consuming gro callbacks date: 8 weeks ago coccinelle warnings: (new ones prefixed by

[git pull] vfs fixes

2017-04-08 Thread Al Viro
The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf: Linux 4.11-rc5 (2017-04-02 17:23:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus for you to fetch changes up to

[git pull] vfs fixes

2017-04-08 Thread Al Viro
The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf: Linux 4.11-rc5 (2017-04-02 17:23:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus for you to fetch changes up to

Re: [PATCH v2 5/5] perf tools: Refactor the code to strip command name with {l,r}trim()

2017-04-08 Thread Taeung Song
Hi David, On 04/09/2017 03:48 AM, David Ahern wrote: On 4/7/17 8:52 PM, Taeung Song wrote: After reading command name from /proc//status, use ltrim() and rtrim() to strip command name, not using just while loop, isspace() and etc. Cc: David Ahern Cc: Don Zickus

Re: [PATCH v2 5/5] perf tools: Refactor the code to strip command name with {l,r}trim()

2017-04-08 Thread Taeung Song
Hi David, On 04/09/2017 03:48 AM, David Ahern wrote: On 4/7/17 8:52 PM, Taeung Song wrote: After reading command name from /proc//status, use ltrim() and rtrim() to strip command name, not using just while loop, isspace() and etc. Cc: David Ahern Cc: Don Zickus Cc: Jiri Olsa Cc: Namhyung

Re: [PATCH 5/5] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-08 Thread Varsha Rao
>> Replace bit operation functions with IDA allocator functions. As IDA >> allocation is simpler. > > But why does this matter? Few of the files in this driver is already using ida allocation. For maintaining the uniformity I have used ida allocation. Files using idr-ida interface

Re: [PATCH 5/5] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-08 Thread Varsha Rao
>> Replace bit operation functions with IDA allocator functions. As IDA >> allocation is simpler. > > But why does this matter? Few of the files in this driver is already using ida allocation. For maintaining the uniformity I have used ida allocation. Files using idr-ida interface

Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division

2017-04-08 Thread Adam Borowski
On Sat, Apr 08, 2017 at 11:07:37PM +0200, Adam Borowski wrote: > Unbreaks ARM and possibly other 32-bit architectures. Turns out those "other 32-bit architectures" happen to include i386. A modular build: ERROR: "__udivdi3" [fs/btrfs/btrfs.ko] undefined! With the patch, i386 builds fine. >

Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division

2017-04-08 Thread Adam Borowski
On Sat, Apr 08, 2017 at 11:07:37PM +0200, Adam Borowski wrote: > Unbreaks ARM and possibly other 32-bit architectures. Turns out those "other 32-bit architectures" happen to include i386. A modular build: ERROR: "__udivdi3" [fs/btrfs/btrfs.ko] undefined! With the patch, i386 builds fine. >

Re: [Patch V2 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-04-08 Thread Wei Yang
On Fri, Apr 7, 2017 at 2:48 AM, Borislav Petkov wrote: > On Thu, Apr 06, 2017 at 09:21:47PM +0300, Kirill A. Shutemov wrote: >> > Long story short, something as trivial as this helps here: >> >> Yep. Works for me. >> >> Reported-and-tested-by: Kirill A. Shutemov

Re: [Patch V2 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-04-08 Thread Wei Yang
On Fri, Apr 7, 2017 at 2:48 AM, Borislav Petkov wrote: > On Thu, Apr 06, 2017 at 09:21:47PM +0300, Kirill A. Shutemov wrote: >> > Long story short, something as trivial as this helps here: >> >> Yep. Works for me. >> >> Reported-and-tested-by: Kirill A. Shutemov > > Thanks. > > Now, I'd really

audit regressions in 4.11

2017-04-08 Thread Seth Forshee
I've observed audit regressions in 4.11-rc when not using a userspace audit daemon. The most obvious issue is that audit messages are not appearing in dmesg anymore. If a sufficient number of audit messages are generated the kernel will also start invoking the OOM killer. It looks like

audit regressions in 4.11

2017-04-08 Thread Seth Forshee
I've observed audit regressions in 4.11-rc when not using a userspace audit daemon. The most obvious issue is that audit messages are not appearing in dmesg anymore. If a sufficient number of audit messages are generated the kernel will also start invoking the OOM killer. It looks like

Re: [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits

2017-04-08 Thread Deepa Dinamani
>> Allow read only mounts for filesystems that do not >> have maximum timestamps beyond the y2038 expiry >> timestamp. > > This option seems arbitrary and pointless. > > Nobody sane should ever enable it except for testing, but for testing > it would be much better to simply specify what the limit

Re: [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits

2017-04-08 Thread Deepa Dinamani
>> Allow read only mounts for filesystems that do not >> have maximum timestamps beyond the y2038 expiry >> timestamp. > > This option seems arbitrary and pointless. > > Nobody sane should ever enable it except for testing, but for testing > it would be much better to simply specify what the limit

[PATCH] mm/softoffline: Add page flag description in error paths

2017-04-08 Thread Anshuman Khandual
It helps to provide page flag description along with the raw value in error paths during soft offline process. From sample experiments Before the patch: [ 132.317977] soft offline: 0x6100: migration failed 1, type 388018 [ 132.359057] soft offline: 0x7400: migration failed 1, type

[PATCH] mm/softoffline: Add page flag description in error paths

2017-04-08 Thread Anshuman Khandual
It helps to provide page flag description along with the raw value in error paths during soft offline process. From sample experiments Before the patch: [ 132.317977] soft offline: 0x6100: migration failed 1, type 388018 [ 132.359057] soft offline: 0x7400: migration failed 1, type

Re: [PATCH] clk: zte: Mark pll config tables as const

2017-04-08 Thread Shawn Guo
On Sat, Apr 8, 2017 at 3:23 AM, Stephen Boyd wrote: > > These should be const. > > Cc: Shawn Guo > Cc: Jun Nie > Signed-off-by: Stephen Boyd Acked-by: Shawn Guo

Re: [PATCH] clk: zte: Mark pll config tables as const

2017-04-08 Thread Shawn Guo
On Sat, Apr 8, 2017 at 3:23 AM, Stephen Boyd wrote: > > These should be const. > > Cc: Shawn Guo > Cc: Jun Nie > Signed-off-by: Stephen Boyd Acked-by: Shawn Guo

Re: [RFC] calc_memmap_size() isn't accurate and one suggestion to improve

2017-04-08 Thread Wei Yang
On Mon, Apr 03, 2017 at 11:18:19AM +0200, Michal Hocko wrote: >On Tue 28-03-17 09:11:37, Wei Yang wrote: >> Hi, masters, >> >> # What I found >> >> I found the function calc_memmap_size() may not be that accurate to get the >> pages for memmap. >> >> The reason is: >> >> > memmap is allocated

Re: [RFC] calc_memmap_size() isn't accurate and one suggestion to improve

2017-04-08 Thread Wei Yang
On Mon, Apr 03, 2017 at 11:18:19AM +0200, Michal Hocko wrote: >On Tue 28-03-17 09:11:37, Wei Yang wrote: >> Hi, masters, >> >> # What I found >> >> I found the function calc_memmap_size() may not be that accurate to get the >> pages for memmap. >> >> The reason is: >> >> > memmap is allocated

[PATCH] ide: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/ide/ide-probe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index a74ae8df..0235625 100644

[PATCH] SGI-XP: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/misc/sgi-xp/xpc_main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index

[PATCH] ide: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/ide/ide-probe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index a74ae8df..0235625 100644 ---

[PATCH] SGI-XP: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/misc/sgi-xp/xpc_main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index 7f32712..a1b6f75 100644

[PATCH] i2c: img-scb: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/i2c/busses/i2c-img-scb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-img-scb.c b/drivers/i2c/busses/i2c-img-scb.c

[PATCH] i2c: img-scb: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/i2c/busses/i2c-img-scb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-img-scb.c b/drivers/i2c/busses/i2c-img-scb.c index db8e8b4..84fb35f

[PATCH] dmaengine: ioat: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/dma/ioat/init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c index cc5259b..6ad4384 100644

[PATCH] dmaengine: ioat: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/dma/ioat/init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c index cc5259b..6ad4384 100644 ---

[PATCH 4/4] Input: turbografx - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/joystick/turbografx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/input/joystick/turbografx.c

[PATCH 2/4] Input: gameport - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/gameport/gameport.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/input/gameport/gameport.c

[PATCH 3/4] Input: locomokbd - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/keyboard/locomokbd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/input/keyboard/locomokbd.c

[PATCH 2/4] Input: gameport - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/gameport/gameport.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c index

[PATCH 3/4] Input: locomokbd - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/keyboard/locomokbd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c index

[PATCH 4/4] Input: turbografx - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/joystick/turbografx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/input/joystick/turbografx.c b/drivers/input/joystick/turbografx.c index

[PATCH 1/4] Input: db9 - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/joystick/db9.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/input/joystick/db9.c b/drivers/input/joystick/db9.c index

[PATCH 1/4] Input: db9 - use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/input/joystick/db9.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/input/joystick/db9.c b/drivers/input/joystick/db9.c index da32609..f4ad83e 100644 ---

[PATCH] Remove cpuset_update_active_cpus()'s parameter.

2017-04-08 Thread Rakib Mullick
In cpuset_update_active_cpus(), cpu_online isn't used anymore. Remove it. Signed-off-by: Rakib Mullick --- include/linux/cpuset.h | 4 ++-- kernel/cgroup/cpuset.c | 2 +- kernel/sched/core.c| 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH] Remove cpuset_update_active_cpus()'s parameter.

2017-04-08 Thread Rakib Mullick
In cpuset_update_active_cpus(), cpu_online isn't used anymore. Remove it. Signed-off-by: Rakib Mullick --- include/linux/cpuset.h | 4 ++-- kernel/cgroup/cpuset.c | 2 +- kernel/sched/core.c| 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/cpuset.h

[PATCH 04/12] [media] cx18: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/cx18/cx18-streams.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/pci/cx18/cx18-streams.c

[PATCH 04/12] [media] cx18: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/cx18/cx18-streams.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/pci/cx18/cx18-streams.c b/drivers/media/pci/cx18/cx18-streams.c index

[PATCH 08/12] [media] fsl-viu: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/platform/fsl-viu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c

[PATCH 08/12] [media] fsl-viu: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/platform/fsl-viu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c index ae8c6b3..97e164b

[PATCH 12/12] [media] imon: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/rc/imon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c index 89823d2..3489010 100644

[PATCH 10/12] [media] c8sectpfe: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 12/12] [media] imon: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/rc/imon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c index 89823d2..3489010 100644 ---

[PATCH 10/12] [media] c8sectpfe: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c

[PATCH 09/12] [media] s5p-mfc: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c

[PATCH 09/12] [media] s5p-mfc: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c

[PATCH 06/12] [media] netup_unidvb: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c

[PATCH 06/12] [media] netup_unidvb: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c

[PATCH 07/12] [media] av7110: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/ttpci/av7110_ir.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/ttpci/av7110_ir.c

[PATCH 03/12] [media] bt8xx: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/bt8xx/bttv-driver.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c

[PATCH 05/12] [media] ivtv: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/ivtv/ivtv-driver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/ivtv/ivtv-driver.c

[PATCH 07/12] [media] av7110: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/ttpci/av7110_ir.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/ttpci/av7110_ir.c b/drivers/media/pci/ttpci/av7110_ir.c index

[PATCH 03/12] [media] bt8xx: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/bt8xx/bttv-driver.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index

[PATCH 05/12] [media] ivtv: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/ivtv/ivtv-driver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv/ivtv-driver.c index

[PATCH 11/12] [media] wl128x: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/radio/wl128x/fmdrv_common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/radio/wl128x/fmdrv_common.c

[PATCH 11/12] [media] wl128x: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/radio/wl128x/fmdrv_common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/radio/wl128x/fmdrv_common.c

[PATCH 01/12] [media] saa7134: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/saa7134/saa7134-ts.c| 5 ++--- drivers/media/pci/saa7134/saa7134-vbi.c | 5 ++--- drivers/media/pci/saa7134/saa7134-video.c | 5 ++--- 3 files changed,

[PATCH 02/12] [media] saa7146: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/common/saa7146/saa7146_vbi.c | 5 ++--- drivers/media/common/saa7146/saa7146_video.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 01/12] [media] saa7134: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/saa7134/saa7134-ts.c| 5 ++--- drivers/media/pci/saa7134/saa7134-vbi.c | 5 ++--- drivers/media/pci/saa7134/saa7134-video.c | 5 ++--- 3 files changed, 6 insertions(+), 9

[PATCH 02/12] [media] saa7146: use setup_timer

2017-04-08 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/common/saa7146/saa7146_vbi.c | 5 ++--- drivers/media/common/saa7146/saa7146_video.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH] fs: drop duplicate header percpu-rwsem.h

2017-04-08 Thread Geliang Tang
Drop duplicate header percpu-rwsem.h from linux/fs.h. Signed-off-by: Geliang Tang --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index f1d7347..7bff988 100644 --- a/include/linux/fs.h +++

[PATCH] fs: drop duplicate header percpu-rwsem.h

2017-04-08 Thread Geliang Tang
Drop duplicate header percpu-rwsem.h from linux/fs.h. Signed-off-by: Geliang Tang --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index f1d7347..7bff988 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -29,7 +29,6 @@

Re: [linux-sunxi] [PATCH 2/5] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-04-08 Thread Chen-Yu Tsai
Hi, On Sun, Apr 9, 2017 at 2:50 AM, Icenowy Zheng wrote: The subject can just say "set CLK_SET_RATE_PARENT for CPUX clock on H3". > The CPUX clock, which is the main clock of the ARM core on Allwinner H3, > can be adjusted by changing the frequency of the PLL_CPUX clock. > >

Re: [linux-sunxi] [PATCH 2/5] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-04-08 Thread Chen-Yu Tsai
Hi, On Sun, Apr 9, 2017 at 2:50 AM, Icenowy Zheng wrote: The subject can just say "set CLK_SET_RATE_PARENT for CPUX clock on H3". > The CPUX clock, which is the main clock of the ARM core on Allwinner H3, > can be adjusted by changing the frequency of the PLL_CPUX clock. > > Allowing setting

[PATCH net-next,3/3] hv_netvsc: Exclude non-TCP port numbers from vRSS hashing

2017-04-08 Thread Haiyang Zhang
From: Haiyang Zhang Azure hosts are not supporting non-TCP port numbers in vRSS hashing for now. For example, UDP packet loss rate will be high if port numbers are also included in vRSS hash. So, we created this patch to use only IP numbers for hashing in non-TCP

[PATCH net-next,3/3] hv_netvsc: Exclude non-TCP port numbers from vRSS hashing

2017-04-08 Thread Haiyang Zhang
From: Haiyang Zhang Azure hosts are not supporting non-TCP port numbers in vRSS hashing for now. For example, UDP packet loss rate will be high if port numbers are also included in vRSS hash. So, we created this patch to use only IP numbers for hashing in non-TCP traffic. Signed-off-by:

[PATCH net-next,2/3] hv_netvsc: Fix the queue index computation in forwarding case

2017-04-08 Thread Haiyang Zhang
From: Haiyang Zhang If the outgoing skb has a RX queue mapping available, we use the queue number directly, other than put it through Send Indirection Table. Signed-off-by: Haiyang Zhang Reviewed-by: Stephen Hemminger ---

[PATCH net-next,2/3] hv_netvsc: Fix the queue index computation in forwarding case

2017-04-08 Thread Haiyang Zhang
From: Haiyang Zhang If the outgoing skb has a RX queue mapping available, we use the queue number directly, other than put it through Send Indirection Table. Signed-off-by: Haiyang Zhang Reviewed-by: Stephen Hemminger --- drivers/net/hyperv/hyperv_net.h |2 +-

[PATCH net-next,1/3] hv_netvsc: Use per socket hash when available

2017-04-08 Thread Haiyang Zhang
From: Haiyang Zhang The per socket hash is set when a socket is connected. Use it, when available, to save CPU cycles on repeatedly computing hash on the same connection. Signed-off-by: Haiyang Zhang Reviewed-by: Stephen Hemminger

[PATCH net-next,1/3] hv_netvsc: Use per socket hash when available

2017-04-08 Thread Haiyang Zhang
From: Haiyang Zhang The per socket hash is set when a socket is connected. Use it, when available, to save CPU cycles on repeatedly computing hash on the same connection. Signed-off-by: Haiyang Zhang Reviewed-by: Stephen Hemminger --- drivers/net/hyperv/netvsc_drv.c |7 ++- 1 files

Re: [RFC HMM CDM 0/3] Coherent Device Memory (CDM) on top of HMM

2017-04-08 Thread Balbir Singh
On Fri, 2017-04-07 at 16:28 -0400, Jérôme Glisse wrote: > This patch serie implement coherent device memory using ZONE_DEVICE > and adds new helper to the HMM framework to support this new kind > of ZONE_DEVICE memory. This is on top of HMM v19 and you can find a > branch here: >  >

Re: [RFC HMM CDM 0/3] Coherent Device Memory (CDM) on top of HMM

2017-04-08 Thread Balbir Singh
On Fri, 2017-04-07 at 16:28 -0400, Jérôme Glisse wrote: > This patch serie implement coherent device memory using ZONE_DEVICE > and adds new helper to the HMM framework to support this new kind > of ZONE_DEVICE memory. This is on top of HMM v19 and you can find a > branch here: >  >

[PATCH 06/10] nubus: Remove slot zero probe (from mac68k CVS)

2017-04-08 Thread Finn Thain
From: David Huggins-Daines Some long forgotten changes from the linux-mac68k CVS: Remove the slot 0 (ROM) probing. Remove the pointless White Screen Of Death crap. The original commit is here:

[PATCH 05/10] nubus: Fix nubus_rewinddir (from mac68k CVS)

2017-04-08 Thread Finn Thain
From: David Huggins-Daines A long forgotten fix from the linux-mac68k CVS: Initialize dir->done pointer in nubus_rewinddir(). The original commit is here: http://linux-mac68k.cvs.sourceforge.net/viewvc/linux-mac68k/linux-mac68k/drivers/nubus/nubus.c?r1=1.22=1.22.2.1=linux-2_2

[PATCH 10/10] nubus: Add MVC and VSC video card definitions

2017-04-08 Thread Finn Thain
Also move the NUBUS_DRHW_APPLE_JET definition, for numerical order. Signed-off-by: Finn Thain --- include/uapi/linux/nubus.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/nubus.h b/include/uapi/linux/nubus.h index

[PATCH 05/10] nubus: Fix nubus_rewinddir (from mac68k CVS)

2017-04-08 Thread Finn Thain
From: David Huggins-Daines A long forgotten fix from the linux-mac68k CVS: Initialize dir->done pointer in nubus_rewinddir(). The original commit is here: http://linux-mac68k.cvs.sourceforge.net/viewvc/linux-mac68k/linux-mac68k/drivers/nubus/nubus.c?r1=1.22=1.22.2.1=linux-2_2 Signed-off-by:

[PATCH 10/10] nubus: Add MVC and VSC video card definitions

2017-04-08 Thread Finn Thain
Also move the NUBUS_DRHW_APPLE_JET definition, for numerical order. Signed-off-by: Finn Thain --- include/uapi/linux/nubus.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/nubus.h b/include/uapi/linux/nubus.h index 77513d2..ac51606 100644 ---

[PATCH 06/10] nubus: Remove slot zero probe (from mac68k CVS)

2017-04-08 Thread Finn Thain
From: David Huggins-Daines Some long forgotten changes from the linux-mac68k CVS: Remove the slot 0 (ROM) probing. Remove the pointless White Screen Of Death crap. The original commit is here:

[PATCH 07/10] nubus: Clean up printk calls (from mac68k CVS)

2017-04-08 Thread Finn Thain
From: David Huggins-Daines Some long forgotten changes from the linux-mac68k CVS: Fix swapped DrvrSW and DrvrHW values in printk message. Suppress debug printk messages. Avoid console_loglevel misuse. The original commits are these:

[PATCH 09/10] nubus: Clean up whitespace

2017-04-08 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/nubus/nubus.c | 284 -- 1 file changed, 134 insertions(+), 150 deletions(-) diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index eac5ec2..bb81347 100644 ---

[PATCH 07/10] nubus: Clean up printk calls (from mac68k CVS)

2017-04-08 Thread Finn Thain
From: David Huggins-Daines Some long forgotten changes from the linux-mac68k CVS: Fix swapped DrvrSW and DrvrHW values in printk message. Suppress debug printk messages. Avoid console_loglevel misuse. The original commits are these:

[PATCH 09/10] nubus: Clean up whitespace

2017-04-08 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/nubus/nubus.c | 284 -- 1 file changed, 134 insertions(+), 150 deletions(-) diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index eac5ec2..bb81347 100644 --- a/drivers/nubus/nubus.c +++

[PATCH 08/10] nubus: Fix pointer validation

2017-04-08 Thread Finn Thain
Fix bounds checking on slot-space pointer movement. Remove redundant test for zero byte-lanes value. Fix broken byte-lanes vs. address validation. Signed-off-by: Finn Thain --- drivers/nubus/nubus.c | 15 +++ 1 file changed, 7 insertions(+), 8

[PATCH 08/10] nubus: Fix pointer validation

2017-04-08 Thread Finn Thain
Fix bounds checking on slot-space pointer movement. Remove redundant test for zero byte-lanes value. Fix broken byte-lanes vs. address validation. Signed-off-by: Finn Thain --- drivers/nubus/nubus.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

[PATCH 04/10] m68k/mac: Clarify IOP message alloc/free confusion

2017-04-08 Thread Finn Thain
The alloc/free metaphor used for IOP messages is misleading and can cause mistakes like the pointless msg2 temporary variable. Use a more meaningful name to help simplify the code. Signed-off-by: Finn Thain --- arch/m68k/mac/iop.c | 19 ++- 1 file

[PATCH 02/10] m68k/mac: Modernize printing of kernel messages

2017-04-08 Thread Finn Thain
From: Geert Uytterhoeven Convert from printk() to pr_*(). [Adjusted log message severity levels and retained bootinfo log. -- FT] Signed-off-by: Finn Thain --- arch/m68k/mac/config.c | 12 +--- arch/m68k/mac/misc.c | 23

[PATCH 04/10] m68k/mac: Clarify IOP message alloc/free confusion

2017-04-08 Thread Finn Thain
The alloc/free metaphor used for IOP messages is misleading and can cause mistakes like the pointless msg2 temporary variable. Use a more meaningful name to help simplify the code. Signed-off-by: Finn Thain --- arch/m68k/mac/iop.c | 19 ++- 1 file changed, 6 insertions(+), 13

[PATCH 02/10] m68k/mac: Modernize printing of kernel messages

2017-04-08 Thread Finn Thain
From: Geert Uytterhoeven Convert from printk() to pr_*(). [Adjusted log message severity levels and retained bootinfo log. -- FT] Signed-off-by: Finn Thain --- arch/m68k/mac/config.c | 12 +--- arch/m68k/mac/misc.c | 23 +-- 2 files changed, 14 insertions(+), 21

[PATCH 01/10] m68k/mac: IOP - Modernize printing of kernel messages

2017-04-08 Thread Finn Thain
From: Geert Uytterhoeven - Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Add missing continuations, - Drop superfluous casts. [Renamed pr_iop* macros,

[PATCH 00/10] mac68k: Miscellaneous fixes, cleanup and modernization

2017-04-08 Thread Finn Thain
This series has various patches from several different people. Two printk modernization patches were originally from Geert Uytterhoeven and three Nubus patches were originally committed to the Linux/mac68k CVS by David Huggins-Daines. Finn Thain (10): m68k/mac: IOP - Modernize printing of

[PATCH 01/10] m68k/mac: IOP - Modernize printing of kernel messages

2017-04-08 Thread Finn Thain
From: Geert Uytterhoeven - Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Add missing continuations, - Drop superfluous casts. [Renamed pr_iop* macros, adjusted log message

[PATCH 00/10] mac68k: Miscellaneous fixes, cleanup and modernization

2017-04-08 Thread Finn Thain
This series has various patches from several different people. Two printk modernization patches were originally from Geert Uytterhoeven and three Nubus patches were originally committed to the Linux/mac68k CVS by David Huggins-Daines. Finn Thain (10): m68k/mac: IOP - Modernize printing of

[PATCH 03/10] m68k/mac: Adopt platform_device_register_simple()

2017-04-08 Thread Finn Thain
These changes save 1014 bytes according to scripts/bloat-o-meter. Signed-off-by: Finn Thain --- arch/m68k/mac/config.c | 49 - 1 file changed, 12 insertions(+), 37 deletions(-) diff --git a/arch/m68k/mac/config.c

[PATCH 03/10] m68k/mac: Adopt platform_device_register_simple()

2017-04-08 Thread Finn Thain
These changes save 1014 bytes according to scripts/bloat-o-meter. Signed-off-by: Finn Thain --- arch/m68k/mac/config.c | 49 - 1 file changed, 12 insertions(+), 37 deletions(-) diff --git a/arch/m68k/mac/config.c b/arch/m68k/mac/config.c index

  1   2   3   4   5   >