[ANNOUNCE] kmod 34.1

2025-03-05 Thread Lucas De Marchi
kmod 34.1 is out: https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-34.1.tar.xz https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-34.1.tar.sign It's mostly a build system fix release, the first .1 we are releasing. My goal is to mimic what is done in the kernel and pr

Re: [PATCH net-next v5 3/4] virtio-net: Map NAPIs to queues

2025-03-05 Thread Joe Damato
On Mon, Mar 03, 2025 at 04:03:55PM -0800, Jakub Kicinski wrote: > On Mon, 3 Mar 2025 13:33:10 -0500 Joe Damato wrote: > > > > How about we don't use the API at all from refill_work? > > > > Patch 4 adds consistent NAPI config state and refill_work isn't a > > queue resize maybe we don't need to c

[PATCHv4 net 2/2] selftests: bonding: fix incorrect mac address

2025-03-05 Thread Hangbin Liu
The correct mac address for NS target 2001:db8::254 is 33:33:ff:00:02:54, not 33:33:00:00:02:54. The same with client maddress. Fixes: 86fb6173d11e ("selftests: bonding: add ns multicast group testing") Acked-by: Jay Vosburgh Reviewed-by: Nikolay Aleksandrov Signed-off-by: Hangbin Liu --- tool

[PATCHv4 net 0/2] bonding: fix incorrect mac address setting

2025-03-05 Thread Hangbin Liu
The mac address on backup slave should be convert from Solicited-Node Multicast address, not from bonding unicast target address. v4: no change, just repost. v3: also fix the mac setting for slave_set_ns_maddr. (Jay) Add function description for slave_set_ns_maddr/slave_set_ns_maddrs (Jay) v2:

[PATCH] selftests: Override command line in lib.mk

2025-03-05 Thread Akihiko Odaki
Documentation/dev-tools/kselftest.rst says you can use the "TARGETS" variable on the make command line to run only tests targeted for a single subsystem: $ make TARGETS="size timers" kselftest A natural way to narrow down further to a particular test in a subsystem is to specify e.g., TEST_GEN_

Re: [PATCHv3 net 0/2] bonding: fix incorrect mac address setting

2025-03-05 Thread Jakub Kicinski
On Wed, 5 Mar 2025 08:25:07 + Hangbin Liu wrote: > Could you help process it, or should I re-post it? Repost.

RE: [PATCH v4 5/8] reset: imx8mp-audiomix: Prepare the code for more reset bits

2025-03-05 Thread Peng Fan
> Subject: [PATCH v4 5/8] reset: imx8mp-audiomix: Prepare the code for > more reset bits > > Current code supports EARC PHY Software Reset and EARC Software > Reset but it is not easily extensible to more reset bits. > > So, refactor the code in order to easily allow more reset bits in the > futu

RE: [PATCH v4 3/8] arm64: dts: imx8mp: Use resets property

2025-03-05 Thread Peng Fan
> Subject: [PATCH v4 3/8] arm64: dts: imx8mp: Use resets property > > Add resets property to dsp node in order to be able to control the dsp > run/stall bit from audio block control. > > Reviewed-by: Frank Li > Signed-off-by: Daniel Baluta > --- Reviewed-by: Peng Fan

Re: [PATCH net-next v5 3/4] virtio-net: Map NAPIs to queues

2025-03-05 Thread Jakub Kicinski
On Wed, 5 Mar 2025 17:42:35 -0800 Joe Damato wrote: > Two spots that come to mind are: > - in virtnet_probe where all the other netdev ops are plumbed >through, or > - above virtnet_disable_queue_pair which I assume a future queue >API implementor would need to call for ndo_queue_stop I'

Re: [PATCH v8 03/10] KVM: selftests: Add vmgexit helper

2025-03-05 Thread Gupta, Pankaj
On 3/5/2025 11:59 PM, Pratik R. Sampat wrote: Abstract rep vmmcall coded into the vmgexit helper for the sev library. No functional change intended. Signed-off-by: Pratik R. Sampat Reviewed-by: Pankaj Gupta --- tools/testing/selftests/kvm/include/x86/sev.h| 5 + tools/testing/s

Re: [PATCH bpf-next v3] selftests/Makefile: override the srctree for out-of-tree builds

2025-03-05 Thread Zhijian Li (Fujitsu)
ping... On 15/01/2025 23:06, Daniel Borkmann wrote: > On 1/15/25 2:47 AM, Li Zhijian wrote: >> Fixes an issue where out-of-tree kselftest builds fail when building >> the BPF and bpftools components. The failure occurs because the top-level >> Makefile passes a relative srctree path to its sub-M

[PATCHv4 net 1/2] bonding: fix incorrect MAC address setting to receive NS messages

2025-03-05 Thread Hangbin Liu
When validation on the backup slave is enabled, we need to validate the Neighbor Solicitation (NS) messages received on the backup slave. To receive these messages, the correct destination MAC address must be added to the slave. However, the target in bonding is a unicast address, which we cannot u

Re: [PATCH RFC] sched: Disable DL server if sysctl_sched_rt_runtime is -1

2025-03-05 Thread Juri Lelli
Hi Joel, On 04/03/25 18:47, Joel Fernandes wrote: > On Tue, Mar 04, 2025 at 03:06:32PM -0500, Steven Rostedt wrote: > > On Tue, 4 Mar 2025 15:01:16 -0500 > > Joel Fernandes wrote: > > > > > Currently, RCU boost testing in rcutorture is broken because it relies on > > > having RT throttling disa

[PATCH v4 8/8] imx_dsp_rproc: Use reset controller API to control the DSP

2025-03-05 Thread Daniel Baluta
DSP on i.MX8MP doesn't have a direct reset line so according to hardware design team in order to handle assert/deassert/reset functionality we need to use a combination of control bits from two modules. Audio block control module for Run/Stall control of the DSP and DAP module in order to do softwa

Re: [PATCH v8 1/4] scanf: implicate test line in failure messages

2025-03-05 Thread Petr Mladek
On Fri 2025-02-14 11:19:58, Tamir Duberstein wrote: > This improves the failure output by pointing to the failing line at the > top level of the test. > > Signed-off-by: Tamir Duberstein > --- > lib/test_scanf.c | 66 > > 1 file changed,

[PATCH v4 0/8] imx8mp: Add support to Run/Stall DSP via reset API

2025-03-05 Thread Daniel Baluta
This patch series adds support to control the Run/Stall DSP bits found on i.MX8MP via the reset controller API instead of using the syscon API. DSP found on i.MX8MP doesn't have a direct reset line so according to hardware design team in order to handle assert/deassert/reset functionality we need

[PATCH v4 1/8] dt-bindings: reset: audiomix: Add reset ids for EARC and DSP

2025-03-05 Thread Daniel Baluta
Add reset ids used for EARC and DSP on i.MX8MP platform. Acked-by: Rob Herring (Arm) Reviewed-by: Frank Li Signed-off-by: Daniel Baluta --- include/dt-bindings/reset/imx8mp-reset-audiomix.h | 13 + 1 file changed, 13 insertions(+) create mode 100644 include/dt-bindings/reset/imx8m

[PATCH v4 3/8] arm64: dts: imx8mp: Use resets property

2025-03-05 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: Frank Li Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/im

[PATCH v4 7/8] reset: imx8mp-audiomix: Add support for DSP run/stall

2025-03-05 Thread Daniel Baluta
We can Run/Stall the DSP via audio block control bits found in audiomix. Implement this functionality using the reset controller and use assert for Stall and deassert for Run. Reviewed-by: Frank Li Signed-off-by: Daniel Baluta --- drivers/reset/reset-imx8mp-audiomix.c | 8 1 file chang

[PATCH v4 6/8] reset: imx8mp-audiomix: Introduce active_low configuration option

2025-03-05 Thread Daniel Baluta
For EARC and EARC PHY the reset happens when clearing the reset bits. Refactor assert/deassert function in order to take into account the active_low configuration option. Reviewed-by: Philipp Zabel Reviewed-by: Peng Fan Reviewed-by: Frank Li Signed-off-by: Daniel Baluta --- drivers/reset/rese

[PATCH v4 5/8] reset: imx8mp-audiomix: Prepare the code for more reset bits

2025-03-05 Thread Daniel Baluta
Current code supports EARC PHY Software Reset and EARC Software Reset but it is not easily extensible to more reset bits. So, refactor the code in order to easily allow more reset bits in the future. Reviewed-by: Frank Li Signed-off-by: Daniel Baluta --- drivers/reset/reset-imx8mp-audiomix.c |

Re: [PATCH v4 0/4] Properly handle module_kobject creation

2025-03-05 Thread Petr Pavlu
On 2/27/25 19:49, Shyam Saini wrote: > Hi Everyone, > > This patch series fixes handling of module_kobject creation. > A driver expect module_kset list populated with its corresponding > module_kobject to create its /sys/module//drivers > directory. > > Since, > [1] commit 96a1a2412acb ("kernel/p

Re: [PATCH v21 09/24] ovpn: implement packet processing

2025-03-05 Thread Sabrina Dubroca
2025-03-05, 00:35:09 +0100, Antonio Quartulli wrote: > On 04/03/2025 20:02, Sabrina Dubroca wrote: > > 2025-03-04, 01:33:39 +0100, Antonio Quartulli wrote: > > [...] > > > +static inline struct ovpn_crypto_key_slot * > > > +ovpn_crypto_key_id_to_slot(const struct ovpn_crypto_state *cs, u8 key_id) >

[PATCH v4 2/8] dt-bindings: dsp: fsl,dsp: Add resets property

2025-03-05 Thread Daniel Baluta
Assert and deassert functionality of the DSP found on i.MX8MP is realized by combining control bits from two modules: Audio Block Control and Debug Access Port. Audio block control bits are used to Run/Stall the DSP core while the DAP bits are used for software reset the core. The original plan w

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

2025-03-05 Thread Niklas Schnelle
On Wed, 2025-03-05 at 10:53 +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 spec[0] the virtio console resize struct > > > defines > > > co

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

2025-03-05 Thread Niklas Schnelle
On Wed, 2025-03-05 at 13:13 +0100, Niklas Schnelle wrote: > On Wed, 2025-03-05 at 10:53 +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 vi

Re: [PATCH v8 2/4] scanf: remove redundant debug logs

2025-03-05 Thread Petr Mladek
On Fri 2025-02-14 11:19:59, Tamir Duberstein wrote: > Remove `pr_debug` calls which emit information already contained in > `pr_warn` calls that occur on test failure. This reduces unhelpful test > verbosity. > > Note that a `pr_debug` removed from `_check_numbers_template` appears to > have been

Re: [PATCH v3 00/10] selftests/mm: Some cleanups from trying to run them

2025-03-05 Thread Muhammad Usama Anjum
Hi, Thanks for adding to the series Dev Jain. The series looks good. Thanks for doing such a series. It helps everyone. For the series: Reviewed-by: Muhammad Usama Anjum On 2/28/25 9:54 PM, Brendan Jackman wrote: > I never had much luck running mm selftests so I spent a few hours > digging int

Re: [PATCHv3 net 0/2] bonding: fix incorrect mac address setting

2025-03-05 Thread Hangbin Liu
Hi David, This patch set was marked as "Changes Requested" due to my initial reply. The series has now been approved by Jay and Nikolay. Could you help process it, or should I re-post it? Thanks Hangbin On Fri, Feb 07, 2025 at 09:29:18AM +, Hangbin Liu wrote: > The mac address on backup sla

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

2025-03-05 Thread Maximilian Immanuel Brandtner
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 spec[0] the virtio console resize struct > > defines > > cols before rows. In the kernel implementation it is the other way > > around > > resu

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

2025-03-05 Thread Maximilian Immanuel Brandtner
On Wed, 2025-03-05 at 13:15 +0100, Niklas Schnelle wrote: > On Wed, 2025-03-05 at 13:13 +0100, Niklas Schnelle wrote: > > On Wed, 2025-03-05 at 10:53 +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,

Re: [PATCH v8 1/4] scanf: implicate test line in failure messages

2025-03-05 Thread Tamir Duberstein
On Wed, Mar 5, 2025 at 4:56 AM Petr Mladek wrote: > > On Fri 2025-02-14 11:19:58, Tamir Duberstein wrote: > > This improves the failure output by pointing to the failing line at the > > top level of the test. > > > > Signed-off-by: Tamir Duberstein > > --- > > lib/test_scanf.c | 66 > >

Re: [PATCH v8 3/4] scanf: convert self-test to KUnit

2025-03-05 Thread Tamir Duberstein
On Wed, Mar 5, 2025 at 4:47 AM Petr Mladek wrote: > > On Sat 2025-02-15 14:52:22, Tamir Duberstein wrote: > > On Sat, Feb 15, 2025 at 1:51 PM kernel test robot wrote: > > > > > > Hi Tamir, > > > > > > kernel test robot noticed the following build warnings: > > > > > > [auto build test WARNING on

[PATCH net-next v4 3/4] ieee802154: ca8210: Switch to using gpiod API

2025-03-05 Thread Andy Shevchenko
This updates the driver to gpiod API, and removes yet another use of of_get_named_gpio(). With this, invert the logic of the reset pin which is active-low and add a quirk for the legacy and incorrect device tree descriptions. Reviewed-by: Linus Walleij Reviewed-by: Miquel Raynal Signed-off-by:

[PATCH net-next v4 0/4] ieee802154: ca8210: Sparse fix and GPIOd conversion

2025-03-05 Thread Andy Shevchenko
The main part is the patch 3 that converts the driver to GPIO descriptor APIs, the first one is just an ad-hoc fix WRT sparse complains on the bitwise types misuse. The second one is a small cleanup that helps patch 3 to be nicer. In v4: - split DT patch (Krzysztof) - collected tags (Miquel) In v

Re: [PATCH v8 3/4] scanf: convert self-test to KUnit

2025-03-05 Thread Petr Mladek
On Sat 2025-02-15 14:52:22, Tamir Duberstein wrote: > On Sat, Feb 15, 2025 at 1:51 PM kernel test robot wrote: > > > > Hi Tamir, > > > > kernel test robot noticed the following build warnings: > > > > [auto build test WARNING on 7b7a883c7f4de1ee5040bd1c32aabaafde54d209] > > > > url: > https://gith

Re: [PATCH net-next v3 3/3] ieee802154: ca8210: Switch to using gpiod API

2025-03-05 Thread Andy Shevchenko
On Wed, Mar 05, 2025 at 08:04:17AM +0100, Krzysztof Kozlowski wrote: > On Tue, Mar 04, 2025 at 01:22:34PM +0200, Andy Shevchenko wrote: > > This updates the driver to gpiod API, and removes yet another use of > > of_get_named_gpio(). > > > > With this, invert the logic of the reset pin which is ac

[PATCH net-next v4 2/4] ieee802154: ca8210: Get platform data via dev_get_platdata()

2025-03-05 Thread Andy Shevchenko
Access to platform data via dev_get_platdata() getter to make code cleaner. Reviewed-by: Linus Walleij Reviewed-by: Miquel Raynal Signed-off-by: Andy Shevchenko --- drivers/net/ieee802154/ca8210.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/ieee

[PATCH net-next v4 1/4] ieee802154: ca8210: Use proper setters and getters for bitwise types

2025-03-05 Thread Andy Shevchenko
Sparse complains that the driver doesn't respect the bitwise types: drivers/net/ieee802154/ca8210.c:1796:27: warning: incorrect type in assignment (different base types) drivers/net/ieee802154/ca8210.c:1796:27:expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/

[PATCH net-next v4 4/4] dt-bindings: ieee802154: ca8210: Update polarity of the reset pin

2025-03-05 Thread Andy Shevchenko
The code has been updated to follow what datasheet says about the polarity of the reset pin, which is active-low. Update the device tree bindings accordingly. Signed-off-by: Andy Shevchenko --- Documentation/devicetree/bindings/net/ieee802154/ca8210.txt | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v21 18/24] ovpn: add support for peer floating

2025-03-05 Thread Sabrina Dubroca
2025-03-05, 00:19:32 +0100, Antonio Quartulli wrote: > On 04/03/2025 19:37, Sabrina Dubroca wrote: > > 2025-03-04, 01:33:48 +0100, Antonio Quartulli wrote: > > > A peer connected via UDP may change its IP address without reconnecting > > > (float). > > > > Should that trigger a reset of the peer->

Re: [PATCHv4 net 3/3] selftests: bonding: add ipsec offload test

2025-03-05 Thread Petr Machata
Hangbin Liu writes: > This introduces a test for IPSec offload over bonding, utilizing netdevsim > for the testing process, as veth interfaces do not support IPSec offload. > The test will ensure that the IPSec offload functionality remains operational > even after a failover event occurs in th

Re: [PATCH v21 20/24] ovpn: implement key add/get/del/swap via netlink

2025-03-05 Thread Sabrina Dubroca
2025-03-05, 02:00:21 +0100, Antonio Quartulli wrote: > On 05/03/2025 00:09, Sabrina Dubroca wrote: > > 2025-03-04, 13:11:28 +0100, Antonio Quartulli wrote: > > > On 04/03/2025 13:00, Sabrina Dubroca wrote: > > > > 2025-03-04, 01:33:50 +0100, Antonio Quartulli wrote: > > > > >int ovpn_nl_key_new

Re: [PATCH v3 06/10] selftests/mm: Don't fail uffd-stress if too many CPUs

2025-03-05 Thread Brendan Jackman
On Fri, 28 Feb 2025 at 17:55, Brendan Jackman wrote: > > This calculation divides a fixed parameter by an environment-dependent > parameter i.e. the number of CPUs. > > The simple way to avoid machine-specific failures here is to just put a > cap on the max value of the latter. > > Suggested-by: M

Re: [PATCH v15 3/8] remoteproc: Introduce load_fw and release_fw optional operation

2025-03-05 Thread Arnaud POULIQUEN
On 3/4/25 16:23, Bjorn Andersson wrote: > On Wed, Feb 12, 2025 at 02:48:30PM +0100, Arnaud POULIQUEN wrote: >> >> >> On 2/12/25 04:54, Bjorn Andersson wrote: >>> On Tue, Dec 10, 2024 at 11:33:31AM +0100, Arnaud POULIQUEN wrote: On 12/10/24 00:14, Bjorn Andersson wrote: > On Th

Re: [PATCH v15 2/8] remoteproc: Add TEE support

2025-03-05 Thread Arnaud POULIQUEN
On 3/4/25 16:58, Bjorn Andersson wrote: > On Wed, Feb 12, 2025 at 02:42:28PM +0100, Arnaud POULIQUEN wrote: >> Hello, >> >> On 2/12/25 04:18, Bjorn Andersson wrote: >>> On Tue, Dec 10, 2024 at 09:57:40AM +0100, Arnaud POULIQUEN wrote: Hello Bjorn, On 12/6/24 23:07, Bjorn Andersson

[PATCH v4 4/8] reset: imx8mp-audiomix: Add prefix for internal macro

2025-03-05 Thread Daniel Baluta
This adds IMX8MP_AUDIOMIX_ prefix to internal macros in order to show that specific macros are related to audiomix. Reviewed-by: Philipp Zabel Reviewed-by: Frank Li Reviewed-by: Peng Fan Signed-off-by: Daniel Baluta --- drivers/reset/reset-imx8mp-audiomix.c | 14 +++--- 1 file changed

Re: [PATCH v2 -rcu] srcu: Use rcu_seq_done_exact() for polling API

2025-03-05 Thread Boqun Feng
On Wed, Feb 19, 2025 at 07:43:08AM -0500, Joel Fernandes wrote: > poll_state_synchronize_srcu() uses rcu_seq_done() unlike > poll_state_synchronize_rcu() which uses rcu_seq_done_exact(). > > The rcu_seq_done_exact() makes more sense for polling API, as with > this API, there is a higher chance th

Re: [PATCH v21 18/24] ovpn: add support for peer floating

2025-03-05 Thread Sabrina Dubroca
2025-03-05, 14:14:36 +0100, Antonio Quartulli wrote: > On 05/03/2025 12:20, Sabrina Dubroca wrote: > > 2025-03-05, 00:19:32 +0100, Antonio Quartulli wrote: > > > On 04/03/2025 19:37, Sabrina Dubroca wrote: > > > > 2025-03-04, 01:33:48 +0100, Antonio Quartulli wrote: > > > > > A peer connected via U

Re: [PATCH v4 0/6] Fix some issues related to an interrupt type in pci_endpoint_test

2025-03-05 Thread Krzysztof Wilczynski
Hello, > This series solves some issues about global "irq_type" that is used for > indicating the current type for users. > > In addition, avoid an unexpected warning that occur due to interrupts > remaining after displaying an error caused by devm_request_irq(). > > Patch 1 includes adding GET_

Re: [PATCH v8 3/4] scanf: convert self-test to KUnit

2025-03-05 Thread Petr Mladek
On Fri 2025-02-14 11:20:00, Tamir Duberstein wrote: > Convert the scanf() self-test to a KUnit test. > > In the interest of keeping the patch reasonably-sized this doesn't > refactor the tests into proper parameterized tests - it's all one big > test case. > > --- a/lib/test_scanf.c > +++ b/lib/t

Re: [PATCH v8 1/4] scanf: implicate test line in failure messages

2025-03-05 Thread Petr Mladek
On Fri 2025-02-14 11:19:58, Tamir Duberstein wrote: > This improves the failure output by pointing to the failing line at the > top level of the test. > > Signed-off-by: Tamir Duberstein I like it. It helps a lot to locate the failing test. Reviewed-by: Petr Mladek Tested-by: Petr Mladek Bes

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Petr Mladek
On Fri 2025-02-14 11:20:01, Tamir Duberstein wrote: > Use `suite_init` and move some tests into `scanf_test_cases`. This > gives us nicer output in the event of a failure. > > Reviewed-by: David Gow > Signed-off-by: Tamir Duberstein > --- > lib/tests/scanf_kunit.c | 95 > ++

Re: [PATCHv4 net 1/3] bonding: move IPsec deletion to bond_ipsec_free_sa

2025-03-05 Thread Cosmin Ratiu
On Wed, 2025-03-05 at 14:13 +, Hangbin Liu wrote: > On Wed, Mar 05, 2025 at 10:38:36AM +0200, Nikolay Aleksandrov wrote: > > > @@ -617,8 +614,18 @@ static void bond_ipsec_del_sa_all(struct > > > bonding *bond) > > >   > > >   mutex_lock(&bond->ipsec_lock); > > >   list_for_each_entry(ipsec, &bo

Re: [PATCH v4 2/8] dt-bindings: dsp: fsl,dsp: Add resets property

2025-03-05 Thread Rob Herring (Arm)
On Wed, 05 Mar 2025 12:00:30 +0200, Daniel Baluta wrote: > Assert and deassert functionality of the DSP found on i.MX8MP is > realized by combining control bits from two modules: Audio Block > Control and Debug Access Port. > > Audio block control bits are used to Run/Stall the DSP core > while

[ANNOUNCE] 5.10.234-rt127

2025-03-05 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 5.10.234-rt127 stable release. This release is an RT-only update. All the changes here are specific to RT. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v5.10-rt Head S

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

2025-03-05 Thread Saket Kumar Bhaskar
For platforms on powerpc architecture with a default page size greater than 4096, there was an inconsistency in fragment size calculation. This caused the BPF selftest xdp_adjust_tail/xdp_adjust_frags_tail_grow to fail on powerpc. The issue occurred because the fragment buffer size in bpf_prog_tes

[PATCH v2 1/2] bpf, test_run: Replace hardcoded page size with dynamic PAGE_SIZE in test_run

2025-03-05 Thread Saket Kumar Bhaskar
Replace fixed value 4096 with PAGE_SIZE for calculating the max_data_sz in bpf_prog_test_run_xdp, which allows for a more accurate determination of max_data_sz, considering different default page sizes across different architectures. Signed-off-by: Saket Kumar Bhaskar --- net/bpf/test_run.c | 2

[PATCH v2 2/2] selftests/bpf: Refactor xdp_adjust_tail selftest with dynamic sizing

2025-03-05 Thread Saket Kumar Bhaskar
The xdp_adjust_tail/xdp_adjust_frags_tail_grow selftest fails on powerpc architecture platforms with a default page size greater than 4096 because the page size, tailroom and buffer size are hardcoded. To resolve this issue, these parameters are now collected dynamically in the test driver code an

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Andy Shevchenko
On Wed, Mar 05, 2025 at 04:01:48PM +0100, Petr Mladek wrote: > On Fri 2025-02-14 11:20:01, Tamir Duberstein wrote: ... > > #include > > -#include > > -#include > > #include > > -#include > > -#include > > #include > > #include > > -#include > > +#include > > > > #define BUF_SIZE

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Andy Shevchenko
On Wed, Mar 05, 2025 at 10:25:51AM -0500, Tamir Duberstein wrote: > On Wed, Mar 5, 2025 at 10:01 AM Petr Mladek wrote: > > On Fri 2025-02-14 11:20:01, Tamir Duberstein wrote: ... > > > #include > > > -#include > > > -#include > > > #include > > > -#include > > > -#include > > > #include

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Tamir Duberstein
On Wed, Mar 5, 2025 at 10:55 AM Andy Shevchenko wrote: > > On Wed, Mar 05, 2025 at 10:25:51AM -0500, Tamir Duberstein wrote: > > On Wed, Mar 5, 2025 at 10:01 AM Petr Mladek wrote: > > > On Fri 2025-02-14 11:20:01, Tamir Duberstein wrote: > > ... > > > > > #include > > > > -#include > > > > -#i

Re: [PATCH v21 18/24] ovpn: add support for peer floating

2025-03-05 Thread Antonio Quartulli
On 05/03/2025 12:20, Sabrina Dubroca wrote: 2025-03-05, 00:19:32 +0100, Antonio Quartulli wrote: On 04/03/2025 19:37, Sabrina Dubroca wrote: 2025-03-04, 01:33:48 +0100, Antonio Quartulli wrote: A peer connected via UDP may change its IP address without reconnecting (float). Should that trigg

[PATCH] remoteproc: imx_dsp_rproc: conditionally wait for FW_READY

2025-03-05 Thread Iuliana Prodan (OSS)
From: Iuliana Prodan Some DSP firmware requires a FW_READY signal before proceeding, while others do not. Introduce imx_dsp_rproc_wait_fw_ready() to check the resource table and determine if waiting is needed. Use the WAIT_FW_READY flag (bit 1) to distinguish cases where waiting is required, as

Re: [PATCH v4 3/3] rcu: Use _full() API to debug synchronize_rcu()

2025-03-05 Thread Joel Fernandes
On 3/3/2025 10:23 PM, Boqun Feng wrote: > On Sun, Mar 02, 2025 at 07:15:07PM -0500, Joel Fernandes wrote: >> On Fri, Feb 28, 2025 at 05:08:49PM -0800, Paul E. McKenney wrote: >>> On Fri, Feb 28, 2025 at 11:59:55AM -0800, Paul E. McKenney wrote: On Fri, Feb 28, 2025 at 08:12:51PM +0100, Ulad

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Tamir Duberstein
On Wed, Mar 5, 2025 at 10:01 AM Petr Mladek wrote: > > On Fri 2025-02-14 11:20:01, Tamir Duberstein wrote: > > Use `suite_init` and move some tests into `scanf_test_cases`. This > > gives us nicer output in the event of a failure. > > > > Reviewed-by: David Gow > > Signed-off-by: Tamir Duberstein

Re: [PATCH 24/32] tools/nolibc: add getopt()

2025-03-05 Thread Willy Tarreau
On Wed, Mar 05, 2025 at 08:25:14AM +0100, Thomas Weißschuh wrote: > On Tue, Mar 04, 2025 at 08:54:29AM +0100, Willy Tarreau wrote: > > On Tue, Mar 04, 2025 at 08:10:54AM +0100, Thomas Weißschuh wrote: > > > diff --git a/tools/include/nolibc/getopt.h b/tools/include/nolibc/getopt.h > > > new file mo

Re: [PATCHv4 net 1/3] bonding: move IPsec deletion to bond_ipsec_free_sa

2025-03-05 Thread Nikolay Aleksandrov
On 3/4/25 15:11, Hangbin Liu wrote: > The fixed commit placed mutex_lock() inside spin_lock_bh(), which triggers > a warning: > > BUG: sleeping function called from invalid context at... > > Fix this by moving the IPsec deletion operation to bond_ipsec_free_sa, > which is not held by spin_lock_

Re: [PATCH v21 20/24] ovpn: implement key add/get/del/swap via netlink

2025-03-05 Thread Antonio Quartulli
On 05/03/2025 11:11, Sabrina Dubroca wrote: 2025-03-05, 02:00:21 +0100, Antonio Quartulli wrote: On 05/03/2025 00:09, Sabrina Dubroca wrote: 2025-03-04, 13:11:28 +0100, Antonio Quartulli wrote: On 04/03/2025 13:00, Sabrina Dubroca wrote: 2025-03-04, 01:33:50 +0100, Antonio Quartulli wrote:

Re: [PATCHv4 net 1/3] bonding: move IPsec deletion to bond_ipsec_free_sa

2025-03-05 Thread Hangbin Liu
On Wed, Mar 05, 2025 at 10:38:36AM +0200, Nikolay Aleksandrov wrote: > > @@ -617,8 +614,18 @@ static void bond_ipsec_del_sa_all(struct bonding *bond) > > > > mutex_lock(&bond->ipsec_lock); > > list_for_each_entry(ipsec, &bond->ipsec_list, list) { > > Second time - you should use list_for

Re: [PATCH v4 3/3] rcu: Use _full() API to debug synchronize_rcu()

2025-03-05 Thread Joel Fernandes
On 3/4/2025 9:54 PM, Boqun Feng wrote: > On Tue, Mar 04, 2025 at 11:56:18AM +0100, Uladzislau Rezki wrote: >> On Tue, Mar 04, 2025 at 11:52:26AM +0100, Uladzislau Rezki wrote: > Did I get that right? > Other than I'm unable to follow what do you mean "WH has not been injec

Re: [PATCH net-next v4 4/4] dt-bindings: ieee802154: ca8210: Update polarity of the reset pin

2025-03-05 Thread Conor Dooley
On Wed, Mar 05, 2025 at 12:55:37PM +0200, Andy Shevchenko wrote: > The code has been updated to follow what datasheet says about > the polarity of the reset pin, which is active-low. Update > the device tree bindings accordingly. > > Signed-off-by: Andy Shevchenko > --- > Documentation/devicetre

Re: [PATCH net-next v5 3/4] virtio-net: Map NAPIs to queues

2025-03-05 Thread Joe Damato
On Wed, Mar 05, 2025 at 01:11:55PM +0800, Jason Wang wrote: > On Tue, Mar 4, 2025 at 11:09 PM Joe Damato wrote: > > > > On Mon, Mar 03, 2025 at 04:03:55PM -0800, Jakub Kicinski wrote: > > > On Mon, 3 Mar 2025 13:33:10 -0500 Joe Damato wrote: [...] > > > Middle ground would be to do what you sugg

Re: [PATCH v3] rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture

2025-03-05 Thread Boqun Feng
On Sun, Feb 16, 2025 at 06:29:54PM -0800, Boqun Feng wrote: > Hi Yongliang, > > On Sun, Feb 16, 2025 at 04:41:09PM +0800, Yongliang Gao wrote: > > From: Yongliang Gao > > > > When counting the number of hardirqs in the x86 architecture, > > it is essential to add arch_irq_stat_cpu to ensure accu

[PATCH] selftests: riscv: fix v_exec_initval_nolibc.c

2025-03-05 Thread Ignacio Encinas
Vector registers are zero initialized by the kernel. Stop accepting "all ones" as a clean value. Note that this was not working as expected given that value == 0xff can be assumed to be always false by the compiler as value's range is [-128, 127]. Both GCC (-Wtype-limits) and clang (-Wtaut

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Andy Shevchenko
On Wed, Mar 05, 2025 at 10:57:47AM -0500, Tamir Duberstein wrote: > On Wed, Mar 5, 2025 at 10:55 AM Andy Shevchenko > wrote: > > On Wed, Mar 05, 2025 at 10:25:51AM -0500, Tamir Duberstein wrote: > > > On Wed, Mar 5, 2025 at 10:01 AM Petr Mladek wrote: > > > > On Fri 2025-02-14 11:20:01, Tamir Dub

Re: [PATCH RFC] sched: Disable DL server if sysctl_sched_rt_runtime is -1

2025-03-05 Thread Joel Fernandes
On Wed, Mar 05, 2025 at 09:30:33AM +, Juri Lelli wrote: > Hi Joel, > > On 04/03/25 18:47, Joel Fernandes wrote: > > On Tue, Mar 04, 2025 at 03:06:32PM -0500, Steven Rostedt wrote: > > > On Tue, 4 Mar 2025 15:01:16 -0500 > > > Joel Fernandes wrote: > > > > > > > Currently, RCU boost testing

Re: [PATCH v9 2/8] mm/huge_memory: add two new (not yet used) functions for folio_split()

2025-03-05 Thread Hugh Dickins
On Wed, 5 Mar 2025, Zi Yan wrote: > On 4 Mar 2025, at 6:49, Hugh Dickins wrote: > > > > I think (might be wrong, I'm in a rush) my mods are all to this > > "add two new (not yet used) functions for folio_split()" patch: > > please merge them in if you agree. > > > > 1. From source inspection, it lo

[PATCH bpf-next v5 0/6] XDP metadata support for tun driver

2025-03-05 Thread Marcus Wichelmann
Hi all, this v5 of the patch series is very similar to v4, but rebased onto the bpf-next/net branch instead of bpf-next/master. Because the commit c047e0e0e435 ("selftests/bpf: Optionally open a dedicated namespace to run test in it") is not yet included in this branch, I changed the xdp_context_t

Re: [PATCH] selftests: riscv: fix v_exec_initval_nolibc.c

2025-03-05 Thread Charlie Jenkins
On Wed, Mar 05, 2025 at 05:39:28PM +0100, Ignacio Encinas wrote: > Vector registers are zero initialized by the kernel. Stop accepting > "all ones" as a clean value. > > Note that this was not working as expected given that > value == 0xff > can be assumed to be always false by the compiler

Re: [PATCH v9 2/8] mm/huge_memory: add two new (not yet used) functions for folio_split()

2025-03-05 Thread Hugh Dickins
On Wed, 5 Mar 2025, Zi Yan wrote: > On 5 Mar 2025, at 15:50, Hugh Dickins wrote: > > > > (Historically, there was quite a lot of difficulty in getting the order > > of events in __split_huge_page_tail() to be safe: I wonder whether we > > shall see a crop of new weird bugs from these changes. I not

[PATCH v8 07/10] KVM: selftests: Add library support for interacting with SNP

2025-03-05 Thread Pratik R. Sampat
Extend the SEV library to include support for SNP ioctl() wrappers, which aid in launching and interacting with a SEV-SNP guest. Signed-off-by: Pratik R. Sampat --- arch/x86/include/uapi/asm/kvm.h | 1 + tools/arch/x86/include/uapi/asm/kvm.h | 1 + tools/testing/selftests

[PATCH v8 03/10] KVM: selftests: Add vmgexit helper

2025-03-05 Thread Pratik R. Sampat
Abstract rep vmmcall coded into the vmgexit helper for the sev library. No functional change intended. Signed-off-by: Pratik R. Sampat --- tools/testing/selftests/kvm/include/x86/sev.h| 5 + tools/testing/selftests/kvm/x86/sev_smoke_test.c | 2 +- 2 files changed, 6 insertions(+), 1 del

[PATCH v8 06/10] KVM: selftests: Introduce SEV VM type check

2025-03-05 Thread Pratik R. Sampat
In preparation for SNP, declutter the vm type check by introducing a SEV-SNP VM type check as well as a transitive set of helper functions. The SNP VM type is the subset of SEV-ES. Similarly, the SEV-ES and SNP types are subset of the SEV VM type check. Signed-off-by: Pratik R. Sampat --- tools

[PATCH v8 08/10] KVM: selftests: Force GUEST_MEMFD flag for SNP VM type

2025-03-05 Thread Pratik R. Sampat
Force the SEV-SNP VM type to set the KVM_MEM_GUEST_MEMFD flag for the creation of private memslots. Signed-off-by: Pratik R. Sampat --- tools/testing/selftests/kvm/lib/kvm_util.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c

[PATCH v8 05/10] KVM: selftests: Replace assert() with TEST_ASSERT_EQ()

2025-03-05 Thread Pratik R. Sampat
For SEV tests, assert() failures on VM type or fd do not provide sufficient error reporting. Replace assert() with TEST_ASSERT_EQ() to obtain more detailed information on the assertion condition failure, including the call stack. Signed-off-by: Pratik R. Sampat --- tools/testing/selftests/kvm/li

[PATCH v8 00/10] Basic SEV-SNP Selftests

2025-03-05 Thread Pratik R. Sampat
This patch series extends the sev_init2 and the sev_smoke test to exercise the SEV-SNP VM launch workflow. Primarily, it introduces the architectural defines, its support in the SEV library and extends the tests to interact with the SEV-SNP ioctl() wrappers. Patch 1 - Do not advertise SNP on ini

Re: [PATCH v9 2/8] mm/huge_memory: add two new (not yet used) functions for folio_split()

2025-03-05 Thread Hugh Dickins
On Wed, 5 Mar 2025, Zi Yan wrote: > On 5 Mar 2025, at 16:03, Hugh Dickins wrote: > > > > Beyond checking that, I didn't have time yesterday to investigate > > further, but I'll try again today (still using last weekend's mm.git). > > I am trying to replicate your runs locally. Can you clarify your

[PATCH v8 02/10] KVM: selftests: SEV-SNP test for KVM_SEV_INIT2

2025-03-05 Thread Pratik R. Sampat
Add the X86_FEATURE_SEV_SNP CPU feature to the architectural definition for the SEV-SNP VM type to exercise the KVM_SEV_INIT2 call. Ensure that the SNP test is skipped in scenarios where CPUID supports it but KVM does not, preventing reporting of failure in such cases. Reviewed-by: Nikunj A Dadhan

[PATCH v8 01/10] KVM: SEV: Disable SEV-SNP support on initialization failure

2025-03-05 Thread Pratik R. Sampat
During platform init, SNP initialization may fail for several reasons, such as firmware command failures and incompatible versions. However, the KVM capability may continue to advertise support for it. During setup, query the SNP platform status to obtain the initialization state and use it as an a

[PATCH v8 09/10] KVM: selftests: Abstractions for SEV to decouple policy from type

2025-03-05 Thread Pratik R. Sampat
In preparation for SNP, cleanup the smoke test to decouple deriving type from policy. This enables us to reuse existing interfaces as well as deduplicate the test calls that are called for SEV and SEV-ES. No functional change intended. Signed-off-by: Pratik R. Sampat --- .../selftests/kvm/x86/s

[PATCH v8 04/10] KVM: selftests: Add SMT control state helper

2025-03-05 Thread Pratik R. Sampat
Move the SMT control check out of the hyperv_cpuid selftest so that it is generally accessible all KVM selftests. Split the functionality into a helper that populates a buffer with SMT control value which other helpers can use to ascertain if SMT state is available and active. Signed-off-by: Prati

Re: [RFC PATCH 0/5] KVM: guest_memfd: support for uffd missing

2025-03-05 Thread James Houghton
On Mon, Mar 3, 2025 at 1:29 PM Peter Xu wrote: > > On Mon, Mar 03, 2025 at 01:30:06PM +, Nikita Kalyazin wrote: > > This series is built on top of the v3 write syscall support [1]. > > > > With James's KVM userfault [2], it is possible to handle stage-2 faults > > in guest_memfd in userspace.

Re: [PATCH v9 2/8] mm/huge_memory: add two new (not yet used) functions for folio_split()

2025-03-05 Thread Zi Yan
On 4 Mar 2025, at 6:49, Hugh Dickins wrote: > On Wed, 26 Feb 2025, Zi Yan wrote: > >> This is a preparation patch, both added functions are not used yet. >> >> The added __split_unmapped_folio() is able to split a folio with its >> mapping removed in two manners: 1) uniform split (the existing way

Re: [PATCH v8 4/4] scanf: break kunit into test cases

2025-03-05 Thread Tamir Duberstein
On Wed, Mar 5, 2025 at 2:35 PM Andy Shevchenko wrote: > > On Wed, Mar 05, 2025 at 10:57:47AM -0500, Tamir Duberstein wrote: > > On Wed, Mar 5, 2025 at 10:55 AM Andy Shevchenko > > wrote: > > > On Wed, Mar 05, 2025 at 10:25:51AM -0500, Tamir Duberstein wrote: > > > > On Wed, Mar 5, 2025 at 10:01 A

Re: [PATCH v4 0/4] Properly handle module_kobject creation

2025-03-05 Thread Shyam Saini
Hi Petr, On Wed, Mar 05, 2025 at 10:55:03AM +0100, Petr Pavlu wrote: > On 2/27/25 19:49, Shyam Saini wrote: > > Hi Everyone, > > > > This patch series fixes handling of module_kobject creation. > > A driver expect module_kset list populated with its corresponding > > module_kobject to create its

[PATCH bpf-next v5 4/6] selftests/bpf: refactor xdp_context_functional test and bpf program

2025-03-05 Thread Marcus Wichelmann
The existing XDP metadata test works by creating a veth pair and attaching XDP & TC programs that drop the packet when the condition of the test isn't fulfilled. The test then pings through the veth pair and succeeds when the ping comes through. While this test works great for a veth pair, it is h

[PATCH bpf-next v5 2/6] net: tun: enable transfer of XDP metadata to skb

2025-03-05 Thread Marcus Wichelmann
When the XDP metadata area was used, it is expected that the same metadata can also be accessed from TC, as can be read in the description of the bpf_xdp_adjust_meta helper function. In the tun driver, this was not yet implemented. To make this work, the skb that is being built on XDP_PASS should

[PATCH bpf-next v5 1/6] net: tun: enable XDP metadata support

2025-03-05 Thread Marcus Wichelmann
Enable the support for the bpf_xdp_adjust_meta helper function for XDP buffers initialized by the tun driver. This allows to reserve a metadata area that is useful to pass any information from one XDP program to another one, for example when using tail-calls. Whether this helper function can be us

[PATCH bpf-next v5 5/6] selftests/bpf: add test for XDP metadata support in tun driver

2025-03-05 Thread Marcus Wichelmann
Add a selftest that creates a tap device, attaches XDP and TC programs, writes a packet with a test payload into the tap device and checks the test result. This test ensures that the XDP metadata support in the tun driver is enabled and that the metadata size is correctly passed to the skb. See th

  1   2   >