Re: [PATCH v2 00/17] Prepare the PowerQUICC QMC and TSA for the HDLC QMC driver

2023-12-20 Thread Herve Codina
Hi Arnd, As you suggested in the previous iteration [1], I sent a PR related to this series: https://lore.kernel.org/all/20231212105514.273e8...@bootlin.com/ I didn't receive any feedback on this PR and it does not seem to have been taken into account. Did I miss something ? Best regards,

Re: [PATCH 3/3] powerpc: ps3: Add missing set_freezable() for ps3_probe_thread()

2023-12-20 Thread Geoff Levand
Hi Kevin, On 12/21/23 13:45, Kevin Hao wrote: > The kernel thread function ps3_probe_thread() invokes the try_to_freeze() > in its loop. But all the kernel threads are non-freezable by default. > So if we want to make a kernel thread to be freezable, we have to invoke > set_freezable()

Re: [PATCH v14 3/6] crash: add a new kexec flag for FDT update

2023-12-20 Thread Sourabh Jain
Hello Baoquan, While replying to this email earlier, I mistakenly pressed "Reply to List" instead of "Reply to All." Consequently, my response was sent only to powerpc mailing list. On 17/12/23 06:29, Baoquan He wrote: On 12/17/23 at 12:27am, Sourabh Jain wrote: On 16/12/23 15:11, Baoquan

[PATCH] perf vendor events: Remove UTF-8 characters from cmn.json

2023-12-20 Thread Jing Zhang
cmn.json contains UTF-8 characters in brief description which could break the perf build on some distros. Fix this issue by removing the UTF-8 characters from cmn.json. without the fix: $find tools/perf/pmu-events/ -name "*.json" | xargs file -i | grep -v us-ascii

Re: Very unreliable booting (WARNING: CPU: 0 PID: 1 at kernel/context_tracking.c:215 ct_nmi_exit+0xa0/0xc0) with PPC_EARLY_DEBUG_G5 set on a PowerMac G5, kernel 6.7-rc6

2023-12-20 Thread Michael Ellerman
Erhard Furtner writes: > Greetings! > > I wanted to check whether there are any changes on issue > https://lore.kernel.org/all/20231114003721.4a9bfd37@yea/T/ on kernel > 6.7-rc. KCSAN enabled kernels still won't boot on this G5 it seems. > > What I also found out is that booting with an

[PATCH 3/3] powerpc: ps3: Add missing set_freezable() for ps3_probe_thread()

2023-12-20 Thread Kevin Hao
The kernel thread function ps3_probe_thread() invokes the try_to_freeze() in its loop. But all the kernel threads are non-freezable by default. So if we want to make a kernel thread to be freezable, we have to invoke set_freezable() explicitly. Signed-off-by: Kevin Hao ---

[PATCH 2/3] powerpc: mpc83xx: Use wait_event_freezable() for freezable kthread

2023-12-20 Thread Kevin Hao
A freezable kernel thread can enter frozen state during freezing by either calling try_to_freeze() or using wait_event_freezable() and its variants. So for the following snippet of code in a kernel thread loop: wait_event_interruptible(); try_to_freeze(); We can change it to a simple

[PATCH 1/3] powerpc: mpc83xx: Add the missing set_freezable() for agent_thread_fn()

2023-12-20 Thread Kevin Hao
The kernel thread function agent_thread_fn() invokes the try_to_freeze() in its loop. But all the kernel threads are non-freezable by default. So if we want to make a kernel thread to be freezable, we have to invoke set_freezable() explicitly. Signed-off-by: Kevin Hao ---

[PATCH 0/3] powerpc: Fixes and optimization for the freezable kthread

2023-12-20 Thread Kevin Hao
Hi, The main changes include: - Invoke set_freezable() for the kthread which could be frozen - Drop redundant try_to_freeze() invocation Kevin Hao (3): powerpc: mpc83xx: Add the missing set_freezable() for agent_thread_fn() powerpc: mpc83xx: Use wait_event_freezable() for freezable

[PATCH] drivers/usb/gadget/udc: Fix spelling typo in comments(reqest->request)

2023-12-20 Thread YouHong Li
From: liyouhong Fix spelling typo in comments. Reported-by: k2ci Signed-off-by: liyouhong diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index ee5705d336e3..97932278e381 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++

Re: [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required

2023-12-20 Thread Baoquan He
On 12/20/23 at 07:46am, Andrew Morton wrote: > On Wed, 20 Dec 2023 12:22:29 +0800 Baoquan He wrote: > > > Could you help fix the typo in subject? > > > > [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required > >~~~ s/ricv/riscv/ > > I made that

Re: [PATCHv3 RESEND 10/10] ASoC: dt-bindings: fsl-asoc-card: add compatible for generic codec

2023-12-20 Thread Rob Herring
On Mon, Dec 18, 2023 at 01:40:58PM +0100, Elinor Montmasson wrote: > Add documentation about new dts bindings following new support > for compatible "fsl,imx-audio-generic". > > Some CPU DAI don't require a real audio codec. The new compatible > "fsl,imx-audio-generic" allows using the driver

Re: perf tools arch Arm CMN PMU JSON files build breakage on ubuntu 18.04 cross build

2023-12-20 Thread Jing Zhang
在 2023/12/15 下午10:41, Arnaldo Carvalho de Melo 写道: > Em Fri, Dec 15, 2023 at 11:39:14AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Mon, Mar 27, 2023 at 09:52:11AM +0530, kajoljain escreveu: >>> On 3/23/23 18:41, Arnaldo Carvalho de Melo wrote: Exception processing

[PATCH 2/2] powerpc/bpf: enable kfunc call

2023-12-20 Thread Hari Bathini
With module addresses supported, override bpf_jit_supports_kfunc_call() to enable kfunc support. Module address offsets can be more than 32-bit long, so override bpf_jit_supports_far_kfunc_call() to enable 64-bit pointers. Signed-off-by: Hari Bathini --- arch/powerpc/net/bpf_jit_comp.c | 10

[PATCH 1/2] powerpc/bpf: ensure module addresses are supported

2023-12-20 Thread Hari Bathini
Currently, bpf jit code on powerpc assumes all the bpf functions and helpers to be kernel text. This is false for kfunc case, as function addresses are mostly module addresses in that case. Ensure module addresses are supported to enable kfunc support. This effectively reverts commit feb6307289d8

Re: [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required

2023-12-20 Thread Andrew Morton
On Wed, 20 Dec 2023 12:22:29 +0800 Baoquan He wrote: > Could you help fix the typo in subject? > > [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required >~~~ s/ricv/riscv/ I made that change.

Re: powerpc: several early boot regressions on MPC52xx

2023-12-20 Thread Christophe Leroy
Le 19/12/2023 à 14:34, Matthias Schiffer a écrit : > [Vous ne recevez pas souvent de courriers de > matthias.schif...@ew.tq-group.com. Découvrez pourquoi ceci est important à > https://aka.ms/LearnAboutSenderIdentification ] > > On Mon, 2023-12-18 at 19:48 +, Christophe Leroy wrote: >>