Re: [PATCH v3 4/4] arm64: dts: qcom: msm8939: Add camss and cci

2025-05-31 Thread Konrad Dybcio
On 5/30/25 11:00 AM, Vincent Knecht via B4 Relay wrote: > From: Vincent Knecht > > Add the camera subsystem and CCI used to interface with cameras on the > Snapdragon 615. > > Signed-off-by: Vincent Knecht > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH] libbpf: add support for printing BTF character arrays as strings

2025-05-31 Thread Alexei Starovoitov
On Sat, May 31, 2025 at 12:20 AM Blake Jones wrote: > > The BTF dumper code currently displays arrays of characters as just that - > arrays, with each character formatted individually. Sometimes this is what > makes sense, but it's nice to be able to treat that array as a string. > > This change a

[PATCH v10 3/3] vhost: Add new UAPI to select kthread mode and KConfig to enable this IOCTL

2025-05-31 Thread Cindy Lu
This patch introduces a new UAPI that allows the vhost device to select in kthread mode. Userspace applications can utilize IOCTL VHOST_FORK_FROM_OWNER to select between task and kthread modes, which must be invoked before IOCTL VHOST_SET_OWNER, as the worker will be created during that call. The

[PATCH v10 1/3] vhost: Add a new modparam to allow userspace select kthread

2025-05-31 Thread Cindy Lu
The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles, it confuses some legacy userspace applications, therefore, we are reintroducing kthread API support. Add a new module parameter to allow userspace to select behavior betwee

[PATCH RESEND v10 3/3] vhost: Add new UAPI to select kthread mode and KConfig to enable this IOCTL

2025-05-31 Thread Cindy Lu
This patch introduces a new UAPI that allows the vhost device to select in kthread mode. Userspace applications can utilize IOCTL VHOST_FORK_FROM_OWNER to select between task and kthread modes, which must be invoked before IOCTL VHOST_SET_OWNER, as the worker will be created during that call. The

[PATCH RESEND v10 2/3] vhost: Reintroduce kthread mode support in vhost

2025-05-31 Thread Cindy Lu
This patch reintroduces kthread mode support in vhost, It also introduces struct vhost_worker_ops to abstract worker create/stop/wakeup operations. * Bring back the original vhost_worker() implementation, and renamed to vhost_run_work_kthread_list(). * Add cgroup support for the kthread * Intr

[PATCH RESEND v10 1/3] vhost: Add a new modparam to allow userspace select kthread

2025-05-31 Thread Cindy Lu
The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles, it confuses some legacy userspace applications, therefore, we are reintroducing kthread API support. Add a new module parameter to allow userspace to select behavior betwee

[PATCH RESEND v10 0/3] vhost: Add support of kthread API

2025-05-31 Thread Cindy Lu
In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), the vhost now uses vhost_task and operates as a child of the owner thread. This aligns with containerization principles. However, this change has caused confusion for some legacy userspace applications. Therefore, we

[PATCH v10 2/3] vhost: Reintroduce kthread mode support in vhost

2025-05-31 Thread Cindy Lu
This patch reintroduces kthread mode support in vhost, It also introduces struct vhost_worker_ops to abstract worker create/stop/wakeup operations. * Bring back the original vhost_worker() implementation, and renamed to vhost_run_work_kthread_list(). * Add cgroup support for the kthread * Intr

[PATCH v10 0/3] vhost: Add support of kthread API

2025-05-31 Thread Cindy Lu
In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), the vhost now uses vhost_task and operates as a child of the owner thread. This aligns with containerization principles. However, this change has caused confusion for some legacy userspace applications. Therefore, we

Re: [RFC PATCH net-next v2 2/2] selftests: net: add XDP socket tests for virtio-net

2025-05-31 Thread Bui Quang Minh
On 5/30/25 18:45, Maciej Fijalkowski wrote: On Thu, May 29, 2025 at 09:29:14PM +0700, Bui Quang Minh wrote: On 5/29/25 18:18, Maciej Fijalkowski wrote: On Tue, May 27, 2025 at 11:19:04PM +0700, Bui Quang Minh wrote: This adds a test to test the virtio-net rx when there is a XDP socket bound to

[PATCH v4 1/1] selftests/mm/uffd: Refactor non-composite global vars into struct

2025-05-31 Thread Ujwal Kundur
Refactor macros and non-composite global variable definitions into a struct that is defined at the start of a test and is passed around instead of relying on global vars. Renders the implementation / use of test_uffdio_copy_eexist vestigial and will be addressed in a later patch. Signed-off-by: U

Re: [RFC PATCH v1 0/6] Lazy mmu mode fixes and improvements

2025-05-31 Thread Mike Rapoport
Hi Ryan, On Fri, May 30, 2025 at 04:55:36PM +0100, Ryan Roberts wrote: > On 30/05/2025 15:47, Lorenzo Stoakes wrote: > > +cc Jann who is a specialist in all things page table-y and especially scary > > edge cases :) > > > > On Fri, May 30, 2025 at 03:04:38PM +0100, Ryan Roberts wrote: > >> Hi All

[PATCH] libbpf: add support for printing BTF character arrays as strings

2025-05-31 Thread Blake Jones
The BTF dumper code currently displays arrays of characters as just that - arrays, with each character formatted individually. Sometimes this is what makes sense, but it's nice to be able to treat that array as a string. This change adds a special case to the btf_dump functionality to allow arrays

[PATCH] selftests: ipc: Replace fail print statements with ksft_test_result_fail

2025-05-31 Thread Nick Huang
Use the standard kselftest failure report function to ensure consistent test output formatting. This improves readability and integration with automated test frameworks. Signed-off-by: Nick Huang --- tools/testing/selftests/ipc/msgque.c | 47 ++-- 1 file changed, 23 inser