Re: [PATCH v8 2/5] remoteproc: Add TEE support

2024-07-04 Thread Arnaud POULIQUEN
On 7/3/24 17:14, Mathieu Poirier wrote: > On Wed, Jul 03, 2024 at 09:19:44AM +0200, Arnaud POULIQUEN wrote: >> Hello Mathieu >> >> On 7/2/24 18:44, Mathieu Poirier wrote: >>> Good morning, >>> >>> On Fri, Jun 21, 2024 at 04:37:56PM +0200, Arnaud Pouliquen wrote: Add a remoteproc TEE (Truste

Re: [PATCH v2 00/12] uprobes: add batched register/unregister APIs and per-CPU RW semaphore

2024-07-04 Thread Peter Zijlstra
On Wed, Jul 03, 2024 at 07:08:21AM -0700, Paul E. McKenney wrote: > On Wed, Jul 03, 2024 at 09:50:57AM +0200, Peter Zijlstra wrote: > > Would it make sense to disable it for those architectures that have > > already done this work? > > It might well. Any architectures other than x86 at this poin

Re: [PATCH] kallsyms, livepatch: Fix livepatch with CONFIG_LTO_CLANG

2024-07-04 Thread Petr Mladek
On Wed 2024-07-03 08:30:33, Luis Chamberlain wrote: > On Tue, Jul 02, 2024 at 10:56:41PM -0700, Josh Poimboeuf wrote: > > On Mon, Jul 01, 2024 at 03:13:23PM +0200, Petr Mladek wrote: > > > So, you suggest to search the symbols by a hash. Do I get it correctly? > > I meant, that in the Rust world t

Re: [PATCH v2 00/12] uprobes: add batched register/unregister APIs and per-CPU RW semaphore

2024-07-04 Thread Peter Zijlstra
On Wed, Jul 03, 2024 at 02:33:06PM -0700, Andrii Nakryiko wrote: > 2. More tactically, RCU protection seems like the best way forward. We > got hung up on SRCU vs RCU Tasks Trace. Thanks to Paul, we also > clarified that RCU Tasks Trace has nothing to do with Tasks Rude > flavor (whatever that is,

Re: [PATCH] tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()

2024-07-04 Thread Greg Kroah-Hartman
On Wed, Jul 03, 2024 at 07:18:35PM -0700, Jakub Kicinski wrote: > On Wed, 3 Jul 2024 03:01:47 +0900 Yunseong Kim wrote: > > Support backports for stable version. There are two places where null > > deref could happen before > > commit 2c92ca849fcc ("tracing/treewide: Remove second parameter of >

Re: [PATCH v2] ring-buffer: Limit time with disabled interrupts in rb_check_pages()

2024-07-04 Thread Petr Pavlu
On 7/3/24 23:44, Steven Rostedt wrote: > On Wed, 3 Jul 2024 09:53:14 +0200 > Petr Pavlu wrote: > >> The function rb_check_pages() validates the integrity of a specified >> per-CPU tracing ring buffer. It does so by traversing the underlying >> linked list and checking its next and prev links. >>

Re: [PATCH] tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()

2024-07-04 Thread Yunseong Kim
Hi Greg, Hi Jakub On 7/4/24 6:32 오후, Greg Kroah-Hartman wrote: > On Wed, Jul 03, 2024 at 07:18:35PM -0700, Jakub Kicinski wrote: >> On Wed, 3 Jul 2024 03:01:47 +0900 Yunseong Kim wrote: >>> Support backports for stable version. There are two places where null >>> deref could happen before >>> com

[PATCH v2] dt-bindings: hwlock: sprd-hwspinlock: convert to YAML

2024-07-04 Thread Stanislav Jakubek
Convert the Spreadtrum hardware spinlock bindings to DT schema. Reviewed-by: Conor Dooley Signed-off-by: Stanislav Jakubek --- Changes in V2: - fix double space in example - switch to #address-cells = <1> and #size-cells = <1> in example - add Conor's R-b .../bindings/hwlock/sprd,hwspinl

Re: [PATCH v2] dt-bindings: hwlock: sprd-hwspinlock: convert to YAML

2024-07-04 Thread Baolin Wang
On 2024/7/4 19:38, Stanislav Jakubek wrote: Convert the Spreadtrum hardware spinlock bindings to DT schema. Reviewed-by: Conor Dooley Signed-off-by: Stanislav Jakubek LGTM. Thanks. Reviewed-by: Baolin Wang --- Changes in V2: - fix double space in example - switch to #address-cell

Re: [PATCH] tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()

2024-07-04 Thread Greg Kroah-Hartman
On Thu, Jul 04, 2024 at 08:16:34PM +0900, Yunseong Kim wrote: > Hi Greg, Hi Jakub > > On 7/4/24 6:32 오후, Greg Kroah-Hartman wrote: > > On Wed, Jul 03, 2024 at 07:18:35PM -0700, Jakub Kicinski wrote: > >> On Wed, 3 Jul 2024 03:01:47 +0900 Yunseong Kim wrote: > >>> Support backports for stable vers

Re: [PATCH 0/2] Support userspace hypercalls for TDX

2024-07-04 Thread Peter Zijlstra
On Wed, Jul 03, 2024 at 11:35:59PM +, Tim Merrifield wrote: > VMCALL and VMMCALL instructions are used by x86 guests to request services > from the host VMM. Both VMCALL and VMMCALL are not restricted to CPL 0. > This allows userspace software like open-vm-tools to communicate directly > with t

Re: [PATCH v2 00/12] uprobes: add batched register/unregister APIs and per-CPU RW semaphore

2024-07-04 Thread Steven Rostedt
On Thu, 4 Jul 2024 11:15:59 +0200 Peter Zijlstra wrote: > > Now, RCU Tasks Trace were specifically designed for least overhead > > hotpath (reader side) performance, at the expense of slowing down much > > rarer writers. My microbenchmarking does show at least 5% difference. > > Both flavors can

[PATCH v2] trace/pid_list: Change gfp flags in pid_list_fill_irq()

2024-07-04 Thread Levi Yun
From: "levi.yun" pid_list_fill_irq() runs via irq_work. When CONFIG_PREEMPT_RT is disabled, it would run in irq_context. so it shouldn't sleep while memory allocation. Change gfp flags from GFP_KERNEL to GFP_NOWAIT to prevent sleep in irq_work. This change wouldn't impact functionality in pract

Re: [PATCH v2 00/12] uprobes: add batched register/unregister APIs and per-CPU RW semaphore

2024-07-04 Thread Paul E. McKenney
On Thu, Jul 04, 2024 at 10:39:35AM +0200, Peter Zijlstra wrote: > On Wed, Jul 03, 2024 at 07:08:21AM -0700, Paul E. McKenney wrote: > > On Wed, Jul 03, 2024 at 09:50:57AM +0200, Peter Zijlstra wrote: > > > > Would it make sense to disable it for those architectures that have > > > already done thi

Re: [PATCH v4 2/2] rust: add tracepoint support

2024-07-04 Thread Carlos Llamas
On Fri, Jun 28, 2024 at 01:23:32PM +, Alice Ryhl wrote: > Make it possible to have Rust code call into tracepoints defined by C > code. It is still required that the tracepoint is declared in a C > header, and that this header is included in the input to bindgen. > > Signed-off-by: Alice Ryhl

Re: [PATCH v8 2/5] remoteproc: Add TEE support

2024-07-04 Thread Mathieu Poirier
On Thu, Jul 04, 2024 at 10:05:24AM +0200, Arnaud POULIQUEN wrote: > > > On 7/3/24 17:14, Mathieu Poirier wrote: > > On Wed, Jul 03, 2024 at 09:19:44AM +0200, Arnaud POULIQUEN wrote: > >> Hello Mathieu > >> > >> On 7/2/24 18:44, Mathieu Poirier wrote: > >>> Good morning, > >>> > >>> On Fri, Jun 21

Re: [PATCH v2] remoteproc: k3-dsp: Fix log levels where appropriate

2024-07-04 Thread Mathieu Poirier
On Wed, Jun 26, 2024 at 12:14:38PM -0700, Garrett Giordano wrote: > Driver was logging information as errors. Changed dev_err to dev_dbg > where appropriate. > > Signed-off-by: Garrett Giordano > --- > -v2 > - Change from dev_info to dev_dbg > - Drop k3-r5 PATCH > --- > drivers/remoteproc/ti

Re: [PATCH v2 00/12] uprobes: add batched register/unregister APIs and per-CPU RW semaphore

2024-07-04 Thread Paul E. McKenney
On Thu, Jul 04, 2024 at 11:15:59AM +0200, Peter Zijlstra wrote: > On Wed, Jul 03, 2024 at 02:33:06PM -0700, Andrii Nakryiko wrote: > > > 2. More tactically, RCU protection seems like the best way forward. We > > got hung up on SRCU vs RCU Tasks Trace. Thanks to Paul, we also > > clarified that RCU

Re: [PATCH v6] remoteproc: xlnx: add attach detach support

2024-07-04 Thread Mathieu Poirier
On Thu, Jun 27, 2024 at 10:29:38AM -0700, Tanmay Shah wrote: > It is possible that remote processor is already running before > linux boot or remoteproc platform driver probe. Implement required > remoteproc framework ops to provide resource table address and > connect or disconnect with remote pro

[PATCH] tracing/kprobes: Add missing check for skipping symbol counting logic

2024-07-04 Thread Nikolay Kuratov
In commit b022f0c7e404 ("tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols") it was already done for symbol in __trace_kprobe_create(), but func in create_local_trace_kprobe() is also valid usage. Not doing so leads to ENOENT for module_name:symbol_name constructions passed ov

[PATCH v2 0/8] msm8937/msm8976/qcs404 icc patches

2024-07-04 Thread Adam Skladowski
This series introduce new ICC drivers for some legacy socs while at it also updates a bit of qcs404 driver which seems to not receive much attention lately. Please take in consideration i do not own any qcs404 board so i cannot test anything else than if it compiles. Changes since v1 =

[PATCH v2 1/8] dt-bindings: interconnect: qcom: Add Qualcomm MSM8976 NoC

2024-07-04 Thread Adam Skladowski
Add bindings for Qualcomm MSM8976 Network-On-Chip interconnect devices. Signed-off-by: Adam Skladowski --- .../bindings/interconnect/qcom,msm8976.yaml | 63 .../dt-bindings/interconnect/qcom,msm8976.h | 97 +++ 2 files changed, 160 insertions(+) create mode 1006

[PATCH v2 2/8] interconnect: qcom: Add MSM8976 interconnect provider driver

2024-07-04 Thread Adam Skladowski
Add driver for interconnect busses found in MSM8976 based platforms. The topology consists of four NoCs that are partially controlled by a RPM processor. Signed-off-by: Adam Skladowski --- drivers/interconnect/qcom/Kconfig |9 + drivers/interconnect/qcom/Makefile |2 + drivers/interco

[PATCH v2 3/8] dt-bindings: interconnect: qcom: Add Qualcomm MSM8937 NoC

2024-07-04 Thread Adam Skladowski
Add bindings for Qualcomm MSM8937 Network-On-Chip interconnect devices. Signed-off-by: Adam Skladowski --- .../bindings/interconnect/qcom,msm8937.yaml | 63 + .../dt-bindings/interconnect/qcom,msm8937.h | 93 +++ 2 files changed, 156 insertions(+) create mode 100

[PATCH v2 4/8] interconnect: qcom: Add MSM8937 interconnect provider driver

2024-07-04 Thread Adam Skladowski
Add driver for interconnect busses found in MSM8937 based platforms. The topology consists of four NoCs that are partially controlled by a RPM processor. Signed-off-by: Adam Skladowski --- drivers/interconnect/qcom/Kconfig |9 + drivers/interconnect/qcom/Makefile |2 + drivers/interco

[PATCH v2 5/8] interconnect: qcom: qcs404: Mark AP-owned nodes as such

2024-07-04 Thread Adam Skladowski
When driver was upstreamed it seems ap_owned nodes were not available, bring them now. Signed-off-by: Adam Skladowski --- drivers/interconnect/qcom/qcs404.c | 85 ++ 1 file changed, 85 insertions(+) diff --git a/drivers/interconnect/qcom/qcs404.c b/drivers/interconn

[PATCH v2 6/8] interconnect: qcom: qcs404: Add regmaps and more bus descriptions

2024-07-04 Thread Adam Skladowski
Currently we are lacking descriptions of regmaps, bus clocks and types of busses, provide them. Signed-off-by: Adam Skladowski --- drivers/interconnect/qcom/qcs404.c | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/drivers/interconnect/qcom/qcs4

[PATCH v2 7/8] dt-bindings: interconnect: qcom: msm8939: Fix example

2024-07-04 Thread Adam Skladowski
For now example list snoc_mm as children of bimc which is obviously not valid, drop snoc and snoc_mm and leave bimc alone. Signed-off-by: Adam Skladowski --- .../bindings/interconnect/qcom,msm8939.yaml | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Docu

[PATCH v2 8/8] interconnect: qcom: msm8953: Add ab_coeff

2024-07-04 Thread Adam Skladowski
BIMC and SNOC-MM on downstream feature qcom,util-fact which translates to ab_coeff, add it. Signed-off-by: Adam Skladowski --- drivers/interconnect/qcom/msm8953.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/interconnect/qcom/msm8953.c b/drivers/interconnect/qcom/msm8953.c inde

Re: [syzbot] [mm?] possible deadlock in __mmap_lock_do_trace_released

2024-07-04 Thread Jesper Dangaard Brouer
On 02/07/2024 20.54, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:a12978712d90 selftests/bpf: Move ARRAY_SIZE to bpf_misc.h git tree: bpf-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=130457fa98 kernel config: https://syzkaller.appspot

[PATCH v2] init: staging: Fix missing warning/taint on builtin code

2024-07-04 Thread Ágatha Isabelle Chris Moreira Guedes
Fix the absence of warning message and kernel tainting when initializing drivers from the `drivers/staging` subtree from initcalls (when configured as built-in). When such a driver is built as module and the module is loaded, the `load_module()` function taints the kernel to signal code of unknown

Re: [PATCH v2 0/8] msm8937/msm8976/qcs404 icc patches

2024-07-04 Thread Krzysztof Kozlowski
On 04/07/2024 22:02, Adam Skladowski wrote: > This series introduce new ICC drivers for some legacy socs > while at it also updates a bit of qcs404 driver which seems > to not receive much attention lately. > Please take in consideration i do not own any qcs404 board > so i cannot test anything els

Re: [PATCH v2 1/8] dt-bindings: interconnect: qcom: Add Qualcomm MSM8976 NoC

2024-07-04 Thread Krzysztof Kozlowski
On 04/07/2024 22:02, Adam Skladowski wrote: > Add bindings for Qualcomm MSM8976 Network-On-Chip interconnect devices. > > Signed-off-by: Adam Skladowski > --- > .../bindings/interconnect/qcom,msm8976.yaml | 63 > .../dt-bindings/interconnect/qcom,msm8976.h | 97 +

Re: [PATCH v2 3/8] dt-bindings: interconnect: qcom: Add Qualcomm MSM8937 NoC

2024-07-04 Thread Krzysztof Kozlowski
On 04/07/2024 22:02, Adam Skladowski wrote: > Add bindings for Qualcomm MSM8937 Network-On-Chip interconnect devices. > > Signed-off-by: Adam Skladowski > --- > .../bindings/interconnect/qcom,msm8937.yaml | 63 + > .../dt-bindings/interconnect/qcom,msm8937.h | 93

Re: [PATCH v2 7/8] dt-bindings: interconnect: qcom: msm8939: Fix example

2024-07-04 Thread Krzysztof Kozlowski
On 04/07/2024 22:02, Adam Skladowski wrote: > For now example list snoc_mm as children of bimc which is obviously > not valid, drop snoc and snoc_mm and leave bimc alone. > > Signed-off-by: Adam Skladowski > --- > .../bindings/interconnect/qcom,msm8939.yaml | 13 + > 1 file c