Re: [RFC PATCH v1 05/11] powerpc/machdep: Move sys_ctrler_t definition into pmac.h

2022-02-07 Thread Michael Ellerman
Christophe Leroy writes: > sys_ctrler_t definitions are tied to pmac. Move it in pmac.h > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/machdep.h | 15 --- > arch/powerpc/platforms/powermac/pmac.h | 12 > 2 files changed, 12 insertions(+), 15 del

Re: [BUG] mtd: cfi_cmdset_0002: write regression since v4.17-rc1

2022-02-07 Thread Ahmad Fatoum
Hello Tokunori-san, On 29.01.22 19:01, Tokunori Ikegami wrote: > Hi Ahmad-san, > > Thanks for your investigation. > >> The issue is still there with #define FORCE_WORD_WRITE 1: >> >>    jffs2: Write clean marker to block at 0x000a failed: -5 >>    MTD do_write_oneword_once(): software timeou

Re: [RFC PATCH 2/3] powerpc/ftrace: Override ftrace_location_lookup() for MPROFILE_KERNEL

2022-02-07 Thread Steven Rostedt
On Mon, 7 Feb 2022 12:37:21 +0530 "Naveen N. Rao" wrote: > --- a/arch/powerpc/kernel/trace/ftrace.c > +++ b/arch/powerpc/kernel/trace/ftrace.c > @@ -1137,3 +1137,14 @@ char *arch_ftrace_match_adjust(char *str, const char > *search) > return str; > } > #endif /* PPC64_ELF_ABI_v1

rcutorture’s init segfaults in ppc64le VM

2022-02-07 Thread Paul Menzel
Dear Linux folks, On the POWER8 server IBM S822LC running Ubuntu 21.10, building Linux 5.17-rc2+ with rcutorture tests $ tools/testing/selftests/rcutorture/bin/torture.sh --duration 10 the built init $ file tools/testing/selftests/rcutorture/initrd/init tools/testing/selftests/r

ppc64le: rcutorture warns about improperly set `CONFIG_HYPERVISOR_GUEST` and `CONFIG_PARAVIRT`

2022-02-07 Thread Paul Menzel
Dear Sebastian, dear Paul, In commit a6fda6dab9 (rcutorture: Tweak kvm options) `tools/testing/selftests/rcutorture/configs/rcu/CFcommon` was extended by the three selections below: CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y CONFIG_KVM_GUEST=y Unfortunately, `CONFIG_HYPERVISOR_

Re: rcutorture’s init segfaults in ppc64le VM

2022-02-07 Thread Paul E. McKenney
On Mon, Feb 07, 2022 at 05:44:47PM +0100, Paul Menzel wrote: > Dear Linux folks, > > > On the POWER8 server IBM S822LC running Ubuntu 21.10, building Linux > 5.17-rc2+ with rcutorture tests > > $ tools/testing/selftests/rcutorture/bin/torture.sh --duration 10 > > the built init > > $ f

Re: ppc64le: rcutorture warns about improperly set `CONFIG_HYPERVISOR_GUEST` and `CONFIG_PARAVIRT`

2022-02-07 Thread Paul E. McKenney
On Mon, Feb 07, 2022 at 05:53:05PM +0100, Paul Menzel wrote: > Dear Sebastian, dear Paul, > > > In commit a6fda6dab9 (rcutorture: Tweak kvm options) > `tools/testing/selftests/rcutorture/configs/rcu/CFcommon` was extended by > the three selections below: > > CONFIG_HYPERVISOR_GUEST=y > C

Re: rcutorture's init segfaults in ppc64le VM

2022-02-07 Thread Willy Tarreau
Hi Paul, On Mon, Feb 07, 2022 at 09:51:39AM -0800, Paul E. McKenney wrote: (...) > > $ file tools/testing/selftests/rcutorture/initrd/init > > tools/testing/selftests/rcutorture/initrd/init: ELF 64-bit LSB > > executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically > > linke

Re: [PATCH v7 0/5] Allow guest access to EFI confidential computing secret area

2022-02-07 Thread Dov Murik
On 02/02/2022 10:45, Matthew Garrett wrote: > On Wed, Feb 02, 2022 at 09:36:53AM +0100, Gerd Hoffmann wrote: > >> Having a "secrets/" directory looks good to me. Then the individual >> implementations can either add files to the directory, i.e. efi_secrets >> would create "secrets/" files. Or

[PATCH] powerpc/pseries: make pseries_devicetree_update() static

2022-02-07 Thread Nathan Lynch
pseries_devicetree_update() has only one call site, in the same file in which it is defined. Make it static. Signed-off-by: Nathan Lynch --- arch/powerpc/include/asm/rtas.h | 1 - arch/powerpc/platforms/pseries/mobility.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --

[RFC] Upstreaming Linux for Nintendo Wii U

2022-02-07 Thread Ash Logan
Hello, I'm the lead dev on a downstream kernel with support for the Wii U[1], Nintendo's previous-gen game console. You might have seen Emmanuel submitting some of the more self-contained drivers recently[2][3]. I've gotten to the point where I'd like to look at upstreaming the platform. Since we

Re: [PATCHv2] selftests/powerpc/copyloops: Add memmove_64 test

2022-02-07 Thread Ritesh Harjani
Found this, while checking my older emails. Sorry about not checking on this before. Have addressed the review comments here [1] This still applies cleanly on 5.17-rc3 and passes. riteshh-> ./copyloops/memmove_64 test: memmove tags: git_version:v5.17-rc3-1-g84f773abc114 success: memmove [1]: htt

[PATCH] powerpc: fix building after binutils changes. - but the 'lwsync' question

2022-02-07 Thread Mike
We are seeing errors like ' Error: unrecognized opcode: `ptesync'' 'dssall' and 'stbcix' as a result of binutils changes Unless 'stbcix' and friends aren't as exclusively PPC6 as I've gathered from binutils/opcode/ppc-opc.c there shouldn't be much of a problem, but i suspect a lot more needs to be

Re: rcutorture’s init segfaults in ppc64le VM

2022-02-07 Thread Zhouyi Zhou
Dear Paul I am also very interested in the topic. The Open source lab of Oregon State University has lent me a 8 core power ppc64el VM for 3 months, I guess I can try reproducing this bug in the Virtual Machine by executing qemu in non hardware accelerated mode (using -no-kvm argument). I am curre

Re: rcutorture’s init segfaults in ppc64le VM

2022-02-07 Thread Zhouyi Zhou
Hi, The mailing list forward the emails to me in periodic style, very sorry not seeing Willy's email until I visited https://lore.kernel.org/rcu/20220207180901.gb14...@1wt.eu/T/#u, I am also very interested in testing Willy's proposal. Thanks a lot Zhouyi On Tue, Feb 8, 2022 at 1:46 PM Zhouyi Z

Re: [PATCH 1/3] lib/raid6/test/Makefile: Use `$(pound)` instead of `\#` for Make 4.3

2022-02-07 Thread Song Liu
Hi Paul, Sorry for the delayed reply. On Wed, Jan 26, 2022 at 3:42 AM Paul Menzel wrote: > > Buidling `raid6test` on Ubuntu 21.10 (ppc64le) with GNU Make 4.3 shows the > errors below: Please do not use `xxx` in the commit log (and subject). > > $ cd lib/raid6/test/ > $ make > :1:1:

[PATCH] ata: sata_fsl: fix sscanf() and sysfs_emit() format strings

2022-02-07 Thread Damien Le Moal
Use the %u format for unsigned int parameters handling with sscanf() and sysfs_emit() to avoid compilation warnings. In fsl_sata_rx_watermark_store(), the call to sscanf() to parse a single argument is replaced with a call to kstrtouint(). While at it, also replace the printk(KERN_ERR) calls with

Re: [PATCH] ata: sata_fsl: fix sscanf() and sysfs_emit() format strings

2022-02-07 Thread Damien Le Moal
On 2/8/22 15:46, Damien Le Moal wrote: > Use the %u format for unsigned int parameters handling with sscanf() and > sysfs_emit() to avoid compilation warnings. In > fsl_sata_rx_watermark_store(), the call to sscanf() to parse a single > argument is replaced with a call to kstrtouint(). > > While a

ppc64le: `NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #20!!!` when turning off SMT

2022-02-07 Thread Paul Menzel
Dear Linux folks, On the POWER8 server IBM S822LC running Ubuntu 21.10, Linux 5.17-rc1+ built with $ grep HZ /boot/config-5.17.0-rc1+ CONFIG_NO_HZ_COMMON=y # CONFIG_HZ_PERIODIC is not set CONFIG_NO_HZ_IDLE=y # CONFIG_NO_HZ_FULL is not set CONFIG_NO_HZ=y # CONFIG_HZ

Re: [PATCH V5 00/21] riscv: compat: Add COMPAT mode support for rv64

2022-02-07 Thread Guo Ren
On Tue, Feb 1, 2022 at 11:06 PM wrote: > > From: Guo Ren > > Currently, most 64-bit architectures (x86, parisc, powerpc, arm64, > s390, mips, sparc) have supported COMPAT mode. But they all have > history issues and can't use standard linux unistd.h. RISC-V would > be first standard __SYSCALL_COM