Re: [PATCH v5] remoteproc: Add device awake calls in rproc boot and shutdown path

2025-05-21 Thread Souradeep Chowdhury
Gentle Reminder On 5/19/2025 10:54 AM, Souradeep Chowdhury wrote: Gentle Reminder On 5/14/2025 1:03 PM, Souradeep Chowdhury wrote: Gentle Reminder On 4/8/2025 4:13 PM, Souradeep Chowdhury wrote: Add device awake calls in case of rproc boot and rproc shutdown path. Currently, device awake

Re: [PATCH v3 3/5] module: Extend the MODULE_ namespace parsing

2025-05-21 Thread Masahiro Yamada
On Wed, May 21, 2025 at 9:08 PM Masahiro Yamada wrote: > > I think the patch subject is stale. > > MODULE_ was the prefix in the previous v2 series. > > Now, the prefix part is module: I will apply with the subject fixed, as "MODULE_" prefix does not make sense any more. "module: Extend the mo

Re: [PATCH v3 2/5] module: Add module specific symbol namespace support

2025-05-21 Thread Masahiro Yamada
On Sat, May 17, 2025 at 4:19 PM Masahiro Yamada wrote: > > On Fri, May 2, 2025 at 11:26 PM Peter Zijlstra wrote: > > > > Designate the "module:${modname}" symbol namespace to mean: 'only > > export to the named module'. > > > > Notably, explicit imports of anything in the "module:" space is > > f

Re: [PATCHv6 net-next 0/2] wireguard: selftests: use nftables for testing

2025-05-21 Thread Hangbin Liu
Hi Jason, I just saw this patch set is not applied to wireguard tree. Did I missed any change request? Should I repost the patch? BTW, what prefix should I use when the target is wireguard next? [PATCH wireguard-next] ? Thanks Hangbin On Tue, Apr 08, 2025 at 08:16:50AM +, Hangbin Liu wrote:

Re: [PATCH 2/3] vsock/virtio: Add SIOCINQ support for all virtio based transports

2025-05-21 Thread Xuewei Niu
> On Wed, 21 May 2025 at 10:58, Stefano Garzarella wrote: > > > > Forgot to CC Arseniy. > > > > On Wed, 21 May 2025 at 10:57, Stefano Garzarella > > wrote: > > > > > > On Wed, May 21, 2025 at 10:06:13AM +0800, Xuewei Niu wrote: > > > >> On Mon, May 19, 2025 at 03:06:48PM +0800, Xuewei Niu wrote:

Re: [PATCH 2/3] vsock/virtio: Add SIOCINQ support for all virtio based transports

2025-05-21 Thread Xuewei Niu
> On Wed, May 21, 2025 at 10:06:13AM +0800, Xuewei Niu wrote: > >> On Mon, May 19, 2025 at 03:06:48PM +0800, Xuewei Niu wrote: > >> >The virtio_vsock_sock has a new field called bytes_unread as the return > >> >value of the SIOCINQ ioctl. > >> > > >> >Though the rx_bytes exists, we introduce a byte

Re: [PATCH v4 14/38] KVM: x86/pmu: Introduce enable_mediated_pmu global parameter

2025-05-21 Thread Mi, Dapeng
On 5/22/2025 2:43 AM, Sean Christopherson wrote: > On Thu, May 15, 2025, Dapeng Mi wrote: >> On 5/15/2025 8:09 AM, Sean Christopherson wrote: >>> On Mon, Mar 24, 2025, Mingwei Zhang wrote: + return vcpu->kvm->arch.enable_pmu && >>> This is superfluous, pmu->version should never be non-zero

Re: [PATCH net-next v5 5/5] vsock/test: Add test for an unexpectedly lingering close()

2025-05-21 Thread Michal Luczaj
On 5/21/25 16:56, Stefano Garzarella wrote: > On Wed, May 21, 2025 at 12:55:23AM +0200, Michal Luczaj wrote: >> There was an issue with SO_LINGER: instead of blocking until all queued >> messages for the socket have been successfully sent (or the linger timeout >> has been reached), close() would b

[PATCH net-next v6 5/5] vsock/test: Add test for an unexpectedly lingering close()

2025-05-21 Thread Michal Luczaj
There was an issue with SO_LINGER: instead of blocking until all queued messages for the socket have been successfully sent (or the linger timeout has been reached), close() would block until packets were handled by the peer. Add a test to alert on close() lingering when it should not. Signed-off

[PATCH net-next v6 0/5] vsock: SOCK_LINGER rework

2025-05-21 Thread Michal Luczaj
v5: https://lore.kernel.org/r/20250521-vsock-linger-v5-0-94827860d...@rbox.co Changes in v5: - Move unsent_bytes fetching logic to utils.c - Add a helper for enabling SO_LINGER - Accommodate for close() taking a long time for reasons unrelated to lingering - Separate and redo the testcase [Stefano] -

[PATCH net-next v6 4/5] vsock/test: Introduce enable_so_linger() helper

2025-05-21 Thread Michal Luczaj
Add a helper function that sets SO_LINGER. Adapt the caller. Signed-off-by: Michal Luczaj --- tools/testing/vsock/util.c | 13 + tools/testing/vsock/util.h | 1 + tools/testing/vsock/vsock_test.c | 10 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --

[PATCH net-next v6 1/5] vsock/virtio: Linger on unsent data

2025-05-21 Thread Michal Luczaj
Currently vsock's lingering effectively boils down to waiting (or timing out) until packets are consumed or dropped by the peer; be it by receiving the data, closing or shutting down the connection. To align with the semantics described in the SO_LINGER section of man socket(7) and to mimic AF_INE

[PATCH net-next v6 2/5] vsock: Move lingering logic to af_vsock core

2025-05-21 Thread Michal Luczaj
Lingering should be transport-independent in the long run. In preparation for supporting other transports, as well as the linger on shutdown(), move code to core. Generalize by querying vsock_transport::unsent_bytes(), guard against the callback being unimplemented. Do not pass sk_lingertime expli

[PATCH net-next v6 3/5] vsock/test: Introduce vsock_wait_sent() helper

2025-05-21 Thread Michal Luczaj
Distill the virtio_vsock_sock::bytes_unsent checking loop (ioctl SIOCOUTQ) and move it to utils. Tweak the comment. Signed-off-by: Michal Luczaj --- tools/testing/vsock/util.c | 25 + tools/testing/vsock/util.h | 1 + tools/testing/vsock/vsock_test.c | 23 +++

Re: [PATCH net-next v5 4/5] vsock/test: Introduce enable_so_linger() helper

2025-05-21 Thread Michal Luczaj
On 5/21/25 16:41, Stefano Garzarella wrote: > On Wed, May 21, 2025 at 12:55:22AM +0200, Michal Luczaj wrote: >> ... >> static void test_stream_linger_client(const struct test_opts *opts) >> { >> -struct linger optval = { >> -.l_onoff = 1, >> -.l_linger = 1 > > So, we ar

Re: [PATCH net-next v5 3/5] vsock/test: Introduce vsock_wait_sent() helper

2025-05-21 Thread Michal Luczaj
On 5/21/25 17:01, Stefano Garzarella wrote: > On Wed, May 21, 2025 at 12:55:21AM +0200, Michal Luczaj wrote: >> ... >> +/* Wait until transport reports no data left to be sent. >> + * Return non-zero if transport does not implement the unsent_bytes() >> callback. >> + */ >> +int vsock_wait_sent(in

Re: [PATCH 1/1] alloc_tag: handle module codetag load errors as module load failures

2025-05-21 Thread Suren Baghdasaryan
On Wed, May 21, 2025 at 2:04 PM Casey Chen wrote: > > On Wed, May 21, 2025 at 9:06 AM Suren Baghdasaryan wrote: > > > > Failures inside codetag_load_module() are currently ignored. As a > > result an error there would not cause a module load failure and freeing > > of the associated resources. Co

Re: [PATCH v4 04/38] perf: Add a EVENT_GUEST flag

2025-05-21 Thread Namhyung Kim
On Mon, Mar 24, 2025 at 05:30:44PM +, Mingwei Zhang wrote: > From: Kan Liang > > Current perf doesn't explicitly schedule out all exclude_guest events > while the guest is running. There is no problem with the current > emulated vPMU. Because perf owns all the PMU counters. It can mask the >

Re: [PATCH 1/1] alloc_tag: handle module codetag load errors as module load failures

2025-05-21 Thread Casey Chen
On Wed, May 21, 2025 at 9:06 AM Suren Baghdasaryan wrote: > > Failures inside codetag_load_module() are currently ignored. As a > result an error there would not cause a module load failure and freeing > of the associated resources. Correct this behavior by propagating the > error code to the call

Re: [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM

2025-05-21 Thread André Apitzsch
Hi Sakari, Am Montag, dem 10.02.2025 um 09:53 + schrieb Sakari Ailus: > Hi André, > > Thanks for the update. > > On Sun, Feb 09, 2025 at 10:51:57PM +0100, André Apitzsch via B4 Relay > wrote: > > From: André Apitzsch > > > > Document Dongwoon DW9719 and DW9761 VCM devicetree bindings. > >

Re: [PATCH v4 5/7] futex: Wire up set_robust_list2 syscall

2025-05-21 Thread kernel test robot
Hi André, kernel test robot noticed the following build errors: [auto build test ERROR on 3ee84e3dd88e39b55b534e17a7b9a181f1d46809] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/selftests-futex-Add-ASSERT_-macros/20250521-045231 base

Re: [PATCH v4 34/38] perf/x86/amd: Support PERF_PMU_CAP_MEDIATED_VPMU for AMD host

2025-05-21 Thread Namhyung Kim
On Mon, Mar 24, 2025 at 05:31:14PM +, Mingwei Zhang wrote: > From: Sandipan Das > > Apply the PERF_PMU_CAP_MEDIATED_VPMU flag for version 2 and later > implementations of the core PMU. Aside from having Global Control and > Status registers, virtualizing the PMU using the passthrough model >

Re: [PATCH v4 05/38] perf: Add generic exclude_guest support

2025-05-21 Thread Liang, Kan
On 2025-05-21 3:55 p.m., Namhyung Kim wrote: > On Mon, Mar 24, 2025 at 05:30:45PM +, Mingwei Zhang wrote: >> From: Kan Liang >> >> Only KVM knows the exact time when a guest is entering/exiting. Expose >> two interfaces to KVM to switch the ownership of the PMU resources. >> >> All the pinn

Re: [PATCH v4 09/38] perf: Add switch_guest_ctx() interface

2025-05-21 Thread Namhyung Kim
On Mon, Mar 24, 2025 at 05:30:49PM +, Mingwei Zhang wrote: > From: Kan Liang > > When entering/exiting a guest, some contexts for a guest have to be > switched. For examples, there is a dedicated interrupt vector for > guests on Intel platforms. > > When PMI switch into a new guest vector, g

Re: [PATCH v4 05/38] perf: Add generic exclude_guest support

2025-05-21 Thread Namhyung Kim
On Mon, Mar 24, 2025 at 05:30:45PM +, Mingwei Zhang wrote: > From: Kan Liang > > Only KVM knows the exact time when a guest is entering/exiting. Expose > two interfaces to KVM to switch the ownership of the PMU resources. > > All the pinned events must be scheduled in first. Extend the > per

Re: [PATCH net-next 2/3] selftests: ncdevmem: make chunking optional

2025-05-21 Thread Mina Almasry
On Wed, May 21, 2025 at 10:39 AM Stanislav Fomichev wrote: > > On 05/21, Mina Almasry wrote: > > On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev > > wrote: > > > > > > Add new -z argument to specify max IOV size. By default, use > > > single large IOV. > > > > > > Signed-off-by: Stanislav Fom

Re: [PATCH net-next 1/3] net: devmem: support single IOV with sendmsg

2025-05-21 Thread Mina Almasry
On Wed, May 21, 2025 at 10:33 AM Stanislav Fomichev wrote: > > On 05/21, Mina Almasry wrote: > > On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev > > wrote: > > > > > > sendmsg() with a single iov becomes ITER_UBUF, sendmsg() with multiple > > > iovs becomes ITER_IOVEC. iter_iov_len does not r

Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h

2025-05-21 Thread Mark Brown
On Wed, May 21, 2025 at 03:45:42PM +0200, Thomas Weißschuh wrote: > Or you could run your testsuite with the new nolibc for-next branch > which should be fixed now. That seems to build with 869c788909b93a78ead1ca28c42b95eeb0779215 which is the current HEAD of: git://git.kernel.org/pub/scm/linu

Re: [PATCH] selftests/mm: Fix test result reporting in gup_longterm

2025-05-21 Thread Mark Brown
On Mon, May 19, 2025 at 03:28:47PM +0200, David Hildenbrand wrote: > On 16.05.25 20:07, Mark Brown wrote: > > On Fri, May 16, 2025 at 04:12:08PM +0200, David Hildenbrand wrote: > > [Converting to kselftet_harness] > > > > That'd certainly work, though doing that is more surgery on the test > > > >

Re: [PATCH v4 14/38] KVM: x86/pmu: Introduce enable_mediated_pmu global parameter

2025-05-21 Thread Sean Christopherson
On Thu, May 15, 2025, Dapeng Mi wrote: > On 5/15/2025 8:09 AM, Sean Christopherson wrote: > > On Mon, Mar 24, 2025, Mingwei Zhang wrote: > >> + return vcpu->kvm->arch.enable_pmu && > > This is superfluous, pmu->version should never be non-zero without the PMU > > being > > enabled at the VM level

Re: [PATCH net-next 3/3] selftests: ncdevmem: add tx test with multiple IOVs

2025-05-21 Thread Stanislav Fomichev
On 05/21, Mina Almasry wrote: > On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev > wrote: > > > > Use prime 3 for length to make offset slowly drift away. > > > > Signed-off-by: Stanislav Fomichev > > --- > > .../testing/selftests/drivers/net/hw/devmem.py | 17 - > > 1 file c

Re: [PATCH net-next 2/3] selftests: ncdevmem: make chunking optional

2025-05-21 Thread Stanislav Fomichev
On 05/21, Mina Almasry wrote: > On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev > wrote: > > > > Add new -z argument to specify max IOV size. By default, use > > single large IOV. > > > > Signed-off-by: Stanislav Fomichev > > --- > > .../selftests/drivers/net/hw/ncdevmem.c | 49 +++

Re: [PATCH net-next 1/3] net: devmem: support single IOV with sendmsg

2025-05-21 Thread Stanislav Fomichev
On 05/21, Mina Almasry wrote: > On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev > wrote: > > > > sendmsg() with a single iov becomes ITER_UBUF, sendmsg() with multiple > > iovs becomes ITER_IOVEC. iter_iov_len does not return correct > > value for UBUF, so teach to treat UBUF differently. > >

Re: [PATCH net-next 3/3] selftests: ncdevmem: add tx test with multiple IOVs

2025-05-21 Thread Mina Almasry
On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev wrote: > > Use prime 3 for length to make offset slowly drift away. > > Signed-off-by: Stanislav Fomichev > --- > .../testing/selftests/drivers/net/hw/devmem.py | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff

Re: [PATCH net-next 2/3] selftests: ncdevmem: make chunking optional

2025-05-21 Thread Mina Almasry
On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev wrote: > > Add new -z argument to specify max IOV size. By default, use > single large IOV. > > Signed-off-by: Stanislav Fomichev > --- > .../selftests/drivers/net/hw/ncdevmem.c | 49 +++ > 1 file changed, 29 insertions(+),

Re: [PATCH net-next 1/3] net: devmem: support single IOV with sendmsg

2025-05-21 Thread Mina Almasry
On Tue, May 20, 2025 at 1:30 PM Stanislav Fomichev wrote: > > sendmsg() with a single iov becomes ITER_UBUF, sendmsg() with multiple > iovs becomes ITER_IOVEC. iter_iov_len does not return correct > value for UBUF, so teach to treat UBUF differently. > > Cc: Al Viro > Cc: Pavel Begunkov > Cc: Mi

Re: [PATCH net-next v5 3/5] vsock/test: Introduce vsock_wait_sent() helper

2025-05-21 Thread Stefano Garzarella
On Wed, May 21, 2025 at 12:55:21AM +0200, Michal Luczaj wrote: Distill the virtio_vsock_sock::bytes_unsent checking loop (ioctl SIOCOUTQ) and move it to utils. Tweak the comment. Signed-off-by: Michal Luczaj --- tools/testing/vsock/util.c | 25 + tools/testing/vsock

Re: [PATCH v2 4/4] media: i2c: imx214: Remove hard-coded external clock frequency

2025-05-21 Thread Laurent Pinchart
Hi André, On Thu, May 15, 2025 at 11:21:42PM +0200, André Apitzsch wrote: > Am Freitag, dem 16.05.2025 um 00:02 +0300 schrieb Sakari Ailus: > > On Thu, May 15, 2025 at 03:03:40PM +0200, Laurent Pinchart wrote: > > > On Thu, May 15, 2025 at 02:54:54PM +0300, Sakari Ailus wrote: > > > > On Thu, May

Re: [PATCH] remoteproc: mediatek: Add SCP watchdog handler in IRQ processing

2025-05-21 Thread Markus Elfring
> In mt8195_scp_c1_irq_handler(), only the IPC interrupt bit > (MT8192_SCP_IPC_INT_BIT) was checked., but does not handle > when this bit is not set. This could lead to unhandled watchdog > events. This could lead to unhandled watchdog events. A proper … * You may occasionally put more than 63 cha

vmlinux BTF as a module (was Re: [PATCH bpf-next v4 0/3] Allow mmap of /sys/kernel/btf/vmlinux)

2025-05-21 Thread Alan Maguire
> Hi Alan, > > Thanks for taking a look at this. I've been following your related effort > to allow /sys/kernel/btf/vmlinux as a module in support of small systems > with kernel-size constraints, and wondered how this series might affect > that work? Such support would be well-received in the embe

Re: [PATCH net-next v5 4/5] vsock/test: Introduce enable_so_linger() helper

2025-05-21 Thread Stefano Garzarella
On Wed, May 21, 2025 at 12:55:22AM +0200, Michal Luczaj wrote: Add a helper function that sets SO_LINGER. Adapt the caller. Signed-off-by: Michal Luczaj --- tools/testing/vsock/util.c | 13 + tools/testing/vsock/util.h | 4 tools/testing/vsock/vsock_test.c | 10 +

[PATCH 1/1] alloc_tag: handle module codetag load errors as module load failures

2025-05-21 Thread Suren Baghdasaryan
Failures inside codetag_load_module() are currently ignored. As a result an error there would not cause a module load failure and freeing of the associated resources. Correct this behavior by propagating the error code to the caller and handling possible errors. With this change, error to allocate

Re: [PATCH net-next v5 5/5] vsock/test: Add test for an unexpectedly lingering close()

2025-05-21 Thread Stefano Garzarella
On Wed, May 21, 2025 at 12:55:23AM +0200, Michal Luczaj wrote: There was an issue with SO_LINGER: instead of blocking until all queued messages for the socket have been successfully sent (or the linger timeout has been reached), close() would block until packets were handled by the peer. Add a t

[PATCH] remoteproc: mediatek: Add SCP watchdog handler in IRQ processing

2025-05-21 Thread Wentao Liang
In mt8195_scp_c1_irq_handler(), only the IPC interrupt bit (MT8192_SCP_IPC_INT_BIT) was checked., but does not handle when this bit is not set. This could lead to unhandled watchdog events. This could lead to unhandled watchdog events. A proper implementation can be found in mt8183_scp_irq_handler(

Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h

2025-05-21 Thread Mark Brown
On Wed, May 21, 2025 at 03:45:42PM +0200, Thomas Weißschuh wrote: > On 2025-05-21 14:22:30+0100, Mark Brown wrote: > > Ah, you expect what's currently there to work - good. I noticed that > > the vDSO tests had a -I for the nolibc directory which made me think it > > was expected that it be there

Re: [PATCH net-next v5 2/5] vsock: Move lingering logic to af_vsock core

2025-05-21 Thread Stefano Garzarella
On Wed, May 21, 2025 at 12:55:20AM +0200, Michal Luczaj wrote: Lingering should be transport-independent in the long run. In preparation for supporting other transports, as well as the linger on shutdown(), move code to core. Generalize by querying vsock_transport::unsent_bytes(), guard against

Re: [PATCH v4 4/7] futex: Create set_robust_list2

2025-05-21 Thread kernel test robot
Hi André, kernel test robot noticed the following build errors: [auto build test ERROR on 3ee84e3dd88e39b55b534e17a7b9a181f1d46809] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/selftests-futex-Add-ASSERT_-macros/20250521-045231 base

Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h

2025-05-21 Thread Thomas Weißschuh
On 2025-05-21 14:22:30+0100, Mark Brown wrote: > On Wed, May 21, 2025 at 03:08:05PM +0200, Thomas Weißschuh wrote: > > On 2025-05-21 14:03:37+0100, Mark Brown wrote: > > > > > +/* make sure to include all global symbols */ > > > > +#include "nolibc.h" > > > > assumes that the nolibc include direc

Re: [PATCH v2 1/1] mm/memory_hotplug: PG_offline_skippable for offlining memory blocks with PageOffline pages

2025-05-21 Thread Oscar Salvador
On Tue, May 20, 2025 at 06:42:11PM +0200, David Hildenbrand wrote: > A long-term goal is supporting frozen PageOffline pages, and later > PageOffline pages that don't have a refcount at all. Some more work for > that is needed -- in particular around non-folio page migration and > memory ballooning

Re: [PATCH v2 1/1] mm/memory_hotplug: PG_offline_skippable for offlining memory blocks with PageOffline pages

2025-05-21 Thread David Hildenbrand
Acked-by: Zi Yan Signed-off-by: David Hildenbrand Hi David, sorry for jumping in late Hi, not late at all :) @@ -1157,6 +1083,7 @@ static void virtio_mem_set_fake_offline(unsigned long pfn, SetPageDirty(page); else __SetPa

Re: [PATCH v4 3/7] futex: Use explicit sizes for compat_exit_robust_list

2025-05-21 Thread kernel test robot
Hi André, kernel test robot noticed the following build warnings: [auto build test WARNING on 3ee84e3dd88e39b55b534e17a7b9a181f1d46809] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/selftests-futex-Add-ASSERT_-macros/20250521-045231 base

Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h

2025-05-21 Thread Mark Brown
On Wed, May 21, 2025 at 03:08:05PM +0200, Thomas Weißschuh wrote: > On 2025-05-21 14:03:37+0100, Mark Brown wrote: > > > +/* make sure to include all global symbols */ > > > +#include "nolibc.h" > > assumes that the nolibc include directory is in the include path, or > > otherwise set up with a -

Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h

2025-05-21 Thread Thomas Weißschuh
On 2025-05-21 14:03:37+0100, Mark Brown wrote: > On Thu, May 15, 2025 at 09:57:47PM +0200, Thomas Weißschuh wrote: > > This is the location regular userspace expects this definition. > > > > Signed-off-by: Thomas Weißschuh > > This is in -next as b8c436bbef0f2a and breaks the build of all the ar

Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h

2025-05-21 Thread Mark Brown
On Thu, May 15, 2025 at 09:57:47PM +0200, Thomas Weißschuh wrote: > This is the location regular userspace expects this definition. > > Signed-off-by: Thomas Weißschuh This is in -next as b8c436bbef0f2a and breaks the build of all the arm64 selftests using nolibc: clang --target=aarch64-linux-

Re: [PATCH] LICENSES: add CC0-1.0 license text

2025-05-21 Thread Greg Kroah-Hartman
On Tue, May 13, 2025 at 01:59:12PM +0200, Lukas Bulwahn wrote: > From: Lukas Bulwahn > > Commit cbbd847d107f ("tools/x86/kcpuid: Introduce a complete cpuid > bitfields CSV file") turns the tools/arch/x86/kcpuid/cpuid.csv to be an > auto-generated file from an input file maintained at x86-cpuid.or

[PATCH net] vsock/virtio: fix `rx_bytes` accounting for stream sockets

2025-05-21 Thread Stefano Garzarella
From: Stefano Garzarella In `struct virtio_vsock_sock`, we maintain two counters: - `rx_bytes`: used internally to track how many bytes have been read. This supports mechanisms like .stream_has_data() and sock_rcvlowat(). - `fwd_cnt`: used for the credit mechanism to inform available receive

Re: [PATCH v2 3/3] remoteproc: imx_rproc: add power mode check for remote core attachment

2025-05-21 Thread Ulf Hansson
On Wed, 21 May 2025 at 05:09, Peng Fan wrote: > > On Wed, May 21, 2025 at 12:13:06PM +0800, Peng Fan wrote: > >Hi Ulf, > > > >On Tue, May 20, 2025 at 02:21:49PM +0200, Ulf Hansson wrote: > >>On Mon, 19 May 2025 at 19:24, Hiago De Franco wrote: > >>> > >>> Hi Ulf, > >>> > >>> On Mon, May 19, 2025

Re: [PATCH v3 3/5] module: Extend the MODULE_ namespace parsing

2025-05-21 Thread Masahiro Yamada
I think the patch subject is stale. MODULE_ was the prefix in the previous v2 series. Now, the prefix part is module: On Fri, May 2, 2025 at 11:25 PM Peter Zijlstra wrote: > > Instead of only accepting "module:${name}", extend it with a comma > separated list of module names and add tail glob

[PATCH] virtio-mmio: Remove virtqueue list from mmio device

2025-05-21 Thread Viresh Kumar
The MMIO transport implementation creates a list of virtqueues for a virtio device, while the same is already available in the struct virtio_device. Don't create a duplicate list, and use the other one instead. While at it, fix the virtio_device_for_each_vq() macro to accept an argument like "&vm

Re: [PATCH 2/3] vsock/virtio: Add SIOCINQ support for all virtio based transports

2025-05-21 Thread Stefano Garzarella
On Wed, 21 May 2025 at 10:58, Stefano Garzarella wrote: > > Forgot to CC Arseniy. > > On Wed, 21 May 2025 at 10:57, Stefano Garzarella wrote: > > > > On Wed, May 21, 2025 at 10:06:13AM +0800, Xuewei Niu wrote: > > >> On Mon, May 19, 2025 at 03:06:48PM +0800, Xuewei Niu wrote: > > >> >The virtio_v

Re: [PATCH 3/4] media: dt-bindings: Add qcom,msm8939-camss

2025-05-21 Thread Krzysztof Kozlowski
On Tue, May 20, 2025 at 08:39:08PM GMT, Vincent Knecht wrote: > Add bindings for qcom,msm8939-camss in order to support the camera > subsystem for MSM8939. > > Signed-off-by: Vincent Knecht > --- > .../bindings/media/qcom,msm8939-camss.yaml | 269 > + > 1 file change

[QUESTION] problems report: rcu_read_unlock_special() called in irq_exit() causes dead loop

2025-05-21 Thread Xiongfeng Wang
Hi RCU experts, When I ran syskaller in Linux 6.6 with CONFIG_PREEMPT_RCU enabled, I got the following soft lockup. The Calltrace is too long. I put it in the end. The issue can also be reproduced in the latest kernel. The issue is as follows. CPU3 is waiting for a spin_lock, which is got by CPU1

Re: [PATCH 3/3] test/vsock: Add ioctl SIOCINQ tests

2025-05-21 Thread Stefano Garzarella
On Wed, May 21, 2025 at 10:15:47AM +0800, Xuewei Niu wrote: On Mon, May 19, 2025 at 03:06:49PM +0800, Xuewei Niu wrote: >This patch adds two tests for ioctl SIOCINQ for SOCK_STREAM and >SOCK_SEQPACKET. The client waits for the server to send data, and checks if >the return value of the SIOCINQ is

Re: [PATCH 2/3] vsock/virtio: Add SIOCINQ support for all virtio based transports

2025-05-21 Thread Stefano Garzarella
Forgot to CC Arseniy. On Wed, 21 May 2025 at 10:57, Stefano Garzarella wrote: > > On Wed, May 21, 2025 at 10:06:13AM +0800, Xuewei Niu wrote: > >> On Mon, May 19, 2025 at 03:06:48PM +0800, Xuewei Niu wrote: > >> >The virtio_vsock_sock has a new field called bytes_unread as the return > >> >value

Re: [PATCH 2/3] vsock/virtio: Add SIOCINQ support for all virtio based transports

2025-05-21 Thread Stefano Garzarella
On Wed, May 21, 2025 at 10:06:13AM +0800, Xuewei Niu wrote: On Mon, May 19, 2025 at 03:06:48PM +0800, Xuewei Niu wrote: >The virtio_vsock_sock has a new field called bytes_unread as the return >value of the SIOCINQ ioctl. > >Though the rx_bytes exists, we introduce a bytes_unread field to the >vi

Re: [PATCH v2 0/5] SC8280XP SLPI

2025-05-21 Thread Johan Hovold
On Tue, May 20, 2025 at 04:29:18PM +0200, Konrad Dybcio wrote: > On 5/19/25 11:35 AM, Johan Hovold wrote: > > On Sat, May 17, 2025 at 07:27:49PM +0200, Konrad Dybcio wrote: > >> Dmitry Baryshkov (1): > >> arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: enable sensors DSP > > > > At first I