Re: [PATCH] powerpc/kexec: Fix the return of uninitialized variable

2024-09-30 Thread Madhavan Srinivasan
On 9/30/24 1:57 PM, Christophe Leroy wrote: > > > Le 30/09/2024 à 09:56, Zhang Zekun a écrit : >> [Vous ne recevez pas souvent de courriers de zhangzeku...@huawei.com. >> Découvrez pourquoi ceci est important à >> https://aka.ms/LearnAboutSenderIdentification ] >> >> The of_property_read_u64

Re: [PATCH] powerpc/kexec: Fix the return of uninitialized variable

2024-09-30 Thread Christophe Leroy
Le 30/09/2024 à 09:56, Zhang Zekun a écrit : [Vous ne recevez pas souvent de courriers de zhangzeku...@huawei.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] The of_property_read_u64() can fail and remain the variable uninitialized, Replace "rem

[PATCH] powerpc/kexec: Fix the return of uninitialized variable

2024-09-30 Thread Zhang Zekun
The of_property_read_u64() can fail and remain the variable uninitialized, which will then be used. Return error if we failed to read the property. Fixes: 2e6bd221d96f ("powerpc/kexec_file: Enable early kernel OPAL calls") Signed-off-by: Zhang Zekun --- arch/powerpc/kexec/file_load_64.c | 9

Re: [PATCH] soc: fsl: cpm1: qmc: Do not use IS_ERR_VALUE() on error pointers

2024-09-30 Thread Herve Codina
Hi Geert, On Mon, 30 Sep 2024 17:08:31 +0200 Geert Uytterhoeven wrote: > ppc64_book3e_allmodconfig: > > drivers/soc/fsl/qe/qmc.c: In function ‘qmc_qe_init_resources’: > include/linux/err.h:28:49: error: cast to pointer from integer of > different size [-Werror=int-to-pointer-cast] >

Re: Build regressions/improvements in v6.12-rc1

2024-09-30 Thread Herve Codina
Hi Geert, On Mon, 30 Sep 2024 17:11:09 +0200 (CEST) Geert Uytterhoeven wrote: > On Mon, 30 Sep 2024, Geert Uytterhoeven wrote: > > Below is the list of build error/warning regressions/improvements in > > v6.12-rc1[1] compared to v6.11[2]. ... powerpc-gcc13/ppc64_book3e_allmodconfig > > dri

Re: Build regressions/improvements in v6.12-rc1

2024-09-30 Thread Geert Uytterhoeven
On Mon, 30 Sep 2024, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v6.12-rc1[1] compared to v6.11[2]. [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/9852d85ec9d492ebef56dc5f229416c925758edc/ (all 131 configs) [2] http://kisskb.elle

Re: [PATCH 11/35] powerpc/ps3: Reorganize kerneldoc parameter names

2024-09-30 Thread Geert Uytterhoeven
On Mon, Sep 30, 2024 at 1:24 PM Julia Lawall wrote: > Reorganize kerneldoc parameter names to match the parameter > order in the function header. > > Problems identified using Coccinelle. > > Signed-off-by: Julia Lawall Reviewed-by: Geert Uytterhoeven > --- a/arch/powerpc/platforms/ps3/reposit

Re: [PATCH] powerpc/vdso: allow r30 in vDSO code generation of getrandom

2024-09-30 Thread Michael Ellerman
On Wed, 25 Sep 2024 19:50:22 +0200, Jason A. Donenfeld wrote: > For gettimeofday, -ffixed-r30 was passed to work around a bug in Go > code, where the vDSO trampoline forgot to save and restore this register > across function calls. But Go requires a different trampoline for every > call, and there'

Re: FSL P5040 board doesn't boot after DRM updates (drm-next-2024-09-19)

2024-09-30 Thread Alex Deucher
+ Wu Hoi Pok This is likely related to the drm device rework. Alex On Sun, Sep 29, 2024 at 11:33 AM Christian Zigotzky wrote: > > Hello, > > I tested the latest Git kernel with my VAPOR-X Radeon HD5870 1GB GDDR5 PCI-E > DUAL DVI-I/HDMI/DP on my PASEMI Nemo board today. > Unfortunately it has t

Re: [PATCH v5 17/17] powerpc64/bpf: Add support for bpf trampolines

2024-09-30 Thread Alexei Starovoitov
On Sun, Sep 29, 2024 at 10:33 PM Hari Bathini wrote: > > > > On 17/09/24 1:20 pm, Alexei Starovoitov wrote: > > On Sun, Sep 15, 2024 at 10:58 PM Hari Bathini > > wrote: > >> > >> + > >> + /* > >> +* Generated stack layout: > >> +* > >> +* func prev back chain

[PATCH 11/35] powerpc/ps3: Reorganize kerneldoc parameter names

2024-09-30 Thread Julia Lawall
Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall --- arch/powerpc/platforms/ps3/interrupt.c |2 +- arch/powerpc/platforms/ps3/repository.c |2 +- 2 files changed, 2 insertions(+)

[PATCH 00/35] Reorganize kerneldoc parameter names

2024-09-30 Thread Julia Lawall
Reorganize kerneldoc parameter names to match the parameter order in the function header. The misordered cases were identified using the following Coccinelle semantic patch: // @initialize:ocaml@ @@ let parse_doc l = let pieces = List.map String.trim (String.split_on_char '*' l) in let l =

Kernel doesn't boot after DRM updates (drm-next-2024-09-19)

2024-09-30 Thread Christian Zigotzky
On 30 September 2024 3:27pm, Alex Deucher wrote: + Wu Hoi Pok This is likely related to the drm device rework. Alex —- Hi All, I was able to revert the drm-next-2024-09-19 updates for the RC1 of kernel 6.12. This kernel works on all machines without any problems. This means, the new R

Re: [PATCH] ASoC: fsl: Use maple tree register cache

2024-09-30 Thread Mark Brown
On Tue, 24 Sep 2024 15:58:42 +0200, Mark Brown wrote: > Several of the NXP drivers use regmaps with a rbtree register cache. Since > the maple tree cache is uisng a generally more modern data structure which > makes implementation choices more suitable for modern systems let's convert > these drive

[powerpc:merge] BUILD SUCCESS 7beb771cbef7d4d37555e2d6f56de1fe9d276983

2024-09-30 Thread kernel test robot
cc-12 i386 allyesconfigclang-18 i386 allyesconfiggcc-12 i386buildonly-randconfig-001-20240930gcc-12 i386buildonly-randconfig-001-20241001clang-18 i386buildonly-randconfig-002-20240930clang-18 i386

[powerpc:fixes-test] BUILD SUCCESS 4b058c9f281f5b100efbf665dd5a1a05e1654d6d

2024-09-30 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: 4b058c9f281f5b100efbf665dd5a1a05e1654d6d powerpc/vdso: allow r30 in vDSO code generation of getrandom elapsed time: 774m configs tested: 83 configs skipped: 137 The following configs have be

[PATCH 04/21] powerpc/cell: Switch to number_of_interrupts()

2024-09-30 Thread Bart Van Assche
Use the number_of_interrupts() function instead of the global variable 'nr_irqs'. This patch prepares for changing 'nr_irqs' from an exported global variable into a variable with file scope. Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Bart Van Assche --- arch/powerpc/platforms/cell/axon_msi

[PATCH] soc: fsl: cpm1: qmc: Do not use IS_ERR_VALUE() on error pointers

2024-09-30 Thread Geert Uytterhoeven
ppc64_book3e_allmodconfig: drivers/soc/fsl/qe/qmc.c: In function ‘qmc_qe_init_resources’: include/linux/err.h:28:49: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 28 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned lo

[PowerPC-Repo][Merge-Branch]Observing Watchdog Bug: Soft lock up, while running perf_fuzzer Test case

2024-09-30 Thread Venkat Rao Bagalkote
Greetings!!! I am observing  kernel soft lock up error, while running few performance test case. Issue is seen on PowerPC repo merge branch. Traces: [ 7688.815763] CPU: 4 UID: 0 PID: 0 Comm: swapper/4 Kdump: loaded Tainted: G   O   6.11.0-gef28aca2b21c #1 [ 7688.815770] Tainte