Re: [PATCH V2 0/7] vdpa live update

2024-07-15 Thread Jason Wang
On Mon, Jul 15, 2024 at 10:29 PM Steven Sistare wrote: > > On 7/14/2024 10:14 PM, Jason Wang wrote: > > On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare > > wrote: > >> > >> Live update is a technique wherein an application saves its state, exec's > >> to an updated version of itself, and restores

Re: [PATCH V2 5/7] vhost-vdpa: VHOST_IOTLB_REMAP

2024-07-15 Thread Jason Wang
On Mon, Jul 15, 2024 at 10:28 PM Steven Sistare wrote: > > On 7/14/2024 10:34 PM, Jason Wang wrote: > > On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare > > wrote: > >> > >> When device ownership is passed to a new process via VHOST_NEW_OWNER, > >> some devices need to know the new userland address

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Jason Wang
On Mon, Jul 15, 2024 at 10:27 PM Steven Sistare wrote: > > On 7/14/2024 10:26 PM, Jason Wang wrote: > > On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare > > wrote: > >> > >> Add an ioctl to transfer file descriptor ownership and pinned memory > >> accounting from one process to another. > >> > >> T

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

2024-07-15 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 --- Notes: Changes since v3: - Only install modules.builtin.ranges if CONFIG_BUILTIN_MODULE_RANGES=y

[PATCH v5 2/4] kbuild, kconfig: generate offset range data for builtin modules

2024-07-15 Thread Kris Van Hees
The offset range data for builtin modules is generated using: - modules.builtin: associates object files with module names - vmlinux.map: provides load order of sections and offset of first member per section - vmlinux.o.map: provides offset of object file content per section - .*.cmd: buil

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

2024-07-15 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 v5 1/4] kbuild: add mod(name,file)_flags to assembler flags for module objects

2024-07-15 Thread Kris Van Hees
In order to be able to identify what code is compiled into modules (even built-in modules) during a kernel build, one can look for the presence of the -DKBUILD_MODFILE and -DKBUILD_MODNAME options in the compile command lines. A simple grep in .*.cmd files for those options is sufficient for this.

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

2024-07-15 Thread Kris Van Hees
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 that does not work if the module is built into the kernel because the object files that comprise the built-in module implementation are simpl

[PATCH v2] remoteproc: xlnx: add sram support

2024-07-15 Thread Tanmay Shah
AMD-Xilinx zynqmp platform contains on-chip sram memory (OCM). R5 cores can access OCM and access is faster than DDR memory but slower than TCM memories available. Sram region can have optional multiple power-domains. Platform management firmware is responsible to operate these power-domains. Sign

[PATCH] remoteproc: xlnx: add sram support

2024-07-15 Thread Tanmay Shah
AMD-Xilinx zynqmp platform contains on-chip sram memory (OCM). R5 cores can access OCM and access is faster than DDR memory but slower than TCM memories available. Sram region can have optional multiple power-domains. Signed-off-by: Tanmay Shah --- drivers/remoteproc/xlnx_r5_remoteproc.c | 131 +

Re: [PATCH 00/15] Implement MODVERSIONS for Rust

2024-07-15 Thread Sami Tolvanen
Hi Petr, On Wed, Jul 10, 2024 at 7:30 AM Petr Pavlu wrote: > > On 6/17/24 19:58, Sami Tolvanen wrote: > > Hi folks, > > > > This series implements CONFIG_MODVERSIONS for Rust, an important > > feature for distributions like Android that want to ship Rust > > kernel modules, and depend on modversi

Re: [PATCH 1/6] kallsyms: Optimize multiple times of realloc() to one time of malloc()

2024-07-15 Thread Masahiro Yamada
On Thu, Jun 13, 2024 at 10:36 PM Zheng Yejian wrote: > > Array 'table' is used to store pointers of symbols that read from in.map > file, and its size depends on the number of symbols. Currently 'table' > is expanded by calling realloc() every 1 symbols read. > > However, there generally are a

Re: [PATCH] tracing: Update MAINTAINERS file

2024-07-15 Thread Mathieu Desnoyers
On 2024-07-15 15:13, Steven Rostedt wrote: On Mon, 15 Jul 2024 15:10:17 -0400 Mathieu Desnoyers wrote: On 2024-07-15 14:47, Steven Rostedt wrote: From: "Steven Rostedt (Google)" Gone but never forgotten. [ Also moved Daniel's name to be consistent with the alphabetical order ] Hi Steven,

Re: [PATCH] tracing: Update MAINTAINERS file

2024-07-15 Thread Steven Rostedt
On Mon, 15 Jul 2024 15:10:17 -0400 Mathieu Desnoyers wrote: > On 2024-07-15 14:47, Steven Rostedt wrote: > > From: "Steven Rostedt (Google)" > > > > Gone but never forgotten. > > > > [ Also moved Daniel's name to be consistent with the alphabetical order ] > > Hi Steven, > > You appear to

Re: [PATCH] tracing: Update MAINTAINERS file

2024-07-15 Thread Mathieu Desnoyers
On 2024-07-15 14:47, Steven Rostedt wrote: From: "Steven Rostedt (Google)" Gone but never forgotten. [ Also moved Daniel's name to be consistent with the alphabetical order ] Hi Steven, You appear to have missed this entry from SCHEDULER: R: Daniel Bristot de Oliveira (SCHED_DEADLINE

Re: [PATCH 1/1] tracing/sched: sched_switch: place prev_comm and next_comm in right order

2024-07-15 Thread Steven Rostedt
[ Adding sched maintainers, as this is a scheduling trace event ] On Wed, 3 Jul 2024 11:33:53 +0800 Tio Zhang wrote: > Switch the order of prev_comm and next_comm in sched_switch's code to > align with its printing order. I'm going to pick this up in my tree, as it is pretty much a nop. It's

Re: [PATCH v2] ring-buffer: Align meta-page to sub-buffers for improved TLB usage

2024-07-15 Thread Steven Rostedt
On Fri, 28 Jun 2024 11:46:11 +0100 Vincent Donnefort wrote: > This is based on the mm-unstable branch [1] as it depends on David's work [2] > for allowing the zero-page in vm_insert_page(). > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git > [2] https://lore.kernel.org/all/2024

[PATCH] tracing: Update MAINTAINERS file

2024-07-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Gone but never forgotten. [ Also moved Daniel's name to be consistent with the alphabetical order ] Signed-off-by: Steven Rostedt (Google) --- CREDITS | 10 +++--- MAINTAINERS | 3 --- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CRED

Re: [PATCH v2 00/11] perf/uprobe: Optimize uprobes

2024-07-15 Thread Andrii Nakryiko
On Mon, Jul 15, 2024 at 10:10 AM Andrii Nakryiko wrote: > > On Mon, Jul 15, 2024 at 7:45 AM Peter Zijlstra wrote: > > > > On Thu, Jul 11, 2024 at 09:57:44PM -0700, Andrii Nakryiko wrote: > > > > > But then I also ran it on Linux built from perf/uprobes branch (these > > > patches), and after a fe

Re: [PATCH v2 11/11] perf/uprobe: Add uretprobe timer

2024-07-15 Thread Andrii Nakryiko
On Mon, Jul 15, 2024 at 4:41 AM Peter Zijlstra wrote: > > On Fri, Jul 12, 2024 at 02:43:52PM -0700, Andrii Nakryiko wrote: > > + bpf > > > > On Thu, Jul 11, 2024 at 4:07 AM Peter Zijlstra wrote: > > > > > > In order to put a bound on the uretprobe_srcu critical section, add a > > > timer to uprob

Re: [PATCH v2 06/11] perf/uprobe: SRCU-ify uprobe->consumer list

2024-07-15 Thread Andrii Nakryiko
On Mon, Jul 15, 2024 at 4:25 AM Peter Zijlstra wrote: > > On Fri, Jul 12, 2024 at 02:06:08PM -0700, Andrii Nakryiko wrote: > > + bpf@vger, please cc bpf ML for the next revision, these changes are > > very relevant there as well, thanks > > > > On Thu, Jul 11, 2024 at 4:07 AM Peter Zijlstra wrote

Re: [PATCH] MAINTAINERS: Add uprobes entry

2024-07-15 Thread Oleg Nesterov
On 07/15, Masami Hiramatsu wrote: > > Hi Peter, Oleg, > > If this is OK for you, please give your Ack. Acked-by: Oleg Nesterov

Re: [PATCH v2 03/11] rbtree: Provide rb_find_rcu() / rb_find_add_rcu()

2024-07-15 Thread Andrii Nakryiko
On Mon, Jul 15, 2024 at 4:21 AM Peter Zijlstra wrote: > > On Fri, Jul 12, 2024 at 01:23:43PM -0700, Andrii Nakryiko wrote: > > On Thu, Jul 11, 2024 at 4:07 AM Peter Zijlstra wrote: > > > > > > Much like latch_tree, add two RCU methods for the regular RB-tree, > > > which can be used in conjunctio

Re: [PATCH v2 00/11] perf/uprobe: Optimize uprobes

2024-07-15 Thread Andrii Nakryiko
On Mon, Jul 15, 2024 at 7:45 AM Peter Zijlstra wrote: > > On Thu, Jul 11, 2024 at 09:57:44PM -0700, Andrii Nakryiko wrote: > > > But then I also ran it on Linux built from perf/uprobes branch (these > > patches), and after a few seconds I see that there is no more > > attachment/detachment happeni

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Jeff Johnson
BTW I have another patch in arch/arm/probes/kprobes/test-kprobes.c Is that one you should handle? https://lore.kernel.org/all/20240622-md-arm-arch-arm-probes-kprobes-v1-1-0832bd6e4...@quicinc.com/ /jeff

Re: [PATCH net-next v3 3/3] test/vsock: add ioctl unsent bytes test

2024-07-15 Thread Stefano Garzarella
On Wed, Jun 26, 2024 at 02:08:37PM GMT, Luigi Leonardi via B4 Relay wrote: From: Luigi Leonardi Introduce two tests, one for SOCK_STREAM and one for SOCK_SEQPACKET, which checks after a packet is delivered, that the number of unsent bytes is zero, using ioctl SIOCOUTQ. Signed-off-by: Luigi Le

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Steven Sistare
On 7/15/2024 10:38 AM, Michael S. Tsirkin wrote: On Mon, Jul 15, 2024 at 10:29:26AM -0400, Steven Sistare wrote: On 7/15/2024 5:07 AM, Michael S. Tsirkin wrote: On Fri, Jul 12, 2024 at 06:18:49AM -0700, Steve Sistare wrote: Add an ioctl to transfer file descriptor ownership and pinned memory a

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

2024-07-15 Thread Petr Pavlu
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. To guarantee that the list isn't modified during the check, a caller typically needs to take cpu_buffer->reade

Re: [PATCH v2 00/11] perf/uprobe: Optimize uprobes

2024-07-15 Thread Peter Zijlstra
On Thu, Jul 11, 2024 at 09:57:44PM -0700, Andrii Nakryiko wrote: > But then I also ran it on Linux built from perf/uprobes branch (these > patches), and after a few seconds I see that there is no more > attachment/detachment happening. Eventually I got splats, which you > can see in [1]. I used `s

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Michael S. Tsirkin
On Mon, Jul 15, 2024 at 10:29:26AM -0400, Steven Sistare wrote: > On 7/15/2024 5:07 AM, Michael S. Tsirkin wrote: > > On Fri, Jul 12, 2024 at 06:18:49AM -0700, Steve Sistare wrote: > > > Add an ioctl to transfer file descriptor ownership and pinned memory > > > accounting from one process to anothe

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Steven Sistare
On 7/15/2024 5:07 AM, Michael S. Tsirkin wrote: On Fri, Jul 12, 2024 at 06:18:49AM -0700, Steve Sistare wrote: Add an ioctl to transfer file descriptor ownership and pinned memory accounting from one process to another. This is more efficient than VHOST_RESET_OWNER followed by VHOST_SET_OWNER,

Re: [PATCH V2 0/7] vdpa live update

2024-07-15 Thread Steven Sistare
On 7/14/2024 10:14 PM, Jason Wang wrote: On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare wrote: Live update is a technique wherein an application saves its state, exec's to an updated version of itself, and restores its state. Clients of the application experience a brief suspension of service,

Re: [PATCH V2 5/7] vhost-vdpa: VHOST_IOTLB_REMAP

2024-07-15 Thread Steven Sistare
On 7/14/2024 10:34 PM, Jason Wang wrote: On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare wrote: When device ownership is passed to a new process via VHOST_NEW_OWNER, some devices need to know the new userland addresses of the dma mappings. Define the new iotlb message type VHOST_IOTLB_REMAP to u

Re: [PATCH V2 4/7] vhost-vdpa: VHOST_BACKEND_F_NEW_OWNER

2024-07-15 Thread Steven Sistare
On 7/14/2024 10:31 PM, Jason Wang wrote: On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare wrote: Add the VHOST_BACKEND_F_NEW_OWNER backend capability, which indicates that VHOST_NEW_OWNER is supported. Signed-off-by: Steve Sistare Doesn't harm but should this be part of the previous patch?

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Steven Sistare
On 7/14/2024 10:26 PM, Jason Wang wrote: On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare wrote: Add an ioctl to transfer file descriptor ownership and pinned memory accounting from one process to another. This is more efficient than VHOST_RESET_OWNER followed by VHOST_SET_OWNER, as that would u

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Jeff Johnson
On 7/15/2024 2:12 AM, Masami Hiramatsu (Google) wrote: > On Thu, 11 Jul 2024 11:14:20 -0700 > Jeff Johnson wrote: > >> On 6/2/24 23:45, Masami Hiramatsu (Google) wrote: >>> On Mon, 3 Jun 2024 11:25:59 +0800 >>> "wuqiang.matt" wrote: >>> On 2024/6/1 08:31, Jeff Johnson wrote: > make allm

[PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Reviewed-by: Matt Wu Signed-off-by: Jeff Johnson --- Changes in v2: - No changes to actual patch, just rebased, picked up

Re: [PATCH] tracing: remove unreachable trace_array_put

2024-07-15 Thread Nikita Kiryushin
As nonseekable_open() documentation states: "The function is not supposed to ever fail, the only reason it returns an 'int' and not 'void' is so that it can be plugged directly into file_operations structure." So it seems, that it will not fail anytime as it is not meant to? Otherwise, there will

RE: [RFC PATCH v4 12/17] powerpc64/ftrace: Move ftrace sequence out of line

2024-07-15 Thread David Laight
From: Nicholas Piggin > Sent: 15 July 2024 09:25 > > On Sun Jul 14, 2024 at 6:27 PM AEST, Naveen N Rao wrote: > > Function profile sequence on powerpc includes two instructions at the > > beginning of each function: > > mflrr0 > > bl ftrace_caller > > > > The call to ftrace_caller

Re: [PATCH v2 10/11] perf/uprobe: Convert single-step and uretprobe to SRCU

2024-07-15 Thread Peter Zijlstra
On Fri, Jul 12, 2024 at 02:28:13PM -0700, Andrii Nakryiko wrote: > > @@ -1814,7 +1822,7 @@ static int dup_utask(struct task_struct > > return -ENOMEM; > > > > *n = *o; > > - get_uprobe(n->uprobe); > > + __srcu_clone_read_lock(&ure

Re: [PATCH] MAINTAINERS: Add uprobes entry

2024-07-15 Thread Peter Zijlstra
On Mon, Jul 15, 2024 at 06:14:17PM +0900, Masami Hiramatsu wrote: > Hi Peter, Oleg, > > If this is OK for you, please give your Ack. Acked-by: Peter Zijlstra (Intel) Please also collect Oleg's ack. > > Thank you, > > On Fri, 12 Jul 2024 09:26:17 +0900 > "Masami Hiramatsu (Google)" wrote: >

Re: [PATCH v2 11/11] perf/uprobe: Add uretprobe timer

2024-07-15 Thread Peter Zijlstra
On Fri, Jul 12, 2024 at 02:43:52PM -0700, Andrii Nakryiko wrote: > + bpf > > On Thu, Jul 11, 2024 at 4:07 AM Peter Zijlstra wrote: > > > > In order to put a bound on the uretprobe_srcu critical section, add a > > timer to uprobe_task. Upon every RI added or removed the timer is > > pushed forward

Re: [PATCH net-next] virtio_net: Fix napi_skb_cache_put warning

2024-07-15 Thread Breno Leitao
Hello Michael, On Sun, Jul 14, 2024 at 03:38:42AM -0400, Michael S. Tsirkin wrote: > On Fri, Jul 12, 2024 at 04:53:25AM -0700, Breno Leitao wrote: > > After the commit bdacf3e34945 ("net: Use nested-BH locking for > > napi_alloc_cache.") was merged, the following warning began to appear: > > > >

Re: [PATCH v2 06/11] perf/uprobe: SRCU-ify uprobe->consumer list

2024-07-15 Thread Peter Zijlstra
On Fri, Jul 12, 2024 at 02:06:08PM -0700, Andrii Nakryiko wrote: > + bpf@vger, please cc bpf ML for the next revision, these changes are > very relevant there as well, thanks > > On Thu, Jul 11, 2024 at 4:07 AM Peter Zijlstra wrote: > > > > With handle_swbp() hitting concurrently on (all) CPUs th

Re: [PATCH v2 03/11] rbtree: Provide rb_find_rcu() / rb_find_add_rcu()

2024-07-15 Thread Peter Zijlstra
On Fri, Jul 12, 2024 at 01:23:43PM -0700, Andrii Nakryiko wrote: > On Thu, Jul 11, 2024 at 4:07 AM Peter Zijlstra wrote: > > > > Much like latch_tree, add two RCU methods for the regular RB-tree, > > which can be used in conjunction with a seqcount to provide lockless > > lookups. > > > > Signed-o

Re: [PATCH net-next v3 2/2] vsock/virtio: avoid queuing packets when work queue is empty

2024-07-15 Thread Luigi Leonardi
Hi Stefano, Thanks for your review! > On Thu, Jul 11, 2024 at 04:58:47PM GMT, Luigi Leonardi via B4 Relay wrote: > >From: Luigi Leonardi > > > >Introduce an optimization in virtio_transport_send_pkt: > >when the work queue (send_pkt_queue) is empty the packet is > > Note: send_pkt_queue is just

Re: [PATCH] MAINTAINERS: Add uprobes entry

2024-07-15 Thread Google
Hi Peter, Oleg, If this is OK for you, please give your Ack. Thank you, On Fri, 12 Jul 2024 09:26:17 +0900 "Masami Hiramatsu (Google)" wrote: > From: Masami Hiramatsu (Google) > > Add uprobes entry to MAINTAINERS to clarify the maintainers. > > Suggested-by: Peter Zijlstra > Signed-off-by:

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Google
On Thu, 11 Jul 2024 11:14:20 -0700 Jeff Johnson wrote: > On 6/2/24 23:45, Masami Hiramatsu (Google) wrote: > > On Mon, 3 Jun 2024 11:25:59 +0800 > > "wuqiang.matt" wrote: > > > >> On 2024/6/1 08:31, Jeff Johnson wrote: > >>> make allmodconfig && make W=1 C=1 reports: > >>> WARNING: modpost: mis

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Michael S. Tsirkin
On Fri, Jul 12, 2024 at 06:18:49AM -0700, Steve Sistare wrote: > Add an ioctl to transfer file descriptor ownership and pinned memory > accounting from one process to another. > > This is more efficient than VHOST_RESET_OWNER followed by VHOST_SET_OWNER, > as that would unpin all physical pages, r

Re: [PATCH V2 3/7] vhost-vdpa: VHOST_NEW_OWNER

2024-07-15 Thread Michael S. Tsirkin
On Mon, Jul 15, 2024 at 10:26:13AM +0800, Jason Wang wrote: > On Fri, Jul 12, 2024 at 9:19 PM Steve Sistare > wrote: > > > > Add an ioctl to transfer file descriptor ownership and pinned memory > > accounting from one process to another. > > > > This is more efficient than VHOST_RESET_OWNER follo

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Google
On Thu, 11 Jul 2024 11:14:20 -0700 Jeff Johnson wrote: > On 6/2/24 23:45, Masami Hiramatsu (Google) wrote: > > On Mon, 3 Jun 2024 11:25:59 +0800 > > "wuqiang.matt" wrote: > > > >> On 2024/6/1 08:31, Jeff Johnson wrote: > >>> make allmodconfig && make W=1 C=1 reports: > >>> WARNING: modpost: mis

Re: [RFC PATCH v4 13/17] powerpc64/ftrace: Support .text larger than 32MB with out-of-line stubs

2024-07-15 Thread Nicholas Piggin
On Sun Jul 14, 2024 at 6:27 PM AEST, Naveen N Rao wrote: > We are restricted to a .text size of ~32MB when using out-of-line > function profile sequence. Allow this to be extended up to the previous > limit of ~64MB by reserving space in the middle of .text. > > A new config option CONFIG_PPC_FTRAC

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-grandmax: Add touchscreen

2024-07-15 Thread Konrad Dybcio
On 13.07.2024 7:27 PM, Lin, Meng-Bo wrote: > Grand Max uses an Imagis IST3038 touchscreen that is connected to > blsp_i2c5. Add it to the device tree. > > Signed-off-by: "Lin, Meng-Bo" > --- > .../dts/qcom/msm8916-samsung-grandmax.dts | 24 ++- > 1 file changed, 23 insertions

Re: [RFC PATCH v4 12/17] powerpc64/ftrace: Move ftrace sequence out of line

2024-07-15 Thread Nicholas Piggin
On Sun Jul 14, 2024 at 6:27 PM AEST, Naveen N Rao wrote: > Function profile sequence on powerpc includes two instructions at the > beginning of each function: > mflrr0 > bl ftrace_caller > > The call to ftrace_caller() gets nop'ed out during kernel boot and is > patched in when

Re: [PATCH -fixes] riscv: patch: Flush the icache right after patching to avoid illegal insns

2024-07-15 Thread Alexandre Ghiti
Hi Geert, On Tue, Jul 9, 2024 at 10:13 AM Geert Uytterhoeven wrote: > > Hi Alexandre, > > On Mon, Jun 24, 2024 at 10:23 AM Alexandre Ghiti > wrote: > > We cannot delay the icache flush after patching some functions as we may > > have patched a function that will get called before the icache flu

Re: [PATCH 2/2] selftests/bpf: Change uretprobe syscall number in uprobe_syscall test

2024-07-15 Thread Jiri Olsa
On Mon, Jul 15, 2024 at 02:46:51PM +0900, Masami Hiramatsu wrote: > On Fri, 12 Jul 2024 11:27:30 -0700 > Andrii Nakryiko wrote: > > > On Fri, Jul 12, 2024 at 6:53 AM Jiri Olsa wrote: > > > > > > Fixing the syscall number value. > > > > > > Fixes: 9e7f74e64ae5 ("selftests/bpf: Add uretprobe sysca

Re: [RFC PATCH v4 11/17] kbuild: Add generic hook for architectures to use before the final vmlinux link

2024-07-15 Thread Nicholas Piggin
On Sun Jul 14, 2024 at 6:27 PM AEST, Naveen N Rao wrote: > On powerpc, we would like to be able to make a pass on vmlinux.o and > generate a new object file to be linked into vmlinux. Add a generic pass > in Makefile.vmlinux that architectures can use for this purpose. > > Architectures need to sel