Re: [PATCH v2 16/19] gendwarfksyms: Add support for reserved structure fields

2024-08-22 Thread Greg Kroah-Hartman
On Thu, Aug 22, 2024 at 05:55:32AM +, Benno Lossin wrote: > On 22.08.24 01:29, Greg Kroah-Hartman wrote: > > On Wed, Aug 21, 2024 at 11:31:25AM +, Benno Lossin wrote: > >> On 20.08.24 22:03, Matthew Maurer wrote: > > The way `KAbiReserved` is implemented is via a `union` (maybe a bit >

Re: [PATCH 0/2] kmod /usr support

2024-08-22 Thread Michal Suchánek
Hello, On Thu, Aug 22, 2024 at 01:05:11AM -0500, Lucas De Marchi wrote: > On Tue, Dec 19, 2023 at 05:37:31PM GMT, Masahiro Yamada wrote: > > On Thu, Dec 7, 2023 at 3:37 AM Lucas De Marchi > > wrote: > > > > > > On Fri, Nov 10, 2023 at 01:13:53PM +0100, Michal Suchanek wrote: > > > >Hello, > > >

Re: [PATCH v2 1/6] riscv: ftrace: support fastcc in Clang for WITH_ARGS

2024-08-22 Thread Andy Chiu
On Tue, Aug 13, 2024 at 7:09 PM Björn Töpel wrote: > > Andy Chiu writes: > > > Some caller-saved registers which are not defined as function arguments > > in the ABI can still be passed as arguments when the kernel is compiled > > with Clang. As a result, we must save and restore those registers

Re: WARNING in uprobe_unregister

2024-08-22 Thread Jiri Olsa
On Mon, Aug 05, 2024 at 09:50:45AM +0800, Ubisectech Sirius wrote: > > > Hello. > We are Ubisectech Sirius Team, the vulnerability lab of China ValiantSec. > Recently, our team has discovered a issue in Linux kernel 6.8. Attached to > the email were a PoC file of the issue. > > Stack dump: >

Re: [PATCH 2/2] remoteproc: qcom: add hexagon based WCSS secure PIL driver

2024-08-22 Thread Gokul Sriram P
On 8/20/2024 4:55 PM, Krzysztof Kozlowski wrote: On Tue, Aug 20, 2024 at 02:25:15PM +0530, Gokul Sriram Palanisamy wrote: From: Vignesh Viswanathan Add support to bring up hexagon based WCSS secure PIL remoteproc. IPQ5332, IPQ9574 supports secure PIL remoteproc. Signed-off-by: Vignesh Viswa

Re: [PATCH] tracing/timerlat: Check tlat_var for NULL in timerlat_fd_release

2024-08-22 Thread Tomas Glozar
st 21. 8. 2024 v 22:02 odesílatel Steven Rostedt napsal: > > I'm able to reproduce this with the above. Unfortunately, I can still > reproduce it after applying this patch :-( > Thank you for looking at this. I was at first not too sure about whether this is the proper fix, but after some discuss

Re: [PATCH] MAINTAINERS: scale modules with more reviewers

2024-08-22 Thread Petr Pavlu
On 8/21/24 19:40, Luis Chamberlain wrote: > We're looking to add Rust module support, and I don't speak > Rust yet. The compromise was reached that in order to scale we'd > get volunteers committed from the Rust community willing to review > both Rust and C code for modules so we can ensure we get

Re: [PATCH 3/4] arm64: dts: qcom: ipq5332: add nodes to bringup q6

2024-08-22 Thread Gokul Sriram P
On 8/20/2024 4:51 PM, Krzysztof Kozlowski wrote: On Tue, Aug 20, 2024 at 02:25:16PM +0530, Gokul Sriram Palanisamy wrote: From: Manikanta Mylavarapu Enable nodes required for q6 remoteproc bring up. Signed-off-by: Manikanta Mylavarapu Signed-off-by: Gokul Sriram Palanisamy --- arch/arm6

Re: [PATCH 0/4] Add new driver for WCSS secure PIL loading

2024-08-22 Thread Gokul Sriram P
On 8/20/2024 4:42 PM, Krzysztof Kozlowski wrote: On 20/08/2024 10:55, Gokul Sriram Palanisamy wrote: This series depends on q6 clock removal series [1]. How? So this cannot be tested and merged? Yes. Though TrustZone enables these clocks, since Linux Kernel will consider these clock as unu

Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL

2024-08-22 Thread Gokul Sriram P
On 8/20/2024 4:50 PM, Krzysztof Kozlowski wrote: On Tue, Aug 20, 2024 at 02:25:14PM +0530, Gokul Sriram Palanisamy wrote: From: Manikanta Mylavarapu Add new binding document for hexagon based WCSS secure PIL remoteproc. IPQ5332, IPQ9574 follows secure PIL remoteproc. Signed-off-by: Manikanta

Re: [PATCH] tracing/timerlat: Check tlat_var for NULL in timerlat_fd_release

2024-08-22 Thread Luis Claudio R. Goncalves
On Wed, Aug 21, 2024 at 04:03:16PM -0400, Steven Rostedt wrote: > On Tue, 20 Aug 2024 15:00:01 +0200 > tglo...@redhat.com wrote: > > > From: Tomas Glozar > > > > When running timerlat with a userspace workload (NO_OSNOISE_WORKLOAD), > > NULL pointer dereference can be triggered by sending conseq

Re: [PATCH 0/4] Add new driver for WCSS secure PIL loading

2024-08-22 Thread Krzysztof Kozlowski
On 22/08/2024 12:43, Gokul Sriram P wrote: > > On 8/20/2024 4:42 PM, Krzysztof Kozlowski wrote: >> On 20/08/2024 10:55, Gokul Sriram Palanisamy wrote: >>> This series depends on q6 clock removal series [1]. >> How? So this cannot be tested and merged? > > Yes. Though TrustZone enables these clock

Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL

2024-08-22 Thread Krzysztof Kozlowski
On 22/08/2024 12:47, Gokul Sriram P wrote: >>> + >>> + interrupts: >>> +items: >>> + - description: Watchdog interrupt >>> + - description: Fatal interrupt >>> + - description: Ready interrupt >>> + - description: Handover interrupt >>> + - description: Stop acknowledg

Re: [PATCH v4] ptp: Add vDSO-style vmclock support

2024-08-22 Thread Simon Horman
On Wed, Aug 21, 2024 at 10:50:47PM +0100, David Woodhouse wrote: ... > diff --git a/drivers/ptp/ptp_vmclock.c b/drivers/ptp/ptp_vmclock.c ... > +#define VMCLOCK_FIELD_PRESENT(_c, _f) \ > + (_c)->size >= (offsetof(struct vmclock_abi, _f) + \ > +si

Re: [PATCH v2 16/19] gendwarfksyms: Add support for reserved structure fields

2024-08-22 Thread Benno Lossin
On 22.08.24 09:29, Greg Kroah-Hartman wrote: > On Thu, Aug 22, 2024 at 05:55:32AM +, Benno Lossin wrote: >> On 22.08.24 01:29, Greg Kroah-Hartman wrote: >>> On Wed, Aug 21, 2024 at 11:31:25AM +, Benno Lossin wrote: On 20.08.24 22:03, Matthew Maurer wrote: >>> The way `KAbiReserved`

[PATCH v8 0/5] Tracepoints and static branch in Rust

2024-08-22 Thread Alice Ryhl
An important part of a production ready Linux kernel driver is tracepoints. So to write production ready Linux kernel drivers in Rust, we must be able to call tracepoints from Rust code. This patch series adds support for calling tracepoints declared in C from Rust. This series includes a patch th

[PATCH v8 1/5] rust: add generic static_key_false

2024-08-22 Thread Alice Ryhl
Add just enough support for static key so that we can use it from tracepoints. Tracepoints rely on `static_key_false` even though it is deprecated, so we add the same functionality to Rust. This patch only provides a generic implementation without code patching (matching the one used when CONFIG_J

[PATCH v8 2/5] rust: add tracepoint support

2024-08-22 Thread Alice Ryhl
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. Instead of calling __DO_TRACE directly, the exported rust_do_trace_ function calls an inline hel

[PATCH v8 3/5] rust: samples: add tracepoint to Rust sample

2024-08-22 Thread Alice Ryhl
This updates the Rust printing sample to invoke a tracepoint. This ensures that we have a user in-tree from the get-go even though the patch is being merged before its real user. Signed-off-by: Alice Ryhl --- MAINTAINERS| 1 + include/trace/events/rust_sample.h | 31

[PATCH v8 4/5] jump_label: adjust inline asm to be consistent

2024-08-22 Thread Alice Ryhl
To avoid duplication of inline asm between C and Rust, we need to import the inline asm from the relevant `jump_label.h` header into Rust. To make that easier, this patch updates the header files to expose the inline asm via a new ARCH_STATIC_BRANCH_ASM macro. The header files are all updated to d

[PATCH v8 5/5] rust: add arch_static_branch

2024-08-22 Thread Alice Ryhl
To allow the Rust implementation of static_key_false to use runtime code patching instead of the generic implementation, pull in the relevant inline assembly from the jump_label.h header by running the C preprocessor on a .rs.S file. Build rules are added for .rs.S files. Since the relevant inline

[PATCH v8 1/5 alt] rust: add generic static_key_false

2024-08-22 Thread Alice Ryhl
Add just enough support for static key so that we can use it from tracepoints. Tracepoints rely on `static_key_false` even though it is deprecated, so we add the same functionality to Rust. This patch only provides a generic implementation without code patching (matching the one used when CONFIG_J

Re: [PATCH v4] ptp: Add vDSO-style vmclock support

2024-08-22 Thread David Woodhouse
On Thu, 2024-08-22 at 12:49 +0100, Simon Horman wrote: > Hi David, > > Sorry to be always the one with the nit-pick. > Sparse complains about the line above, I believe because the > type of st->clk->size is __le32. > > .../ptp_vmclock.c:562:13: warning: restricted __le32 degrades to integer Oops

Re: [PATCH 0/2] kmod /usr support

2024-08-22 Thread Emil Velikov
On 2024/08/21, Nathan Chancellor wrote: > On Tue, Dec 19, 2023 at 05:37:31PM +0900, Masahiro Yamada wrote: > > On Thu, Dec 7, 2023 at 3:37 AM Lucas De Marchi > > wrote: > > > > > > On Fri, Nov 10, 2023 at 01:13:53PM +0100, Michal Suchanek wrote: > > > >Hello, > > > > > > > >This is resend of the

[PATCH v3 0/2] remoteproc: imx_rproc: support non-blocking tx for i.MX7ULP

2024-08-22 Thread Peng Fan (OSS)
The i.MX7ULP Cortex-A7 is under control of Cortex-M4. The i.MX7ULP Linux poweroff and restart rely on rpmsg driver to send a message to Cortex-M4 firmware. Then Cortex-A7 could poweroff or restart by Cortex-M4 to configure the i.MX7ULP power controller properly. However the reboot and restart kern

[PATCH v3 1/2] remoteproc: imx_rproc: Allow setting of the mailbox transmit mode

2024-08-22 Thread Peng Fan (OSS)
From: Peng Fan Current mailbox is blocking by default, but there are cases where we don't need to wait for a response. Linux just needs to send data to the remote processor, so let's allow tx_block mode to be set (true/false) depending on usecase. No functional changes. Signed-off-by: Peng Fan

[PATCH v3 2/2] remoteproc: imx_rproc: Add support for poweroff and reboot

2024-08-22 Thread Peng Fan (OSS)
From: Peng Fan On some NXP platforms (e.g i.MX7ULP) the poweroff and reboot operations are done via a separate remote core. Typically Linux needs to send a message to the remote core and requests for poweroff or reboot. By default the communication between Linux core and the remote core is is d

Re: [PATCH v8 1/5 alt] rust: add generic static_key_false

2024-08-22 Thread Boqun Feng
On Thu, Aug 22, 2024 at 12:08:07PM +, Alice Ryhl wrote: > Add just enough support for static key so that we can use it from > tracepoints. Tracepoints rely on `static_key_false` even though it is > deprecated, so we add the same functionality to Rust. > > This patch only provides a generic imp

Re: [PATCH v3 04/13] uprobes: travers uprobe's consumer list locklessly under SRCU protection

2024-08-22 Thread Jiri Olsa
On Mon, Aug 12, 2024 at 09:29:08PM -0700, Andrii Nakryiko wrote: SNIP > @@ -1125,18 +1103,31 @@ void uprobe_unregister(struct uprobe *uprobe, struct > uprobe_consumer *uc) > int err; > > down_write(&uprobe->register_rwsem); > - if (WARN_ON(!consumer_del(uprobe, uc))) { > -

Re: [PATCH] tracing/timerlat: Check tlat_var for NULL in timerlat_fd_release

2024-08-22 Thread Steven Rostedt
On Thu, 22 Aug 2024 11:32:07 +0200 Tomas Glozar wrote: > st 21. 8. 2024 v 22:02 odesílatel Steven Rostedt napsal: > > > > I'm able to reproduce this with the above. Unfortunately, I can still > > reproduce it after applying this patch :-( > > > > Thank you for looking at this. I was at first

Re: [PATCH] tracing/timerlat: Check tlat_var for NULL in timerlat_fd_release

2024-08-22 Thread Steven Rostedt
On Thu, 22 Aug 2024 10:32:02 -0400 Steven Rostedt wrote: > > Yeah, it seems there might be multiple bugs in the user workload > > handling, the other NULL pointer dereference and refcount warning > > above might be related (but I have yet to reproduce it on an upstream > > kernel). I'm also going

Re: [PATCH v8 2/5] rust: add tracepoint support

2024-08-22 Thread Boqun Feng
On Thu, Aug 22, 2024 at 12:04:14PM +, 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. > > Instead of calling __DO_TR

Re: [PATCH] tracing/timerlat: Check tlat_var for NULL in timerlat_fd_release

2024-08-22 Thread Steven Rostedt
On Thu, 22 Aug 2024 08:20:52 -0300 "Luis Claudio R. Goncalves" wrote: > You mean the > > + if (!tlat_var->kthread) { > + /* the fd has been closed already */ > > bit or the kthread handling in rtla itself? > > As Tomas already said, thank you for testing and reviewing the sugg

Re: [PATCH 1/1] remoteproc: Use iommu_paging_domain_alloc()

2024-08-22 Thread Mathieu Poirier
Hi Baolu, Sorry for the late reply, this slipped through the cracks. On Mon, Aug 12, 2024 at 03:28:11PM +0800, Lu Baolu wrote: > An iommu domain is allocated in rproc_enable_iommu() and is attached to > rproc->dev.parent in the same function. > > Use iommu_paging_domain_alloc() to make it explic

Re: [PATCH 1/1] remoteproc: Use iommu_paging_domain_alloc()

2024-08-22 Thread Jason Gunthorpe
On Thu, Aug 22, 2024 at 10:17:56AM -0600, Mathieu Poirier wrote: > > - domain = iommu_domain_alloc(dev->bus); > > - if (!domain) { > > + domain = iommu_paging_domain_alloc(dev); > > I'm a little hesitant here. Function iommu_domain_alloc() passes NULL two the > second argument of __iommu_d

Re: [PATCH v2 00/19] Implement DWARF modversions

2024-08-22 Thread Jonathan Corbet
Sami Tolvanen writes: > The first 16 patches of this series add a small tool for computing > symbol versions from DWARF, called gendwarfksyms. When passed a > list of exported symbols and an object file, the tool generates > an expanded type string for each symbol, and computes symbol CRCs > simi

Re: [PATCH v3 04/13] uprobes: travers uprobe's consumer list locklessly under SRCU protection

2024-08-22 Thread Andrii Nakryiko
On Thu, Aug 22, 2024 at 7:22 AM Jiri Olsa wrote: > > On Mon, Aug 12, 2024 at 09:29:08PM -0700, Andrii Nakryiko wrote: > > SNIP > > > @@ -1125,18 +1103,31 @@ void uprobe_unregister(struct uprobe *uprobe, > > struct uprobe_consumer *uc) > > int err; > > > > down_write(&uprobe->register_

[PATCH v2 0/5] remoteproc: arm64: Introduce remoteproc support for Corstone-1000 External Systems

2024-08-22 Thread Abdellatif El Khlifi
The Corstone-1000 IoT Reference Design Platform [A] supports up to two External Systems processors. This patchset allows to control these processors through the remoteproc subsystem. The Corstone-1000 implements the SSE-710 subsystem [B] which defines the MMIO-mapped reset registers (EXT_SYS*) us

[PATCH v2 1/5] dt-bindings: remoteproc: sse710: Add the External Systems remote processors

2024-08-22 Thread Abdellatif El Khlifi
Add devicetree binding schema for the External Systems remote processors The External Systems remote processors are provided on the Corstone-1000 IoT Reference Design Platform via the SSE-710 subsystem. For more details about the External Systems, please see Corstone SSE-710 subsystem features [1

[PATCH v2 3/5] arm64: dts: corstone1000: Add MHU nodes used by the External System

2024-08-22 Thread Abdellatif El Khlifi
Add normal world mhu0_hes0 and mhu0_es0h nodes In Corstone-1000 IoT Reference Design Platform, communication between the host (Cortex-A35) running in normal world (EL0 and EL1) and the external system (Cortex-M3) is done with MHU0. MHU0 is a bidirectional communication channel described in the de

[PATCH v2 4/5] arm64: dts: corstone1000: Add External System support

2024-08-22 Thread Abdellatif El Khlifi
Add extsys0 remoteproc node as a child node of syscon extsys0 describes the Corstone-1000 external system [1] (the remote processor). The host (Cortex-A35) can control the external system through memory mapped registers located in a memory area called the Host Base System Control [2][3]. This are

[PATCH v2 5/5] remoteproc: arm64: corstone1000: Add the External Systems driver

2024-08-22 Thread Abdellatif El Khlifi
Introduce remoteproc support for Corstone-1000 external systems The Corstone-1000 IoT Reference Design Platform supports up to two external systems processors. These processors can be switched on or off using their reset registers. For more details, please see the SSE-710 External System Remote P

[PATCH v2 2/5] dt-bindings: arm: sse710: Add Host Base System Control

2024-08-22 Thread Abdellatif El Khlifi
Add devicetree binding schema for the SSE-710 Host Base System Control SSE-710 is implemented by the Corstone-1000 IoT Reference Design Platform [1]. The Host Base System Control has registers to control the clocks, power, and reset for SSE-710 subsystem [2]. It resides within AONTOP power domain

Re: [PATCH v8 3/5] rust: samples: add tracepoint to Rust sample

2024-08-22 Thread Boqun Feng
On Thu, Aug 22, 2024 at 12:04:15PM +, Alice Ryhl wrote: > This updates the Rust printing sample to invoke a tracepoint. This > ensures that we have a user in-tree from the get-go even though the > patch is being merged before its real user. > > Signed-off-by: Alice Ryhl > --- > MAINTAINERS

Re: [PATCH v7 2/4] kbuild: generate offset range data for builtin modules

2024-08-22 Thread Masahiro Yamada
On Wed, Aug 21, 2024 at 1:11 PM Kris Van Hees wrote: > > Create file module.builtin.ranges that can be used to find where > built-in modules are located by their addresses. This will be useful for > tracing tools to find what functions are for various built-in modules. > > The offset range data fo

Re: [PATCH v3 04/13] uprobes: travers uprobe's consumer list locklessly under SRCU protection

2024-08-22 Thread Jiri Olsa
On Thu, Aug 22, 2024 at 09:59:29AM -0700, Andrii Nakryiko wrote: > On Thu, Aug 22, 2024 at 7:22 AM Jiri Olsa wrote: > > > > On Mon, Aug 12, 2024 at 09:29:08PM -0700, Andrii Nakryiko wrote: > > > > SNIP > > > > > @@ -1125,18 +1103,31 @@ void uprobe_unregister(struct uprobe *uprobe, > > > struct up

Re: [PATCH v7 3/4] scripts: add verifier script for builtin module range data

2024-08-22 Thread Masahiro Yamada
On Wed, Aug 21, 2024 at 1:11 PM Kris Van Hees wrote: > > The modules.builtin.ranges offset range data for builtin modules is > generated at compile time based on the list of built-in modules and > the vmlinux.map and vmlinux.o.map linker maps. This data can be used > to determine whether a symbol

Re: [PATCH v3 04/13] uprobes: travers uprobe's consumer list locklessly under SRCU protection

2024-08-22 Thread Andrii Nakryiko
On Thu, Aug 22, 2024 at 10:35 AM Jiri Olsa wrote: > > On Thu, Aug 22, 2024 at 09:59:29AM -0700, Andrii Nakryiko wrote: > > On Thu, Aug 22, 2024 at 7:22 AM Jiri Olsa wrote: > > > > > > On Mon, Aug 12, 2024 at 09:29:08PM -0700, Andrii Nakryiko wrote: > > > > > > SNIP > > > > > > > @@ -1125,18 +1103

Re: [PATCH v2 00/19] Implement DWARF modversions

2024-08-22 Thread Sami Tolvanen
Hi Jon, On Thu, Aug 22, 2024 at 9:43 AM Jonathan Corbet wrote: > > Sami Tolvanen writes: > > > The first 16 patches of this series add a small tool for computing > > symbol versions from DWARF, called gendwarfksyms. When passed a > > list of exported symbols and an object file, the tool generate

[PATCH v8 0/4] Generate address range data for built-in modules

2024-08-22 Thread Kris Van Hees
At build time, create the file modules.builtin.ranges that will hold address range data of the built-in modules that can be used by tracers. Especially for tracing applications, it is convenient to be able to refer to a symbol using a pair and to be able to translate an address into a pair. But

[PATCH v8 3/4] scripts: add verifier script for builtin module range data

2024-08-22 Thread Kris Van Hees
The modules.builtin.ranges offset range data for builtin modules is generated at compile time based on the list of built-in modules and the vmlinux.map and vmlinux.o.map linker maps. This data can be used to determine whether a symbol at a particular address belongs to module code that was configu

[PATCH v8 4/4] module: add install target for modules.builtin.ranges

2024-08-22 Thread Kris Van Hees
When CONFIG_BUILTIN_MODULE_RANGES is enabled, the modules.builtin.ranges file should be installed in the module install location. Signed-off-by: Kris Van Hees Reviewed-by: Nick Alcock --- Changes since v3: - Only install modules.builtin.ranges if CONFIG_BUILTIN_MODULE_RANGES=y --- scri

[PATCH v8 2/4] kbuild: generate offset range data for builtin modules

2024-08-22 Thread Kris Van Hees
Create file module.builtin.ranges that can be used to find where built-in modules are located by their addresses. This will be useful for tracing tools to find what functions are for various built-in modules. The offset range data for builtin modules is generated using: - modules.builtin: associa

[PATCH v8 1/4] kbuild: add mod(name,file)_flags to assembler flags for module objects

2024-08-22 Thread Kris Van Hees
In order to create the file at build time, modules.builtin.ranges, that contains the range of addresses for all built-in modules, there needs to be a way to identify what code is compiled into modules. To identify what code is compiled into modules during a kernel build, one can look for the prese

[RFC] vDPA: Trying to make sense of config data

2024-08-22 Thread Carlos Bilbao
Hello folks, I'm using the code below to retrieve configuration data for my vDPA file via ioctl. I get as output: Configuration data (24 bytes): 5a c3 5f 68 48 a9 01 00 08 00 dc 05 00 00 00 00 00 00 00 00 00 00 00 00 ASCII representation: Z._hH... Could a good Samaritan point me

Re: [PATCH v2 1/5] dt-bindings: remoteproc: sse710: Add the External Systems remote processors

2024-08-22 Thread Rob Herring (Arm)
On Thu, 22 Aug 2024 18:09:47 +0100, Abdellatif El Khlifi wrote: > Add devicetree binding schema for the External Systems remote processors > > The External Systems remote processors are provided on the Corstone-1000 > IoT Reference Design Platform via the SSE-710 subsystem. > > For more details

Re: [PATCH v2 16/19] gendwarfksyms: Add support for reserved structure fields

2024-08-22 Thread Greg Kroah-Hartman
On Thu, Aug 22, 2024 at 12:00:15PM +, Benno Lossin wrote: > > Here's one example in the android tree where 4 64bit fields are reserved > > for future abi changes: > > > > https://android.googlesource.com/kernel/common/+/refs/heads/android12-5.10/include/linux/fs.h#421 > > > > And here's a

Re: [BUG] tracing: dynamic ftrace selftest detected failures

2024-08-22 Thread Google
On Wed, 21 Aug 2024 11:50:00 -0400 Steven Rostedt wrote: > On Wed, 21 Aug 2024 16:42:07 +0100 > Mark Rutland wrote: > > > FWIW, that was in samples/ftrace/ftrace-ops.c, where tracee_relevant() and > > tracee_irrelevant() have the barrier(): > > > > | /* > > | * Marked as noinline to ensure th

Re: [PATCH v2 1/5] dt-bindings: remoteproc: sse710: Add the External Systems remote processors

2024-08-22 Thread Krzysztof Kozlowski
On Thu, Aug 22, 2024 at 06:09:47PM +0100, Abdellatif El Khlifi wrote: > Add devicetree binding schema for the External Systems remote processors > > The External Systems remote processors are provided on the Corstone-1000 > IoT Reference Design Platform via the SSE-710 subsystem. > > For more det

Re: [PATCH v2 2/5] dt-bindings: arm: sse710: Add Host Base System Control

2024-08-22 Thread Krzysztof Kozlowski
On Thu, Aug 22, 2024 at 06:09:48PM +0100, Abdellatif El Khlifi wrote: > Add devicetree binding schema for the SSE-710 Host Base System Control > > SSE-710 is implemented by the Corstone-1000 IoT Reference Design > Platform [1]. > > The Host Base System Control has registers to control the clocks,

[PATCH v7 0/3] Add extioi virt extension support

2024-08-22 Thread Bibo Mao
KVM_FEATURE_VIRT_EXTIOI is paravirt feature defined with EXTIOI interrupt controller, it can route interrupt to 256 vCPUs and CPU interrupt pin IP0-IP7. Now EXTIOI irqchip is emulated in user space rather than kernel space, here interface is provided for VMM to pass this feature to KVM hypervisor.

[PATCH v7 1/3] LoongArch: KVM: Enable paravirt feature control from VMM

2024-08-22 Thread Bibo Mao
Export kernel paravirt features to user space, so that VMM can control the single paravirt feature. By default paravirt features will be the same with kvm supported features if VMM does not set it. Also a new feature KVM_FEATURE_VIRT_EXTIOI is added which can be set from user space. This feature i

[PATCH v7 3/3] irqchip/loongson-eiointc: Add extioi virt extension support

2024-08-22 Thread Bibo Mao
Interrupts can be routed to maximal four virtual CPUs with one HW EIOINTC interrupt controller model, since interrupt routing is encoded with CPU bitmap and EIOINTC node combined method. Here add the EIOINTC virt extension support so that interrupts can be routed to 256 vCPUs on hypervisor mode. CP

[PATCH v7 2/3] LoongArch: KVM: Implement function kvm_para_has_feature

2024-08-22 Thread Bibo Mao
Function kvm_para_has_feature() is to detect supported paravirt features, it can be used by device driver to detect and enable paravirt features, such as extioi irqchip driver can detect KVM_FEATURE_VIRT_EXTIOI and do some optimization. Signed-off-by: Bibo Mao --- arch/loongarch/include/asm/kvm_

[PATCH v1] remoteproc:qcom:wcss:Remove double assignment in q6v5_wcss_probe()

2024-08-22 Thread Yuesong Li
cocci report a double assignment warning.'wcss->version' was assigned twice in 'q6v5_wcss_probe()'. Signed-off-by: Yuesong Li --- drivers/remoteproc/qcom_q6v5_wcss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/remoteproc/qcom_q6v5_wcss.c b/drivers/remoteproc/qcom_q6v5_wcss.c inde