[powerpc:merge] BUILD SUCCESS fcc98c6d0289241dded10b74f8198fc4ecb22bd1

2021-05-08 Thread kernel test robot
ig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a003-20210508 i386 randconfig-a006-20210508 i386 randconfig-a001-20210508 i386 randconfig-a005-202

[powerpc:next] BUILD SUCCESS f96271cefe6dfd1cb04195b76f4a33e185cd7f92

2021-05-08 Thread kernel test robot
ig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a003-20210508 i386 randconfig-a006-20210508 i386 randconfig-a001-20210508 i386 randconfig-a005-202

[PATCH] arch: powerpc: kvm: remove unnecessary casting

2021-05-08 Thread Nour-eddine Taleb
remove unnecessary castings, from "void *" to "struct kvmppc_xics *" Signed-off-by: Nour-eddine Taleb --- arch/powerpc/kvm/book3s_xics.c| 2 +- arch/powerpc/kvm/book3s_xive.c| 2 +- arch/powerpc/kvm/book3s_xive_native.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) d

Re: [FSL P50x0] Xorg always restarts again and again after the the PowerPC updates 5.13-1

2021-05-08 Thread Christian Zigotzky
On 06 May 2021 at 03:58 pm, Christian Zigotzky wrote: I have started bisecting again. Link: https://forum.hyperion-entertainment.com/viewtopic.php?p=53106#p53106 On 6. May 2021, at 10:09, Christophe Leroy wrote: -

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.13-2 tag

2021-05-08 Thread pr-tracker-bot
The pull request you sent on Sat, 08 May 2021 23:51:40 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.13-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ab159ac569fddf812c0a217d6dbffaa5d93ef88f Thank you! -- Deet-doot-d

Re: [PATCH v3] powerpc/papr_scm: Reduce error severity if nvdimm stats inaccessible

2021-05-08 Thread Ira Weiny
On Sat, May 08, 2021 at 10:06:42AM +0530, Vaibhav Jain wrote: > Currently drc_pmem_qeury_stats() generates a dev_err in case > "Enable Performance Information Collection" feature is disabled from > HMC or performance stats are not available for an nvdimm. The error is > of the form below: > > papr

[GIT PULL] Please pull powerpc/linux.git powerpc-5.13-2 tag

2021-05-08 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc updates/fixes for 5.13. A bit of a mixture of things, tying up some loose ends. There's the removal of the nvlink code, which dependend on a commit in the vfio tree. Then the enablement of huge vmalloc which was in n

Re: Kernel crosscompilers

2021-05-08 Thread Arnd Bergmann
On Sat, May 8, 2021 at 12:15 PM Christophe Leroy wrote: > Le 08/05/2021 à 11:43, Arnd Bergmann a écrit : > > On Sat, May 8, 2021 at 8:46 AM Christophe Leroy > > wrote: > >> > >> Something is going wrong with asm goto output. I implemented get_user() > >> helpers with asm goto this > >> cycle (co

Re: Radeon NI: GIT kernel with the nislands_smc commit doesn't boot on a Freescale P5040 board and P.A.Semi Nemo board

2021-05-08 Thread Christian Zigotzky
Hi Gustavo, Your patch works! Thanks a lot! I tested it with my Freescale P5040 board and P.A.Semi Nemo board with a connected AMD Radeon HD6970 NI graphics cards (Cayman XT) today. Have a nice day, Christian On 07 May 2021 at 08:43am, Christian Zigotzky wrote: Hi Gustavo, Great! I will t

Re: [PATCH 2/2] ASoC: dt-bindings: imx-akcodec: Add binding doc for akcodec machine driver

2021-05-08 Thread Shengjiu Wang
Hi On Tue, May 4, 2021 at 1:01 AM Rob Herring wrote: > > On Fri, Apr 23, 2021 at 01:51:47PM +0800, Shengjiu Wang wrote: > > Imx-akcodec is a new added machine driver for supporting > > ak4458/ak5558/ak5552/ak4497 codec on i.MX platforms. > > > > Signed-off-by: Shengjiu Wang > > --- > > .../bind

Re: Kernel crosscompilers

2021-05-08 Thread Christophe Leroy
Le 08/05/2021 à 11:43, Arnd Bergmann a écrit : On Sat, May 8, 2021 at 8:46 AM Christophe Leroy wrote: Something is going wrong with asm goto output. I implemented get_user() helpers with asm goto this cycle (commit 5cd29b1fd3e8). I tested it with CLANG before submitting, it was working.

[PATCH v2 4/4] powerpc/pseries: warn if recursing into the hcall tracing code

2021-05-08 Thread Nicholas Piggin
The hcall tracing code has a recursion check built in, which skips tracing if we are already tracing an hcall. However if the tracing code has problems with recursion, this check may not catch all cases because the tracing code could be invoked from a different tracepoint first, then make an hcall

[PATCH v2 3/4] powerpc/pseries: use notrace hcall variant for H_CEDE idle

2021-05-08 Thread Nicholas Piggin
Rather than special-case H_CEDE in the hcall trace wrappers, make the idle H_CEDE call use plpar_hcall_norets_notrace(). Reviewed-by: Naveen N. Rao Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/plpar_wrappers.h | 6 +- arch/powerpc/platforms/pseries/lpar.c | 10 --

[PATCH v2 2/4] powerpc/pseries: Don't trace hcall tracing wrapper

2021-05-08 Thread Nicholas Piggin
This doesn't seem very useful to trace before the recursion check, even if the ftrace code has any recursion checks of its own. Be on the safe side and don't trace the hcall trace wrappers. Reviewed-by: Naveen N. Rao Reported-by: Naveen N. Rao Signed-off-by: Nicholas Piggin --- arch/powerpc/pl

[PATCH v2 0/4] Fix queued spinlocks and a bit more

2021-05-08 Thread Nicholas Piggin
This didn't seem to send properly, apologies if you get a duplicate. Patch 1 is the important fix. 2 might fix something, although I haven't provoked a crash yet. Patch 3 is a small cleanup, and patch 4 I think is the right thing to do but these could wait for later. Since v1: - Improved comment

[PATCH v2 1/4] powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks

2021-05-08 Thread Nicholas Piggin
The paravit queued spinlock slow path adds itself to the queue then calls pv_wait to wait for the lock to become free. This is implemented by calling H_CONFER to donate cycles. When hcall tracing is enabled, this H_CONFER call can lead to a spin lock being taken in the tracing code, which will res

Re: [PATCH 4/4] powerpc/powernv: Remove POWER9 PVR version check for entry and uaccess flushes

2021-05-08 Thread Nicholas Piggin
Excerpts from Joel Stanley's message of May 5, 2021 11:43 am: > On Tue, 4 May 2021 at 09:16, Nicholas Piggin wrote: >> >> Excerpts from Joel Stanley's message of May 4, 2021 10:51 am: >> > On Mon, 3 May 2021 at 13:04, Nicholas Piggin wrote: >> >> >> >> These aren't necessarily POWER9 only, and it

[PATCH 1/1] powerpc/ps3: Remove a couple of unneeded semicolons

2021-05-08 Thread Zhen Lei
The semicolon immediately following '}' is unneeded. Signed-off-by: Zhen Lei --- arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c index b431f41c6cb53a

Re: Kernel crosscompilers

2021-05-08 Thread Arnd Bergmann
On Sat, May 8, 2021 at 8:46 AM Christophe Leroy wrote: > > Something is going wrong with asm goto output. I implemented get_user() > helpers with asm goto this > cycle (commit 5cd29b1fd3e8). I tested it with CLANG before submitting, it was > working. BTW, can you point me to those patches? I th

Re: Kernel crosscompilers

2021-05-08 Thread Arnd Bergmann
On Sat, May 8, 2021 at 11:22 AM Christophe Leroy wrote: > Le 08/05/2021 à 08:46, Christophe Leroy a écrit : > > > > I don't have any ppc or arm host I can build on. > > I'm building on x86 for powerpc embedded boards. > > > > I have tried your GCC 11 snapshot, I get something booting but it crashe

[PATCH] powerpc/signal: Fix possible build failure with unsafe_copy_fpr_{to/from}_user

2021-05-08 Thread Christophe Leroy
When neither CONFIG_VSX nor CONFIG_PPC_FPU_REGS are selected, unsafe_copy_fpr_to_user() and unsafe_copy_fpr_from_user() are doing nothing. Then, unless the 'label' operand is used elsewhere, GCC complains about it being defined but not used. To fix that, add an impossible 'goto label'. Signed-of

[PATCH] powerpc/uaccess: Fix __get_user() with CONFIG_CC_HAS_ASM_GOTO_OUTPUT

2021-05-08 Thread Christophe Leroy
Building kernel mainline with GCC 11 leads to following failure when starting 'init': init[1]: bad frame in sys_sigreturn: 7ff5a900 nip 001083cc lr 001083c4 Kernel panic - not syncing: Attempted to kill init! exitcode=0x000b This is an issue due to a segfault happening in __unsafe_restore

Re: Kernel crosscompilers

2021-05-08 Thread Christophe Leroy
Le 08/05/2021 à 08:46, Christophe Leroy a écrit : Le 06/05/2021 à 16:17, Arnd Bergmann a écrit : On Thu, May 6, 2021 at 2:42 PM Christophe Leroy wrote: Hello Arnd, May I ask you whether you plan to build cross compilers based on GCC 11.1 at https://mirrors.edge.kernel.org/pub/tools/cros

Re: Kernel crosscompilers

2021-05-08 Thread Christophe Leroy
Le 06/05/2021 à 16:17, Arnd Bergmann a écrit : On Thu, May 6, 2021 at 2:42 PM Christophe Leroy wrote: Hello Arnd, May I ask you whether you plan to build cross compilers based on GCC 11.1 at https://mirrors.edge.kernel.org/pub/tools/crosstool/ ? Hi Christophe, I've built a snapshot a fe