RE: [PATCH v3 2/2] x86/sgx: Implement EUPDATESVN and opportunistically call it during first EPC page alloc

2025-04-29 Thread Reshetova, Elena
> On 4/29/25 04:44, Reshetova, Elena wrote: > >> On 4/25/25 14:58, Sean Christopherson wrote: > >>> On Fri, Apr 25, 2025, Dave Hansen wrote: > On 4/25/25 14:04, Sean Christopherson wrote: > > Userspace is going to be waiting on ->release() no matter what. > Unless it isn't even involv

Re: [PATCH] remoteproc: imx_rproc: replace devm_clk_get() with devm_clk_get_optional()

2025-04-29 Thread Peng Fan
On Mon, Apr 28, 2025 at 02:12:57PM -0300, Hiago De Franco wrote: >On Sat, Apr 26, 2025 at 09:49:58PM +0800, Peng Fan wrote: >> On Wed, Apr 23, 2025 at 04:21:56PM -0300, Hiago De Franco wrote: >> >Hi Mathieu, >> > >> >On Wed, Apr 23, 2025 at 11:14:17AM -0600, Mathieu Poirier wrote: >> >> Good mornin

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-29 Thread Jason Wang
On Tue, Apr 29, 2025 at 6:56 PM Michael S. Tsirkin wrote: > > On Tue, Apr 29, 2025 at 11:39:37AM +0800, Jason Wang wrote: > > On Mon, Apr 21, 2025 at 11:46 AM Jason Wang wrote: > > > > > > On Mon, Apr 21, 2025 at 11:45 AM Jason Wang wrote: > > > > > > > > On Mon, Apr 21, 2025 at 10:45 AM Cindy L

Re: [PATCH 5/5] rcu/exp: Warn on CPU lagging for too long within hotplug IPI's blindspot

2025-04-29 Thread Joel Fernandes
> On Apr 29, 2025, at 9:44 AM, Frederic Weisbecker wrote: Hi Frederic, These all look good to me. Do you wish for these to go into the upcoming merge window or can I push them to a for-Neeraj branch as he is doing the merge window after the next? Thanks, - Joel > > A CPU within hotplug o

Re: [PATCH] KVM: selftests: add test for SVE host corruption

2025-04-29 Thread Mark Brown
On Tue, Apr 29, 2025 at 04:27:27PM +0100, Mark Rutland wrote: > On Thu, Apr 17, 2025 at 12:32:49AM +0100, Mark Brown wrote: > > Signed-off-by: Mark Brown > Looks like my Signed-off-by got dropped by accident; it should be above > yours here. > Aside from that, and the initial feature test, this

[PATCH v2 1/3] KVM: riscv: selftests: Align the trap information wiht pt_regs

2025-04-29 Thread Atish Patra
The current exeception register structure in selftests are missing few registers (e.g stval). Instead of adding it manually, change the ex_regs to align with pt_regs to make it future proof. Suggested-by: Andrew Jones Signed-off-by: Atish Patra --- .../selftests/kvm/include/riscv/processor.h

[PATCH v2 0/3] RISC-V KVM selftests improvements

2025-04-29 Thread Atish Patra
This series improves the following tests. 1. Get-reg-list : Adds vector support 2. SBI PMU test : Distinguish between different types of illegal exception The first patch is just helper patch that adds stval support during exception handling. Signed-off-by: Atish Patra --- Changes in v2: - Rebas

[PATCH v2 3/3] KVM: riscv: selftests: Add vector extension tests

2025-04-29 Thread Atish Patra
Add vector related tests with the ISA extension standard template. However, the vector registers are bit tricky as the register length is variable based on vlenb value of the system. That's why the macros are defined with a default and overidden with actual value at runtime. Reviewed-by: Anup Pate

[PATCH v2 2/3] KVM: riscv: selftests: Decode stval to identify exact exception type

2025-04-29 Thread Atish Patra
Currently, the sbi_pmu_test continues if the exception type is illegal instruction because access to hpmcounter will generate that. However illegal instruction exception may occur due to the other reasons which should result in test assertion. Use the stval to decode the exact type of instructions

[PATCH AUTOSEL 6.1 08/10] selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure

2025-04-29 Thread Sasha Levin
From: Ihor Solodrai [ Upstream commit f2858f308131a09e33afb766cd70119b5b900569 ] "sockmap_ktls disconnect_after_delete" test has been failing on BPF CI after recent merges from netdev: * https://github.com/kernel-patches/bpf/actions/runs/14458537639 * https://github.com/kernel-patches/bpf/action

[PATCH AUTOSEL 5.15 2/7] virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN

2025-04-29 Thread Sasha Levin
From: Zhongqiu Han [ Upstream commit 2e2f925fe737576df2373931c95e1a2b66efdfef ] syzbot reports a data-race when accessing the event_triggered, here is the simplified stack when the issue occurred: == BUG: KCSAN: data-race in virtqu

[PATCH AUTOSEL 6.1 02/10] virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN

2025-04-29 Thread Sasha Levin
From: Zhongqiu Han [ Upstream commit 2e2f925fe737576df2373931c95e1a2b66efdfef ] syzbot reports a data-race when accessing the event_triggered, here is the simplified stack when the issue occurred: == BUG: KCSAN: data-race in virtqu

[PATCH AUTOSEL 6.6 19/21] selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure

2025-04-29 Thread Sasha Levin
From: Ihor Solodrai [ Upstream commit f2858f308131a09e33afb766cd70119b5b900569 ] "sockmap_ktls disconnect_after_delete" test has been failing on BPF CI after recent merges from netdev: * https://github.com/kernel-patches/bpf/actions/runs/14458537639 * https://github.com/kernel-patches/bpf/action

[PATCH AUTOSEL 6.6 14/21] vhost-scsi: protect vq->log_used with vq->mutex

2025-04-29 Thread Sasha Levin
From: Dongli Zhang [ Upstream commit f591cf9fce724e5075cc67488c43c6e39e8cbe27 ] The vhost-scsi completion path may access vq->log_base when vq->log_used is already set to false. vhost-thread QEMU-thread vhost_scsi_complete_cmd_work() -> vhost_add_used() -> vhost_ad

[PATCH AUTOSEL 6.6 13/21] vhost_task: fix vhost_task_create() documentation

2025-04-29 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit fec0abf52609c20279243699d08b660c142ce0aa ] Commit cb380909ae3b ("vhost: return task creation error instead of NULL") changed the return value of vhost_task_create(), but did not update the documentation. Reflect the change in the documentation: on an e

[PATCH AUTOSEL 6.6 09/21] virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN

2025-04-29 Thread Sasha Levin
From: Zhongqiu Han [ Upstream commit 2e2f925fe737576df2373931c95e1a2b66efdfef ] syzbot reports a data-race when accessing the event_triggered, here is the simplified stack when the issue occurred: == BUG: KCSAN: data-race in virtqu

[PATCH AUTOSEL 6.12 33/37] selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure

2025-04-29 Thread Sasha Levin
From: Ihor Solodrai [ Upstream commit f2858f308131a09e33afb766cd70119b5b900569 ] "sockmap_ktls disconnect_after_delete" test has been failing on BPF CI after recent merges from netdev: * https://github.com/kernel-patches/bpf/actions/runs/14458537639 * https://github.com/kernel-patches/bpf/action

[PATCH AUTOSEL 6.12 20/37] vhost-scsi: protect vq->log_used with vq->mutex

2025-04-29 Thread Sasha Levin
From: Dongli Zhang [ Upstream commit f591cf9fce724e5075cc67488c43c6e39e8cbe27 ] The vhost-scsi completion path may access vq->log_base when vq->log_used is already set to false. vhost-thread QEMU-thread vhost_scsi_complete_cmd_work() -> vhost_add_used() -> vhost_ad

[PATCH AUTOSEL 6.12 19/37] vhost_task: fix vhost_task_create() documentation

2025-04-29 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit fec0abf52609c20279243699d08b660c142ce0aa ] Commit cb380909ae3b ("vhost: return task creation error instead of NULL") changed the return value of vhost_task_create(), but did not update the documentation. Reflect the change in the documentation: on an e

[PATCH AUTOSEL 6.12 11/37] virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN

2025-04-29 Thread Sasha Levin
From: Zhongqiu Han [ Upstream commit 2e2f925fe737576df2373931c95e1a2b66efdfef ] syzbot reports a data-race when accessing the event_triggered, here is the simplified stack when the issue occurred: == BUG: KCSAN: data-race in virtqu

[PATCH AUTOSEL 6.14 34/39] selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure

2025-04-29 Thread Sasha Levin
From: Ihor Solodrai [ Upstream commit f2858f308131a09e33afb766cd70119b5b900569 ] "sockmap_ktls disconnect_after_delete" test has been failing on BPF CI after recent merges from netdev: * https://github.com/kernel-patches/bpf/actions/runs/14458537639 * https://github.com/kernel-patches/bpf/action

[PATCH AUTOSEL 6.14 21/39] vhost-scsi: protect vq->log_used with vq->mutex

2025-04-29 Thread Sasha Levin
From: Dongli Zhang [ Upstream commit f591cf9fce724e5075cc67488c43c6e39e8cbe27 ] The vhost-scsi completion path may access vq->log_base when vq->log_used is already set to false. vhost-thread QEMU-thread vhost_scsi_complete_cmd_work() -> vhost_add_used() -> vhost_ad

[PATCH AUTOSEL 6.14 20/39] vhost_task: fix vhost_task_create() documentation

2025-04-29 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit fec0abf52609c20279243699d08b660c142ce0aa ] Commit cb380909ae3b ("vhost: return task creation error instead of NULL") changed the return value of vhost_task_create(), but did not update the documentation. Reflect the change in the documentation: on an e

[PATCH AUTOSEL 6.14 11/39] virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN

2025-04-29 Thread Sasha Levin
From: Zhongqiu Han [ Upstream commit 2e2f925fe737576df2373931c95e1a2b66efdfef ] syzbot reports a data-race when accessing the event_triggered, here is the simplified stack when the issue occurred: == BUG: KCSAN: data-race in virtqu

Re: [PATCH V2 2/2] remoteproc: core: release rproc->clean_table after rproc_attach() fails

2025-04-29 Thread xiaolei wang
On 4/30/25 01:30, Mathieu Poirier wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 28 Apr 2025 at 20:20, Xiaolei Wang wrote: On 4/26/25 14:53, Xiaolei Wang wrot

Re: [PATCH net 0/4] Fix Felix DSA taprio gates after clock jump

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski : On Sat, 26 Apr 2025 17:48:54 +0300 you wrote: > Richie Pearn presented a reproducible situation where traffic would get > blocked on the NXP LS1028A switch if a certain taprio schedule was > applied, and stepping the PTP

Re: [PATCH bpf-next] selftests/bpf: Fix compilation errors

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (net) by Martin KaFai Lau : On Mon, 28 Apr 2025 11:34:45 +0800 you wrote: > From: Feng Yang > > If the CONFIG_NET_SCH_BPF configuration is not enabled, > the BPF test compilation will report the following error: > In file included from progs/bpf

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Jann Horn
On Tue, Apr 29, 2025 at 10:33 PM Suren Baghdasaryan wrote: > On Tue, Apr 29, 2025 at 11:55 AM Jann Horn wrote: > > On Tue, Apr 29, 2025 at 8:04 PM Suren Baghdasaryan > > wrote: > > > On Tue, Apr 29, 2025 at 10:21 AM Jann Horn wrote: > > > > > > > > Hi! > > > > > > > > (I just noticed that I in

Re: [PATCH] selftests/bpf: Fix kmem_cache iterator draining

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau : On Mon, 28 Apr 2025 18:02:54 + you wrote: > The closing parentheses around the read syscall is misplaced, causing > single byte reads from the iterator instead of buf sized reads. While > the end result is the sa

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Suren Baghdasaryan
On Tue, Apr 29, 2025 at 11:55 AM Jann Horn wrote: > > On Tue, Apr 29, 2025 at 8:04 PM Suren Baghdasaryan wrote: > > On Tue, Apr 29, 2025 at 10:21 AM Jann Horn wrote: > > > > > > Hi! > > > > > > (I just noticed that I incorrectly assumed that VMAs use kfree_rcu > > > (not SLAB_TYPESAFE_BY_RCU) wh

Re: [PATCH v3 00/32] kselftest harness and nolibc compatibility

2025-04-29 Thread Thomas Weißschuh
On 2025-04-29 12:52:56-0600, Shuah Khan wrote: > On 4/24/25 14:06, Shuah Khan wrote: > > On 4/22/25 02:51, Willy Tarreau wrote: > > > Hi Thomas, > > > > > > On Tue, Apr 22, 2025 at 10:48:28AM +0200, Thomas Weißschuh wrote: > > > > Hi, > > > > > > > > On Fri, Apr 11, 2025 at 11:00:24AM +0200, Thom

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Jann Horn
On Tue, Apr 29, 2025 at 8:04 PM Suren Baghdasaryan wrote: > On Tue, Apr 29, 2025 at 10:21 AM Jann Horn wrote: > > > > Hi! > > > > (I just noticed that I incorrectly assumed that VMAs use kfree_rcu > > (not SLAB_TYPESAFE_BY_RCU) when I wrote my review of this, somehow I > > forgot all about that..

Re: [PATCH v3 00/32] kselftest harness and nolibc compatibility

2025-04-29 Thread Shuah Khan
On 4/24/25 14:06, Shuah Khan wrote: On 4/22/25 02:51, Willy Tarreau wrote: Hi Thomas, On Tue, Apr 22, 2025 at 10:48:28AM +0200, Thomas Weißschuh wrote: Hi, On Fri, Apr 11, 2025 at 11:00:24AM +0200, Thomas Weißschuh wrote: Nolibc is useful for selftests as the test programs can be very small,

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Suren Baghdasaryan
On Tue, Apr 29, 2025 at 10:21 AM Jann Horn wrote: > > Hi! > > (I just noticed that I incorrectly assumed that VMAs use kfree_rcu > (not SLAB_TYPESAFE_BY_RCU) when I wrote my review of this, somehow I > forgot all about that...) Does this fact affect your previous comments? Just want to make sure

Re: [PATCH V2 2/2] remoteproc: core: release rproc->clean_table after rproc_attach() fails

2025-04-29 Thread Mathieu Poirier
On Mon, 28 Apr 2025 at 20:20, Xiaolei Wang wrote: > > > On 4/26/25 14:53, Xiaolei Wang wrote: > > When rproc->state = RPROC_DETACHED is attached to remote processor > > through rproc_attach(), if rproc_handle_resources() returns failure, > > then the clean table should be released, otherwise the f

Re: [PATCH v3 8/8] mm/maps: execute PROCMAP_QUERY ioctl under RCU

2025-04-29 Thread Jann Horn
On Tue, Apr 29, 2025 at 7:15 PM Suren Baghdasaryan wrote: > On Tue, Apr 29, 2025 at 8:56 AM Jann Horn wrote: > > On Wed, Apr 23, 2025 at 12:54 AM Andrii Nakryiko > > wrote: > > > On Fri, Apr 18, 2025 at 10:50 AM Suren Baghdasaryan > > > wrote: > > > > Utilize speculative vma lookup to find and

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Jann Horn
Hi! (I just noticed that I incorrectly assumed that VMAs use kfree_rcu (not SLAB_TYPESAFE_BY_RCU) when I wrote my review of this, somehow I forgot all about that...) On Tue, Apr 29, 2025 at 7:09 PM Suren Baghdasaryan wrote: > On Tue, Apr 29, 2025 at 8:40 AM Jann Horn wrote: > > On Fri, Apr 18,

Re: [PATCH v3 8/8] mm/maps: execute PROCMAP_QUERY ioctl under RCU

2025-04-29 Thread Suren Baghdasaryan
On Tue, Apr 29, 2025 at 8:56 AM Jann Horn wrote: > > On Wed, Apr 23, 2025 at 12:54 AM Andrii Nakryiko > wrote: > > On Fri, Apr 18, 2025 at 10:50 AM Suren Baghdasaryan > > wrote: > > > Utilize speculative vma lookup to find and snapshot a vma without > > > taking mmap_lock during PROCMAP_QUERY i

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Suren Baghdasaryan
On Tue, Apr 29, 2025 at 8:40 AM Jann Horn wrote: > > On Fri, Apr 18, 2025 at 7:50 PM Suren Baghdasaryan wrote: > > With maple_tree supporting vma tree traversal under RCU and vma and > > its important members being RCU-safe, /proc/pid/maps can be read under > > RCU and without the need to read-lo

Re: [PATCH v3 8/8] mm/maps: execute PROCMAP_QUERY ioctl under RCU

2025-04-29 Thread Jann Horn
On Wed, Apr 23, 2025 at 12:54 AM Andrii Nakryiko wrote: > On Fri, Apr 18, 2025 at 10:50 AM Suren Baghdasaryan wrote: > > Utilize speculative vma lookup to find and snapshot a vma without > > taking mmap_lock during PROCMAP_QUERY ioctl execution. Concurrent > > address space modifications are dete

Re: [PATCH v3 7/8] mm/maps: read proc/pid/maps under RCU

2025-04-29 Thread Jann Horn
On Fri, Apr 18, 2025 at 7:50 PM Suren Baghdasaryan wrote: > With maple_tree supporting vma tree traversal under RCU and vma and > its important members being RCU-safe, /proc/pid/maps can be read under > RCU and without the need to read-lock mmap_lock. However vma content > can change from under us

Re: [PATCH] KVM: selftests: add test for SVE host corruption

2025-04-29 Thread Mark Rutland
On Thu, Apr 17, 2025 at 12:32:49AM +0100, Mark Brown wrote: > This test program, originally written by Mark Rutland and lightly modified > by me for upstream, For context, I had originally pushed this as a WIP to: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?h=arm64/k

Re: [PATCH v1 5/7] modpost: Create modalias for builtin modules

2025-04-29 Thread Alexey Gladkov
On Tue, Apr 29, 2025 at 04:14:13PM +0200, Petr Pavlu wrote: > On 4/29/25 14:49, Alexey Gladkov wrote: > > On Tue, Apr 29, 2025 at 12:04:44PM +0200, Alexey Gladkov wrote: > >>> I'm not sure it's best to overload this data in this way. I think mixing > >>> actual files and "logical" modules in the mo

Re: [PATCH v3 2/2] x86/sgx: Implement EUPDATESVN and opportunistically call it during first EPC page alloc

2025-04-29 Thread Dave Hansen
On 4/29/25 04:44, Reshetova, Elena wrote: >> On 4/25/25 14:58, Sean Christopherson wrote: >>> On Fri, Apr 25, 2025, Dave Hansen wrote: On 4/25/25 14:04, Sean Christopherson wrote: > Userspace is going to be waiting on ->release() no matter what. Unless it isn't even involved and it ha

Re: [PATCH v1 5/7] modpost: Create modalias for builtin modules

2025-04-29 Thread Petr Pavlu
On 4/29/25 14:49, Alexey Gladkov wrote: > On Tue, Apr 29, 2025 at 12:04:44PM +0200, Alexey Gladkov wrote: >>> I'm not sure it's best to overload this data in this way. I think mixing >>> actual files and "logical" modules in the modules list is somewhat >>> confusing. >>> >>> An alternative would b

[PATCH 5/5] rcu/exp: Warn on CPU lagging for too long within hotplug IPI's blindspot

2025-04-29 Thread Frederic Weisbecker
A CPU within hotplug operations can make the RCU exp kworker lagging if: * The dying CPU is running after CPUHP_TEARDOWN_CPU but before rcutree_report_cpu_dead(). It is too late to send an IPI but RCU is still watching the CPU. Therefore the exp kworker can only wait for the target to reach

[PATCH 3/5] rcu/exp: Remove needless CPU up quiescent state report

2025-04-29 Thread Frederic Weisbecker
A CPU coming online checks for an ongoing grace period and reports a quiescent state accordingly if needed. This special treatment that shortcuts the expedited IPI finds its origin as an optimization purpose on the following commit: 338b0f760e84 (rcu: Better hotplug handling for synchroni

[PATCH 4/5] rcu/exp: Warn on QS requested on dying CPU

2025-04-29 Thread Frederic Weisbecker
It is not possible to send an IPI to a dying CPU that has passed the CPUHP_TEARDOWN_CPU stage. Remaining unhandled IPIs are handled later at CPUHP_AP_SMPCFD_DYING stage by stop machine. This is the last opportunity for RCU exp handler to request an expedited quiescent state. And the upcoming final

[PATCH 2/5] rcu/exp: Remove confusing needless full barrier on task unblock

2025-04-29 Thread Frederic Weisbecker
A full memory barrier in the RCU-PREEMPT task unblock path advertizes to order the context switch (or rather the accesses prior to rcu_read_unlock()) with the expedited grace period fastpath. However the grace period can not complete without the rnp calling into rcu_report_exp_rnp() with the node

[PATCH 1/5] rcu/exp: Protect against early QS report

2025-04-29 Thread Frederic Weisbecker
When a grace period is started, the ->expmask of each node is set up from sync_exp_reset_tree(). Then later on each leaf node also initialize its ->exp_tasks pointer. This means that the initialization of the quiescent state of a node and the initialization of its blocking tasks happen with an unl

[PATCH 0/5 v3] rcu/exp updates

2025-04-29 Thread Frederic Weisbecker
Hi, No real updates in this set. Just collected a few tags. Thanks. Frederic Weisbecker (5): rcu/exp: Protect against early QS report rcu/exp: Remove confusing needless full barrier on task unblock rcu/exp: Remove needless CPU up quiescent state report rcu/exp: Warn on QS requested on dy

Re: [PATCH v1 5/7] modpost: Create modalias for builtin modules

2025-04-29 Thread Alexey Gladkov
On Tue, Apr 29, 2025 at 12:04:44PM +0200, Alexey Gladkov wrote: > > I'm not sure it's best to overload this data in this way. I think mixing > > actual files and "logical" modules in the modules list is somewhat > > confusing. > > > > An alternative would be to keep a single module struct for vmli

RE: [PATCH v3 2/2] x86/sgx: Implement EUPDATESVN and opportunistically call it during first EPC page alloc

2025-04-29 Thread Reshetova, Elena
> On 4/25/25 14:58, Sean Christopherson wrote: > > On Fri, Apr 25, 2025, Dave Hansen wrote: > >> On 4/25/25 14:04, Sean Christopherson wrote: > >>> Userspace is going to be waiting on ->release() no matter what. > >> Unless it isn't even involved and it happens automatically. > > With my Google h

Re: [PATCH v9 4/4] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-04-29 Thread Michael S. Tsirkin
On Tue, Apr 29, 2025 at 11:39:37AM +0800, Jason Wang wrote: > On Mon, Apr 21, 2025 at 11:46 AM Jason Wang wrote: > > > > On Mon, Apr 21, 2025 at 11:45 AM Jason Wang wrote: > > > > > > On Mon, Apr 21, 2025 at 10:45 AM Cindy Lu wrote: > > > > > > > > Introduce a new config knob `CONFIG_VHOST_ENABL

[RESEND PATCH] rpmsg: Use strscpy() instead of strscpy_pad()

2025-04-29 Thread Thorsten Blum
kzalloc() already zero-initializes the destination buffer, making strscpy() sufficient for safely copying the name. The additional NUL- padding performed by strscpy_pad() is unnecessary. The size parameter is optional, and strscpy() automatically determines the size of the destination buffer using

[PATCH v2] rcu: Robustify rcu_is_cpu_rrupt_from_idle()

2025-04-29 Thread Frederic Weisbecker
RCU relies on the context tracking nesting counter in order to determine if it is running in extended quiescent state. However the context tracking nesting counter is not completely synchronized with the actual context tracking state: * The nesting counter is set to 1 or incremented further _afte

Re: [PATCH v1 5/7] modpost: Create modalias for builtin modules

2025-04-29 Thread Alexey Gladkov
On Tue, Apr 29, 2025 at 11:25:47AM +0200, Petr Pavlu wrote: > On 4/26/25 18:16, Alexey Gladkov wrote: > > For some modules, modalias is generated using the modpost utility and > > the section is added to the module file. > > > > When a module is added inside vmlinux, modpost does not generate > >

Re: [PATCH RFC bpf-next 3/4] bpf/selftests: add tests to validate proper arguments alignment on ARM64

2025-04-29 Thread Alexis Lothoré
On Mon Apr 28, 2025 at 10:41 PM CEST, Alexis Lothoré wrote: > On Mon Apr 28, 2025 at 6:52 PM CEST, Eduard Zingerman wrote: >> Alexis Lothoré writes: > If things really behaved correctly, f would not have the correct value but > would still be handled as a 16 bytes value, so the test would not fai

Re: [PATCH v1 5/7] modpost: Create modalias for builtin modules

2025-04-29 Thread Petr Pavlu
On 4/26/25 18:16, Alexey Gladkov wrote: > For some modules, modalias is generated using the modpost utility and > the section is added to the module file. > > When a module is added inside vmlinux, modpost does not generate > modalias for such modules and the information is lost. > > As a result

Re: [PATCH 3/3] KVM: riscv: selftests: Add vector extension tests

2025-04-29 Thread Andrew Jones
On Mon, Apr 28, 2025 at 05:32:09PM -0700, Atish Patra wrote: > > On 4/25/25 7:20 AM, Andrew Jones wrote: > > On Mon, Mar 24, 2025 at 05:40:31PM -0700, Atish Patra wrote: > > > Add vector related tests with the ISA extension standard template. > > > However, the vector registers are bit tricky as t

Re: [PATCH 1/3] KVM: riscv: selftests: Add stval to exception handling

2025-04-29 Thread Andrew Jones
On Mon, Apr 28, 2025 at 03:47:47PM -0700, Atish Patra wrote: > > On 4/25/25 6:50 AM, Andrew Jones wrote: > > On Mon, Mar 24, 2025 at 05:40:29PM -0700, Atish Patra wrote: > > > Save stval during exception handling so that it can be decoded to > > > figure out the details of exception type. > > > >

Re: [PATCH 6/6] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support

2025-04-29 Thread Konrad Dybcio
On 4/29/25 10:55 AM, Luca Weiss wrote: > On Mon Apr 28, 2025 at 11:43 PM CEST, Konrad Dybcio wrote: >> On 4/28/25 9:41 AM, Luca Weiss wrote: >>> On Fri Apr 25, 2025 at 11:06 PM CEST, Konrad Dybcio wrote: On 4/25/25 12:44 PM, Luca Weiss wrote: > Enable USB audio offloading which allows to p

Re: [PATCH 6/6] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support

2025-04-29 Thread Luca Weiss
On Mon Apr 28, 2025 at 11:43 PM CEST, Konrad Dybcio wrote: > On 4/28/25 9:41 AM, Luca Weiss wrote: >> On Fri Apr 25, 2025 at 11:06 PM CEST, Konrad Dybcio wrote: >>> On 4/25/25 12:44 PM, Luca Weiss wrote: Enable USB audio offloading which allows to play audio via a USB-C headset with lower

Re: [PATCH v4 2/9] slab: add sheaf support for batching kfree_rcu() operations

2025-04-29 Thread Harry Yoo
On Fri, Apr 25, 2025 at 10:27:22AM +0200, Vlastimil Babka wrote: > Extend the sheaf infrastructure for more efficient kfree_rcu() handling. > For caches with sheaves, on each cpu maintain a rcu_free sheaf in > addition to main and spare sheaves. > > kfree_rcu() operations will try to put objects o