Re: riscv+KASAN does not boot

2021-02-16 Thread Tobias Klauser
On 2021-02-16 at 12:17:30 +0100, Dmitry Vyukov wrote: > On Fri, Jan 29, 2021 at 9:11 AM Dmitry Vyukov wrote: > > > I was fixing KASAN support for my sv48 patchset so I took a look at your > > > issue: I built a kernel on top of the branch riscv/fixes using > > > https://github.com/google/syzkalle

Re: [PATCH] selftests/vDSO: fix ABI selftest on riscv

2021-02-10 Thread Tobias Klauser
On 2021-02-09 at 00:37:24 +0100, Shuah Khan wrote: > On 2/5/21 12:57 AM, Tobias Klauser wrote: > > On 2021-02-05 at 08:06:37 +0100, Palmer Dabbelt wrote: > > > On Thu, 04 Feb 2021 06:50:42 PST (-0800), tklau...@distanz.ch wrote: > > > > [...] > > > >

Re: [PATCH] selftests/vDSO: fix ABI selftest on riscv

2021-02-05 Thread Tobias Klauser
On 2021-02-05 at 08:06:37 +0100, Palmer Dabbelt wrote: > On Thu, 04 Feb 2021 06:50:42 PST (-0800), tklau...@distanz.ch wrote: [...] > Reviewed-by: Palmer Dabbelt > Acked-by: Palmer Dabbelt Thank you! > Not sure if you want this through the RISC-V tree, so I'm leaving it out for > now and ass

[PATCH] selftests/vDSO: fix ABI selftest on riscv

2021-02-04 Thread Tobias Klauser
Signed-off-by: Tobias Klauser --- tools/testing/selftests/vDSO/vdso_config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/vDSO/vdso_config.h b/tools/testing/selftests/vDSO/vdso_config.h index 6a6fe8d4ff55..6188b16827d1 100644 --- a/tools/testing

Re: riscv+KASAN does not boot

2021-01-18 Thread Tobias Klauser
On 2021-01-14 at 11:24:07 +0100, Dmitry Vyukov wrote: > On Thu, Jan 14, 2021 at 10:23 AM Dmitry Vyukov wrote: > > > > On Thu, Jan 14, 2021 at 5:57 AM Palmer Dabbelt > > wrote: > > > > > > On Fri, 25 Dec 2020 09:13:23 PST (-0800), dvyu...@google.com wrote: > > > > On Fri, Dec 25, 2020 at 5:58 PM

[PATCH] selftests/timens: add futex binary to .gitignore

2020-12-18 Thread Tobias Klauser
Add the futex test binary introduced by commit a4fd8414659b ("selftests/timens: Add a test for futex()") to .gitignore. Signed-off-by: Tobias Klauser --- tools/testing/selftests/timens/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/timens/.gi

[PATCH] selftests/vDSO: fix -Wformat warning in vdso_test_correctness

2020-12-17 Thread Tobias Klauser
ype ‘long int’, but argument 7 has type ‘long long int’ [-Wformat=] The tv_sec member of __kernel_timespec is long long, both in uapi/linux/time_types.h and locally in vdso_test_correctness.c. Signed-off-by: Tobias Klauser --- tools/testing/selftests/vDSO/vdso_test_correctness.c | 2 +- 1 file change

[PATCH] selftests/vDSO: add additional binaries to .gitignore

2020-12-17 Thread Tobias Klauser
Add the test binaries introduced by commit 693f5ca08ca0 ("kselftest: Extend vDSO selftest"), commit 03f55c7952c9 ("kselftest: Extend vDSO selftest to clock_getres") and commit c7e5789b24d3 ("kselftest: Move test_vdso to the vDSO test suite") to .gitignore.

Re: [PATCH 2/2] tools, bpftool: Remove two unused variables.

2020-10-28 Thread Tobias Klauser
On 2020-10-28 at 00:36:46 +0100, Ian Rogers wrote: > Avoid an unused variable warning. > > Signed-off-by: Ian Rogers Reviewed-by: Tobias Klauser

Re: [PATCH 1/2] tools, bpftool: Avoid array index warnings.

2020-10-28 Thread Tobias Klauser
On 2020-10-28 at 00:36:45 +0100, Ian Rogers wrote: > The bpf_caps array is shorter without CAP_BPF, avoid out of bounds reads > if this isn't defined. Working around this avoids -Wno-array-bounds with > clang. > > Signed-off-by: Ian Rogers Reviewed-by: Tobias Klauser

[tip: core/rcu] rcu: Fix kerneldoc comments in rcupdate.h

2020-10-08 Thread tip-bot2 for Tobias Klauser
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 000601bb62330f18dc8f5d2d0b82e9aec3e207c4 Gitweb: https://git.kernel.org/tip/000601bb62330f18dc8f5d2d0b82e9aec3e207c4 Author:Tobias Klauser AuthorDate:Thu, 09 Jul 2020 15:05:59 +02:00

[tip: core/rcu] docs: Fix typo in synchronize_rcu() function name

2020-10-08 Thread tip-bot2 for Tobias Klauser
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 77f808607a62c3685381a5732a88b30bad8893b5 Gitweb: https://git.kernel.org/tip/77f808607a62c3685381a5732a88b30bad8893b5 Author:Tobias Klauser AuthorDate:Thu, 02 Jul 2020 18:28:10 +02:00

[PATCH] stackleak: let stack_erasing_sysctl take a kernel pointer buffer

2020-09-07 Thread Tobias Klauser
ncorrect type in argument 3 (different address spaces) kernel/stackleak.c:31:50:expected void * kernel/stackleak.c:31:50:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Cc: Al Viro Sig

[PATCH] ftrace: let ftrace_enable_sysctl take a kernel pointer buffer

2020-09-07 Thread Tobias Klauser
ng: incorrect type in argument 3 (different address spaces) kernel/trace/ftrace.c:7544:43:expected void * kernel/trace/ftrace.c:7544:43:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Cc: Al V

[PATCH] fs: adjust dirtytime_interval_handler definition to match prototype

2020-09-07 Thread Tobias Klauser
.h:374:5:int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Cc: Al Viro Signed-off-by: Tobias Klauser --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertio

[PATCH] ipc: adjust proc_ipc_sem_dointvec definition to match prototype

2020-08-25 Thread Tobias Klauser
sctl.c:194:35:expected int ( [usertype] *proc_handler )( ... ) ipc/ipc_sysctl.c:194:35:got int ( * )( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- ipc/ipc_sysctl.c | 2 +- 1 file changed,

[PATCH] fs: adjust dirtytime_interval_handler definition to match prototype

2020-08-25 Thread Tobias Klauser
.h:374:5:int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+

[PATCH] fork: adjust sysctl_max_threads definition to match prototype

2020-08-25 Thread Tobias Klauser
242:5: note: previously declared as: ./include/linux/sysctl.h:242:5:int extern [addressable] [signed] [toplevel] sysctl_max_threads( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- kernel/fork.c

[PATCH] stackleak: let stack_erasing_sysctl take a kernel pointer buffer

2020-08-25 Thread Tobias Klauser
ncorrect type in argument 3 (different address spaces) kernel/stackleak.c:31:50:expected void * kernel/stackleak.c:31:50:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias K

[PATCH] ftrace: let ftrace_enable_sysctl take a kernel pointer buffer

2020-08-25 Thread Tobias Klauser
ng: incorrect type in argument 3 (different address spaces) kernel/trace/ftrace.c:7544:43:expected void * kernel/trace/ftrace.c:7544:43:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Sig

[PATCH bpf] bpf, sysctl: let bpf_stats_handler take a kernel pointer buffer

2020-08-24 Thread Tobias Klauser
expected int ( [usertype] *proc_handler )( ... ) kernel/sysctl.c:2640:35:got int ( * )( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- kernel/sysctl.c | 3 +-- 1 file changed, 1 insertion(+),

Re: [PATCH] tools/bpf/bpftool: Fix wrong return value in do_dump()

2020-08-03 Thread Tobias Klauser
On 2020-08-02 at 13:15:40 +0200, Tianjia Zhang wrote: > In case of btf_id does not exist, a negative error code -ENOENT > should be returned. > > Fixes: c93cc69004df3 ("bpftool: add ability to dump BTF types") > Cc: Andrii Nakryiko > Signed-off-by: Tianjia Zhang

Re: [PATCH] serial: altera_jtaguart: Replace HTTP links with HTTPS ones

2020-07-20 Thread Tobias Klauser
ent: > Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov Acked-by: Tobias Klauser Thanks

[PATCH v2] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
-checked regardless of CONFIG_PM and/or CONFIG_PM_SLEEP being set. Reviewed-by: Laurent Pinchart Signed-off-by: Tobias Klauser --- drivers/phy/xilinx/phy-zynqmp.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/phy/xilinx/phy-zynqmp.c b/drivers/phy/xilinx/phy

Re: [PATCH] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
On 2020-07-01 at 16:01:08 +0200, Laurent Pinchart wrote: > On Wed, Jul 01, 2020 at 04:00:26PM +0200, Tobias Klauser wrote: > > On 2020-07-01 at 15:44:43 +0200, Laurent Pinchart > > wrote: > > > On Wed, Jul 01, 2020 at 07:06:43PM +0530, Vinod Koul wrote: > > &

Re: [PATCH] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
On 2020-07-01 at 15:44:43 +0200, Laurent Pinchart wrote: > On Wed, Jul 01, 2020 at 07:06:43PM +0530, Vinod Koul wrote: > > On 01-07-20, 16:19, Laurent Pinchart wrote: > > > On Wed, Jul 01, 2020 at 11:04:38AM +0200, Tobias Klauser wrote: > > > > This fixes the f

[PATCH] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
vers/phy/xilinx/phy-zynqmp.c:819:12: warning: ‘xpsgtr_suspend’ defined but not used [-Wunused-function] 819 | static int xpsgtr_suspend(struct device *dev) |^~ Signed-off-by: Tobias Klauser --- drivers/phy/xilinx/phy-zynqmp.c | 4 ++-- 1 file changed, 2 insertio

[PATCH v2] riscv: Allow building with kcov coverage

2020-06-26 Thread Tobias Klauser
Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the riscv Kconfig. Also disable instrumentation of some early boot code and vdso. Boot-tested on QEMU's riscv64 virt machine. Cc: Björn Töpel Cc: Dmitry Vyukov Signed-off-by: Tobias Klauser --- arch/riscv/Kconfig | 2 ++ arch/riscv

Re: [PATCH] csky: remove unusued thread_saved_pc and *_segments functions/macros

2020-06-15 Thread Tobias Klauser
On 2020-06-13 at 10:42:07 +0200, Guo Ren wrote: > Acked-by: Guo Ren Thanks for the Ack. Are you taking this patch through your own tree or should I directly submit to someone else? > On Wed, Jun 10, 2020 at 11:45 PM Tobias Klauser wrote: > > > > These are used nowhere in th

[PATCH] objtool: Free memory in error case in special_get_alts

2020-06-12 Thread Tobias Klauser
Avoid a memory leak in case get_alt_entry returns an error. Signed-off-by: Tobias Klauser --- tools/objtool/special.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/objtool/special.c b/tools/objtool/special.c index e74e0189de22..f6f7dee1ba77 100644 --- a/tools

[PATCH] csky: remove unusued thread_saved_pc and *_segments functions/macros

2020-06-10 Thread Tobias Klauser
gments() macros/functions") Remove them from arch/csky as well. Signed-off-by: Tobias Klauser --- arch/csky/include/asm/processor.h | 6 -- arch/csky/kernel/process.c| 10 -- 2 files changed, 16 deletions(-) diff --git a/arch/csky/include/asm/processor.h b/arch/csky/inc

[PATCH] csky: remove unsued thread_saved_pc and *_segments functions/macros

2019-06-12 Thread Tobias Klauser
") Remove them from arch/csky as well. Signed-off-by: Tobias Klauser --- arch/csky/include/asm/processor.h | 6 -- arch/csky/kernel/process.c| 10 -- 2 files changed, 16 deletions(-) diff --git a/arch/csky/include/asm/processor.h b/arch/csky/include/asm/processor.

[PATCH] nios2: kconfig: remove duplicate DEBUG_STACK_USAGE symbol defintions

2018-08-16 Thread Tobias Klauser
DEBUG_STACK_USAGE is already defined in lib/Kconfig.debug Signed-off-by: Tobias Klauser --- arch/nios2/Kconfig.debug | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/nios2/Kconfig.debug b/arch/nios2/Kconfig.debug index 7a49f0d28d14..f1da8a7b17ff 100644 --- a/arch/nios2

Re: [PATCH net-next] net: ethoc: Remove useless test before clk_disable_unprepare

2018-05-16 Thread Tobias Klauser
On 2018-05-16 at 13:18:22 +0200, YueHaibing wrote: > clk_disable_unprepare() already checks that the clock pointer is valid. > No need to test it before calling it. > > Signed-off-by: YueHaibing Reviewed-by: Tobias Klauser

[PATCH] scripts/checkstack.pl: remove blackfin support

2018-03-14 Thread Tobias Klauser
The Blackfin port has been removed from the kernel, also remove the blackfin specific bits from the checkstack.pl script. Signed-off-by: Tobias Klauser --- Patch against the Arnd's asm-generic tree. scripts/checkstack.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/sc

Re: [PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-02 Thread Tobias Klauser
means that in order to suppress re-definition errors we need to > setup #define's before importing asm-generic/io.h. > > Signed-off-by: Greentime Hu Reviewed-by: Tobias Klauser Thanks

[PATCH] score: remove unused __ARCH_HAVE_MMU define

2018-01-25 Thread Tobias Klauser
The __ARCH_HAVE_MMU define is (and was) used nowhere in the tree and also doesn't appear to be used by any libc. Signed-off-by: Tobias Klauser --- arch/score/include/uapi/asm/unistd.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/score/include/uapi/asm/unistd.h b/arch/score/in

Re: [RESEND PATCH] nios2: defconfig: Cleanup from old Kconfig options

2018-01-22 Thread Tobias Klauser
On 2017-12-26 at 14:32:07 +0100, Krzysztof Kozlowski wrote: > Remove old, dead Kconfig option INET_LRO. It is gone since > commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"). > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Tobias Klauser

Re: [PATCH 5/7] nios2: remove arch specific early_init_dt_alloc_memory_arch

2018-01-17 Thread Tobias Klauser
On 2018-01-06 at 00:20:52 +0100, Rob Herring wrote: > Now that the DT core code handles bootmem arches, we can remove the nios2 > specific early_init_dt_alloc_memory_arch function. > > Cc: Ley Foon Tan > Cc: nios2-...@lists.rocketboards.org > Signed-off-by: Rob Herring R

Re: [PATCH] nios2: dts: Remove leading 0x and 0s from bindings notation

2017-12-21 Thread Tobias Klauser
space before the > the opening curly brace: > > https://elinux.org/Device_Tree_Linux#Linux_conventions > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x > from bindings notation") > > Reported-by: David Daney > Suggested-by: Rob Herri

Re: [PATCH 36/45] arch/nios2: remove duplicate includes

2017-12-11 Thread Tobias Klauser
On 2017-12-10 at 19:22:51 +0100, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge Reviewed-by: Tobias Klauser Thanks

Re: [PATCH 03/31] nds32: Support early_printk

2017-11-08 Thread Tobias Klauser
On 2017-11-08 at 06:54:51 +0100, Greentime Hu wrote: > From: Greentime Hu > > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu > --- > arch/nds32/kernel/early_printk.c | 124 > ++ > 1 file changed, 124 insertions(+) > create mode 100644 arch/nds32/

Re: [patch v11 4/4] Documentation: jtag: Add ABI documentation

2017-11-07 Thread Tobias Klauser
On 2017-11-03 at 16:54:09 +0100, Oleksandr Shamray wrote: > Added document that describe the ABI for JTAG class drivrer > > Signed-off-by: Oleksandr Shamray > Acked-by: Arnd Bergmann > --- > v10->v11 > v9->v10 > Fixes added by Oleksandr: > - change jtag-cdev to jtag-dev in documentation > - up

Re: [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h

2017-11-07 Thread Tobias Klauser
Hi Arnd On 2017-09-05 at 17:11:50 +0200, Arnd Bergmann wrote: > On Tue, Sep 5, 2017 at 1:27 PM, Tobias Klauser wrote: > > Including linux/vmalloc.h in asm-generic/io.h isn't necessary since none > > of the definitions are used in the header itself. Remove the include i

Re: [PATCH] net: hns: set correct return value

2017-10-30 Thread Tobias Klauser
in this case, the extracted error code will > always be zero, which is unexpected. > > Signed-off-by: Pan Bian Reviewed-by: Tobias Klauser

Re: net: hns: set correct return value

2017-10-30 Thread Tobias Klauser
g/project/netdev/list/ Care to resend with the proper subject? For the patch itself: Reviewed-by: Tobias Klauser

Re: [PATCH] tty/serial: altera_uart: Convert timers to use timer_setup()

2017-10-24 Thread Tobias Klauser
On 2017-10-24 at 11:59:56 +0200, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Tobias Klauser > Cc:

Re: [PATCH] net: dl2k: Convert timers to use timer_setup()

2017-10-05 Thread Tobias Klauser
quot; > Cc: Jarod Wilson > Cc: Tobias Klauser > Cc: Philippe Reynes > Cc: net...@vger.kernel.org > Cc: Thomas Gleixner > Signed-off-by: Kees Cook Reviewed-by: Tobias Klauser

Re: [PATCH] net: tulip: de2104x: Convert timers to use

2017-10-05 Thread Tobias Klauser
er" > Cc: "yuval.sh...@oracle.com" > Cc: Tobias Klauser > Cc: Jarod Wilson > Cc: Philippe Reynes > Cc: net...@vger.kernel.org > Cc: linux-par...@vger.kernel.org > Cc: Thomas Gleixner > Signed-off-by: Kees Cook Reviewed-by: Tobias Klauser

[PATCH] arch: remove unused *_segments() macros/functions

2017-09-22 Thread Tobias Klauser
Some architectures define the no-op macros/functions copy_segments, release_segments and forget_segments. These are used nowhere in the tree, so removed them. Signed-off-by: Tobias Klauser --- arch/arc/include/asm/processor.h| 3 --- arch/c6x/include/asm/processor.h| 3

Re: [PATCH] microblaze: Add missing kvm_para.h to Kbuild

2017-09-19 Thread Tobias Klauser
ytterhoeven > Signed-off-by: Michal Simek > Fixes: 83f0124ad81e87b ("microblaze: remove asm-generic wrapper headers") Ugh, I somehow missed kvm_para.h in my change. Thanks a lot for the fix! Reviewed-by: Tobias Klauser

[PATCH] MIPS: make thread_saved_pc static

2017-09-18 Thread Tobias Klauser
The only user of thread_saved_pc() in non-arch-specific code was removed in commit 8243d5597793 ("sched/core: Remove pointless printout in sched_show_task()"), so it no longer needs to be globally defined for MIPS and can be made static. Signed-off-by: Tobias Klauser --- arch/mips/i

[PATCH] alpha: make thread_saved_pc static

2017-09-18 Thread Tobias Klauser
The only user of thread_saved_pc() in non-arch-specific code was removed in commit 8243d5597793 ("sched/core: Remove pointless printout in sched_show_task()"), so it no longer needs to be globally defined for Alpha and can be made static. Signed-off-by: Tobias Klauser --- arch/alpha/i

Re: [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h

2017-09-08 Thread Tobias Klauser
gt; https://github.com/0day-ci/linux/commits/Tobias-Klauser/asm-generic-io-h-remove-unnecessary-include-of-linux-vmalloc-h/20170908-012111 > config: arm-shmobile_defconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wg

Re: [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h

2017-09-05 Thread Tobias Klauser
On 2017-09-05 at 17:11:50 +0200, Arnd Bergmann wrote: > On Tue, Sep 5, 2017 at 1:27 PM, Tobias Klauser wrote: > > Including linux/vmalloc.h in asm-generic/io.h isn't necessary since none > > of the definitions are used in the header itself. Remove the include in > >

[PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h

2017-09-05 Thread Tobias Klauser
could break unrelated parts. Signed-off-by: Tobias Klauser --- include/asm-generic/io.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index b4531e3b2120..d2d3bd163f5f 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -

Re: [patch v6 3/3] Doccumentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-28 Thread Tobias Klauser
5->v6 > Comments pointed by Tobias Klauser > - Small nit: s/doccumentation/Documentation/ There's still one 'c' too many in 'Doccumentation' in the subject (in case you're doing another respin of the series).

Re: [patch v5 3/3] doccumentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-21 Thread Tobias Klauser
> Subject: Re: [patch v5 3/3] doccumentation: jtag: Add bindings for Aspeed SoC > 24xx and 25xx families JTAG master driver Small nit: s/doccumentation/Documentation/

Re: [patch v1 1/2] drivers: jtag: Add JTAG core driver

2017-08-03 Thread Tobias Klauser
Nice work! On 2017-08-02 at 15:18:37 +0200, Oleksandr Shamray wrote: > --- /dev/null > +++ b/drivers/jtag/jtag.c [...] > +static int jtag_run_test_idle(struct jtag *jtag, > + struct jtag_run_test_idle *idle) Both the function and the struct it takes have the same name,

[PATCH] xtensa: remove wrapper header for asm/param.h

2017-07-21 Thread Tobias Klauser
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and does not add any arch specific extensions. Thus, use the asm-generic header directly. Signed-off-by: Tobias Klauser --- arch/xtensa/include/asm/Kbuild | 1 + arch/xtensa/include/asm/param.h | 18 -- 2

[PATCH v2] xtensa: remove wrapper header for asm/device.h

2017-07-21 Thread Tobias Klauser
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and does not add any arch specific extensions. Thus, use the asm-generic header directly. Acked-by: Max Filippov Signed-off-by: Tobias Klauser --- v2: rebased after Kbuild update, added Acked-by by Max arch/xtensa/includ

Re: [PATCH v2 18/28] nios2: move generic-y of exported headers to uapi/asm/Kbuild

2017-07-11 Thread Tobias Klauser
rder to keep the entries > sorted. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tobias Klauser Looks good, thanks!

Re: [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h

2017-07-11 Thread Tobias Klauser
. > > If we look at [1], it just includes [2]. So, [1] can be removed > as well. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tobias Klauser Looks good, thanks!

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-30 Thread Tobias Klauser
On 2017-06-30 at 00:52:44 +0200, Palmer Dabbelt wrote: > On Thu, 29 Jun 2017 01:39:25 PDT (-0700), tklau...@distanz.ch wrote: > > On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: > > [...] > >> diff --git a/arch/riscv/include/asm/device.h > >> b/arch/riscv/include/asm/device.h > >> new fil

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-29 Thread Tobias Klauser
On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: [...] > diff --git a/arch/riscv/include/asm/device.h b/arch/riscv/include/asm/device.h > new file mode 100644 > index ..28975e528d2f > --- /dev/null > +++ b/arch/riscv/include/asm/device.h > @@ -0,0 +1,27 @@ > +/* > + * Copyright (

Re: [PATCH 5/9] RISC-V: Task implementation

2017-06-29 Thread Tobias Klauser
On 2017-06-28 at 20:55:34 +0200, Palmer Dabbelt wrote: [...] > diff --git a/arch/riscv/include/asm/kprobes.h > b/arch/riscv/include/asm/kprobes.h > new file mode 100644 > index ..1190de7a0f74 > --- /dev/null > +++ b/arch/riscv/include/asm/kprobes.h > @@ -0,0 +1,22 @@ > +/* > + * Copyr

[PATCH] arch: remove unused macro/function thread_saved_pc()

2017-06-28 Thread Tobias Klauser
d_saved_pc() intact. Cc: Linus Torvalds Cc: Ingo Molnar Signed-off-by: Tobias Klauser --- arch/arc/include/asm/processor.h| 2 -- arch/blackfin/include/asm/processor.h | 5 - arch/c6x/include/asm/processor.h| 5 - arch/cris/arch-v10/kernel/process.c | 8

Re: [PATCH 03/10] fpga: allow to compile-test Altera FPGA bridge drivers

2017-06-09 Thread Tobias Klauser
On 2017-06-09 at 11:49:02 +0200, Greg Kroah-Hartman wrote: > On Mon, Jun 05, 2017 at 02:07:34PM -0500, Alan Tull wrote: > > From: Tobias Klauser > > > > Add COMPILE_TEST to the Kconfig entry for the Altera SoCFPGA FPGA > > Bridge. The Altera FPGA Freeze Bridge can

[PATCH] pinctrl: sunxi: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Suggested-by: Marc Zyngier Signed-off-by: Tobias Klauser --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi

Re: [PATCH 0/7] irqchip: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
On 2017-06-02 at 12:04:42 +0200, Marc Zyngier wrote: > On 02/06/17 09:20, Tobias Klauser wrote: > > Constify all remaining non-const instances of irq_domain_ops in the irqchip > > drivers. These can be made const as they are never modified. > > > > Tobias Klauser (7

[PATCH 4/7] irqchip/irq-mbigen: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-mbigen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c index 31d6b5a582d2..567b29c47608 100644

[PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Cc: Joel Stanley Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-aspeed-vic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-aspeed-vic.c b/drivers/irqchip/irq-aspeed-vic.c index

[PATCH 2/7] irqchip/i8259: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-i8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-i8259.c b/drivers/irqchip/irq-i8259.c index 1aec12c6d9ac..7aafbb091b67 100644

[PATCH 7/7] irqchip/irq-renesas-h8s: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Cc: Yoshinori Sato Cc: uclinux-h8-de...@lists.sourceforge.jp Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-renesas-h8s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-renesas-h8s.c

[PATCH 0/7] irqchip: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
Constify all remaining non-const instances of irq_domain_ops in the irqchip drivers. These can be made const as they are never modified. Tobias Klauser (7): irqchip/aspeed-vic: constify irq_domain_ops irqchip/i8259: constify irq_domain_ops irqchip/irq-imx-gpcv2: constify irq_domain_ops

[PATCH 6/7] irqchip/irq-renesas-h8300h: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Cc: Yoshinori Sato Cc: uclinux-h8-de...@lists.sourceforge.jp Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-renesas-h8300h.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-renesas

[PATCH 5/7] irqchip/irq-mips-gic: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-mips-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c index eb7fbe159963..65642a78b8a3

[PATCH 3/7] irqchip/irq-imx-gpcv2: constify irq_domain_ops

2017-06-02 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-imx-gpcv2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c index 9463f3557e82

[PATCH] mfd: fsl-imx25-tsadc: constify irq_domain_ops

2017-05-24 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- drivers/mfd/fsl-imx25-tsadc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/fsl-imx25-tsadc.c b/drivers/mfd/fsl-imx25-tsadc.c index ac430a396a89..190e375dc57a

Re: RISC-V Linux Port v1

2017-05-22 Thread Tobias Klauser
Hi Palmer, On 2017-05-23 at 05:36:55 +0200, Palmer Dabbelt wrote: > On Mon, 22 May 2017 18:16:20 PDT (-0700), o...@lixom.net wrote: > > On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > >> We'd like to submit for inclusion in Linux a port for the RISC-V > >> architecture. > >> While it i

[PATCH] microblaze: remove asm-generic wrapper headers

2017-05-19 Thread Tobias Klauser
d in order to get exported, as they are already listed in mandatory-y. Also order the generic-y list alphabetically. Signed-off-by: Tobias Klauser --- arch/microblaze/include/asm/Kbuild | 45 - arch/microblaze/include/asm/bitops.h| 1 - arch/

[PATCH] microblaze: wire up statx syscall

2017-05-19 Thread Tobias Klauser
Add the new statx syscall. Signed-off-by: Tobias Klauser --- arch/microblaze/include/asm/unistd.h | 2 +- arch/microblaze/include/uapi/asm/unistd.h | 1 + arch/microblaze/kernel/syscall_table.S| 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/microblaze/include

[PATCH] mn10300: remove wrapper header for asm/device.h

2017-05-17 Thread Tobias Klauser
mn10300's asm/device.h is merely including asm-generic/device.h. Thus, the arch specific header can be omitted and the generic header can be used directly. Signed-off-by: Tobias Klauser --- arch/mn10300/include/asm/Kbuild | 1 + arch/mn10300/include/asm/device.h | 1 - 2 files chang

[PATCH] frv: remove wrapper header for asm/device.h

2017-05-17 Thread Tobias Klauser
frv's asm/device.h is merely including asm-generic/device.h. Thus, the arch specific header can be omitted and the generic header can be used directly. Signed-off-by: Tobias Klauser --- arch/frv/include/asm/Kbuild | 1 + arch/frv/include/asm/device.h | 7 --- 2 files changed, 1 inse

[PATCH] xtensa: remove wrapper header for asm/device.h

2017-05-17 Thread Tobias Klauser
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and does not add any arch specific extensions. Thus, use the asm-generic header directly. Signed-off-by: Tobias Klauser --- arch/xtensa/include/asm/Kbuild | 1 + arch/xtensa/include/asm/device.h | 15 --- 2

[PATCH] score: remove wrapper header for asm/device.h

2017-05-17 Thread Tobias Klauser
score's asm/device.h is merely including asm-generic/device.h. Thus, the arch specific header can be omitted and the generic header can be used directly Signed-off-by: Tobias Klauser --- arch/score/include/asm/Kbuild | 1 + arch/score/include/asm/device.h | 6 -- 2 files chang

[PATCH] xtensa: use generic fb.h

2017-05-17 Thread Tobias Klauser
The arch uses a verbatim copy of the asm-generic version and does not add any own implemntations to the header, so use asm-generic/fb.h instead of duplicating code. Signed-off-by: Tobias Klauser --- arch/xtensa/include/asm/Kbuild | 1 + arch/xtensa/include/asm/fb.h | 12 2 files

[PATCH] s390: use generic fb.h

2017-05-17 Thread Tobias Klauser
The arch uses a verbatim copy of the asm-generic version and does not add any own implemntations to the header, so use asm-generic/fb.h instead of duplicating code. Signed-off-by: Tobias Klauser --- arch/s390/include/asm/Kbuild | 1 + arch/s390/include/asm/fb.h | 12 2 files

[PATCH] mn10300: use generic fb.h

2017-05-17 Thread Tobias Klauser
The arch uses a verbatim copy of the asm-generic version and does not add any own implemntations to the header, so use asm-generic/fb.h instead of duplicating code. Signed-off-by: Tobias Klauser --- arch/mn10300/include/asm/Kbuild | 1 + arch/mn10300/include/asm/fb.h | 23

[PATCH] frv: use generic fb.h

2017-05-17 Thread Tobias Klauser
The arch uses a verbatim copy of the asm-generic version and does not add any own implemntations to the header, so use asm-generic/fb.h instead of duplicating code. Signed-off-by: Tobias Klauser --- arch/frv/include/asm/Kbuild | 1 + arch/frv/include/asm/fb.h | 12 2 files

[PATCH] cris: use generic fb.h

2017-05-17 Thread Tobias Klauser
The arch uses a verbatim copy of the asm-generic version and does not add any own implemntations to the header, so use asm-generic/fb.h instead of duplicating code. Signed-off-by: Tobias Klauser --- arch/cris/include/asm/Kbuild | 1 + arch/cris/include/asm/fb.h | 12 2 files

[PATCH] alpha: use generic fb.h

2017-05-17 Thread Tobias Klauser
The arch uses a verbatim copy of the asm-generic version and does not add any own implemntations to the header, so use asm-generic/fb.h instead of duplicating code. Signed-off-by: Tobias Klauser --- arch/alpha/include/asm/Kbuild | 1 + arch/alpha/include/asm/fb.h | 13 - 2 files

Re: [PATCH] serial: altera_jtaguart: adding iounmap()

2017-05-13 Thread Tobias Klauser
On 2017-05-12 at 23:36:22 +0200, Alexey Khoroshilov wrote: > The driver does ioremap(port->mapbase, ALTERA_JTAGUART_SIZE), > but there is no any iounmap(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Ack

Re: [PATCH] mm, vmalloc: fix vmalloc users tracking properly

2017-05-10 Thread Tobias Klauser
ch reverts 1f5307b1e094 and reimplements the original > fix in a different way. __vmalloc_node_flags can stay static inline > which will cover vmalloc* functions. We only have one external user > (kvmalloc_node) and we can export __vmalloc_node_flags_caller and > provide the caller directly. This is much simpler and it doesn't really > need any games with header files. > > Fixes: 1f5307b1e094 ("mm, vmalloc: properly track vmalloc users") > Signed-off-by: Michal Hocko Tested-by: Tobias Klauser

Re: [PATCH] mm, vmalloc: fix vmalloc users tracking properly

2017-05-09 Thread Tobias Klauser
erts 1f5307b1e094 and reimplements the original > fix in a different way. __vmalloc_node_flags can stay static inline > which will cover vmalloc* functions. We only have one external user > (kvmalloc_node) and we can export __vmalloc_node_flags_caller and > provide the caller directly. This is much si

Re: [PATCH] asm-generic/io.h: remove unnecessary #include of

2017-05-09 Thread Tobias Klauser
On 2017-05-09 at 11:02:07 +0200, Michal Hocko wrote: > On Tue 09-05-17 10:50:45, Tobias Klauser wrote: > > After commit 1f5307b1e094 ("mm, vmalloc: properly track vmalloc users") > > the build for ARCH=nios2 fails with: > > > > In file included

[PATCH] asm-generic/io.h: remove unnecessary #include of

2017-05-09 Thread Tobias Klauser
ove it alltogether. Build tested on - nios2: 10m50_defconfig - x86: allyesconfig, various randconfigs - arm: tegra_defconfig, various randconfigs Cc: Michal Hocko Cc: Ley Foon Tan Signed-off-by: Tobias Klauser --- include/asm-generic/io.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/asm-

[PATCH] MAINTAINERS: update file entry for HSI subsystem

2017-04-21 Thread Tobias Klauser
The HSI documentation was moved into Documentation/driver-api/hsi.rst in commit 5e995786850e ("docs: split up serial-interfaces.rst"). Update the corresponding file entry in MAINTAINERS. Signed-off-by: Tobias Klauser --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-19 Thread Tobias Klauser
, please drop us a note to > >help improve the system] > > > >url: > >https://github.com/0day-ci/linux/commits/Tobias-Klauser/fpga-allow-to-compile-test-Altera-FPGA-bridge-drivers/20170411-181401 > >config: m32r-allmodconfig (attached as .config) >

[PATCH v2] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-12 Thread Tobias Klauser
rrors/warnings, e.g. due to API/header changes earlier on. Signed-off-by: Tobias Klauser --- drivers/fpga/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index 161ba9dccede..544600db8052 100644 --- a/drivers/fpga/Kconfig

  1   2   3   >