[PATCH v4 34/36] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2017-12-17 Thread Greentime Hu
From: Rick Chen ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source

[PATCH v4 34/36] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2017-12-17 Thread Greentime Hu
From: Rick Chen ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source and count downwards

[PATCH v4 36/36] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-12-17 Thread Greentime Hu
From: Rick Chen Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Acked-by: Rob Herring ---

[PATCH v4 36/36] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-12-17 Thread Greentime Hu
From: Rick Chen Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Acked-by: Rob Herring --- .../bindings/timer/andestech,atcpit100-timer.txt | 33 1 file changed, 33 insertions(+)

[PATCH v4 31/36] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds an irqchip driver document for the Andestech Internal Vector Interrupt Controller. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Reviewed-by: Rob Herring ---

[PATCH v4 27/36] nds32: Build infrastructure

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building an nds32 kernel. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/Kconfig | 108

[PATCH v4 35/36] clocksource/drivers/atcpit100: VDSO support

2017-12-17 Thread Greentime Hu
From: Rick Chen VDSO needs real-time cycle count to ensure the time accuracy. Unlike others, nds32 architecture does not define clock source, hence VDSO needs atcpit100 offering real-time cycle count to derive the correct time. Signed-off-by: Vincent Chen

[PATCH v4 29/36] dt-bindings: nds32 CPU Bindings

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 CPU binding documents. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen Signed-off-by: Zong Li Signed-off-by: Greentime Hu

[PATCH v4 31/36] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds an irqchip driver document for the Andestech Internal Vector Interrupt Controller. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Reviewed-by: Rob Herring --- .../interrupt-controller/andestech,ativic32.txt| 19 +++ 1 file

[PATCH v4 27/36] nds32: Build infrastructure

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building an nds32 kernel. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/Kconfig | 108 arch/nds32/Kconfig.cpu | 161

[PATCH v4 35/36] clocksource/drivers/atcpit100: VDSO support

2017-12-17 Thread Greentime Hu
From: Rick Chen VDSO needs real-time cycle count to ensure the time accuracy. Unlike others, nds32 architecture does not define clock source, hence VDSO needs atcpit100 offering real-time cycle count to derive the correct time. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen

[PATCH v4 29/36] dt-bindings: nds32 CPU Bindings

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 CPU binding documents. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen Signed-off-by: Zong Li Signed-off-by: Greentime Hu Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++ 1 file

[PATCH v4 33/36] net: faraday add nds32 support.

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch is used to support nds32 architecture to use these faraday mac IP. Signed-off-by: Greentime Hu --- drivers/net/ethernet/faraday/Kconfig |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v4 33/36] net: faraday add nds32 support.

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch is used to support nds32 architecture to use these faraday mac IP. Signed-off-by: Greentime Hu --- drivers/net/ethernet/faraday/Kconfig |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/faraday/Kconfig

Re: [lustre-devel] [PATCH 08/15] staging: lustre: Convert more LIBCFS_ALLOC allocation to direct GFP_KERNEL

2017-12-17 Thread NeilBrown
Sorry, it seems I mustn't have tested the file version of this patch. That "kvmalloc_node()" was clearly wrong. This version passes testing. Thanks, NeilBrown "git am" will ignore everything before this line: -8<- None of these need to be GFP_NOFS, so use

[PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/delay.h | 38 +++

[PATCH v4 22/36] nds32: Loadable modules

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for loadable modules. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/module.h | 11 ++ arch/nds32/kernel/module.c | 286

[PATCH v4 20/36] nds32: Debugging support

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds ptrace support. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/ptrace.h | 25 +++ arch/nds32/kernel/ptrace.c | 311

[PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/delay.h | 38 +++ arch/nds32/include/asm/linkage.h| 11 +

[PATCH v4 22/36] nds32: Loadable modules

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for loadable modules. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/module.h | 11 ++ arch/nds32/kernel/module.c | 286 +++ 2 files changed, 297 insertions(+) create

[PATCH v4 20/36] nds32: Debugging support

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds ptrace support. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/ptrace.h | 25 +++ arch/nds32/kernel/ptrace.c | 311 ++ 2 files changed, 336 insertions(+) create mode

Re: [lustre-devel] [PATCH 08/15] staging: lustre: Convert more LIBCFS_ALLOC allocation to direct GFP_KERNEL

2017-12-17 Thread NeilBrown
Sorry, it seems I mustn't have tested the file version of this patch. That "kvmalloc_node()" was clearly wrong. This version passes testing. Thanks, NeilBrown "git am" will ignore everything before this line: -8<- None of these need to be GFP_NOFS, so use

[PATCH v4 16/36] nds32: System calls handling

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for system calls. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/syscall.h | 188 ++

[PATCH v4 16/36] nds32: System calls handling

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for system calls. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/syscall.h | 188 ++ arch/nds32/include/asm/syscalls.h| 13 +++ arch/nds32/include/asm/unistd.h |

[PATCH v4 18/36] nds32: Signal handling support

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for signal handling. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/sigcontext.h | 60 ++ arch/nds32/kernel/signal.c

[PATCH v4 14/36] nds32: DMA mapping API

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for the DMA mapping API. It uses dma_map_ops for flexibility. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/dma-mapping.h | 14 ++

[PATCH v4 18/36] nds32: Signal handling support

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for signal handling. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/sigcontext.h | 60 ++ arch/nds32/kernel/signal.c | 337 ++ 2 files changed, 397

[PATCH v4 14/36] nds32: DMA mapping API

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch adds support for the DMA mapping API. It uses dma_map_ops for flexibility. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/dma-mapping.h | 14 ++ arch/nds32/kernel/dma.c | 459 ++

[PATCH v4 08/36] nds32: MMU fault handling and page table management

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes page fault handler, mmap and fixup implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/lib/copy_page.S | 37 arch/nds32/mm/extable.c

[PATCH v4 10/36] nds32: Process management

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes copy_thread(), start_thread() implementation and cpu_context structure definition. nds32 uses $r25 to get current task_struct. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu

[PATCH v4 08/36] nds32: MMU fault handling and page table management

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes page fault handler, mmap and fixup implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/lib/copy_page.S | 37 arch/nds32/mm/extable.c| 16 ++ arch/nds32/mm/fault.c | 410

[PATCH v4 10/36] nds32: Process management

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes copy_thread(), start_thread() implementation and cpu_context structure definition. nds32 uses $r25 to get current task_struct. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/current.h | 12 ++

[PATCH v4 04/36] nds32: Kernel booting and initialization

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes the kernel startup code. It can get dtb pointer passed from bootloader. It will create a temp mapping by tlb instructions at beginning and goto start_kernel. Signed-off-by: Vincent Chen Signed-off-by:

[PATCH v4 06/36] nds32: MMU definitions

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It also includes the 4KB/8KB page size configurations and pte operations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu

[PATCH v4 02/36] earlycon: add reg-offset to physical address before mapping

2017-12-17 Thread Greentime Hu
From: Greentime Hu It will get the wrong virtual address because port->mapbase is not added the correct reg-offset yet. We have to update it before earlycon_map() is called Signed-off-by: Greentime Hu --- drivers/tty/serial/earlycon.c |3

[PATCH v4 04/36] nds32: Kernel booting and initialization

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes the kernel startup code. It can get dtb pointer passed from bootloader. It will create a temp mapping by tlb instructions at beginning and goto start_kernel. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/kernel/head.S | 189

[PATCH v4 06/36] nds32: MMU definitions

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It also includes the 4KB/8KB page size configurations and pte operations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/fixmap.h | 29 +++

[PATCH v4 02/36] earlycon: add reg-offset to physical address before mapping

2017-12-17 Thread Greentime Hu
From: Greentime Hu It will get the wrong virtual address because port->mapbase is not added the correct reg-offset yet. We have to update it before earlycon_map() is called Signed-off-by: Greentime Hu --- drivers/tty/serial/earlycon.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] kthread: finer-grained lockdep/cross-release completion

2017-12-17 Thread Daniel Vetter
On Mon, Dec 11, 2017 at 10:19:28AM +0100, Daniel Vetter wrote: > On Fri, Dec 08, 2017 at 11:54:19AM +0100, Peter Zijlstra wrote: > > On Thu, Dec 07, 2017 at 11:08:49AM +0100, Daniel Vetter wrote: > > > Since -rc1 we're hitting a bunch of lockdep splats using the new > > > cross-release stuff

Re: [PATCH] kthread: finer-grained lockdep/cross-release completion

2017-12-17 Thread Daniel Vetter
On Mon, Dec 11, 2017 at 10:19:28AM +0100, Daniel Vetter wrote: > On Fri, Dec 08, 2017 at 11:54:19AM +0100, Peter Zijlstra wrote: > > On Thu, Dec 07, 2017 at 11:08:49AM +0100, Daniel Vetter wrote: > > > Since -rc1 we're hitting a bunch of lockdep splats using the new > > > cross-release stuff

[PATCH v4 00/36] Andes(nds32) Linux Kernel

2017-12-17 Thread Greentime Hu
This is the 4th version patchset to add the Linux kernel port for Andes(nds32) processors. Almost all of the feedbacks from v3 patchseries has been addressed. Thanks to everyone who provided feedback on the previous version. This patchset adds core architecture support to Linux for Andestech's

[PATCH v4 00/36] Andes(nds32) Linux Kernel

2017-12-17 Thread Greentime Hu
This is the 4th version patchset to add the Linux kernel port for Andes(nds32) processors. Almost all of the feedbacks from v3 patchseries has been addressed. Thanks to everyone who provided feedback on the previous version. This patchset adds core architecture support to Linux for Andestech's

Re: 995d11c4c0 ("drm: rework delayed connector cleanup in .."): WARNING: possible circular locking dependency detected

2017-12-17 Thread Daniel Vetter
Hm, the bisect looks funny. Only way I can explain that is that my patch fixed a pre-existing lockdep splat, and uncovered the issue in the ww-mutex self tests. That one is uncovered by the new cross-release lockdep checks in 4.15. Anyway I think this is an issue with the ww-mutex tests, not my

Re: 995d11c4c0 ("drm: rework delayed connector cleanup in .."): WARNING: possible circular locking dependency detected

2017-12-17 Thread Daniel Vetter
Hm, the bisect looks funny. Only way I can explain that is that my patch fixed a pre-existing lockdep splat, and uncovered the issue in the ww-mutex self tests. That one is uncovered by the new cross-release lockdep checks in 4.15. Anyway I think this is an issue with the ww-mutex tests, not my

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Willy Tarreau
On Mon, Dec 18, 2017 at 07:37:15AM +0100, Willy Tarreau wrote: > > As Boris said, we would really welcome a test of this branch, because > > you almost have the same setup as Sean in the thread "pxa3xx: wait time > > out when scanning for bb" and I am running out of explanation for his > > problem

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Willy Tarreau
On Mon, Dec 18, 2017 at 07:37:15AM +0100, Willy Tarreau wrote: > > As Boris said, we would really welcome a test of this branch, because > > you almost have the same setup as Sean in the thread "pxa3xx: wait time > > out when scanning for bb" and I am running out of explanation for his > > problem

Re: [PATCH 1/2] x86/stacktrace: do not fail when regs on stack for ORC

2017-12-17 Thread Jiri Slaby
On 12/18/2017, 04:37 AM, Josh Poimboeuf wrote: > On Thu, Dec 14, 2017 at 10:58:35PM +0100, Jiri Slaby wrote: >>> return -EINVAL; >> >> Kthreads and idle tasks hit this error as they have no user regs on the >> stack obviously :). > > Doh, sorry, I forgot about that. FWIW and to be complete,

Re: [PATCH 1/2] x86/stacktrace: do not fail when regs on stack for ORC

2017-12-17 Thread Jiri Slaby
On 12/18/2017, 04:37 AM, Josh Poimboeuf wrote: > On Thu, Dec 14, 2017 at 10:58:35PM +0100, Jiri Slaby wrote: >>> return -EINVAL; >> >> Kthreads and idle tasks hit this error as they have no user regs on the >> stack obviously :). > > Doh, sorry, I forgot about that. FWIW and to be complete,

Re: [PATCH v6] mfd: syscon: Add hardware spinlock support

2017-12-17 Thread Baolin Wang
On 15 December 2017 at 21:13, Arnd Bergmann wrote: > On Fri, Dec 15, 2017 at 11:42 AM, Lee Jones wrote: > >>> @@ -87,6 +88,30 @@ static struct syscon *of_syscon_register(struct >>> device_node *np) >>> if (ret) >>> reg_io_width = 4; >>>

Re: [PATCH v6] mfd: syscon: Add hardware spinlock support

2017-12-17 Thread Baolin Wang
On 15 December 2017 at 21:13, Arnd Bergmann wrote: > On Fri, Dec 15, 2017 at 11:42 AM, Lee Jones wrote: > >>> @@ -87,6 +88,30 @@ static struct syscon *of_syscon_register(struct >>> device_node *np) >>> if (ret) >>> reg_io_width = 4; >>> >>> + ret =

RE: [PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-17 Thread Appana Durga Kedareswara Rao
Hi, Thanks for the review... > >On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote: > >> @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct >> dma_chan *dchan) >> >> /* Remove and free all of the descriptors in the lists */ >>

RE: [PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-17 Thread Appana Durga Kedareswara Rao
Hi, Thanks for the review... > >On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote: > >> @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct >> dma_chan *dchan) >> >> /* Remove and free all of the descriptors in the lists */ >>

RE: [PATCH v7 0/6] dmaengine: xilinx_dma: Bug fixes

2017-12-17 Thread Appana Durga Kedareswara Rao
Hi Vinod, > >On Thu, Dec 07, 2017 at 10:51:01AM +0530, Kedareswara rao Appana wrote: >> This patch series fixes below bugs in DMA and VDMA IP's >> ---> Added channel idle checks in the driver before submitting the buffer >descriptor to h/w. >> ---> Fixes bug in Multi frame sotres handling in VDMA

RE: [PATCH v7 0/6] dmaengine: xilinx_dma: Bug fixes

2017-12-17 Thread Appana Durga Kedareswara Rao
Hi Vinod, > >On Thu, Dec 07, 2017 at 10:51:01AM +0530, Kedareswara rao Appana wrote: >> This patch series fixes below bugs in DMA and VDMA IP's >> ---> Added channel idle checks in the driver before submitting the buffer >descriptor to h/w. >> ---> Fixes bug in Multi frame sotres handling in VDMA

Re: [PATCH V2 1/8] perf tools: remove stale perf evlist mmap read for backward

2017-12-17 Thread Wangnan (F)
On 2017/12/7 7:32, kan.li...@intel.com wrote: From: Kan Liang perf_evlist__mmap_read_catchup and perf_evlist__mmap_read_backward are only for overwrite mode. But they read the evlist->mmap buffer which is for non-overwrite mode. It did not bring any serious problem yet,

Re: [PATCH V2 1/8] perf tools: remove stale perf evlist mmap read for backward

2017-12-17 Thread Wangnan (F)
On 2017/12/7 7:32, kan.li...@intel.com wrote: From: Kan Liang perf_evlist__mmap_read_catchup and perf_evlist__mmap_read_backward are only for overwrite mode. But they read the evlist->mmap buffer which is for non-overwrite mode. It did not bring any serious problem yet, because there is no

Re: [PATCH 1/2] ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases

2017-12-17 Thread Maxime Ripard
Hi, On Fri, Dec 15, 2017 at 11:39:00PM +0100, Philipp Rossak wrote: > Signed-off-by: Philipp Rossak Please add a commit log here. -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

Re: [PATCH 1/2] ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases

2017-12-17 Thread Maxime Ripard
Hi, On Fri, Dec 15, 2017 at 11:39:00PM +0100, Philipp Rossak wrote: > Signed-off-by: Philipp Rossak Please add a commit log here. -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Willy Tarreau
Hi guys, On Sun, Dec 17, 2017 at 10:46:17PM +0100, Miquel RAYNAL wrote: > > Actually, if things go well it will only be applied to stable > > releases (I really hope we'll be able to switch to Miquel's driver in > > 4.16). BTW, if you have some time, maybe you can test Miquel's [1] > > branch and

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Willy Tarreau
Hi guys, On Sun, Dec 17, 2017 at 10:46:17PM +0100, Miquel RAYNAL wrote: > > Actually, if things go well it will only be applied to stable > > releases (I really hope we'll be able to switch to Miquel's driver in > > 4.16). BTW, if you have some time, maybe you can test Miquel's [1] > > branch and

Re: KASAN: use-after-free Read in __list_del_entry_valid (2)

2017-12-17 Thread Stephan Mueller
Am Montag, 18. Dezember 2017, 06:50:01 CET schrieb syzbot: Hi, > Hello, > > syzkaller hit the following crash on > 82bcf1def3b5f1251177ad47c44f7e17af039b4b > git://git.cmpxchg.org/linux-mmots.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached.

Re: KASAN: use-after-free Read in __list_del_entry_valid (2)

2017-12-17 Thread Stephan Mueller
Am Montag, 18. Dezember 2017, 06:50:01 CET schrieb syzbot: Hi, > Hello, > > syzkaller hit the following crash on > 82bcf1def3b5f1251177ad47c44f7e17af039b4b > git://git.cmpxchg.org/linux-mmots.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached.

[RESEND PATCH] perf tools: Fix compiling error in libunwind x86

2017-12-17 Thread Wang Nan
Fix a compiling error: ... CC util/libunwind/x86_32.o In file included from util/libunwind/x86_32.c:33:0: util/libunwind/../../arch/x86/util/unwind-libunwind.c: In function 'libunwind__x86_reg_id': util/libunwind/../../arch/x86/util/unwind-libunwind.c:110:11: error: 'EINVAL'

linux-next: Tree for Dec 18

2017-12-17 Thread Stephen Rothwell
Hi all, Changes since 20171215: The staging.current tree lost its build failure. The tty tree gained a build failure so I used the version from next-20171215. The akpm-current tree gained a conflict against the tip tree. The akpm tree lost a couple of patches that turned up elsewhere.

[RESEND PATCH] perf tools: Fix compiling error in libunwind x86

2017-12-17 Thread Wang Nan
Fix a compiling error: ... CC util/libunwind/x86_32.o In file included from util/libunwind/x86_32.c:33:0: util/libunwind/../../arch/x86/util/unwind-libunwind.c: In function 'libunwind__x86_reg_id': util/libunwind/../../arch/x86/util/unwind-libunwind.c:110:11: error: 'EINVAL'

linux-next: Tree for Dec 18

2017-12-17 Thread Stephen Rothwell
Hi all, Changes since 20171215: The staging.current tree lost its build failure. The tty tree gained a build failure so I used the version from next-20171215. The akpm-current tree gained a conflict against the tip tree. The akpm tree lost a couple of patches that turned up elsewhere.

Re: BUG: unable to handle kernel NULL pointer dereference in __crypto_alg_lookup

2017-12-17 Thread Stephan Mueller
Am Montag, 18. Dezember 2017, 06:50:01 CET schrieb syzbot: Hi, > Hello, > > syzkaller hit the following crash on > 41d8c16909ebda40f7b4982a7f5e2ad102705ade > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw

Re: BUG: unable to handle kernel NULL pointer dereference in __crypto_alg_lookup

2017-12-17 Thread Stephan Mueller
Am Montag, 18. Dezember 2017, 06:50:01 CET schrieb syzbot: Hi, > Hello, > > syzkaller hit the following crash on > 41d8c16909ebda40f7b4982a7f5e2ad102705ade > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw

Re: [PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-17 Thread Stefan Mavrodiev
On 12/15/2017 05:08 PM, Maxime Ripard wrote: Hi, On Thu, Dec 14, 2017 at 08:24:54AM +0200, Stefan Mavrodiev wrote: On 12/13/2017 05:40 PM, Maxime Ripard wrote: Hi, On Wed, Dec 13, 2017 at 09:44:34AM +0200, Stefan Mavrodiev wrote: Allwinner A10/A13/A20 SoCs have pinmux for spi0 on port C.

Re: [PATCH 1/1] arm: sunxi: Add alternative pins for spi0

2017-12-17 Thread Stefan Mavrodiev
On 12/15/2017 05:08 PM, Maxime Ripard wrote: Hi, On Thu, Dec 14, 2017 at 08:24:54AM +0200, Stefan Mavrodiev wrote: On 12/13/2017 05:40 PM, Maxime Ripard wrote: Hi, On Wed, Dec 13, 2017 at 09:44:34AM +0200, Stefan Mavrodiev wrote: Allwinner A10/A13/A20 SoCs have pinmux for spi0 on port C.

Re: [PATCH v9 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-17 Thread Sakari Ailus
Hi Wenyou, Wenyou Yang wrote: ... > +static int ov7740_start_streaming(struct ov7740 *ov7740) > +{ > + int ret; > + > + if (ov7740->fmt) { > + ret = regmap_multi_reg_write(ov7740->regmap, > + ov7740->fmt->regs, > +

Re: [PATCH v9 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-17 Thread Sakari Ailus
Hi Wenyou, Wenyou Yang wrote: ... > +static int ov7740_start_streaming(struct ov7740 *ov7740) > +{ > + int ret; > + > + if (ov7740->fmt) { > + ret = regmap_multi_reg_write(ov7740->regmap, > + ov7740->fmt->regs, > +

[PATCH v5 2/2] misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-17 Thread Dhaval Shah
Xilinx ZYNQMP logicoreIP Init driver is based on the new LogiCoreIP design created. This driver provides the processing system and programmable logic isolation. Set the frequency based on the clock information get from the logicoreIP register set. It is put in drivers/misc as there is no

[PATCH v5 2/2] misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-17 Thread Dhaval Shah
Xilinx ZYNQMP logicoreIP Init driver is based on the new LogiCoreIP design created. This driver provides the processing system and programmable logic isolation. Set the frequency based on the clock information get from the logicoreIP register set. It is put in drivers/misc as there is no

[PATCH v5 1/2] dt-bindings: misc: Add DT bindings to xlnx_vcu driver

2017-12-17 Thread Dhaval Shah
Add Device Tree binding document for logicoreIP. This logicoreIP provides the isolation between the processing system and programmable logic. Also provides the clock related information. Signed-off-by: Dhaval Shah --- Chnages since v5: No Changes. Chnages since v4: No

[PATCH v5 1/2] dt-bindings: misc: Add DT bindings to xlnx_vcu driver

2017-12-17 Thread Dhaval Shah
Add Device Tree binding document for logicoreIP. This logicoreIP provides the isolation between the processing system and programmable logic. Also provides the clock related information. Signed-off-by: Dhaval Shah --- Chnages since v5: No Changes. Chnages since v4: No Changes. Chnages since

[PATCH v5 0/2] Documentation and driver of logicoreIP

2017-12-17 Thread Dhaval Shah
1st patch provide Device Tree binding document for logicoreIP 2nd patch provide the xlnx_vcu logicoreIP driver, Kconfig changes and Makefile changes for the driver. Dhaval Shah (2): Documentation: devicetree: Add DT bindings to xlnx_vcu driver misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP

[PATCH v5 0/2] Documentation and driver of logicoreIP

2017-12-17 Thread Dhaval Shah
1st patch provide Device Tree binding document for logicoreIP 2nd patch provide the xlnx_vcu logicoreIP driver, Kconfig changes and Makefile changes for the driver. Dhaval Shah (2): Documentation: devicetree: Add DT bindings to xlnx_vcu driver misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP

[PATCH v2] virtio/ringtest: fix up need_event math

2017-12-17 Thread Michael S. Tsirkin
last kicked event index must be updated unconditionally: even if we don't need to kick, we do not want to re-check the same entry for events. Signed-off-by: Michael S. Tsirkin --- Changes from v1: fix inverted logic in call_used tools/virtio/ringtest/ring.c | 24

[PATCH v2] virtio/ringtest: fix up need_event math

2017-12-17 Thread Michael S. Tsirkin
last kicked event index must be updated unconditionally: even if we don't need to kick, we do not want to re-check the same entry for events. Signed-off-by: Michael S. Tsirkin --- Changes from v1: fix inverted logic in call_used tools/virtio/ringtest/ring.c | 24

Re: r8169 regression: UDP packets dropped intermittantly

2017-12-17 Thread Jonathan Woithe
Resend to netdev. LKML CCed in case anyone in the wider kernel community can suggest a way forward. Please CC responses if replying only to LKML. It seems that this 4+ year old regression in the r8169 driver (documented in this thread on netdev beginning on 9 March 2013) will never be fixed,

Re: r8169 regression: UDP packets dropped intermittantly

2017-12-17 Thread Jonathan Woithe
Resend to netdev. LKML CCed in case anyone in the wider kernel community can suggest a way forward. Please CC responses if replying only to LKML. It seems that this 4+ year old regression in the r8169 driver (documented in this thread on netdev beginning on 9 March 2013) will never be fixed,

Re: [kernel-hardening] [PATCH 0/3] kallsyms: don't leak address

2017-12-17 Thread Tobin C. Harding
On Mon, Dec 18, 2017 at 04:31:25PM +1100, Michael Ellerman wrote: > "Tobin C. Harding" writes: > > > This set plugs a kernel address leak that occurs if kallsyms symbol > > look up fails. This set was prompted by a leaking address found using > > scripts/leaking_addresses.pl on a

Re: [PATCH v2 0/5] Support for generalized use of make C={1,2} via a wrapper program

2017-12-17 Thread Joe Perches
On Sun, 2017-12-17 at 22:00 -0700, Jason Gunthorpe wrote: > On Sun, Dec 17, 2017 at 03:14:10AM +0100, Knut Omang wrote: > > > > I like the ability to add more checkers and keep then in the main > > > upstream tree. But adding overrides for specific subsystems goes against > > > the policy that

Re: [kernel-hardening] [PATCH 0/3] kallsyms: don't leak address

2017-12-17 Thread Tobin C. Harding
On Mon, Dec 18, 2017 at 04:31:25PM +1100, Michael Ellerman wrote: > "Tobin C. Harding" writes: > > > This set plugs a kernel address leak that occurs if kallsyms symbol > > look up fails. This set was prompted by a leaking address found using > > scripts/leaking_addresses.pl on a PowerPC machine

Re: [PATCH v2 0/5] Support for generalized use of make C={1,2} via a wrapper program

2017-12-17 Thread Joe Perches
On Sun, 2017-12-17 at 22:00 -0700, Jason Gunthorpe wrote: > On Sun, Dec 17, 2017 at 03:14:10AM +0100, Knut Omang wrote: > > > > I like the ability to add more checkers and keep then in the main > > > upstream tree. But adding overrides for specific subsystems goes against > > > the policy that

[PATCH] net: qcom/emac: Change the order of mac up and sgmii open

2017-12-17 Thread Hemanth Puranik
This patch fixes the order of mac_up and sgmii_open for the reasons noted below: - If open takes more time(if the SGMII block is not responding or if we want to do some delay based task) in this situation we will hit NETDEV watchdog - The main reason : We should signal to upper layers that we

[PATCH] net: qcom/emac: Change the order of mac up and sgmii open

2017-12-17 Thread Hemanth Puranik
This patch fixes the order of mac_up and sgmii_open for the reasons noted below: - If open takes more time(if the SGMII block is not responding or if we want to do some delay based task) in this situation we will hit NETDEV watchdog - The main reason : We should signal to upper layers that we

Re: [PATCH] leaking_addresses: add generic 32-bit support

2017-12-17 Thread Tobin C. Harding
On Mon, Dec 18, 2017 at 09:24:47AM +0530, kaiwan.billimo...@gmail.com wrote: > The script attempts to detect the architecture it's running upon; as of now, > we explicitly support x86_64, PPC64 and x86_32. > If it's one of them, we proceed "normally". If we fail to detect the arch, > we fallback

Re: [PATCH] leaking_addresses: add generic 32-bit support

2017-12-17 Thread Tobin C. Harding
On Mon, Dec 18, 2017 at 09:24:47AM +0530, kaiwan.billimo...@gmail.com wrote: > The script attempts to detect the architecture it's running upon; as of now, > we explicitly support x86_64, PPC64 and x86_32. > If it's one of them, we proceed "normally". If we fail to detect the arch, > we fallback

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread AKASHI Takahiro
On Mon, Dec 18, 2017 at 01:16:57PM +0800, Dave Young wrote: > kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it > to ke...@lists.infradead.org > > Also add linux-acpi list Thank you. > On 12/18/17 at 02:31am, Bhupesh Sharma wrote: > > On Fri, Dec 15, 2017 at 3:05 PM, Ard

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread AKASHI Takahiro
On Mon, Dec 18, 2017 at 01:16:57PM +0800, Dave Young wrote: > kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it > to ke...@lists.infradead.org > > Also add linux-acpi list Thank you. > On 12/18/17 at 02:31am, Bhupesh Sharma wrote: > > On Fri, Dec 15, 2017 at 3:05 PM, Ard

[PATCH] KVM/Eventfd: Avoid crash when assign and deassign same eventfd in parallel.

2017-12-17 Thread Lan Tianyu
Syzroot reports crash in kvm_irqfd_assign() is caused by use-after-free. Because kvm_irqfd_assign() and kvm_irqfd_deassign() can't run in parallel for same eventfd. When assign path hasn't been finished after irqfd has been added to kvm->irqfds.items list, another thead may deassign the eventfd

[PATCH] KVM/Eventfd: Avoid crash when assign and deassign same eventfd in parallel.

2017-12-17 Thread Lan Tianyu
Syzroot reports crash in kvm_irqfd_assign() is caused by use-after-free. Because kvm_irqfd_assign() and kvm_irqfd_deassign() can't run in parallel for same eventfd. When assign path hasn't been finished after irqfd has been added to kvm->irqfds.items list, another thead may deassign the eventfd

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread Dave Young
Fix the kexec list address. On 12/18/17 at 01:40pm, Dave Young wrote: > On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: > > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: > > > On 13 December 2017 at 12:16, AKASHI Takahiro > > > wrote: > > > > On Wed,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread Dave Young
Fix the kexec list address. On 12/18/17 at 01:40pm, Dave Young wrote: > On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: > > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: > > > On 13 December 2017 at 12:16, AKASHI Takahiro > > > wrote: > > > > On Wed, Dec 13, 2017 at 10:49:27AM

RE: [PATCH v4 2/2] misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-17 Thread Dhaval Rajeshbhai Shah
Hi Randy, > -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Sunday, December 17, 2017 9:40 AM > To: Dhaval Rajeshbhai Shah ; a...@arndb.de; > gre...@linuxfoundation.org; robh...@kernel.org; mark.rutl...@arm.com > Cc:

RE: [PATCH v4 2/2] misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-17 Thread Dhaval Rajeshbhai Shah
Hi Randy, > -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Sunday, December 17, 2017 9:40 AM > To: Dhaval Rajeshbhai Shah ; a...@arndb.de; > gre...@linuxfoundation.org; robh...@kernel.org; mark.rutl...@arm.com > Cc: devicet...@vger.kernel.org;

[tip:perf/core] perf report: Fix regression when decoding Intel-PT traces

2017-12-17 Thread tip-bot for Mathieu Poirier
Commit-ID: f785657b0fbe69fb3f5dfb0a7567cdb0777e57d1 Gitweb: https://git.kernel.org/tip/f785657b0fbe69fb3f5dfb0a7567cdb0777e57d1 Author: Mathieu Poirier AuthorDate: Thu, 14 Dec 2017 10:47:00 -0700 Committer: Ingo Molnar CommitDate: Mon, 18

[tip:perf/core] perf report: Fix regression when decoding Intel-PT traces

2017-12-17 Thread tip-bot for Mathieu Poirier
Commit-ID: f785657b0fbe69fb3f5dfb0a7567cdb0777e57d1 Gitweb: https://git.kernel.org/tip/f785657b0fbe69fb3f5dfb0a7567cdb0777e57d1 Author: Mathieu Poirier AuthorDate: Thu, 14 Dec 2017 10:47:00 -0700 Committer: Ingo Molnar CommitDate: Mon, 18 Dec 2017 06:26:20 +0100 perf report: Fix

<    1   2   3   4   5   6   7   8   9   >