Re: [PATCH v2 0/2] Fix xdp_adjust_frags_tail_grow selftest on powerpc

2025-03-20 Thread Saket Kumar Bhaskar
Gentle Ping... Hi Alexander and other net bpf guys, it would be great if you could share your feedback whenever you have a moment. Please do let me know if there's any additional change needed. Thanks, Saket On Fri, Mar 07, 2025 at 08:54:00PM +0530, Venkat Rao Bagalkote wrote: > > On 05/03/25 1

Re: [PATCH v3 1/2] kunit: tool: Fix bug in parsing test plan

2025-03-20 Thread Brendan Jackman
On Wed Mar 19, 2025 at 9:11 PM UTC, Rae Moar wrote: > On Mon, Mar 17, 2025 at 12:13 PM Brendan Jackman wrote: > > > > On Fri, 14 Mar 2025 at 06:37, David Gow wrote: > > > > > > On Fri, 14 Mar 2025 at 03:27, Rae Moar wrote: > > > > > > > > A bug was identified where the KTAP below caused an infin

Re: [PATCH] kunit: tool: fix count of tests if late test plan

2025-03-20 Thread David Gow
On Thu, 20 Mar 2025 at 06:33, Rae Moar wrote: > > Fix test count with late test plan. > > For example, > TAP version 13 > ok 1 test1 > 1..4 > > Returns a count of 1 passed, 1 crashed (because it expects tests after > the test plan): returning the total count of 2 tests > > Change this to be

Re: [PATCH v7 8/8] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-03-20 Thread Cindy Lu
Ping :) On Mon, Mar 10, 2025 at 12:54 PM Jason Wang wrote: > > On Tue, Mar 4, 2025 at 1:33 AM Michael S. Tsirkin wrote: > > > > On Mon, Mar 03, 2025 at 01:52:06PM +0800, Jason Wang wrote: > > > On Sun, Mar 2, 2025 at 10:34 PM Cindy Lu wrote: > > > > > > > > Introduce a new config knob `CONFIG_V

Re: [Linux-stm32] [PATCH 3/3] remoteproc: Use of_reserved_mem_region_* functions for "memory-region"

2025-03-20 Thread Arnaud POULIQUEN
On 3/20/25 10:21, Arnaud POULIQUEN wrote: > > > On 3/20/25 00:04, Rob Herring wrote: >> On Wed, Mar 19, 2025 at 10:26 AM Arnaud POULIQUEN >> wrote: >>> >>> Hello Rob, >>> >>> On 3/18/25 00:24, Rob Herring (Arm) wrote: Use the newly added of_reserved_mem_region_to_resource() and of_r

Re: [PATCH v8 0/7] rust: extend `module!` macro with integer parameter support

2025-03-20 Thread Daniel Gomez
Hi, On Thu, Feb 27, 2025 at 03:38:06PM +0100, Andreas Hindborg wrote: > Extend the `module!` macro with support module parameters. Also add some > string > to integer parsing functions and updates `BStr` with a method to strip a > string > prefix. > > Based on code by Adam Bratschi-Kaye lifted

Re: [Linux-stm32] [PATCH 3/3] remoteproc: Use of_reserved_mem_region_* functions for "memory-region"

2025-03-20 Thread Arnaud POULIQUEN
On 3/20/25 00:04, Rob Herring wrote: > On Wed, Mar 19, 2025 at 10:26 AM Arnaud POULIQUEN > wrote: >> >> Hello Rob, >> >> On 3/18/25 00:24, Rob Herring (Arm) wrote: >>> Use the newly added of_reserved_mem_region_to_resource() and >>> of_reserved_mem_region_count() functions to handle "memory-reg

Re: [PATCH v4 08/16] rust: kunit: refactor to use `&raw [const|mut]`

2025-03-20 Thread Antonio Hickey
On Tue, Mar 18, 2025 at 04:02:15PM +0800, David Gow wrote: > On Sun, 16 Mar 2025 at 14:20, Antonio Hickey wrote: > > > > Replacing all occurrences of `addr_of!(place)` and `addr_of_mut!(place)` > > with `&raw const place` and `&raw mut place` respectively. > > > > This will allow us to reduce macr

Re: [PATCHv4 RESEND net-next 0/2] selftests: wireguards: use nftables for testing

2025-03-20 Thread Hangbin Liu
On Wed, Mar 19, 2025 at 05:11:15PM +0100, Jason A. Donenfeld wrote: > On Tue, Mar 18, 2025 at 10:24:40AM +, Hangbin Liu wrote: > > I saw the patch status[1] is still "Awaiting Upstream". > > Is there anything I need to do? > > I'm looking at it now, but the subject line of your series says, >

Re: [PATCH v8 7/7] modules: add rust modules files to MAINTAINERS

2025-03-20 Thread Daniel Gomez
On Thu, Feb 27, 2025 at 03:38:13PM +0100, Andreas Hindborg wrote: > The module subsystem people agreed to maintain rust support for modules > [1]. Thus, add entries for relevant files to modules entry in MAINTAINERS. > > Link: > https://lore.kernel.org/all/0d9e596a-5316-4e00-862b-fd77552ae...@sus

Re: [PATCH] virtio: console: Make resizing compliant with virtio spec

2025-03-20 Thread Maximilian Immanuel Brandtner
On Wed, 2025-03-19 at 18:13 +0100, Halil Pasic wrote: > On Wed, 19 Mar 2025 11:00:06 -0400 > "Michael S. Tsirkin" wrote: > > > > > I was mistaken in my earlier reply - I had missed this > > > > virtio_console_resize definition in the spec.  So indeed > > > > there's a > > > > discrepancy in Linux

Re: [PATCH] virtio: console: Make resizing compliant with virtio spec

2025-03-20 Thread Maximilian Immanuel Brandtner
On Tue, 2025-03-18 at 15:25 +0100, Amit Shah wrote: > On Tue, 2025-03-18 at 11:07 +0100, Maximilian Immanuel Brandtner > wrote: > > On Mon, 2025-03-03 at 12:54 +0100, Amit Shah wrote: > > > On Tue, 2025-02-25 at 10:21 +0100, Maximilian Immanuel Brandtner > > > wrote: > > > > According to the virtio

Re: [PATCH v8 0/7] rust: extend `module!` macro with integer parameter support

2025-03-20 Thread Andreas Hindborg
"Daniel Gomez" writes: > Hi, > On Thu, Feb 27, 2025 at 03:38:06PM +0100, Andreas Hindborg wrote: >> Extend the `module!` macro with support module parameters. Also add some >> string >> to integer parsing functions and updates `BStr` with a method to strip a >> string >> prefix. >> >> Based on

Re: [PATCH] virtio: console: Make resizing compliant with virtio spec

2025-03-20 Thread Halil Pasic
On Thu, 20 Mar 2025 08:12:23 +0100 Maximilian Immanuel Brandtner wrote: > > Another thing I noticed during looking at this. AFAICT Linux does not > > seem to handle endiannes here. And AFAIU the message is supposed to > > hold > > le16 that is little endian u16! Maximilian, is this in your opinio

Re: [PATCH] libnvdimm/labels: Fix divide error in nd_label_data_init()

2025-03-20 Thread Robert Richter
On 19.03.25 14:33:54, Ira Weiny wrote: > Robert Richter wrote: > > If a CXL memory device returns a broken zero LSA size in its memory > > device information (Identify Memory Device (Opcode 4000h), CXL > > spec. 3.1, 8.2.9.9.1.1), a divide error occurs in the libnvdimm > > driver: > > > > Oops: d

Re: [PATCH] kunit: cs_dsp: Depend on FW_CS_DSP rather then enabling it

2025-03-20 Thread Richard Fitzgerald
On 19/3/25 23:11, Nico Pache wrote: On Wed, Mar 19, 2025 at 5:05 PM Nico Pache wrote: FW_CS_DSP gets enabled if KUNIT is enabled. The test should rather depend on if the feature is enabled. Fix this by moving FW_CS_DSP to the depends on clause, and set CONFIG_FW_CS_DSP=y in the kunit tooling.

Re: [PATCH net 0/7] selftests/net: Mixed select()+polling mode for TCP-AO tests

2025-03-20 Thread Konstantin Ryabitsev
On Wed, Mar 19, 2025 at 09:18:37AM -0400, Konstantin Ryabitsev wrote: > On Wed, Mar 19, 2025 at 03:26:27AM +, Dmitry Safonov wrote: > > However, as I sent the patches with b4 relay, it seems patchwork is > > unable to authorise me as the author of the series. Ugh :( > > Oops. We should definit

Re: [PATCH v2 12/16] selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers

2025-03-20 Thread Mark Brown
On Wed, Feb 26, 2025 at 12:44:51PM +0100, Thomas Weißschuh wrote: > To allow the usage of parse_vdso.c together with a limited libc like > nolibc, use the kernels own elf.h and auxvec.h headers. The vDSO selftests currently fail build for at least arm64 in -next: CC vdso_test_gettimeofday

Re: [PATCH 1/2] rcu: Comment on the extraneous delta test on rcu_seq_done_exact()

2025-03-20 Thread Frederic Weisbecker
Le Wed, Mar 19, 2025 at 03:38:31PM -0400, Joel Fernandes a écrit : > On Tue, Mar 18, 2025 at 11:37:38AM -0700, Paul E. McKenney wrote: > > On Tue, Mar 18, 2025 at 02:56:18PM +0100, Frederic Weisbecker wrote: > > > The numbers used in rcu_seq_done_exact() lack some explanation behind > > > their mag

Re: [PATCH] virtio: console: Make resizing compliant with virtio spec

2025-03-20 Thread Halil Pasic
On Thu, 20 Mar 2025 12:53:43 +0100 Maximilian Immanuel Brandtner wrote: > On Thu, 2025-03-20 at 11:41 +0100, Halil Pasic wrote: > > On Thu, 20 Mar 2025 08:12:23 +0100 > > Maximilian Immanuel Brandtner wrote: > > > > > > Another thing I noticed during looking at this. AFAICT Linux does > > > >

Re: [PATCH v8 0/3] rust: kunit: Support KUnit tests with a user-space like syntax

2025-03-20 Thread Miguel Ojeda
On Fri, Mar 7, 2025 at 10:01 AM David Gow wrote: > > This is v8 of the Rust/KUnit integration patch. I think all of the > suggestions have at least been responded to (even if there are a few I'm > leaving as either future projects or matters of taste). Hopefully this > is good-to-go for 6.15, so w

Re: [PATCH] module: Taint the kernel when write-protecting ro_after_init fails

2025-03-20 Thread Daniel Gomez
On Thu, Mar 06, 2025 at 11:36:55AM +0100, Petr Pavlu wrote: > In the unlikely case that setting ro_after_init data to read-only fails, it > is too late to cancel loading of the module. The loader then issues only > a warning about the situation. Given that this reduces the kernel's > protection, it

Re: [PATCH bpf-next v3 1/3] bpf, sockmap: avoid using sk_socket after free when sending

2025-03-20 Thread Jiayuan Chen
March 20, 2025 at 20:32, "Michal Luczaj" wrote: > > On 3/17/25 10:22, Jiayuan Chen wrote: > > > > > The sk->sk_socket is not locked or referenced, and during the call to > > > > skb_send_sock(), there is a race condition with the release of sk_socket. > > > > All types of sockets(tcp/udp/u

[PATCH net-next v2 1/4] virtio_net: Split struct virtio_net_rss_config

2025-03-20 Thread Akihiko Odaki
struct virtio_net_rss_config was less useful in actual code because of a flexible array placed in the middle. Add new structures that split it into two to avoid having a flexible array in the middle. Suggested-by: Jason Wang Signed-off-by: Akihiko Odaki Acked-by: Jason Wang Tested-by: Lei Yang

[PATCH net-next v2 2/4] virtio_net: Fix endian with virtio_net_ctrl_rss

2025-03-20 Thread Akihiko Odaki
Mark the fields of struct virtio_net_ctrl_rss as little endian as they are in struct virtio_net_rss_config, which it follows. Fixes: c7114b1249fa ("drivers/net/virtio_net: Added basic RSS support.") Signed-off-by: Akihiko Odaki Acked-by: Jason Wang Tested-by: Lei Yang Acked-by: Michael S. Tsirk

[PATCH] virtio: console: Make resize control event handling compliant with spec

2025-03-20 Thread Maximilian Immanuel Brandtner
According to section 5.3.6.2 of the virtio spec a control buffer with the event VIRITO_CONSOLE_RESIZE is followed by a virtio_console_resize struct containing 2 little endian 16bit integerts cols,rows. The kernel implementation assums native endianness (which results in mangled values on big endian

Re: [PATCH v3 1/2] arm64: Implement arch_stack_walk_reliable

2025-03-20 Thread Song Liu
On Thu, Mar 20, 2025 at 10:46 AM Weinan Liu wrote: > > On Thu, Mar 20, 2025 at 10:16 AM Song Liu wrote: > > > > static __always_inline void > > @@ -230,8 +231,26 @@ kunwind_next_frame_record(struct kunwind_state *state) > > new_fp = READ_ONCE(record->fp); > > new_pc = READ_ONCE(r

[PATCH bpf-next/net v3 2/5] bpf: Add mptcp_subflow bpf_iter

2025-03-20 Thread Matthieu Baerts (NGI0)
From: Geliang Tang It's necessary to traverse all subflows on the conn_list of an MPTCP socket and then call kfunc to modify the fields of each subflow. In kernel space, mptcp_for_each_subflow() helper is used for this: mptcp_for_each_subflow(msk, subflow) kfunc(subflow);

Re: [PATCH] kunit: cs_dsp: Depend on FW_CS_DSP rather then enabling it

2025-03-20 Thread Nico Pache
On Thu, Mar 20, 2025 at 6:21 AM Richard Fitzgerald wrote: > > On 19/3/25 23:11, Nico Pache wrote: > > On Wed, Mar 19, 2025 at 5:05 PM Nico Pache wrote: > >> > >> FW_CS_DSP gets enabled if KUNIT is enabled. The test should rather > >> depend on if the feature is enabled. Fix this by moving FW_CS_D

Re: [PATCH bpf-next] selftests/bpf: Sanitize pointer prior fclose()

2025-03-20 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Tue, 18 Mar 2025 09:16:47 +0100 you wrote: > From: Björn Töpel > > There are scenarios where env.{sub,}test_state->stdout_saved, can be > NULL, e.g. sometimes when the watchdog timeout kicks in, or if the > open_

[PATCH bpf-next/net v3 1/5] bpf: Register mptcp common kfunc set

2025-03-20 Thread Matthieu Baerts (NGI0)
From: Geliang Tang MPTCP helper mptcp_sk() is used to convert struct sock to mptcp_sock. Helpers mptcp_subflow_ctx() and mptcp_subflow_tcp_sock() are used to convert between struct mptcp_subflow_context and sock. They all will be used in MPTCP BPF programs too. This patch defines corresponding w

[PATCH bpf-next/net v3 5/5] selftests/bpf: Drop cgroup_fd of run_mptcpify

2025-03-20 Thread Matthieu Baerts (NGI0)
From: Geliang Tang The parameter 'cgroup_fd' of run_mptcpify() is useless, drop it. Signed-off-by: Geliang Tang Reviewed-by: Matthieu Baerts (NGI0) Signed-off-by: Matthieu Baerts (NGI0) --- Notes: - v3: - New patch, simply to remove an unused parameter in the selftests. --- tools/testing

[PATCH bpf-next/net v3 3/5] selftests/bpf: More endpoints for endpoint_init

2025-03-20 Thread Matthieu Baerts (NGI0)
From: Geliang Tang This patch changes ADDR_2 from "10.0.1.2" to "10.0.2.1", and adds two more IPv4 test addresses ADDR_3 - ADDR_4, four IPv6 addresses ADDR6_1 - ADDR6_4. Add a new helper address_init() to initialize all these addresses. Add a new parameter "endpoints" for endpoint_init() to cont

Re: [PATCH net-next 3/4] virtio_net: Use new RSS config structs

2025-03-20 Thread Akihiko Odaki
On 2025/03/21 9:35, Jason Wang wrote: On Thu, Mar 20, 2025 at 1:36 PM Akihiko Odaki wrote: On 2025/03/20 10:50, Jason Wang wrote: On Wed, Mar 19, 2025 at 12:48 PM Akihiko Odaki wrote: On 2025/03/19 10:43, Jason Wang wrote: On Tue, Mar 18, 2025 at 5:57 PM Akihiko Odaki wrote: The new RS

Re: [PATCH] virtio: console: Make resizing compliant with virtio spec

2025-03-20 Thread Maximilian Immanuel Brandtner
On Thu, 2025-03-20 at 11:41 +0100, Halil Pasic wrote: > On Thu, 20 Mar 2025 08:12:23 +0100 > Maximilian Immanuel Brandtner wrote: > > > > Another thing I noticed during looking at this. AFAICT Linux does > > > not > > > seem to handle endiannes here. And AFAIU the message is supposed > > > to > >

[GIT PULL] slab updates for 6.15

2025-03-20 Thread Vlastimil Babka
Hi Linus, please pull the latest slab updates from: git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.15 There's a small conflict with the rcu tree: https://lore.kernel.org/all/20250212150941.5e4fa...@canb.auug.org.au/ Thanks, Vlastimil ==

Re: [PATCH v8 0/7] rust: extend `module!` macro with integer parameter support

2025-03-20 Thread Miguel Ojeda
On Thu, Mar 20, 2025 at 11:26 AM Andreas Hindborg wrote: > > As far as I understand, Miguel would take patch 1-5 for v6.15 and > modules would take patch 6-7 for v6.16. At least that is my > understanding from [1], @Petr and @Miguel please correct me if I am > wrong. So I offered that as an optio

Re: [RFC -next 00/10] Add ZC notifications to splice and sendfile

2025-03-20 Thread Pavel Begunkov
On 3/19/25 19:15, Stefan Metzmacher wrote: Am 19.03.25 um 19:37 schrieb Jens Axboe: On 3/19/25 11:45 AM, Joe Damato wrote: On Wed, Mar 19, 2025 at 11:20:50AM -0600, Jens Axboe wrote: ... My argument would be the same as for other features - if you can do it simpler this other way, why not con

[PATCH v7 2/5] arm64: dts: imx8mp: Add mu2 root clock

2025-03-20 Thread Daniel Baluta
Enable MU2 node and add mu2 root clock. MU2 is used to communicate with DSP core. Reviewed-by: Iuliana Prodan Reviewed-by: Peng Fan Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8m

Re: [PATCH net v4 3/3] vsock/bpf: Fix bpf recvmsg() racing transport reassignment

2025-03-20 Thread Michal Luczaj
On 3/19/25 23:18, Cong Wang wrote: > On Mon, Mar 17, 2025 at 10:52:25AM +0100, Michal Luczaj wrote: >> Signal delivery during connect() may lead to a disconnect of an already >> established socket. That involves removing socket from any sockmap and >> resetting state to SS_UNCONNECTED. While it cor

[PATCH v7 0/5] Configure imx8mp dsp node for rproc usage

2025-03-20 Thread Daniel Baluta
DSP found in i.MX8MP SOC can be used by multiple frameworks in order to enable various applications: - rproc/rpmsg framework, used to

Re: [PATCH net-next v1 1/2] net: pktgen: add strict buffer parsing index check

2025-03-20 Thread Simon Horman
On Mon, Mar 17, 2025 at 10:04:00AM +0100, Peter Seiderer wrote: > Add strict buffer parsing index check to avoid the following Smatch > warning: > > net/core/pktgen.c:877 get_imix_entries() > warn: check that incremented offset 'i' is capped > > Checking the buffer index i after every get_use

Re: [PATCH net-next v1 2/2] selftest: net: update proc_net_pktgen (add more imix_weights test cases)

2025-03-20 Thread Simon Horman
On Mon, Mar 17, 2025 at 10:04:01AM +0100, Peter Seiderer wrote: > Add more imix_weights test cases (for incomplete input). > > Signed-off-by: Peter Seiderer Reviewed-by: Simon Horman

Re: [PATCH v8 0/7] rust: extend `module!` macro with integer parameter support

2025-03-20 Thread Petr Pavlu
On 3/20/25 13:00, Miguel Ojeda wrote: > On Thu, Mar 20, 2025 at 11:26 AM Andreas Hindborg > wrote: >> >> As far as I understand, Miguel would take patch 1-5 for v6.15 and >> modules would take patch 6-7 for v6.16. At least that is my >> understanding from [1], @Petr and @Miguel please correct me

[PATCH v7 5/5] arm64: dts: Enable DSP node for remoteproc usage

2025-03-20 Thread Daniel Baluta
Enable all relevant nodes to support remoteproc with imx8mp-evk board. - add rproc specific memory regions - enable dsp_reserved node - enable mu2 node - enable dsp node Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 +++

[PATCH v7 1/5] arm64: dts: imx8mp: Use resets property

2025-03-20 Thread Daniel Baluta
Add resets property to dsp node in order to be able to control the dsp run/stall bit from audio block control. Reviewed-by: Peng Fan Reviewed-by: Frank Li Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm6

[PATCH v7 3/5] arm64: dts: imx8mp: Configure dsp node for rproc usage

2025-03-20 Thread Daniel Baluta
DSP can be used with various frameworks (e.g audio firmware, rproc). Currently 'dsp' configuration is intended for audio firmware but it doesn't work well with board level DTs (e.g imx8mp-evk) because board level DT enables audio related IPs (e.g SAI) while audio firmware needs this IPs disabled (b

[PATCH v7 4/5] arm64: dts: imx8mp: Add DSP clocks

2025-03-20 Thread Daniel Baluta
DSP core needs ocram, core and debug clocks. Reviewed-by: Iuliana Prodan Reviewed-by: Peng Fan Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/fr

Re: [PATCH v4 08/16] rust: kunit: refactor to use `&raw [const|mut]`

2025-03-20 Thread Miguel Ojeda
On Tue, Mar 18, 2025 at 9:02 AM David Gow wrote: > > In general, I think changes such as those in this series are going to > get progressively more prone to conflicts as Rust is adopted by other > subsystems, as the 'rust' tree won't be the only one carrying changes > which could be affected. Mayb

Re: [PATCH net v4 3/3] vsock/bpf: Fix bpf recvmsg() racing transport reassignment

2025-03-20 Thread Michal Luczaj
On 3/20/25 21:54, Cong Wang wrote: > On Thu, Mar 20, 2025 at 01:05:27PM +0100, Michal Luczaj wrote: >> On 3/19/25 23:18, Cong Wang wrote: >>> On Mon, Mar 17, 2025 at 10:52:25AM +0100, Michal Luczaj wrote: Signal delivery during connect() may lead to a disconnect of an already established

Re: [PATCH net v4 3/3] vsock/bpf: Fix bpf recvmsg() racing transport reassignment

2025-03-20 Thread Cong Wang
On Thu, Mar 20, 2025 at 01:05:27PM +0100, Michal Luczaj wrote: > On 3/19/25 23:18, Cong Wang wrote: > > On Mon, Mar 17, 2025 at 10:52:25AM +0100, Michal Luczaj wrote: > >> Signal delivery during connect() may lead to a disconnect of an already > >> established socket. That involves removing socket

[PATCH net-next v2 3/4] virtio_net: Use new RSS config structs

2025-03-20 Thread Akihiko Odaki
The new RSS configuration structures allow easily constructing data for VIRTIO_NET_CTRL_MQ_RSS_CONFIG as they strictly follow the order of data for the command. Signed-off-by: Akihiko Odaki Tested-by: Lei Yang Acked-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 117 +---

[PATCH v2 2/2] selftests/timers: Improve skew_consistency by testing with other clockids

2025-03-20 Thread John Stultz
Lei Chen reported a bug with CLOCK_MONOTONIC_COARSE having inconsistencies when NTP is adjusting the clock frequency. This has gone seemingly undetected for ~15 years, illustrating a clear gap in our testing. The skew_consistency test is intended to catch this sort of problem, but was focused on

Re: [PATCH v8 0/3] rust: kunit: Support KUnit tests with a user-space like syntax

2025-03-20 Thread Miguel Ojeda
On Tue, Mar 18, 2025 at 9:14 AM David Gow wrote: > > The only reason for delay I can think of is all of the patches which > adjust clippy warnings, etc., for things like addr_of_mut!() (and > possibly some of the casting). I'm unlikely to have time to re-send > everything out before the merge wind

Re: [PATCH] kunit: cs_dsp: Depend on FW_CS_DSP rather then enabling it

2025-03-20 Thread Nico Pache
On Thu, Mar 20, 2025 at 1:14 PM Mark Brown wrote: > > On Wed, Mar 19, 2025 at 05:05:39PM -0600, Nico Pache wrote: > > FW_CS_DSP gets enabled if KUNIT is enabled. The test should rather > > depend on if the feature is enabled. Fix this by moving FW_CS_DSP to the > > depends on clause, and set CONFI

[PATCH v2 1/2] time/timekeeping: Fix possible inconsistencies in _COARSE clockids

2025-03-20 Thread John Stultz
Lei Chen raised an issue with CLOCK_MONOTONIC_COARSE seeing time inconsistencies. Lei tracked down that this was being caused by the adjustment tk->tkr_mono.xtime_nsec -= offset; which is made to compensate for the unaccumulated cycles in offset when the mult value is adjusted forward, so that

Re: [PATCH net 0/7] selftests/net: Mixed select()+polling mode for TCP-AO tests

2025-03-20 Thread Dmitry Safonov
On Thu, 20 Mar 2025 at 13:51, Konstantin Ryabitsev wrote: > > On Wed, Mar 19, 2025 at 09:18:37AM -0400, Konstantin Ryabitsev wrote: > > On Wed, Mar 19, 2025 at 03:26:27AM +, Dmitry Safonov wrote: > > > However, as I sent the patches with b4 relay, it seems patchwork is > > > unable to authoris

[PATCH v3 0/2] arm64: livepatch: Enable livepatch without sframe

2025-03-20 Thread Song Liu
There are recent efforts to enable livepatch for arm64, with sframe [1] or without sframe [2]. This set tries to enable livepatch without sframe. Some of the code, however, are from [1]. Although the sframe implementation is more promising in longer term, it suffers from the following issues: 1

Re: [PATCH] virtio: console: Make resizing compliant with virtio spec

2025-03-20 Thread Maximilian Immanuel Brandtner
On Thu, 2025-03-20 at 15:19 +0100, Halil Pasic wrote: > On Thu, 20 Mar 2025 15:09:57 +0100 > Halil Pasic wrote: > > > > I already implemented it in my patch v2 (just waiting for Amit to > > > confirm the new commit message). But if you want to split it you > > > can > > > create a seperate patch

Re: [PATCH] virtio: console: Make resize control event handling compliant with spec

2025-03-20 Thread Maximilian Immanuel Brandtner
On Thu, 2025-03-20 at 18:26 +0100, Maximilian Immanuel Brandtner wrote: > According to section 5.3.6.2 of the virtio spec a control buffer with > the event VIRITO_CONSOLE_RESIZE is followed by a > virtio_console_resize > struct containing 2 little endian 16bit integerts cols,rows. The > kernel > im

Re: [RFC -next 00/10] Add ZC notifications to splice and sendfile

2025-03-20 Thread Joe Damato
On Wed, Mar 19, 2025 at 10:50:18PM -0700, Christoph Hellwig wrote: > On Wed, Mar 19, 2025 at 08:32:19AM -0700, Joe Damato wrote: > > See the docs on MSG_ZEROCOPY [1], but in short when a user app calls > > sendmsg and passes MSG_ZEROCOPY a completion notification is added > > to the error queue. Th

Re: [RFC -next 00/10] Add ZC notifications to splice and sendfile

2025-03-20 Thread Joe Damato
On Wed, Mar 19, 2025 at 10:57:29PM -0700, Christoph Hellwig wrote: > On Wed, Mar 19, 2025 at 10:45:22AM -0700, Joe Damato wrote: > > I don't disagree; I just don't know if app developers: > > a.) know that this is possible to do, and > > b.) know how to do it > > So if you don't know that why