Re: [PATCH] parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check

2024-02-16 Thread Helge Deller
On 2/11/24 23:43, Max Kellermann wrote: Fixes a bug revealed by -Wmissing-prototypes when CONFIG_FUNCTION_GRAPH_TRACER is enabled but not CONFIG_DYNAMIC_FTRACE: arch/parisc/kernel/ftrace.c:82:5: error: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Werror=missing-prototypes]

Re: [PATCH] parisc/kprobes: always include asm-generic/kprobes.h

2024-02-16 Thread Helge Deller
On 2/12/24 00:09, Max Kellermann wrote: The NOKPROBE_SYMBOL macro (and others) were moved to asm-generic/kprobes.h in 2017 by commit 7d134b2ce639 ("kprobes: move kprobe declarations to asm-generic/kprobes.h"), and this new header was included by asm/kprobes.h unconditionally on all

Re: [PATCH 2/4] modules: Ensure 64-bit alignment on __ksymtab_* sections

2024-01-22 Thread Helge Deller
On 1/22/24 17:10, Luis Chamberlain wrote: On Sat, Dec 30, 2023 at 08:33:24AM +0100, Helge Deller wrote: Your selftest code is based on perf. AFAICS we don't have perf on parisc/hppa, I see! so I can't test your selftest code on that architecture. I assume you tested on x86, where the CPU

Re: [PATCH 2/4] modules: Ensure 64-bit alignment on __ksymtab_* sections

2023-12-29 Thread Helge Deller
Hi Luis, On 12/22/23 21:10, Luis Chamberlain wrote: On Fri, Dec 22, 2023 at 01:13:26PM +0100, Helge Deller wrote: On 12/22/23 06:59, Luis Chamberlain wrote: On Wed, Nov 22, 2023 at 11:18:12PM +0100, del...@kernel.org wrote: On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS

Re: [PATCH 2/4] modules: Ensure 64-bit alignment on __ksymtab_* sections

2023-12-22 Thread Helge Deller
Hi Luis, On 12/22/23 06:59, Luis Chamberlain wrote: On Wed, Nov 22, 2023 at 11:18:12PM +0100, del...@kernel.org wrote: From: Helge Deller On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS (e.g. ppc64, ppc64le, parisc, s390x,...) the __KSYM_REF() macro stores 64-bit pointers

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Helge Deller
On 12/20/23 20:40, Luis Chamberlain wrote: On Tue, Dec 19, 2023 at 01:26:49PM -0800, Luis Chamberlain wrote: On Wed, Nov 22, 2023 at 11:18:10PM +0100, del...@kernel.org wrote: From: Helge Deller My questions: - Am I wrong with my analysis? This would typically of course depend on the arch

Re: [PATCH 3/4] vmlinux.lds.h: Fix alignment for __ksymtab*, __kcrctab_* and .pci_fixup sections

2023-12-22 Thread Helge Deller
On 12/21/23 14:07, Masahiro Yamada wrote: On Thu, Nov 23, 2023 at 7:18 AM wrote: From: Helge Deller On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS (e.g. ppc64, ppc64le, parisc, s390x,...) the __KSYM_REF() macro stores 64-bit pointers into the __ksymtab* sections. Make

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Helge Deller
On 12/21/23 16:42, Masahiro Yamada wrote: On Thu, Dec 21, 2023 at 10:40 PM Masahiro Yamada wrote: On Thu, Nov 23, 2023 at 7:18 AM wrote: From: Helge Deller While working on the 64-bit parisc kernel, I noticed that the __ksymtab[] table was not correctly 64-bit aligned in many modules

Re: [PATCH 3/5] parisc: remove broken vdso_install

2023-10-12 Thread Helge Deller
it consistent across the architectures. Acked-by: Helge Deller # parisc In case you do a v2 version of the patch, would you add to arch/parisc/Makefile (otherwise I can send a follow-up patch in the parisc git tree): vdso-install-y += arch/parisc/kernel/vdso32/vdso32.so vdso-install

Re: [PATCH 15/20] kbuild: parisc: use common install script

2021-04-14 Thread Helge Deller
different copies of the parisc install.sh script that were only different by one line and have the arch call the common install script. Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: linux-par...@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- arch/parisc/Makefile| 4 +-- a

Re: [PATCH 4/5] uapi: always define F_GETLK64/F_SETLK64/F_SETLKW64 in fcntl.h

2021-04-13 Thread Helge Deller
On 4/13/21 5:46 PM, Christoph Hellwig wrote: On Tue, Apr 13, 2021 at 05:43:18PM +0200, Helge Deller wrote: On 4/12/21 10:55 AM, Christoph Hellwig wrote: The F_GETLK64/F_SETLK64/F_SETLKW64 commands are only implemented for 32-bit syscall APIs, but we also need them for compat handling on 64-bit

Re: [PATCH 4/5] uapi: always define F_GETLK64/F_SETLK64/F_SETLKW64 in fcntl.h

2021-04-13 Thread Helge Deller
: Acked-by: Helge Deller Thanks! Helge In theory we could try to hide them from userspace; but given that only MIPS manages to properly do that while the asm-generic version used by most architectures relies on a Kconfig symbol that is never set by userspace there doesn't seem to be much of a point

Re: [PATCH v2 1/1] kernel.h: Split out panic and oops helpers

2021-04-09 Thread Helge Deller
Reviewed-by: Bjorn Andersson Acked-by: Mike Rapoport Acked-by: Corey Minyard Acked-by: Christian Brauner Acked-by: Arnd Bergmann Acked-by: Kees Cook Acked-by: Wei Liu Acked-by: Rasmus Villemoes Signed-off-by: Andrew Morton Acked-by: Helge Deller # parisc Helge

Re: [GIT PULL] parisc architecture fixes for kernel v5.12-rc7

2021-04-07 Thread Helge Deller
On 4/7/21 6:26 PM, Linus Torvalds wrote: On Wed, Apr 7, 2021 at 2:09 AM Helge Deller wrote: http://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.12-3 Not technically related to this pull (which I just did), but doing the pull did remind me that you're one

[GIT PULL] parisc architecture fixes for kernel v5.12-rc7

2021-04-07 Thread Helge Deller
spelling fixes. Thanks, Helge Bhaskar Chowdhury (1): parisc: math-emu: Few spelling fixes in the file fpu.h Gao Xiang (1): parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers Helge Deller (1): parisc: parisc

Re: [PATCH] parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers

2021-04-06 Thread Helge Deller
://lore.kernel.org/r/20210315131512.133720-2-jacopo+rene...@jmondi.org Cc: Liam Beguin Cc: Helge Deller Signed-off-by: Gao Xiang applied to the parisc for-next git tree. (I fixed up the typo above too) Thanks! Helge --- arch/parisc/include/asm/cmpxchg.h | 2 +- 1 file changed, 1 insertion(+),

Re: ERROR: modpost: "sba_list" [drivers/char/agp/parisc-agp.ko] undefined!

2021-04-06 Thread Helge Deller
c-agp.ko] undefined! The following patch should fix it. I'll apply it to the parisc for-next git tree. Thanks! Helge - From: Helge Deller Date: Tue, 6 Apr 2021 11:32:52 +0200 Subject: [PATCH] parisc: parisc-agp requires SBA IOMMU driver Add a dependency to the SBA IOMMU driver to avoid: ERRO

Re: [PATCH] arch: parisc: Remove duplicate struct task_struct declaration

2021-03-31 Thread Helge Deller
On 3/31/21 3:28 AM, Wan Jiabing wrote: struct task_struct is declared twice. One has been declared at 154th line. Remove the duplicate. Signed-off-by: Wan Jiabing Thanks, applied to parisc tree. Helge --- arch/parisc/include/asm/processor.h | 1 - 1 file changed, 1 deletion(-) diff

Re: [PATCH 1/2] parisc: syscalls: switch to generic syscalltbl.sh

2021-03-08 Thread Helge Deller
On 3/1/21 3:58 PM, Masahiro Yamada wrote: Many architectures duplicate similar shell scripts. This commit converts parisc to use scripts/syscalltbl.sh. This also unifies syscall_table_64.h and syscall_table_c32.h. Signed-off-by: Masahiro Yamada For both patches: Acked-by: Helge Deller

[GIT PULL] parisc architecture fixes for kernel v5.12-rc333

2021-03-07 Thread Helge Deller
Helge Deller (1): parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST Zhang Yunkai (1): arch/parisc/kernel: remove duplicate include in ptrace arch/parisc/Kconfig | 7 +-- arch/parisc/kernel/ptrace.c | 2 -- 2

Re: [PATCH] arch/parisc/kernel: remove duplicate include in ptrace

2021-03-06 Thread Helge Deller
On 3/4/21 3:24 AM, menglong8.d...@gmail.com wrote: From: Zhang Yunkai 'linux/compat.h' included in 'arch/parisc/kernel/ptrace.c' is duplicated. It is also included in the 24th line. Signed-off-by: Zhang Yunkai Thanks, applied to the parisc-next tree. Helge ---

Re: hppa64-linux-ld: kernel/sched/core.o(.init.text+0x90): cannot reach printk

2021-03-02 Thread Helge Deller
* Helge Deller : > On 3/2/21 7:07 PM, Nick Desaulniers wrote: > > + Arnd > > > > On Tue, Mar 2, 2021 at 10:03 AM Helge Deller wrote: > > > > > > On 3/2/21 6:29 PM, Nick Desaulniers wrote: > > > > + pa-risc folks > > > > > >

Re: hppa64-linux-ld: kernel/sched/core.o(.init.text+0x90): cannot reach printk

2021-03-02 Thread Helge Deller
On 3/2/21 7:07 PM, Nick Desaulniers wrote: + Arnd On Tue, Mar 2, 2021 at 10:03 AM Helge Deller wrote: On 3/2/21 6:29 PM, Nick Desaulniers wrote: + pa-risc folks Thanks for looking into this, Nick! On Tue, Mar 2, 2021 at 2:59 AM kernel test robot wrote: tree: https://git.kernel.org

Re: hppa64-linux-ld: kernel/sched/core.o(.init.text+0x90): cannot reach printk

2021-03-02 Thread Helge Deller
On 3/2/21 6:29 PM, Nick Desaulniers wrote: + pa-risc folks Thanks for looking into this, Nick! On Tue, Mar 2, 2021 at 2:59 AM kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7a7fd0de4a9804299793e564a555a49c1fc924cb

Re: hppa64-linux-ld: kernel/rcu/refscale.o(.init.text+0x228): cannot reach schedule_timeout_uninterruptible

2021-03-01 Thread Helge Deller
On 2/28/21 11:33 PM, Paul E. McKenney wrote: On Sun, Feb 28, 2021 at 09:51:35PM +0100, Helge Deller wrote: Adding parisc-parisc mailing list... On 2/28/21 6:05 AM, Paul E. McKenney wrote: On Sun, Feb 28, 2021 at 12:08:08PM +0800, kernel test robot wrote: Hi Paul, First bad commit (maybe

Re: [PATCH v2] binfmt_misc: Fix possible deadlock in bm_register_write

2021-03-01 Thread Helge Deller
86/entry/entry_64.S:120 To solve the issue, the open_exec call is moved to before the write lock is taken by bm_register_write Signed-off-by: Lior Ribak Acked-by: Helge Deller Thanks! Helge --- v2: Added "kfree(e)" above "return PTR_ERR(f)" fs/binfmt_misc.c | 29

Re: hppa64-linux-ld: kernel/rcu/refscale.o(.init.text+0x228): cannot reach schedule_timeout_uninterruptible

2021-02-28 Thread Helge Deller
Adding parisc-parisc mailing list... On 2/28/21 6:05 AM, Paul E. McKenney wrote: On Sun, Feb 28, 2021 at 12:08:08PM +0800, kernel test robot wrote: Hi Paul, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head:

Re: [PATCH printk-rework 08/14] printk: add syslog_lock

2021-02-23 Thread Helge Deller
On 2/23/21 3:23 PM, Petr Mladek wrote: On Tue 2021-02-23 13:22:22, Helge Deller wrote: On 2/22/21 5:28 PM, Petr Mladek wrote: On Sun 2021-02-21 22:39:42, Helge Deller wrote: On 2/19/21 5:33 PM, John Ogness wrote: Added CC: linux-par...@vger.kernel.org On 2021-02-19, John Ogness wrote

Re: [PATCH printk-rework 08/14] printk: add syslog_lock

2021-02-23 Thread Helge Deller
On 2/22/21 5:28 PM, Petr Mladek wrote: On Sun 2021-02-21 22:39:42, Helge Deller wrote: On 2/19/21 5:33 PM, John Ogness wrote: Added CC: linux-par...@vger.kernel.org On 2021-02-19, John Ogness wrote: diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 20c21a25143d

Re: [PATCH printk-rework 08/14] printk: add syslog_lock

2021-02-21 Thread Helge Deller
On 2/19/21 5:33 PM, John Ogness wrote: Added CC: linux-par...@vger.kernel.org On 2021-02-19, John Ogness wrote: diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 20c21a25143d..401df370832b 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c +/* Return a

[GIT PULL] parisc architecture updates for kernel v5.12-rc1

2021-02-21 Thread Helge Deller
Helge Deller (3): parisc: Drop out of get_whan() if task is running again parisc: Use the generic devmem_is_allowed() parisc: Optimize per-pagetable spinlocks John David Anglin (1): parisc: Bump 64-bit IRQ stack size to 64 KB Laurent Vivier (1

Re: [PATCH v3] binfmt_misc: pass binfmt_misc flags to the interpreter

2021-02-12 Thread Helge Deller
vector, AT_FLAGS, to add a flag to inform interpreter if the preserve-argv[0] is enabled. Signed-off-by: Laurent Vivier Acked-by: Helge Deller If nobody objects, I'd like to take this patch through the parisc arch git tree. It fixes a real-world problem with qemu-user which fails to preserve

Re: [PATCH] parisc: Replace test_ti_thread_flag() with test_tsk_thread_flag()

2021-02-03 Thread Helge Deller
On 2/3/21 6:27 AM, Tiezhu Yang wrote: > Use test_tsk_thread_flag() directly instead of test_ti_thread_flag() to > improve readability when the argument type is struct task_struct, it is > similar with commit 5afc78551bf5 ("arm64: Use test_tsk_thread_flag() for > checking TIF_SINGLESTEP"). > >

[GIT PULL] parisc architecture updates for kernel v5.11-rc6

2021-01-27 Thread Helge Deller
. * Remove leftover reference to power_tasklet, by Davidlohr Bueso Thanks, Helge Davidlohr Bueso (1): parisc: Remove leftover reference to the power_tasklet Helge Deller (1): parisc: Enable -mlong-calls gcc option by default

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-26 Thread Helge Deller
On 1/25/21 7:34 PM, John David Anglin wrote: > For calls, this issue can be avoided with -mlong-calls option.  Without this, > 64-bit calls are limited to > a 22-bit pc-relative offset (8 MB).  This does make branches somewhat less > efficient.  At the moment, > the 64-bit linker does not

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 10:08 PM, John David Anglin wrote: > I would suggest the following for this hunk: > > +    ldil    L%intr_restore, %r2 > +    BL    preempt_schedule_irq > +    ldo R%intr_restore(%r2), %r2 > >     ldil    L%intr_restore, %r1 >     b,l    preempt_schedule_irq,%r2 >     ldo

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 10:17 PM, John David Anglin wrote: > On 2021-01-25 4:13 p.m., Helge Deller wrote: >> On 1/25/21 10:08 PM, John David Anglin wrote: >>> I would suggest the following for this hunk: >>> >>> +    ldil    L%intr_restore, %r2 >>> +   

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 9:58 PM, Nick Desaulniers wrote: > On Mon, Jan 25, 2021 at 12:47 PM Helge Deller wrote: >> >>>>> On Sat, Jan 16, 2021 at 6:37 AM kernel test robot wrote: >>>>>> tree: >>>>>> https://git.kernel.org/pu

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 9:47 PM, Helge Deller wrote: >>>> On Sat, Jan 16, 2021 at 6:37 AM kernel test robot wrote: >>>>> tree: >>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >>>>> head

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
quot;. The Kconfig autodetection needs fixing to enable CONFIG_MLONGCALLS in this case. This patch fixes it for me: [PATCH] Require -mlong-calls gcc option for !CONFIG_MODULES When building a kernel without module support, the CONFIG_MLONGCALL option needs to be enabled. This patch fixes the au

Re: [PATCH] crypto: xor - avoid division by zero crash

2021-01-24 Thread Helge Deller
On 1/24/21 3:30 PM, Ard Biesheuvel wrote: > On Sun, 24 Jan 2021 at 15:28, Helge Deller wrote: >> >> On some of my parisc machines, this patch c055e3eae0f1 ("crypto: xor - >> use ktime for template benchmarking") triggers a dividy-by-zero >> exception because

[PATCH] crypto: xor - avoid division by zero crash

2021-01-24 Thread Helge Deller
cases with a kernel warning and continues as if the xor tests would have run in 1 ns. Signed-off-by: Helge Deller Cc: sta...@vger.kernel.org # 5.10+ --- diff --git a/crypto/xor.c b/crypto/xor.c index eacbf4f93990..3639341bac7e 100644 --- a/crypto/xor.c +++ b/crypto/xor.c @@ -100,6 +100,8 @@

Re: [proc/wchan] 30a3a19273: leaking-addresses.proc.wchan./proc/bus/input/devices:B:KEY=1000000000007ff980000000007fffebeffdfffeffffffffffffffffffffe

2021-01-03 Thread Helge Deller
> https://github.com/0day-ci/linux/commits/Helge-Deller/proc-wchan-Use-printk-format-instead-of-lookup_symbol_name/20201218-010048 > base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git > 09162bc32c880a791c6c0668ce0745cf7958f576 > > in testcase: leaking-addresses >

[PATCH] mm: fix extend calculation for move_page_tables()

2020-12-29 Thread Helge Deller
alculation was tried to be optimized, but got it wrong for this case. The patch below reverts to the previous way to calculate the extent and thus fixes the boot problem. Fixes: c49dd34018026 ("mm: speedup mremap on 1GB or larger regions") Signed-off-by: Helge Deller Cc: Kalesh Singh Cc: &quo

Re: [PATCH] proc/wchan: Use printk format instead of lookup_symbol_name()

2020-12-23 Thread Helge Deller
On 12/23/20 3:18 AM, Andrew Morton wrote: > On Thu, 17 Dec 2020 17:54:13 +0100 Helge Deller wrote: > >> To resolve the symbol fuction name for wchan, use the printk format >> specifier %ps instead of manually looking up the symbol function name >> via lookup_symbol_

Re: [PATCH] checkpatch: add new warning when lookup_symbol_name() is used

2020-12-17 Thread Helge Deller
On 12/17/20 7:15 PM, Joe Perches wrote: > On Thu, 2020-12-17 at 18:42 +0100, Helge Deller wrote: >> On 12/17/20 6:27 PM, Joe Perches wrote: >>> On Thu, 2020-12-17 at 18:11 +0100, Helge Deller wrote: >>>> In most cases people use lookup_symbol_name() to resolve a ker

Re: [PATCH] checkpatch: add new warning when lookup_symbol_name() is used

2020-12-17 Thread Helge Deller
On 12/17/20 6:27 PM, Joe Perches wrote: > On Thu, 2020-12-17 at 18:11 +0100, Helge Deller wrote: >> In most cases people use lookup_symbol_name() to resolve a kernel symbol >> and then print it via printk(). >> >> In such cases using the %ps, %pS, %pSR or %pB printk f

[PATCH] checkpatch: add new warning when lookup_symbol_name() is used

2020-12-17 Thread Helge Deller
In most cases people use lookup_symbol_name() to resolve a kernel symbol and then print it via printk(). In such cases using the %ps, %pS, %pSR or %pB printk formats are easier to use and thus should be preferred. Signed-off-by: Helge Deller diff --git a/scripts/checkpatch.pl b/scripts

[PATCH] proc/wchan: Use printk format instead of lookup_symbol_name()

2020-12-17 Thread Helge Deller
To resolve the symbol fuction name for wchan, use the printk format specifier %ps instead of manually looking up the symbol function name via lookup_symbol_name(). Signed-off-by: Helge Deller diff --git a/fs/proc/base.c b/fs/proc/base.c index b362523a9829..c4593e1cafa4 100644 --- a/fs/proc

[GIT PULL] parisc architecture updates for kernel v5.11-rc1

2020-12-16 Thread Helge Deller
to 39b1e779b6e2d4ca7967b49b26f1e4358f20c90c: parisc: pci-dma: fix warning unused-function (2020-12-15 05:41:11 +0100) Anders Roxell (1): parisc: pci-dma: fix warning unused-function Geert Uytterhoeven (1): parisc/uapi: Use Kbuild logic to provide Helge

Re: linux-next: manual merge of the parisc-hd tree with the asm-generic tree

2020-12-14 Thread Helge Deller
On 12/14/20 8:48 PM, Stephen Rothwell wrote: > Hi all, > > On Mon, 2 Nov 2020 12:38:41 +1100 Stephen Rothwell > wrote: >> >> Today's linux-next merge of the parisc-hd tree got a conflict in: >> >> arch/parisc/kernel/time.c >> >> between commit: >> >> 686092e7daaa ("parisc: use

Re: [PATCH] arch: fix 'unexpected IRQ trap at vector' warnings

2020-12-08 Thread Helge Deller
On 12/8/20 3:11 AM, Michael Ellerman wrote: > "Enrico Weigelt, metux IT consult" writes: >> All archs, except Alpha, print out the irq number in hex, but the message >> looks like it was a decimal number, which is quite confusing. Fixing this >> by adding "0x" prefix. > > Arguably decimal would

Re: [PATCH] parisc: signal: remove _SA_SIGGFAULT

2020-11-26 Thread Helge Deller
On 11/26/20 2:06 PM, Anders Roxell wrote: > When building tinyconfig on parisc the following error shows up: > > /tmp/kernel/signal.c: In function 'do_sigaction': > /tmp/arch/parisc/include/asm/signal.h:24:30: error: '_SA_SIGGFAULT' > undeclared (first use in this function); did you mean

[tip: timers/core] timer_list: Use printk format instead of open-coded symbol lookup

2020-11-15 Thread tip-bot2 for Helge Deller
The following commit has been merged into the timers/core branch of tip: Commit-ID: da88f9b3113620dcd30fc203236aa53d5430ee98 Gitweb: https://git.kernel.org/tip/da88f9b3113620dcd30fc203236aa53d5430ee98 Author:Helge Deller AuthorDate:Wed, 04 Nov 2020 17:34:01 +01:00

Re: [PATCH] parisc/uapi: Use Kbuild logic to provide

2020-11-11 Thread Helge Deller
On 11/10/20 5:51 PM, Geert Uytterhoeven wrote: > Uapi just includes > > Signed-off-by: Geert Uytterhoeven Thanks, applied to the parisc for-next tree. Helge > --- > This is a resend of a very old patch from 2013, which is still valid. > > arch/parisc/include/uapi/asm/types.h | 7 --- >

[PATCH] power: reset: Use printk format symbol resolver

2020-11-05 Thread Helge Deller
Instead of looking up a symbol name by hand, use the %ps printk format specifier. Signed-off-by: Helge Deller diff --git a/drivers/power/reset/qnap-poweroff.c b/drivers/power/reset/qnap-poweroff.c index 52b7dc61d870..0ddf7f25f7b8 100644 --- a/drivers/power/reset/qnap-poweroff.c +++ b/drivers

Re: [PATCH seccomp 2/8] parisc: Enable seccomp architecture tracking

2020-11-05 Thread Helge Deller
ested it, works on 32- and 64-bit parisc kernel. I don't know how to test it actually, but anyway: Acked-by: Helge Deller Thanks! Helge > --- > arch/parisc/include/asm/Kbuild| 1 - > arch/parisc/include/asm/seccomp.h | 22 ++ > 2 files changed, 22 insertions

[PATCH] timer_list: Use printk format instead of open-coded symbol lookup

2020-11-04 Thread Helge Deller
Use the "%ps" printk format string to resolve symbol names. This works on all platforms, including ia64, ppc64 and parisc64 on which one needs to dereference pointers to function descriptors instead of function pointers. Signed-off-by: Helge Deller diff --git a/kernel/time/time

Re: [PATCH v2 07/15] parisc: use legacy_timer_tick

2020-10-30 Thread Helge Deller
On 10/30/20 8:33 PM, Arnd Bergmann wrote: > On Fri, Oct 30, 2020 at 6:13 PM Helge Deller wrote: >> >> On 10/30/20 4:17 PM, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> parisc has selected CONFIG_GENERIC_CLOCKEVENTS since commit 43b1f6abd590 &

Re: [PATCH v2 07/15] parisc: use legacy_timer_tick

2020-10-30 Thread Helge Deller
On 10/30/20 4:17 PM, Arnd Bergmann wrote: > From: Arnd Bergmann > > parisc has selected CONFIG_GENERIC_CLOCKEVENTS since commit 43b1f6abd590 > ("parisc: Switch to generic sched_clock implementation"), but does not > appear to actually be using it, and instead calls the low-level > timekeeping

Re: [PATCH] USB: serial: ftdi_sio: Fix serial port stall after resume

2020-10-28 Thread Helge Deller
On 10/27/20 10:00 AM, Johan Hovold wrote: > On Thu, Oct 08, 2020 at 08:16:02PM +0200, Helge Deller wrote: >> On 10/8/20 5:21 PM, Johan Hovold wrote: >>> On Tue, Sep 29, 2020 at 09:33:27PM +0200, Helge Deller wrote: >>>> With a 4-port serial USB HUB with FT232

[GIT PULL] parisc architecture updates for kernel v5.10-rc1

2020-10-25 Thread Helge Deller
) Helge Deller (4): parisc: Improve error return codes when setting rtc time hil/parisc: Disable HIL driver when it gets stuck parisc: Add wrapper syscalls to fix O_NONBLOCK flag usage ata: pata_ns87415.c: Document support on parisc with superio chip arch/parisc/kernel

[PATCH] scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove()

2020-10-22 Thread Helge Deller
0/0x498 [<40ae0130>] driver_register+0xf4/0x298 [<409450c4>] __pci_register_driver+0x78/0xa8 [<0007d248>] mptspi_init+0x18c/0x1c4 [mptspi] This patch adds the necessary NULL-pointer checks. Successfully tested on a HP C8000 parisc workstation with buggy SC

nfsroot: Default mount option should ask for built-in NFS version

2020-10-16 Thread Helge Deller
Change the nfsroot default mount option to ask for NFSv2 only *if* the kernel was built with NFSv2 support. If not, default to NFSv3 or as last choice to NFSv4, depending on actual kernel config. Signed-off-by: Helge Deller diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c index 8d3278805602

[GIT PULL] parisc architecture updates for kernel v5.10-rc1

2020-10-15 Thread Helge Deller
) Christoph Hellwig (1): parisc: disable CONFIG_IDE in defconfigs Helge Deller (11): fw_cfg: Add support for parisc architecture parisc: Add qemu fw_cfg interface parisc: Avoid external interrupts when IPI finishes parisc: Drop HP-UX

Re: [PATCH] USB: serial: ftdi_sio: Fix serial port stall after resume

2020-10-08 Thread Helge Deller
On 10/8/20 5:21 PM, Johan Hovold wrote: > On Tue, Sep 29, 2020 at 09:33:27PM +0200, Helge Deller wrote: >> With a 4-port serial USB HUB with FT232BM chips the serial ports stop >> working after a software suspend/resume cycle. >> Rewriting the latency timer during t

[PATCH] USB: serial: ftdi_sio: Fix serial port stall after resume

2020-09-29 Thread Helge Deller
With a 4-port serial USB HUB with FT232BM chips the serial ports stop working after a software suspend/resume cycle. Rewriting the latency timer during the resume phase fixes it. Cc: sta...@vger.kernel.org Signed-off-by: Helge Deller diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb

Re: [PATCH 07/28] 53c700: improve non-coherent DMA handling

2020-09-02 Thread Helge Deller
Hi Willy, On 01.09.20 18:53, Matthew Wilcox wrote: > On Tue, Sep 01, 2020 at 06:41:12PM +0200, Helge Deller wrote: >>> I still have a zoo of machines running for such testing, including a >>> 715/64 and two 730. >>> I'm going to test this git tree on the 715/64: >

Re: [PATCH 07/28] 53c700: improve non-coherent DMA handling

2020-09-01 Thread Helge Deller
On 01.09.20 18:21, Helge Deller wrote: > On 01.09.20 17:22, James Bottomley wrote: >> On Tue, 2020-09-01 at 16:05 +0100, Matthew Wilcox wrote: >>> On Tue, Sep 01, 2020 at 07:52:40AM -0700, James Bottomley wrote: >>>> I think this looks mostly OK, except for one

Re: [PATCH 07/28] 53c700: improve non-coherent DMA handling

2020-09-01 Thread Helge Deller
On 01.09.20 17:22, James Bottomley wrote: > On Tue, 2020-09-01 at 16:05 +0100, Matthew Wilcox wrote: >> On Tue, Sep 01, 2020 at 07:52:40AM -0700, James Bottomley wrote: >>> I think this looks mostly OK, except for one misnamed parameter >>> below. Unfortunately, the last non-coherent parisc was

Re: a saner API for allocating DMA addressable pages

2020-08-29 Thread Helge Deller
this tree on my parisc machine which uses the 53c700 and lasi_82596 drivers. Everything worked as expected, so you may add: Tested-by: Helge Deller # parisc Thanks! Helge > > Gitweb: > > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma_alloc_pages > >

Re: [PATCH v2 15/23] parisc: use asm-generic/mmu_context.h for no-op implementations

2020-08-29 Thread Helge Deller
On 26.08.20 16:52, Nicholas Piggin wrote: > Cc: "James E.J. Bottomley" > Cc: Helge Deller > Cc: linux-par...@vger.kernel.org > Signed-off-by: Nicholas Piggin Acked-by: Helge Deller > --- > arch/parisc/include/asm/mmu_context.h | 12 ++-- > 1 f

Re: [PATCH] parisc: fix PMD pages allocation by restoring pmd_alloc_one()

2020-08-16 Thread Helge Deller
On 16.08.20 19:52, Linus Torvalds wrote: > On Sun, Aug 16, 2020 at 10:43 AM Mike Rapoport wrote: >> >> I presume this is going via parisc tree, do you mind fixing up >> while applying? > > I'll take it directly to not miss rc1, and I'll fix up the typo too. Thanks! Helge

[GIT PULL] parisc architecture updates for kernel v5.9

2020-08-12 Thread Helge Deller
avoids using the sync assembler instruction and thus speeds up barrier paths - Some whitespace cleanups in parisc's atomic.h header file Thanks, Helge Helge Deller (2): sections.h: dereference_function_descriptor() returns

[PATCH] sections.h: dereference_function_descriptor() returns void pointer

2020-08-11 Thread Helge Deller
pointer too. Signed-off-by: Helge Deller diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index 66397ed10acb..d16302d3eb59 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h @@ -60,8 +60,8 @@ extern __visible const void __nosave_begin

[GIT PULL] parisc architecture updates for kernel v5.9

2020-08-04 Thread Helge Deller
: Spelling fixes, constifications and such. Thanks, Helge Alexander A. Klimov (1): parisc: Replace HTTP links with HTTPS ones Helge Deller (6): parisc: Convert to BIT_MASK() and BIT_WORD() parisc: Report bad pages

[GIT PULL] parisc architecture fixes for kernel v5.8

2020-07-26 Thread Helge Deller
Hi Linus, please pull two late parisc architecture fixes for kernel 5.8 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.8-2 Two fixes: - Add the cmpxchg() function for pointers to u8 values. This fixes a kernel linking error when building the tusb1210

Re: [PATCH] parisc/kernel/ftrace: Remove function callback casts

2020-06-27 Thread Helge Deller
On 27.06.20 15:43, Oscar Carter wrote: > In an effort to enable -Wcast-function-type in the top-level Makefile to > support Control Flow Integrity builds, remove all the function callback > casts. > > To do this remove the cast to a function pointer type in the comparison > statement and add to

Re: rename probe_kernel_* and probe_user_*

2020-06-18 Thread Helge Deller
On 18.06.20 21:48, Linus Torvalds wrote: > [ Explicitly added architecture lists and developers to the cc to make > this more visible ] > > On Wed, Jun 17, 2020 at 12:38 AM Christoph Hellwig wrote: >> >> Andrew and I decided to drop the patches implementing your suggested >> rename of the

Re: [PATCH 26/38] vt: use newly defined CUR_* macros

2020-06-15 Thread Helge Deller
iewicz > Cc: "James E.J. Bottomley" > Cc: Helge Deller > Cc: linux-...@vger.kernel.org > Cc: dri-de...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Cc: linux-par...@vger.kernel.org Acked-by: Helge Deller Thanks! Helge > --- > drivers/tty/vt/vt.c

Re: [PATCH] parisc: suppress error messages for 'make clean'

2020-06-13 Thread Helge Deller
On 13.06.20 21:36, Rolf Eike Beer wrote: > Helge Deller wrote: >> On 10.05.20 03:19, Masahiro Yamada wrote: >>> Hi Helge, >>> >>> On Sun, May 10, 2020 at 2:39 AM Helge Deller wrote: > >>> I will drop this patch from my kbuild tree, >>> th

[GIT PULL] parisc architecture updates for kernel v5.8-rc1

2020-06-02 Thread Helge Deller
the parisc website is now at https://parisc.wiki.kernel.org Thanks, Helge Arnd Bergmann (1): parisc: use -fno-strict-aliasing for decompressor Helge Deller (6): parisc: suppress error messages for 'make clean

[PATCH v2] fs/signalfd.c: Fix inconsistent return codes for signalfd4

2020-05-30 Thread Helge Deller
when called with an invalid signal mask. Signed-off-by: Helge Deller --- Changelog v2: - Rephrased commit message. diff --git a/fs/signalfd.c b/fs/signalfd.c index 44b6845b071c..5b78719be445 100644 --- a/fs/signalfd.c +++ b/fs/signalfd.c @@ -314,9 +314,10 @@ SYSCALL_DEFINE4(signalfd4, int, ufd

[GIT PULL] parisc architecture fix for kernel v5.7

2020-05-29 Thread Helge Deller
Helge Deller (1): parisc: Fix kernel panic in mem_init() arch/parisc/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] parisc: suppress error messages for 'make clean'

2020-05-10 Thread Helge Deller
On 10.05.20 03:19, Masahiro Yamada wrote: > Hi Helge, > > On Sun, May 10, 2020 at 2:39 AM Helge Deller wrote: >> >> * Masahiro Yamada : >>> Hi Helge, >>> >>> On Sat, May 9, 2020 at 6:46 AM Helge Deller wrote: >>>> >>>> *

Re: [PATCH] parisc: suppress error messages for 'make clean'

2020-05-09 Thread Helge Deller
* Masahiro Yamada : > Hi Helge, > > On Sat, May 9, 2020 at 6:46 AM Helge Deller wrote: > > > > * Masahiro Yamada : > > > On Sat, Apr 25, 2020 at 2:47 PM Masahiro Yamada > > > wrote: > > > > > > > > 'make ARCH=parisc clean' emits a t

Re: [PATCH] parisc: suppress error messages for 'make clean'

2020-05-08 Thread Helge Deller
* Masahiro Yamada : > On Sat, Apr 25, 2020 at 2:47 PM Masahiro Yamada wrote: > > > > 'make ARCH=parisc clean' emits a tons of error messages as follows: > > > > $ make ARCH=parisc clean > > gcc: error: unrecognized command line option '-mno-space-regs' > > gcc: error: unrecognized command

Re: [PATCH] parisc: use -fno-strict-aliasing for decompressor

2020-05-08 Thread Helge Deller
; > > Make the decompressor use -fno-strict-aliasing like the rest of > the kernel for consistency, and to ensure this warning never makes > it into a release. > > Reported-by: kbuild test robot > Signed-off-by: Arnd Bergmann Acked-by: Helge Deller Arnd, will you take it thro

Re: [PATCH] parisc: add sysctl file interface panic_on_stackoverflow

2020-05-08 Thread Helge Deller
flow for parisc > > Signed-off-by: Xiaoming Ni Acked-by: Helge Deller Helge > --- > kernel/sysctl.c | 20 +++- > 1 file changed, 11 insertions(+), 9 deletions(-) > > diff --git a/kernel/sysctl.c b/kernel/sysctl.c > index 8a176d8..b9ff323 100644 > ---

Re: [PATCH] Input: hp_sdc_rtc - remove dead chardev code

2019-10-23 Thread Helge Deller
any PA-RISC machine needs this driver, and as such I'm happy to give my: Acked-by: Helge Deller I even think the whole driver can go away... Helge PS: Maybe some really old 68000-based HP machines needed that, but I don't know if any recent Linux kernel runs on those old boxes any longer

[GIT PULL] parisc architecture fixes for kernel v5.4-rc4

2019-10-15 Thread Helge Deller
leak in ioremap()/ioremap() (Helge) * Some minor cleanups and documentation updates (Nick, Helge) Thanks, Helge Helge Deller (3): MAINTAINERS: Add hp_sdc drivers to parisc arch parisc: sysctl.c: Use CONFIG_PARISC instead

Re: [RFC][PATCH] sysctl: Remove the sysctl system call

2019-10-02 Thread Helge Deller
On 02.10.19 00:53, Eric W. Biederman wrote: Kees Cook writes: As there appear to be no users of the sysctl system call, remove the code>... I copied everyone who had put this into a defconfig and I will wait a little more to see if anyone screams. I think it is a safe guess that several

[GIT PULL] parisc architecture updates for kernel v5.4

2019-09-16 Thread Helge Deller
, ... Thanks, Helge Helge Deller (8): parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat parisc: Add ALTERNATIVE_CODE() and ALT_COND_RUN_ON_QEMU parisc: speed up flush_tlb_all_local

Re: [PATCH RESEND 0/8] Fix mmap base in bottom-up mmap

2019-08-26 Thread Helge Deller
2 files changed, 26 insertions(+), 31 deletions(-) Any thoughts about that series ? As said before, this is just a preparatory patchset in order to merge x86 mmap top down code with the generic version. I just tested your patch series successfully on the parisc architeture. You may add: T

Re: [PATCH] parisc: fix compilation errrors

2019-08-22 Thread Helge Deller
se "4level-fixup.h" is included before "asm/page.h" where "pgd_t" is defined. Fixes: 0cfaee2af3a0 ("include/asm-generic/5level-fixup.h: fix variable 'p4d' set but not used") Reported-by: Guenter Roeck Signed-off-by: Qian Cai Tested-by: Guenter Roeck Acked-by: Helge Deller Helge

[GIT PULL] parisc architecture fixes for kernel v5.3-rc3

2019-08-02 Thread Helge Deller
kernels * Fix a race condition in kernel live-patching code * Add missing archclean Makefile target & defconfig adjustments Thanks, Helge ---- Helge Deller (4): parisc: Mark expected switch fall-throughs in fault.c parisc: Fix

[GIT PULL] parisc architecture fixes for kernel v5.3-rc2

2019-07-23 Thread Helge Deller
with combined TLBs Thanks, Helge Helge Deller (1): parisc: Flush ITLB in flush_tlb_all_local() only on split TLB machines Sven Schnelle (1): parisc: add kprobe_fault_handler() arch/parisc/include/asm/kprobes.h | 4 arch

Re: Build regressions/improvements in v5.3-rc1

2019-07-23 Thread Helge Deller
On 23.07.19 17:39, Geert Uytterhoeven wrote: On Tue, Jul 23, 2019 at 5:22 PM Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v5.3-rc1[1] compared to v5.2[2]. [1]

[GIT PULL] parisc architecture fixes for kernel v5.3-rc1

2019-07-18 Thread Helge Deller
. - Wire up the new clone3 syscall. Thanks, Helge Helge Deller (4): parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1 parisc: Ensure userspace privilege for ptraced processes in regset functions parisc

[GIT PULL] parisc architecture patches for kernel v5.3

2019-07-08 Thread Helge Deller
Hi Linus, please pull enhancements for the parisc architecture for kernel 5.3 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.3-1 Dynamic ftrace support by Sven Schnelle and a header guard fix by Denis Efremov. Thanks, Helge

  1   2   3   4   5   6   7   8   >